__________     __ __     __  _______    ________
  / ____/ __ \   / // /    / / / /  _/ |  / / ____/
 / / __/ / / /  / // /_   / /_/ // / | | / / __/
/ /_/ / /_/ /  /__  __/  / __  // /  | |/ / /___
\____/\____/     /_/    /_/ /_/___/  |___/_____/

 --- A GOPHER-LIKE INTERFACE FOR HIVE BLOCKCHAIN ---

CentOS7 QTUM configuration, run

BY: @rainboxer7 | CREATED: Jan. 11, 2018, 9:24 a.m. | VOTES: 1 | PAYOUT: $0.00 | [ VOTE ]

CentOS + QTUM configuration, run

install info

core folder : /data/coin/qtum/src
data folder : /data/coin/qtum

setting (qtum.conf)

if don't exist conf file then make

testnet = 1
rpcuser=test1
rpcpassword=your password
rpcport=15338
rpcallowip=127.0.0.1
rpcallowip=xxx.xxx.xx.x

run deamon

/data/coin/qtum/src/qtumd -datadir=/data/coin/qtum

process check, port check

[root@localhost src]#ps -ef | grep qtumd
[root@localhost src]#netstat -ant | grep 15338

run check

[root@localhost src]#./qtum-cli help
if error : Could not locate RPC credentials. No authentication cookie could be found, and no rpcpassword is set in the configuration file (/root/.qtum/qtum.conf)

if error, then do this

[root@localhost src]#./qtum-cli -rpccookiefile=../rpccookiefile -conf=../qtum.conf -rpcport=15338 -rpcuser=test1 -rpcpassword=yourpassword getbalance help

excute json rpc

~~~
[root@localhost src]#curl --user test1:yourpassword --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getbalance", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:15338/
[root@localhost src]# {"result":0.00000000,"error":null,"id":"curltest"}

TAGS: [ #qtum ] [ #configuration ]

Replies

@steemitboard | Jan. 9, 2019, 2:08 a.m. | Votes: 0 | [ VOTE ]

Congratulations @rainboxer7! You received a personal award!

https://steemitimages.com/70x70/http://steemitboard.com/@rainboxer7/birthday1.png1 Year on Steemit

Click here to view your Board

Do not miss the last post from @steemitboard:

SteemWhales has officially moved to SteemitBoard RankingSteemitBoard - Witness Update

> Support SteemitBoard's project! Vote for its witness and get one more award!

@steemitboard | Jan. 9, 2020, 1:30 a.m. | Votes: 0 | [ VOTE ]

Congratulations @rainboxer7! You received a personal award!

https://steemitimages.com/70x70/http://steemitboard.com/@rainboxer7/birthday2.pngHappy Birthday! - You are on the Steem blockchain for 2 years!

You can view your badges on your Steem Board and compare to others on the Steem Ranking

Vote for @Steemitboard as a witness to get one more award and increased upvotes!
[ BACK TO TRENDING ] [ BACK TO MENU ]
CMD>