wallet coin selection: be aware of timelocks and allow commands to set an optional block height when selecting coins #27527

issue darosior openend this issue on April 24, 2023
  1. darosior commented at 4:55 pm on April 24, 2023: member

    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.

  2. willcl-ark added the label Brainstorming on Feb 24, 2025
  3. willcl-ark added the label Wallet on Feb 24, 2025

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2025-03-14 15:13 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me