3
0
mirror of https://github.com/Qortal/altcoinj.git synced 2025-02-07 14:54:15 +00:00
altcoinj/HD Wallets TODO.txt
Mike Hearn bab16650f9 HD Wallets: fix key lookahead and auto-advance so it works as intended.
Previously the codepath that was supposed to mark keys as used didn't work, and the lookahead calculation wasn't quite right. Now the current key advances correctly when an inbound tx is found that spends to it, including pending transactions. Additionally the lookahead zone now has the threshold zone after it, not inside it, meaning that if you request a lookahead size of 100 keys you'll actually always have at least 100 keys, never less.
2014-07-15 13:41:45 +02:00

19 lines
1.2 KiB
Plaintext

- Switch to the tree format agreed on with slush/stick.
- Calculate lookahead keys on a background thread.
- Redo internals of DKC to support arbitrary tree structures.
- Add a REFUND key purpose and map to the receive tree (for now).
- Pre-check the keys for all attached BlockChainListeners and reset the chain download if any of them throw an exception
then use this to ensure that we can't accidentally run off the end of an HDW heirarchy when downloading the chain.
API changes:
- WalletAppKit: addWalletExtensions has become provideWalletExtensions has to return the extensions as a list rather
than adding them to the wallet.
- WalletProtobufSerializer: loadWallet now returns a new Wallet object and takes a list of extensions.
- Wallet: addKey() is now a deprecated alias for importKey(). If you are adding a newly created key, stop. Instead use
either wallet.currentReceiveKey() or wallet.freshReceiveKey() depending on whether you are going to show an address
to the user in the UI or you know you need a fresh, unused key right at that moment.
- Most ECKey constructors were replaced with static methods.
- DeterministicKey now derives from ECKey
- WalletEventListener.onKeysAdded got a new Wallet parameter