Page MenuHomePhabricator

cli: replace testnet with chain and return network name as per BIP70.
ClosedPublic

Authored by PiRK on Oct 2 2020, 08:54.

Details

Reviewers
Fabien
Group Reviewers
Restricted Owners Package(Owns No Changed Paths)
Restricted Project
Commits
rABC406bb3cac22d: cli: replace testnet with chain and return network name as per BIP70.
Summary

Backport of Core PR15566

Test Plan

ninja && ninja check-functional

Install and test:
bitcoin-cli -getinfo

Diff Detail

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

Event Timeline

Owners added a reviewer: Restricted Owners Package.Oct 2 2020, 08:55
PiRK requested review of this revision.Oct 2 2020, 08:55

[Bot Message]
One or more PR numbers were detected in the summary.
Links to those PRs have been inserted into the summary for reference.

Note that this breaks compatibility. If we want to maintain it (and diverge from Core on this point), it would be easy to keep also the testnet field.

This revision is now accepted and ready to land.Oct 2 2020, 09:13