You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For now, we have block tree struct to store all blocks in db, each depth of the tree may have multiple blocks, we use consensus algorithm to determine the path and form the blockchain.
Each time we start the node, will go through the block tree and get the blockchain head and unspent pool, which is a waste of time. So we now decide to store unspents and block head in boltdb, which will speed up our wallet opening speed.
The text was updated successfully, but these errors were encountered:
Description
For now, we have block tree struct to store all blocks in db, each depth of the tree may have multiple blocks, we use consensus algorithm to determine the path and form the blockchain.
Each time we start the node, will go through the block tree and get the blockchain head and unspent pool, which is a waste of time. So we now decide to store unspents and block head in boltdb, which will speed up our wallet opening speed.
The text was updated successfully, but these errors were encountered: