Page MenuHomePhabricator

[chronik] Add a test for invalidated blocks on a parked chain
ClosedPublic

Authored by Fabien on Thu, Oct 10, 20:54.

Details

Summary

When a block connects on a parked chain, it gets invalidated as expected but chronik should not send a websocket message in this case: it's basically another chain at this point.

Test Plan
./test/functional/test_runner.py chronik_ws

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Fabien requested review of this revision.Thu, Oct 10, 20:54
PiRK added a subscriber: PiRK.
PiRK added inline comments.
test/functional/chronik_ws.py
222 ↗(On Diff #50037)

?

This revision is now accepted and ready to land.Fri, Oct 11, 06:00
test/functional/chronik_ws.py
222 ↗(On Diff #50037)

woups, yes it should be invalidate