Page MenuHomePhabricator

Add unit tests for signals generated by ProcessNewBlock()
ClosedPublic

Authored by deadalnix on Jun 27 2019, 16:48.

Details

Summary

After a recent bug discovered in callback ordering in MainSignals,
this test checks invariants in ordering of
BlockConnected / BlockDisconnected / UpdatedChainTip signals

This is a partial backport of Core PR13023 : https://github.com/bitcoin/bitcoin/pull/13023/commits/dd435ad40267f5c50ff17533c696f9302829a6a6

Depends on D3436

Test Plan
make check

Diff Detail

Repository
rABC Bitcoin ABC
Branch
pr13023
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 6535
Build 11117: Bitcoin ABC Buildbot (legacy)
Build 11116: arc lint + arc unit

Event Timeline

This revision is now accepted and ready to land.Jun 28 2019, 16:55