From dce8c4c38111556ca480aa0e63c46b71f66b508f Mon Sep 17 00:00:00 2001 From: Sjors Provoost Date: Thu, 13 May 2021 18:51:47 +0200 Subject: rpc: getblockfrompeer Co-authored-by: John Newbery --- src/validation.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/validation.cpp') diff --git a/src/validation.cpp b/src/validation.cpp index 6ed5e7a548..33ce3ffcbe 100644 --- a/src/validation.cpp +++ b/src/validation.cpp @@ -3408,6 +3408,7 @@ bool CChainState::AcceptBlock(const std::shared_ptr& pblock, Block // This requires some new chain data structure to efficiently look up if a // block is in a chain leading to a candidate for best tip, despite not // being such a candidate itself. + // Note that this would break the getblockfrompeer RPC // TODO: deal better with return value and error conditions for duplicate // and unrequested blocks. -- cgit v1.2.3