update txn_merkle when update_state, and use TransactionV1 to replace the previous data structure to generate the hash when the checkpoint is reached
when updating txns_in_block_hash, when the checkpoint is reached, use the list constructed by TransactionV1 to generate the hash instead of the previous data structure list
New transaction structure body v1 version, the data structure of the field
pubkey_sign_map
is changed fromHashMap
toBtreeMap
The logic of the fix is as follows
fix_tx_sign_map_disorder
txn_merkle
whenupdate_state
, and useTransactionV1
to replace the previous data structure to generate the hash when the checkpoint is reachedtxns_in_block_hash
, when the checkpoint is reached, use the list constructed byTransactionV1
to generate the hash instead of the previous data structure list