diff options
author | MacroFake <falke.marco@gmail.com> | 2022-06-01 08:12:14 +0200 |
---|---|---|
committer | MacroFake <falke.marco@gmail.com> | 2022-06-01 08:12:16 +0200 |
commit | beb18d3fbc0d7a21f6d8b566d9a8caf70b226a63 (patch) | |
tree | e6833dbe6e17ea7bfd29212f4737b0d0eccade8c /doc/developer-notes.md | |
parent | d4d9daff7ab60a9f0cae0a34f86be0bb497f62f4 (diff) | |
parent | 7d0f67a0d5b94395e29fe240326824cd3be8ae9b (diff) |
Merge bitcoin/bitcoin#25259: test: check pre-segwit peer error in `getblockfrompeer` RPC
7d0f67a0d5b94395e29fe240326824cd3be8ae9b test: check pre-segwit peer error in `getblockfrompeer` RPC (Sebastian Falbesoner)
Pull request description:
This PR adds missing test coverage for the `getblockfrompeer` RPC, in the case that a block is tried to be fetched from a pre-segwit peer (i.e. a peer that doesn't signal the service bit `NODE_WITNESS`):
https://github.com/bitcoin/bitcoin/blob/d4d9daff7ab60a9f0cae0a34f86be0bb497f62f4/src/net_processing.cpp#L1564-L1565
ACKs for top commit:
MarcoFalke:
cr ACK 7d0f67a0d5b94395e29fe240326824cd3be8ae9b
Tree-SHA512: bc330820686fe45577e7a53d66e2a0b339ee3ca4ef348ba3cab0a78ed891e47b3651cadf3c6c3c35d1e9a95779df010322c12d37b36700e828f6064ae35842fd
Diffstat (limited to 'doc/developer-notes.md')
0 files changed, 0 insertions, 0 deletions