Page MenuHomePhabricator

[chronik] Electrum: handle unconfirmed parents in history
ClosedPublic

Authored by Fabien on Mon, May 19, 08:51.

Details

Reviewers
PiRK
Group Reviewers
Restricted Project
Commits
rABC66a28fe31da4: [chronik] Electrum: handle unconfirmed parents in history
Summary

This diff makes the chronik electrum history strictly compliant with the Electrum protocol, and also identical with Fulcrum ordering (because the protocol itself is not deterministic).
If this is found to be a problem in the future this can be revisited but for now we want to be a 1:1 replacement.

Depends on D18106 and D18107.

Test Plan
./test/functional/test_runner.py chronik_electrum_*

Diff Detail

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

Event Timeline

Fabien requested review of this revision.Mon, May 19, 08:51

Fix inaccurate coinbase comment

More robust handling of coinbase txs. This is unreachable code but this guards against future code changes.

Revert the test change, it doesn't do what I expect and we already have coverage for coinbase in history a few lines above

The build failed due to an unexpected infrastructure outage. The administrators have been notified to investigate. Sorry for the inconvenience.
This revision is now accepted and ready to land.Mon, May 19, 10:37