bitcoindevkit/bdk_wallet
Vedi su GitHubFeerate should be returned from Transaction construction
Open
#187 aperta il 11 gen 2022
good first issuenew feature
Metriche repository
- Star
- (54 star)
- Metriche merge PR
- (Metriche PR in attesa)
Descrizione
When you get TransactionDetails from tx_builder.finish() it has the fee for the overall transaction but does not include the feerate of the resulting transaction. There is no simple way for the caller to replicate this information since the transaction does not have witness data at this point. This is annoying because after constructing the psbt the user should know the feerate before signing it.
This can either be done by returning another value from builder.finish() or by adding a (perhaps optional) field to TransactionDetails.