Page MenuHomePhabricator

Merge #13399: rpc: Add submitheader

Authored by jasonbcox on Sep 11 2019, 21:07.



fa091b001605c4481fb4eca415929a98d3478549 qa: Add tests for submitheader (MarcoFalke)
36b1b63f20cc718084971d2cadd04497a9b72634 rpc: Expose ProcessNewBlockHeaders (MarcoFalke)

Pull request description:

This exposes `ProcessNewBlockHeaders` as an rpc called `submitheader`. This can be used to check for invalid block headers and submission of valid block headers via the rpc.

Tree-SHA512: a61e850470f15465f88e450609116df0a98d5d9afadf36b2033d820933d8b6a4012f9f2b3246319c08a0e511bef517f5d808cd0f44ffca91d10895a938004f0b

Backport of Core PR13399
Completes T685
Depends on D3856

Test Plan
make check

Diff Detail

rABC Bitcoin ABC
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

jasonbcox created this revision.Sep 11 2019, 21:07
Fabien requested changes to this revision.Sep 12 2019, 06:27
Fabien added a subscriber: Fabien.

Code looks good, but this deserves a release note.

This revision now requires changes to proceed.Sep 12 2019, 06:27
jasonbcox updated this revision to Diff 11244.Sep 12 2019, 15:42

Added a release note.

Fabien accepted this revision.Sep 12 2019, 19:18
This revision is now accepted and ready to land.Sep 12 2019, 19:18
This revision was automatically updated to reflect the committed changes.