multi: add GetBlockHeader to BlockChainIO
This commit is contained in:
7 files changed
+61
No files matched your search
@@ -562,6 +562,9 @@ type BlockChainIO interface {
|
||||
// GetBlock returns the block in the main chain identified by the given
|
||||
// hash.
|
||||
GetBlock(blockHash *chainhash.Hash) (*wire.MsgBlock, error)
|
||||
|
||||
// GetBlockHeader returns the block header for the given block hash.
|
||||
GetBlockHeader(blockHash *chainhash.Hash) (*wire.BlockHeader, error)
|
||||
}
|
||||
|
||||
// MessageSigner represents an abstract object capable of signing arbitrary
|
||||
|
||||
Reference in new issue
Block a user