diff options
author | Sjors Provoost <sjors@sprovoost.nl> | 2021-05-13 18:51:47 +0200 |
---|---|---|
committer | Sjors Provoost <sjors@sprovoost.nl> | 2021-12-02 13:16:18 +0700 |
commit | dce8c4c38111556ca480aa0e63c46b71f66b508f (patch) | |
tree | d43051c4e187c70cf3d700d8eb308012811b041a /src/validation.cpp | |
parent | b884ababc29ce963826d8a4327ed6a5e629ff175 (diff) | |
download | bitcoin-dce8c4c38111556ca480aa0e63c46b71f66b508f.tar.xz |
rpc: getblockfrompeer
Co-authored-by: John Newbery <john@johnnewbery.com>
Diffstat (limited to 'src/validation.cpp')
-rw-r--r-- | src/validation.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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<const CBlock>& 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. |