HomePhabricator

[electrum] add a script to automate updating of checkpoints

Description

[electrum] add a script to automate updating of checkpoints

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)

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

Differential Revision: https://reviews.bitcoinabc.org/D15343

Details

Provenance
PiRKAuthored on Jan 31 2024, 14:34
PiRKPushed on Jan 31 2024, 16:14
Reviewer
Restricted Project
Differential Revision
D15343: [electrum] add a script to automate updating of checkpoints
Parents
rABC53ac74c7b5fb: [avalanche] Fix documentation for the reconsideravalancheproof RPC
Branches
Unknown
Tags
Unknown