UpdateBlocksfunc([]*blockchain.Block)// Closure function used to sync new block with the leader. Once the leader finishes the consensus on a new block, it will send it to the clients. Clients use this method to update their blockchain
UpdateBlocksfunc([]*blockchain.Block)// Closure function used to sync new block with the leader. Once the leader finishes the consensus on a new block, it will send it to the clients. Clients use this method to update their blockchain
ShardUtxoMapmap[uint32]blockchain.UtxoMap
ShardUtxoMapmap[uint32]blockchain.UtxoMap
ShardUtxoMapMutexsync.Mutex// Mutex for the UTXO maps