func (db *InMemoryDB) GetBlockNode(h chainhash.Hash, transaction ...interface{}) (*BlockNodeDisk, error) {
	db.lock.Lock()
	defer db.lock.Unlock()
	if b, found := db.blockNodes[h]; found {
		return &b, nil
	}
	return nil, fmt.Errorf("missing block node %s", h)
}
// GetBlockNode gets the block node with slot.
GetBlockNode gets the block node with slot.
// GetBlockNode gets the block node with slot .
func (db *InMemoryDB) GetBlockNode(h chainhash.Hash, transaction ...interface{}) (*BlockNodeDisk, error) {
	db.lock.Lock()
	defer db.lock.Unlock()
	if b, found := db.blockNodes[h]; found {
		return &b, nil
	}
	return nil, fmt.Errorf("missing block node %s", h)
}
func ( db * InMemoryDB ) GetBlockNode ( h chainhash . Hash , transaction ... interface { } ) ( * BlockNodeDisk , error ) { db . lock . Lock ( ) defer db . lock . Unlock ( ) if b , found := db . blockNodes [ h ] ; found { return & b , nil } return nil , fmt . Errorf ( " " , h ) }
GetBlockNode gets the block node with slot.
GetBlockNode gets the block node with slot .