The application relates to a
blockchain editable method, device and transaction method for electronic currency, and belongs to the technical field of blockchains. The method solves the problems of the prior art, such as difficulty in fine-grained editing, low editing efficiency and high computing complexity. The method comprises the following steps: generating parent nodes of leaf nodes of a
Merkle tree in each block through a chameleon
hash function, constructing the
Merkle tree in each block, and connecting the blocks to form an electronic currency
blockchain; wherein, the leaf nodes of the
Merkle tree in each block are generated based on a
hash function and electronic currency transaction information; according to a received electronic currency transaction modification instruction, the block of original transaction information to be modified in the
blockchain is determined, then the leaf node on the Merkle tree in the block is determined, and finally the editing of the Merkle tree is completed by updating the leaf node.