Post
Topic
Board Altcoin Discussion
Re: Monero Support
by
equipoise
on 15/09/2016, 15:20:01 UTC
cross post: https://bitcointalk.org/index.php?topic=583449.msg16256658#msg16256658

Trying to sync monero on linux ubuntu 16.04 and I'm getting so many problems.
I did it normally, started ./bitmonerod and got first 300k blocks nice and reliatively fast. I come back the next day and it's on 320k?
so i wait 3 more days, 380k. something isn't right.

Downloaded the boot strap (took less than 5mins on high speed VPS) and follow instructions blockchain_import
I tried
 ./blockchain_import --database lmdb#nosync --verify 0 --input-file ~/blockchain.raw
 ./blockchain_import --database lmdb#nosync --verify=0 --input-file ~/xmr/blockchain.raw
 ./blockchain_import --verify 0 --input-file ~/xmr/blockchain.raw
 ./blockchain_import --input-file ~/xmr/blockchain.raw

You name it I tried around 10 different combos of those commands and each and every one failed. The "database" command was the fastest, but the last block would not be existent or corrupt and wouldn't allow the daemon to function. Massive PITA.

The rest of them would get to 200-350k blocks and simply start hogging resources and STILL not move anywhere in regard to progress. And then, not even being able to exit blockchain_import or bitmonerod (which ever one I was using and trying to sync with).

does anyone know the fastest way to sync on ubuntu 16.04. This is extremely frustrating.
I'm using this options during the first sync:

./bitmonerod --db-sync-mode fastest:sync:12000 --add-exclusive-node 94.23.55.211:18080 --detach

or

./bitmonerod --db-sync-mode fastest:async:12000 --add-exclusive-node 94.23.55.211:18080 --detach

94.23.55.211 is the moneroclub.com open node IP (I think), but you could use another node(s) of your choice (from bitmonerod.log for example). I use single exclusive node to save bandwidth during the initial sync. async should be faster on more then one core. After --detach you could use "./bitmonerod diff" or "./tail -f ~/.bitmonero/bitmonero.log" to see the progress, "./bitmonerod save", "./bitmonerod exit", etc... After the initial sync (and after "./bitmonerod exit") I'm using this to open the 18080 port and start the node for continuous use:

sudo ufw allow 18080
./bitmonerod --db-sync-mode fastest:async:12000 --detach