chainntnfs: add the current block header to the block epoch struct
This commit is contained in:
1 file changed
+3
@@ -302,6 +302,9 @@ type BlockEpoch struct {
|
|||||||
// Height is the height of the latest block to be added to the tip of
|
// Height is the height of the latest block to be added to the tip of
|
||||||
// the main chain.
|
// the main chain.
|
||||||
Height int32
|
Height int32
|
||||||
|
|
||||||
|
// BlockHeader is the block header of this new height.
|
||||||
|
BlockHeader *wire.BlockHeader
|
||||||
}
|
}
|
||||||
|
|
||||||
// BlockEpochEvent encapsulates an on-going stream of block epoch
|
// BlockEpochEvent encapsulates an on-going stream of block epoch
|
||||||
|
|||||||
Reference in new issue
Block a user