how is a transaction verified on a cryptocurrency network