Is your feature request related to a problem? Please describe.
- Unable to spend unconfirmed UTXO
- OUTPUT_GROUP_MAX_ENTRIES = 100
The combination of these two things affects privacy which is discussed in detail here: #22018
Describe the solution you'd like

We are already marking used addresses as 'grey' in #17355. Can improve this by marking 'red' for addresses used twice or more for receiving bitcoin. Grey color for addresses used once. Once we have dirty coins (received bitcoin twice or more), they should be locked automatically, dump private keys associated with the addresses and import them in a new wallet (sub-wallet for dirty coins).
Not sure if there should be a sub wallet for each address or all dirty coins go in one sub wallet.
Describe alternatives you've considered Use other wallets
Additional context
This will improve following things:
- No wallet fingerprinting
- Keep things separate
- Manage forced address reuse in a better way
- Neither UTXOs being confirmed nor value for
OUTPUT_GROUP_MAX_ENTRIESwill matter anymore. The user can decide how to spend dirty coins in future. Either use all in one transaction or do coinjoin or something else.
Looking for Concept ACKs and discussion about this solution so that implementation can be planned if enough people agree to add this feature.
Thanks @harding for suggesting idea about sub-wallets in #22018 (comment)