Node crashes on start
Closed this issue · 3 comments
Mandelhoff commented
zack-bitcoin commented
I think there was a short period of time when I had pushed broken code here.
But I just tested the most recent version of the code, and it is working correctly.
I turned it on, synced a few blocks, turned if off, turned it on, synced a few blocks.
Everything seems normal.
if you do sync_mode:quick().
then it downloads blocks faster. but you have to change it back with sync_mode:normal().
after you finish downloading the blocks.
Mandelhoff commented
Ok, I'll try again. Is just calling sync:start(). fine too? That's what I've been doing to get my api:height(). correct.
Is there any "correct time" to do the add_peer? Not sure if that might interfere with the sync.
zack-bitcoin commented
any time should be fine to add_peer.