- Did you review the PR, what did you think (ACK, NACK, etc)? What was your review process?
- What is the use case for the
TxBuilder::add_foreign_utxoAPI? (1 pt)
ans: The normalTxBuilder::add_utxoonly accepts wallet UTXOs that are unspent, but there are times when we might want to include inputs from other wallets if building transactions collaboratively with other parties. For that we haveadd_foreign_utxo. - What is
Wallet::build_fee_bumpdesigned to accomplish? Briefly describe the high-level steps (2 pt)
ans:build_fee_bumptakes a transaction ID representing the tx to be fee-bumped (via RBF) and returns a newTxBuilderpopulated with the parameters of the original transaction (version, recipients, etc).
Steps:
- Retrieve the original transaction data from the wallet