Page MenuHomePhabricator

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

Authored by tobias_ruck on Sep 20 2025, 09:22.

Details

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

Diff Detail

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