Issue Details
- Number
- 27527
- Title
- wallet coin selection: be aware of timelocks and allow commands to set an optional block height when selecting coins
- Description
- The wallet should not select a yet-unavailable coin to fund a transaction. We could use the latest block height by default and allow the user to set one when calling for instance `walletcreatefundedpsbt`, to effectively tell the wallet "select me coins such as they'll be available after block height `N`).
Also maybe the wallet should set the right values for `nSequence` / `nLockTime` if it spends timelocked coins? Curious what people think.
cc @ishaanam since we discussed it together.
- URL
-
https://github.com/bitcoin/bitcoin/issue/27527
- Closed by
-
Back to List