From 4fc6d150753b2a0cbed87ff742c09f3fdcf6c416 Mon Sep 17 00:00:00 2001 From: Olaoluwa Osuntokun Date: Wed, 11 Aug 2021 16:03:34 -0700 Subject: [PATCH] chainntnfs: add the current block header to the block epoch struct --- chainntnfs/interface.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/chainntnfs/interface.go b/chainntnfs/interface.go index 4017d853..fc365e70 100644 --- a/chainntnfs/interface.go +++ b/chainntnfs/interface.go @@ -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