| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Docker Compose to running BitCore RPC node
free -m
dd if=/dev/zero of=/swapfile bs=1M count=2048
mkswap /swapfile
swapon /swapfile
chmod 600 /swapfile
free -mConnect to your VPS via SSH
Clone the GitHub
git clone https://github.com/LIMXTEC/Bitcore-BTX-RPC-Installer.gitCreate/Update Masternode information in .env (see example file env)
EXTERNAL_IP=<IP>
RPC_USER=<btx_user>
RPC_PWD=<btx_pwd>Start your masternode and wait until blockchain is syncronized
docker-compose up -doptional: to use the official bootstrap from LIMXTEC use the following script
./bootstrapping.shCheck if blockchain is synchronised and masternode ready to be activated
docker exec -it bitcore_rpc bitcore-cli -datadir=/data -conf=/data/bitcore.conf -rpcconnect=172.21.0.11 -rpcuser=btx_user -rpcpassword=btx_pwd -rpcport=8556 mnsync status
{
"AssetID": 1,
"AssetName": "MASTERNODE_SYNC_WAITING",
"AssetStartTime": 1586727148,
"Attempt": 0,
"IsBlockchainSynced": false,
"IsMasternodeListSynced": false,
"IsWinnersListSynced": false,
"IsSynced": false,
"IsFailed": false
}
#WAITING...
docker exec -it bitcore_rpc bitcore-cli -datadir=/data -conf=/data/bitcore.conf -rpcconnect=172.21.0.11 -rpcuser=btx_user -rpcpassword=btx_pwd -rpcport=8556 mnsync status
{
"AssetID": 999,
"AssetName": "MASTERNODE_SYNC_FINISHED",
"AssetStartTime": 1587319491,
"Attempt": 0,
"IsBlockchainSynced": true,
"IsMasternodeListSynced": true,
"IsWinnersListSynced": true,
"IsSynced": true,
"IsFailed": false
}PLEASE NOTE: It's very important to wait until IsSynced value is true!
| Back | FazBrowse Home | New Git URL |