chainntnfs: add the current block header to the block epoch struct

This commit is contained in:
Olaoluwa Osuntokun
2021-08-11 16:03:34 -07:00
parent 93d12cd9fc
commit 4fc6d15075

View File

@@ -302,6 +302,9 @@ type BlockEpoch struct {
// Height is the height of the latest block to be added to the tip of
// the main chain.
Height int32
// BlockHeader is the block header of this new height.
BlockHeader *wire.BlockHeader
}
// BlockEpochEvent encapsulates an on-going stream of block epoch