OpenBazaar/spvwallet

Does not download chain

Opened this issue · 1 comments

xloem commented

I don't seem able to download the blockchain from a peer using cmd/spvwallet/main.go and git HEAD. The following is the output of spvwallet start -v:

photo of output

xloem commented

I think this error must have started after a use of resyncblockchain, maybe with a time after the current tip. Things seem to be working okay after renaming my ~/.spvwallet/headers.bin file so it is regenerated.

EDIT: no, this error seems to be initiated sometimes when spvwallet is terminated during a large incomplete chain download. it rejects all further block headers until headers.bin is deleted or replaced. the error seems to be caused by certain headers.bin files.