Framework for modular input selection policy for Bitcoin wallets



Summary:

One area lacking in wallet design is fine-grained control over input selection policy. While coin control is effective, it's not scalable for mass use. To address this, an image was attached demonstrating a possible way to stack different independent selection algorithms. By implementing a modular selection policy, wallets would only need to implement their algorithm and stack it before the default algorithm. This would be useful for other projects as well and make it easier to incorporate new transaction construction algorithms like CoinJoin. It would also allow users to prioritize privacy over transaction cost by modifying their client's behavior easily. Voting pools in Open-Transactions will implement cold storage in a first-in-first-out (FIFO) manner and cluster UTXOs into groups that should be consumed in sequence while minimizing transaction size.


Updated on: 2023-06-08T02:58:16.556314+00:00