GoUpNumber / gun

The Go Up Number Wallet
BSD Zero Clause License
49 stars 10 forks source link

Prioritise unused change addresses for split #85

Closed nickfarrow closed 2 years ago

nickfarrow commented 2 years ago

Alleviates https://github.com/LLFourn/gun/issues/66 Based on https://github.com/LLFourn/gun/pull/81 Unused change addresses are used first (searched from index 0 up to and including last_unused), and then fill rest of outputs with new addresses. Only creates one new change address in best case.