I am curious how i can get a wallet to generate ECKeys randomly and gen 
pubKey without using a deterministic seed. This is a server side 
application and many keys are created and a deterministic keyChain seems to 
be more of a security/efficiency issue than a benefit.  and bitcoinj seems 
to have been primarily written around deterministic keys and importing 
keys, not generating random keys (Atleast in recent releases). i have 
written a custom script for another app to create random keypairs but 
adding in to botcoinj seems troublesome. 

my main concern with deterministic keychains is that i need to 
remove/delete keys from the keychain between saves. ideally i would just 
"not use them" however this could get very time consuming with large 
numbers of keys when serializing and writing to disk. 100s of keys will be 
useless and re-saving every modification is horribly inefficient. i can 
technically delete deterministic keys but that seems "wrong". i will never 
need to restore from seed and i dont want anybody else restoring from seed 
either. 

So this being said, how can i get  Wallet.getActiveKeyChain().getKeys() to 
return only ECKeys that are generated on the fly with random priv keys and 
derived pubs? or a better way to word it, an equivalent of this where i can 
generate dozens of keys at a given time then serialize upon saving and 
retrieve/delete them with some other function? im really trying to avoid 
rewriting source for bitcoinj any further than i already have. clean 
deletion and indexing of keys is my main goal here.

any insight on this concern would be greatly appreciated. 

-- 
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to