HomePhabricator

[Chronik] Use ffi `client_name` instead of hard-coded string

Description

[Chronik] Use ffi client_name instead of hard-coded string

Summary:
Currently, "Bitcoin ABC" is hard-coded in electrum.rs.

However, it is better to get the client name from clientversion.cpp. This way, forks of Bitcoin ABC with a different name (*cough* doged *cough*) don't have to update this hard-coded string.

Test Plan: ninja && python ./test/functional/test_runner.py chronik_electrum_basic.py

Reviewers: Fabien, #bitcoin_abc

Reviewed By: Fabien, #bitcoin_abc

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

Details

Provenance
tobias_ruckAuthored on Sep 20 2025, 09:21
tobias_ruckPushed on Sep 20 2025, 15:32
Reviewer
Restricted Project
Differential Revision
D18657: [Chronik] Use ffi `client_name` instead of hard-coded string
Parents
rABCaca2eb073b61: [chronik] bump karyon to 0.6.1
Branches
Unknown
Tags
Unknown