You are viewing a single comment's thread from:

RE: Building a high availability steemd node for web apis

in #steem5 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.

Sort:  

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.

Coin Marketplace

STEEM 1.30
TRX 0.12
JST 0.140
BTC 59732.13
ETH 2143.92
BNB 493.51
SBD 8.70