func (m *MemoryBlockDB) GetBlockNode(h chainhash.Hash) (*ShardBlockNodeDisk, error) {
	if b, found := m.blockNodes[h]; found {
		return &b, nil
	}
	return nil, fmt.Errorf("missing block node %s", h)
}
// GetBlockNode gets a block node from the database.
GetBlockNode gets a block node from the database.
// GetBlockNode gets a block node from the database .
func (m *MemoryBlockDB) GetBlockNode(h chainhash.Hash) (*ShardBlockNodeDisk, error) {
	if b, found := m.blockNodes[h]; found {
		return &b, nil
	}
	return nil, fmt.Errorf("missing block node %s", h)
}
func ( m * MemoryBlockDB ) GetBlockNode ( h chainhash . Hash ) ( * ShardBlockNodeDisk , error ) { if b , found := m . blockNodes [ h ] ; found { return & b , nil } return nil , fmt . Errorf ( " " , h ) }
GetBlockNode gets a block node from the database.
GetBlockNode gets a block node from the database .