From 696097370eb7a7120151af5a4d323f0bb05ecbcb Mon Sep 17 00:00:00 2001
From: Antioch Peverell <30642645+antiochp@users.noreply.github.com>
Date: Tue, 27 Mar 2018 16:48:09 -0400
Subject: [PATCH] do not save header during header first sync (#891)
just use the header as a hint to go request the block
---
chain/src/chain.rs | 6 +-----
chain/src/pipe.rs | 18 ++++--------------
grin/src/adapters.rs | 13 +++++++++++--
3 files changed, 16 insertions(+), 21 deletions(-)
diff --git a/chain/src/chain.rs b/chain/src/chain.rs
index 16fcf285..026544a9 100644
--- a/chain/src/chain.rs
+++ b/chain/src/chain.rs
@@ -339,11 +339,7 @@ impl Chain {
}
/// Process a block header received during "header first" propagation.
- pub fn process_block_header(
- &self,
- bh: &BlockHeader,
- opts: Options,
- ) -> Result