Leaders*[]p2p.Peer// All the leaders for each shard
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
ShardUtxoMapMutexsync.Mutex// Mutex for the UTXO maps
loglog.Logger// Log utility
ShardUtxoMapmap[uint32]blockchain.UtxoMap
ShardUtxoMapMutexsync.Mutex// Mutex for the UTXO maps
loglog.Logger// Log utility
}
// The message handler for CLIENT/TRANSACTION messages.