Author Topic: Spreadcoind Node Tutorial  (Read 2007 times)

e1ghtSpace

  • Full Member
  • ***
  • Posts: 113
  • Part of the 2 year club
    • View Profile
Spreadcoind Node Tutorial
« on: May 21, 2015, 10:21:35 am »
Instructions for Youtube video here.

Login as Root then type;
1.
Code: [Select]
apt-get update
2.
Code: [Select]
apt-get install sudo
3.
Code: [Select]
adduser <username>{-Put in info- & press y}

4.
Code: [Select]
sudo adduser <username you created before> sudo
5.
exit


{Now connect to your VPS again but login as the user you created before.}

6.
Code: [Select]
sudo apt-get install git build-essential autoconf libboost-system-dev libboost filesystem-dev libboost-program-options-dev libboost-thread-dev libboost-test-dev libssl-dev libprotobuf-dev protobuf-compiler libqt4-dev libqrencode-dev libdb-dev libdb++-dev libminiupnpc-dev
7. --copy each command seperately--

Code: [Select]
mkdir -p src && cd src

git clone https://github.com/spreadcoin/spreadcoin.git
ls spreadcoin
cd spreadcoin/src
git checkout master

8.
Code: [Select]
make -j $(nproc) -f makefile.unix
9.
Code: [Select]
mkdir -p ~/.spreadcoin
10.
Code: [Select]
cat > ~/.spreadcoin/spreadcoin.conf <<EOF
---(you can copy and paste all of these next lines in together)---

Code: [Select]
rpcuser=SOMETHING
rpcpassword=UNIQUE # change this, create a strong password
maxconnections=1000
timeout=20000
port=41678
txindex=1
EOF

11.
Code: [Select]
sudo cp spreadcoind /usr/local/bin/spreadcoind
Code: [Select]
sudo ln -s /usr/local/bin/spreadcoind /usr/bin/spreadcoind
12.
Code: [Select]
spreadcoind & disown
13.
Code: [Select]
sudo apt-get install cron nano
Code: [Select]
export EDITOR=nano
14.
Code: [Select]
crontab-e
---make a new line and type;

Code: [Select]
@reboot spreadcoind -daemon

#This will check every hour to make sure the daemon is running.
0 * * * * /usr/bin/spreadcoind -daemon

15. Your Spreadcoin VPS node is set up now!

{To issue commands just type:}

Code: [Select]
spreadcoind <insert command>

{To stop your spreadcoin daemon just type:}

Code: [Select]
spreadcoind stop
---End of Tutorial---
---------------------------------------------
You can find additional useful commands here:
https://en.bitcoin.it/wiki/Original_Bitcoin_client/API_calls_list
Even though these commands are written for the bitcoin client, it will still work for Spreadcoin.
We just have to wait.

elbandi

  • Jr. Member
  • **
  • Posts: 57
    • View Profile
Re: Spreadcoind Node Tutorial
« Reply #1 on: May 21, 2015, 08:26:54 pm »
libboost-all-dev is unnecessary, this 5 are enough (based on this):

libboost-system-dev
libboost-filesystem-dev
libboost-program-options-dev
libboost-thread-dev
libboost-test-dev

e1ghtSpace

  • Full Member
  • ***
  • Posts: 113
  • Part of the 2 year club
    • View Profile
Re: Spreadcoind Node Tutorial
« Reply #2 on: May 22, 2015, 02:04:12 am »
libboost-all-dev is unnecessary, this 5 are enough (based on this):

libboost-system-dev
libboost-filesystem-dev
libboost-program-options-dev
libboost-thread-dev
libboost-test-dev
Thank you, I changed that.
We just have to wait.

sappi

  • Newbie
  • *
  • Posts: 16
    • View Profile
Re: Spreadcoind Node Tutorial
« Reply #3 on: August 26, 2017, 07:59:32 am »
Hello Guys

I'm getting this error any solution
Quote
sappi13:~/workspace $ sudo apt-get install git build-essential autoconf libboost-system-dev libboost filesystem-dev libboost-program-options-dev libboost-thread-dev libboost-test-dev libssl-dev libprotobuf-dev protobuf-compiler libqt4-dev libqrencode-dev libdb-dev libdb++-dev libminiupnpc-dev
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package libboost
E: Unable to locate package filesystem-dev

sappi

  • Newbie
  • *
  • Posts: 16
    • View Profile
Re: Spreadcoind Node Tutorial
« Reply #4 on: August 26, 2017, 08:41:06 am »
Hello Team

There is another stuck in running node

sappi

  • Newbie
  • *
  • Posts: 16
    • View Profile
Re: Spreadcoind Node Tutorial
« Reply #5 on: August 26, 2017, 08:49:31 am »
Hello Team

There is another stuck in running node


Full screenshot

sappi

  • Newbie
  • *
  • Posts: 16
    • View Profile
Re: Spreadcoind Node Tutorial
« Reply #6 on: August 26, 2017, 06:25:23 pm »
Hello Team I'm facing new problem

Quote
spreadcoin@vs-02161:~/src/spreadcoin/src$ spreadcoind dumpprivkey
error: {"code":-1,"message":"dumpprivkey <spreadcoinaddress>\nReveals the private key corresponding to <spreadcoinaddress>."}
spreadcoin@vs-02161:~/src/spreadcoin/src$

Quote
spreadcoin@vs-02161:~/src/spreadcoin/src$ spreadcoind getaccountaddress
error: {"code":-1,"message":"getaccountaddress <account>\nReturns the current SpreadCoin address for receiving payments to this account."}
spreadcoin@vs-02161:~/src/spreadcoin/src$

How to get wallet details?

georgem

  • Tech Admin
  • ******
  • Posts: 917
    • View Profile
Re: Spreadcoind Node Tutorial
« Reply #7 on: August 27, 2017, 10:56:04 am »
what are you trying to do?

Wallet details?

Try

Code: [Select]
spreadcoind getinfo


sappi

  • Newbie
  • *
  • Posts: 16
    • View Profile
Re: Spreadcoind Node Tutorial
« Reply #8 on: August 27, 2017, 10:58:43 am »
yes i'm able to get that info

Quote

spreadcoin@vs-02161:~$ spreadcoind getinfo
{
    "version" : 91601,
    "protocolversion" : 70019,
    "walletversion" : 60000,
    "balance" : 0.00000000,
    "blocks" : 1405862,
    "timeoffset" : 0,
    "connections" : 9,
    "proxy" : "",
    "difficulty" : 39.82973147,
    "networkhashps" : 2784148685,
    "moneysupply" : 7857398.21918166,
    "testnet" : false,
    "keypoololdest" : 1503769969,
    "keypoolsize" : 101,
    "paytxfee" : 0.00000000,
    "mininput" : 0.00001000,
    "errors" : ""
}

But how i can confirm mining working ?

sappi

  • Newbie
  • *
  • Posts: 16
    • View Profile
Re: Spreadcoind Node Tutorial
« Reply #9 on: August 27, 2017, 03:23:21 pm »
Wallet is sync but i think mining not working any tips guys

Quote
spreadcoin@vs-02161:~$ spreadcoind getinfo
{
    "version" : 91601,
    "protocolversion" : 70019,
    "walletversion" : 60000,
    "balance" : 0.00000000,
    "blocks" : 1595002,
    "timeoffset" : 0,
    "connections" : 32,
    "proxy" : "",
    "difficulty" : 395.68301887,
    "networkhashps" : 30846175455,
    "moneysupply" : 8645345.52933166,
    "testnet" : false,
    "keypoololdest" : 1503769969,
    "keypoolsize" : 101,
    "paytxfee" : 0.00000000,
    "mininput" : 0.00001000,
    "errors" : ""
}
spreadcoin@vs-02161:~$ spreadcoind getmininginfo
{
    "blocks" : 1595002,
    "currentblocksize" : 0,
    "currentblocktx" : 0,
    "difficulty" : 395.68301887,
    "errors" : "",
    "generate" : false,
    "genproclimit" : -1,
    "hashespersec" : 0,
    "networkhashps" : 30846175455,
    "pooledtx" : 0,
    "testnet" : false
}

sappi

  • Newbie
  • *
  • Posts: 16
    • View Profile
Re: Spreadcoind Node Tutorial
« Reply #10 on: August 28, 2017, 02:56:25 pm »
Hey Guys,

Can i expect you guys are helpful ?

georgem

  • Tech Admin
  • ******
  • Posts: 917
    • View Profile
Re: Spreadcoind Node Tutorial
« Reply #11 on: August 28, 2017, 03:23:58 pm »
show a screenshot of your miner.

cover any passwords that might be visible.

sappi

  • Newbie
  • *
  • Posts: 16
    • View Profile
Re: Spreadcoind Node Tutorial
« Reply #12 on: August 28, 2017, 03:32:24 pm »
From where i can get that info. Is that conf file ? if yes i already sent you DM

georgem

  • Tech Admin
  • ******
  • Posts: 917
    • View Profile
Re: Spreadcoind Node Tutorial
« Reply #13 on: August 28, 2017, 04:02:06 pm »
but what does your spreadminer (for Nvidia) say?

sappi

  • Newbie
  • *
  • Posts: 16
    • View Profile
Re: Spreadcoind Node Tutorial
« Reply #14 on: August 28, 2017, 04:08:30 pm »
Please check your inbox