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

This commit is contained in:
Olaoluwa Osuntokun committed 2021-08-25 16:46:51 -07:00
1 parent 93d12cd9fc
commit 4fc6d15075
1 file changed
+3
+3
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