RE: Building a high availability steemd node for web apis

You are viewing a single comment's thread from:

Building a high availability steemd node for web apis

in steem •  8 years ago 

Why clone and build twice? What I do is

mkdir steem1 steem2    
git clone https://github.com/steemit/steem.git src 
cd src && git submodule update --init --recursive
cmake -DCMAKE_BUILD_TYPE=Release .
make -j4 steemd
cp programs/steemd/steemd ../steem1/
cp programs/steemd/steemd ../steem2/

This should save some build time.

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:  

I ran into issues with blockchain corruption and the dreaded:

Starting chain with 0 blocks...

I seem to get this error everytime I CP a witness_data_node_dir around. I didn't know how common that would be, so to avoid people saying "hey this broke" I decided to go the long route and just have people create it twice.

But - It's totally possible to do it this way, and it would save time. But if you run into errors like I did, just start over and compile from scratch ;)

Yeah, that makes sense. Thanks.