doc: fix/improve analyzepsbt in doc/psbt.md

- fix: replace "RPC" with "PSBT"

- output includes the current status of the analyzed psbt's inputs

- apply "if possible" to the fee as well as to the estimated weight and feerate, since the fee is only shown if all utxo slots in the psbt have been filled

- add "final" to the estimated weight and feerate
This commit is contained in:
Jon Atack 2019-05-19 17:01:34 +02:00
parent 7263424458
commit d5dc66e280
No known key found for this signature in database
GPG key ID: 4F5721B3D0E3921D

View file

@ -82,9 +82,10 @@ hardware implementations will typically implement multiple roles simultaneously.
transactions. transactions.
- **`decodepsbt`** is a diagnostic utility RPC which will show all information in - **`decodepsbt`** is a diagnostic utility RPC which will show all information in
a PSBT in human-readable form, as well as compute its eventual fee if known. a PSBT in human-readable form, as well as compute its eventual fee if known.
- **`analyzepsbt`** is a utility RPC that examines an RPC and reports the - **`analyzepsbt`** is a utility RPC that examines a PSBT and reports the
next steps in the workflow if known, computes the fee of the resulting current status of its inputs, the next step in the workflow if known, and if
transaction, and estimates the weight and feerate if possible. possible, computes the fee of the resulting transaction and estimates the
final weight and feerate.
### Workflows ### Workflows