Hi,

On bitcoinj 0.14 to use a bip32 custom path (eg bip44) we had to
subclass DeterministicKeyChain and override getAccountPath().
Subclassing KeyChainFactory and KeyChainGroup was also required to
make everything work.

Since bitcoinj 0.15 we could do
KeyChainGroupStructure structure = new MyKeyChainGroupStructure();
KeyChainGroup.Builder kcg = KeyChainGroup.builder(params, structure);

There is a new field in the Wallet protobuf format for the Key
message: account_path. That field was not present in 0.14.

So, when opening a 0.14 wallet from 0.15 code, the Wallet is not
properly built because of account path is not persisted on the wallet
file.

What is the proper migration mechanism? Use a custom
WalletProtobufSerializer? A custom KeyChainFactory?

thanks!







--
Oscar Guindzberg

-- 
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