Commit 51a9f0b
committed
taprpc: support custom lock ID and expiration in CommitVirtualPsbts
This change extends the CommitVirtualPsbts RPC to accept an optional
custom UTXO lock ID and lease expiration. By enabling callers to define
these parameters explicitly, the wallet can better coordinate UTXO
locking across concurrent workflows and provide safer, more flexible
transaction retargeting when using virtual PSBTs.
If unset, the default internal lock ID and 10-minute expiration remain
in effect, preserving backward compatibility.1 parent 89a3e17 commit 51a9f0b
File tree
4 files changed
+271
-217
lines changed- taprpc/assetwalletrpc
4 files changed
+271
-217
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2532 | 2532 | | |
2533 | 2533 | | |
2534 | 2534 | | |
2535 | | - | |
2536 | | - | |
| 2535 | + | |
| 2536 | + | |
| 2537 | + | |
| 2538 | + | |
2537 | 2539 | | |
2538 | 2540 | | |
2539 | 2541 | | |
| |||
0 commit comments