Removing keys or keychains is tricky, since you'd have to remove old
transactions tied to these keys as well to keep the wallet consistent.
For this reason, bitcoinj wallets are mostly append only.


On 01/11/2018 04:59 AM, Jen wrote:
> is it possible to delete/remove old HDKeychains from a wallet? i have
> test generated 500k keys in a HD wallet and it serializes very slowly
> now, i can only imagine what 1-2 million keys would do. is it possible
> to rotate keys and delete the outdated keychain after a set time? i just
> dont want so many keys loaded as most keys will take in 1 tx then never
> be used again.
> 
> 
> also is it possible to not use an HDKeychain still? and just getKeys()
> that is not HD? just a random privkey with a derived pubkey? that way i
> can removekey since its not part of an HD chain.
> 
> -- 
> You received this message because you are subscribed to the Google
> Groups "bitcoinj" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to bitcoinj+unsubscr...@googlegroups.com
> <mailto:bitcoinj+unsubscr...@googlegroups.com>.
> For more options, visit https://groups.google.com/d/optout.


-- 
You received this message because you are subscribed to the Google Groups 
"bitcoinj" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bitcoinj+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to