I know there was a known bug before with unreadable wallet exceptions 
caused by failure to connect, but i think this is different. It also may 
not be a bug, however i see no possible way to handle this error with the 
built in functionality of master.

So i posted the error below, but basically im running a full pruned 
store/chain in conjunction with a regtest bitcoind node. On 3 seperate 
occasions my server crashed, and upon reboot the wallets do not load due to 
an unreadable wallet exception. if i shutdown the server, or terminate 
bitcoind, it loads fine. I do push low level/raw transactions with manual 
input/output designation and manual signing of the TX.I sometimes get a 
"can not decode DER" error that i plan to fix soon, i feel this may be 
related because the transactions are being improperly signed (im signing 
manually), however even so, i should be able to fix this can not connect 
error regardless of the cause.

If this "unreadable wallet exception" error happens, is there a way to 
resolve it by getting the block from store and repopulating transactions? 
or some other way?
my second question is, if this is related to the DER error, is there any 
other way for this error to occur without mistakes being made on my end? 
should i be concerned about not being able to resolve the 
unreadablewalletexception once the root cause is fixed?


the error: 
org.bitcoinj.wallet.UnreadableWalletException: Could not connect 
94d81e2f8f48b1d897d096f7b7df446aca512c68755825093a256aaac50e8631 to 
a2388837a858cd0644b5ad660c228726aa1bd36b2724ea4fafa7653974293ef1
    at org.bitcoinj.wallet.WalletProtobufSerializer.
connectTransactionOutputs(WalletProtobufSerializer.java:731)
    at org.bitcoinj.wallet.WalletProtobufSerializer.readWallet(
WalletProtobufSerializer.java:529)
    at org.bitcoinj.wallet.WalletProtobufSerializer.readWallet(
WalletProtobufSerializer.java:438)
    at org.bitcoinj.wallet.WalletProtobufSerializer.readWallet(
WalletProtobufSerializer.java:412)
    at org.bitcoinj.wallet.Wallet.loadFromFileStream(Wallet.java:1605)
    at org.bitcoinj.wallet.Wallet.loadFromFile(Wallet.java:1511)


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