:: Re: [Libbitcoin] Tips for syncing l…
Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: William Swanson
Ημερομηνία:  
Προς: mauricio munoz
Υ/ο: libbitcoin@lists.dyne.org
Αντικείμενο: Re: [Libbitcoin] Tips for syncing libbitcoin-server mainnet
Yeah, it's pretty slow. Part of the problem, I think, is that the
Satoshi peers aren't feeding blocks very quickly, since libbitcoin is
somehow triggering their DDoS protection. Therefore, we only get
blocks at a reduced rate. It would be interesting to wireshark this
and figure out what's actually going on.

One workaround is to setup a Satoshi bitcoind server, and edit it's
bitcoin.conf file to explicitly add the libbitcoin server as a peer.
This doesn't speed things up too much, but it seems to improve
stability a bit.

Even when the blocks come in at a decent rate, there also seems to be
some slowness in the storage backend. It would be interesting to
profile this and figure out what's actually going on. ;)

In the mean time, our approach was to just wait a few weeks for our
first server to sync up with the blockchain. Once we had the first
server running, we rsync'ed the database across to the other servers.
This is crude but effective.

- William Swanson, airbitz.co

On Wed, Apr 29, 2015 at 1:41 PM, mauricio munoz
<gmauricio.munoz@???> wrote:
> Hey!
>
> I'm currently setting up libbitcoin-server, but I found that it's very slow
> to sync the blockchain on mainnet, I'm around the 230K block now, but it
> looks like it's going to take many days to get up to date.
>
> Do you have any recommendations on how to make it sync faster ? I have it
> running on AWS, tried setting a machine with good memory, around 15G, but
> still very slow, and it's not consuming it all anyway, same for CPU.
> Maybe there are tweaks that can be done to the configuration to make it
> faster.
>
> We do have running, fully synced now, a testnet server, we're currently
> setting the domain for it, and we'll share it later, because as far as we
> know, none of the obelisk servers for testnet, listed on the wiki are
> working or have the blockchain up to date.
>
> --
> Germán Mauricio Muñoz
>
> _______________________________________________
> Libbitcoin mailing list
> Libbitcoin@???
> https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/libbitcoin
>