Research Article

Research on a Shared Bicycle Deposit Management System Based on Blockchain Technology

Algorithm 4

Check the account security.
#Delete the last transaction in the block transaction
>>>block.txs.pop()
>>>block
#The hash value of the block has changes
Block(hash:4r4i4nv5ny6m6iiih6i390u68b690b5m388569j40)
#The hash value of Meckel root has changes
>>>block.merkle_root_hash
‘4n4u4nt843t3nv5394mtvj5m9vj54854v9i8v9vm034,f0j538’