Page MenuHomePhabricator

Merge #13399: rpc: Add submitheader
ClosedPublic

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

Details

Summary

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
https://github.com/bitcoin/bitcoin/pull/13399/files
Completes T685
Depends on D3856

Test Plan
make check
test_runner.py

Diff Detail

Repository
rABC Bitcoin ABC
Branch
pr13399
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 7421
Build 12885: Bitcoin ABC Buildbot (legacy)
Build 12884: arc lint + arc unit

Event Timeline

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
This revision is now accepted and ready to land.Sep 12 2019, 19:18