forked from bitcoin-teleport/teleport-transactions
-
Notifications
You must be signed in to change notification settings - Fork 96
Open
Milestone
Description
Currently, the V2 Wallet is still using the p2wpkh and p2wsh descriptors. This needs to be updated to the Taproot version.
Potential Approach
- Make the wallet add both types of descriptors in the RPC.
- Sync should happen for all descriptors.
- User can optionally disable one of the descriptor types, and be exclusively either legacy or taproot only. Although not recommended.
- For all taproot swaps, always use taproot descriptors.
- For all p2wsh swaps always use p2wsh descriptor.
- Track at the wallet storage layer all incoming and outgoing swapcoins for both types of descriptors.
- At the balance and utxo lists, combine all data from both the descriptor types to not miss any sats.
- For
get_new_addressgive the option to get any type of address. Taproot by default. But if users want, it can give legacy new addresses too. A separate "last used" address index should be tracked for taproot addresses. - Make a new marker type in
UTXOdisplay struct for legacy/taproot utxos.
Metadata
Metadata
Labels
No labels
Type
Projects
Status
up-for-grabs