From 36b68de5b2938722911db900ca299f7008780d01 Mon Sep 17 00:00:00 2001 From: Antoine Riard Date: Mon, 29 Apr 2019 10:18:50 -0400 Subject: Remove getBlockDepth method from Chain::interface Pass conflicting height in CWallet::MarkConflicted --- src/interfaces/chain.h | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/interfaces/chain.h') diff --git a/src/interfaces/chain.h b/src/interfaces/chain.h index e07ec1b371..349af152d5 100644 --- a/src/interfaces/chain.h +++ b/src/interfaces/chain.h @@ -76,10 +76,6 @@ public: //! included in the current chain. virtual Optional getBlockHeight(const uint256& hash) = 0; - //! Get block depth. Returns 1 for chain tip, 2 for preceding block, and - //! so on. Returns 0 for a block not included in the current chain. - virtual int getBlockDepth(const uint256& hash) = 0; - //! Get block hash. Height must be valid or this function will abort. virtual uint256 getBlockHash(int height) = 0; -- cgit v1.2.3