Closed malefooo closed 1 year ago
Can one of the admins verify this patch?
Can one of the admins verify this patch?
@jimmysun0815 Still need to test many times, so the pr is still draft pr, the current local debug test is not reproduced, the follow-up I should do a long test of the main network synchronization
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