HomePhabricator

[avalanche] Let isfinaltransaction raise an error when the transaction is not…

Description

[avalanche] Let isfinaltransaction raise an error when the transaction is not found

Summary:
This makes it easier to guide the user through the reason why the transaction is marked as non final, and hints on how to let the node find the transaction. The error messages are shamelessly copied from getrawtransaction which has the same behavior.

Depends on D12002.

Test Plan:

./test/functional/test_runner.py abc_rpc_isfinal

Reviewers: #bitcoin_abc, sdulfari

Reviewed By: #bitcoin_abc, sdulfari

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

Details

Provenance
FabienAuthored on Sep 17 2022, 07:34
FabienPushed on Sep 20 2022, 19:08
Reviewer
Restricted Project
Differential Revision
D12001: [avalanche] Let isfinaltransaction raise an error when the transaction is not found
Parents
rABCe1add4b16e38: [Cashtab + docs] Bump node version
Branches
Unknown
Tags
Unknown