Bitcoin Forum
May 03, 2024, 04:16:44 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Bitcoin / Bitcoin Technical Support / How synhronise bitcoin core (Centos 7) for working (getbalance etc) on: December 23, 2020, 09:47:03 AM
Hi, i`m newbi

What I've done

1 bought VDS Centos 7
2 Run some cmd

#Installing RPM packages with rpm
$ sudo rpm -ivh  https://mirror.cryptorpms.com/cryptorpms/el8/x86_64/cryptorpms-release-1-1.noarch.rpm

#Install the GUI
$ yum install bitcoin-core

#https://www.cryptorpms.com/software/bitcoin-core/
# Install the Server
$ yum install bitcoin-server

3 config
$ mcedit ~/.bitcoin/bitcoin.conf

#printtoconsole=1
testnet=0
mainnet=1
txindex=1
server=1
rest=1
daemon=1
rpcuser=btcuser
rpcpassword=btcpass
rpcport=18332
rpcbind=127.0.0.1
rpcallowip=0.0.0.0/0
datadir=/mnt/bitcoin

4 run
$ bitcoin-cli getblockchaininfo



result see in picture

5 get new address by command
$ bitcoin-cli getnewaddress

output address like this 1ELLk***************RUSgT2xvhxXx

6 send some BCT to address
see in pic, Confirmations>6



7 run
$ bitcoin-cli getreceivedbyaddress 1ELLk***************RUSgT2xvhxXx
and output
0.00000000

#1 WHY zero ??

#2 And WHY getblockchaininfo show zero blocks, is not update chain ? my folder /mnt/bitcoin  empty ? WHY? or How to start synhronise blockchain for retrieve balance of my addresses ?


for dev info

$ netstat -tulnp | grep bitcoind
output in pic


$ systemctl status bitcoin
output in pic
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!