MacroFake
46fcb52cb1
Merge bitcoin/bitcoin#24944 : rpc: add getblockfrompeer RPCTypeCheck and invalid input test coverage
...
2ef5294a5b
rpc: add RPCTypeCheck for getblockfrompeer inputs (Jon Atack)
734b9669ff
test: add getblockfrompeer coverage of invalid inputs (Jon Atack)
Pull request description:
The new getblockfrompeer RPC lacks test coverage for invalid arguments, and its error messages are not harmonized with the existing RPCs.
Fix all issues.
ACKs for top commit:
brunoerg:
ACK 2ef5294a5b
Tree-SHA512: 454782cf6a44fd0e05483bb152153667ef5c8021358385ddcf89724fbbbd35e187362bdff757e00c99319527bc4c0b20c7187f67241d4585d767a29787142f25
2 years ago
Jon Atack
2ef5294a5b
rpc: add RPCTypeCheck for getblockfrompeer inputs
2 years ago
Sebastian Falbesoner
7d0f67a0d5
test: check pre-segwit peer error in `getblockfrompeer` RPC
2 years ago
Jon Atack
734b9669ff
test: add getblockfrompeer coverage of invalid inputs
3 years ago
MarcoFalke
39d9bbe4ac
Merge bitcoin/bitcoin#23706 : rpc: getblockfrompeer followups
...
923312fbf6
rpc: use peer_id, block_hash for FetchBlock (Sjors Provoost)
34d5399211
rpc: more detailed errors for getblockfrompeer (Sjors Provoost)
60243cac72
rpc: turn already downloaded into error in getblockfrompeer (Sjors Provoost)
809d66bb65
rpc: clarify getblockfrompeer behavior when called multiple times (Sjors Provoost)
0e3d7c5ee1
refactor: drop redundant hash argument from FetchBlock (Sjors Provoost)
8d1a3e6498
rpc: allow empty JSON object result (Sjors Provoost)
bfbf91d0b2
test: fancier Python for getblockfrompeer (Sjors Provoost)
Pull request description:
Followups from #20295 .
ACKs for top commit:
jonatack:
ACK 923312fbf6
📦
fjahr:
tested ACK 923312fbf6
Tree-SHA512: da9eca76e302e249409c9d7f0d16cca668ed981e2ab6ca2d1743dad0d830b94b1bc5ffb9028a00764b863201945c273cc8f4409a4c9ca3817830007dffa2bc20
3 years ago
Hennadii Stepanov
f47dda2c58
scripted-diff: Bump copyright headers
...
-BEGIN VERIFY SCRIPT-
./contrib/devtools/copyright_header.py update ./
-END VERIFY SCRIPT-
Commits of previous years:
* 2020: fa0074e2d8
* 2019: aaaaad6ac9
3 years ago
Sjors Provoost
34d5399211
rpc: more detailed errors for getblockfrompeer
3 years ago
Sjors Provoost
60243cac72
rpc: turn already downloaded into error in getblockfrompeer
3 years ago
Sjors Provoost
bfbf91d0b2
test: fancier Python for getblockfrompeer
...
Co-authored-by: MarcoFalke <falke.marco@gmail.com>
3 years ago
Sjors Provoost
dce8c4c381
rpc: getblockfrompeer
...
Co-authored-by: John Newbery <john@johnnewbery.com>
3 years ago