HomePhabricator

[avalanche] Improve error messages from the addavalanchenode RPC

Description

[avalanche] Improve error messages from the addavalanchenode RPC

Summary:
Rather than returning false, it is possible to raise an error with a meaningful message.

Depends on D9792 and D9794.

Ref T1635.

Test Plan:

./test/functional/test_runner.py abc_rpc_addavalanchenode

Reviewers: #bitcoin_abc, PiRK

Reviewed By: #bitcoin_abc, PiRK

Maniphest Tasks: T1635

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

Details

Provenance
FabienAuthored on Jul 15 2021, 14:00
FabienPushed on Jul 16 2021, 11:25
Reviewer
Restricted Project
Differential Revision
D9793: [avalanche] Improve error messages from the addavalanchenode RPC
Parents
rABC574c28cc4094: [avalanche] Check the utxo limit using the verifyavalancheproof RPC
Branches
Unknown
Tags
Unknown
Tasks
Restricted Maniphest Task