Page MenuHomePhabricator

[chronik] Electrum: Implement the blockchain.header.get endpoint
ClosedPublic

Authored by Fabien on May 28 2025, 21:04.

Details

Summary

https://electrum-cash-protocol.readthedocs.io/en/latest/protocol-methods.html#blockchain.header.get

The boring part is to get the errors to align with Fulcrum.

Depends on D18167.

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

Diff Detail

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

Event Timeline

Fabien requested review of this revision.May 28 2025, 21:04
PiRK requested changes to this revision.May 29 2025, 09:40
PiRK added a subscriber: PiRK.

almost LGTM

chronik/chronik-http/src/electrum.rs
2055–2105 ↗(On Diff #54240)

delete

This revision now requires changes to proceed.May 29 2025, 09:40
chronik/chronik-http/src/electrum.rs
2055–2105 ↗(On Diff #54240)

Jeez I should not skip the self review...

This revision is now accepted and ready to land.May 29 2025, 14:25