Leaders*map[uint32]p2p.Peer// Map of shard Id and corresponding leader
Leaders*map[uint32]p2p.Peer// Map of shard Id and corresponding leader
UpdateBlocksfunc([]*types.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([]*types.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
loglog.Logger// Log utility
ShardUtxoMapMutexsync.Mutex// Mutex for the UTXO maps