Page MenuHomePhabricator

[electrum] add a script to automate updating of checkpoints
ClosedPublic

Authored by PiRK on Jan 31 2024, 14:42.

Details

Summary

Add a patch recipe to update electrum checkpoints, similar to the script automating chainparams or seeds.

The get_merkle_root script called without params will fetch a checkpoint 50 blocks before the current tip of the specified electrum server.

Test Plan

Check that this creates the expected commit

cd ./contrib/source-control-tools
./patch-recipes/update-electrum-checkpoints.sh

Run Electrum ABC, check that it connect succesfully to all 3 servers (tip >= 50 + checkpoint_height)

Diff Detail

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