Steemd ReSync and RePlay Speed Boost Made Simple

in steem •  8 years ago 

Try this command while compiling steemd:

cmake -DCMAKE_BUILD_TYPE=Release -DENABLE_CONTENT_PATCHING=OFF -DLOW_MEMORY_NODE=ON .

Then you'll get something like:

Done reindexing, elapsed time: 129.203519 sec`

Explanation:
steemd is built in Debug mode by default, as a result replay/resync takes ages. The speed will improve a lot if build in Release mode.

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
Sort Order:  

Might be a good place and time to let people know about steem/programs/build_helpers/configure_build.py. I wrote this a couple months ago and it has been included in the steem code since v0.5.0.

Just call the script with --help to find out how to use it. I usually call it with no flags to build a full node, or with the -w flag to build a witness node.

nice . i will try to dig into it as well

Thats why windows build, reindexes faster... its already in release mode...

I gave the post an upvote because you guys are on another level with that stuff right now. Teaching people about STeem is going to make some whales no doubt. Here is a post I just did on it. https://steemit.com/steem/@brianphobos/millionaires-will-be-minted-by-just-teaching-steemit-to-new-users-proof-inside-and-discussion-on-the-problems-of-teaching

I was wondering why it was quicker on my slow server, thanks @abit

Please, upvote my post if you can
https://steemit.com/steemit/@bitlord/steemit-is-a-secret-conspiracy-and-a-trap
I've spent a half of day writing it and nobody upvotes it(

This is great thanks!