Pages:
Author

Topic: Sucre (SUCR) X11 based cryptocurrency POW, Masternode, Private and Instant Send - page 38. (Read 40806 times)

member
Activity: 196
Merit: 11
What plans about other exchanges, will it be in near future?  Smiley
full member
Activity: 217
Merit: 100
Bom dia, vocês usam uma rede da "DASH" para fazer o processamento da rede da "SUCR"? um "SUCR" tem previsão de entrada em troca maiores como, poloniex, hitBTC, bittrex ou algumas assim?
member
Activity: 353
Merit: 20


You are right, that was the problem. Thank you for help  Smiley I have one more question

"sucrd -daemon
Then wait until full sync"

How should I know that it synced?

More specifically with sucr-cli getblocktemplate

until you stop seeing this below

error code: -10
error message:
Sucr Core is syncing with network...

Because sucr-cli getinfo will tell you the number of blocks, but after that there is more to do like processing masternode list etc...
newbie
Activity: 51
Merit: 0
scurd getinfo

Count of blocks must be the same, as in explorer
member
Activity: 140
Merit: 10

This is the official PDF Guide to Setup a Masternode on the Sucre Network

http://sucremoneda.net/dvbfg/SucreMasternodeBETA.pdf


There is many ways to do this, but to avoid problem I recommended that you follow this one.

Note: this is a BETA release. (might have typos, was tested on Ubuntu 14.04 and work on the first run)


PS. Be aware that with this procedure, you are setting up a Masternode on a remote server, and keeping your 1000 SUCREs on a local Windows PC.



Hi, Dev
I am following you manual but after
"cd SucreCore
find . -name "*.sh" -exec sudo chmod 755 {} \;
./autogen.sh
./configure --without-gui"

I type "make" and get errors


Please, tell me what I am doing wrong?
Thank you

What is the version of Ubuntu?

If 14.04 try this line below and restart at procedure at ./autogen.sh

sudo apt-get install libboost-system-dev libboost-filesystem-dev libboost-chrono-dev libboost-program-options-dev libboost-test-dev libboost-thread-dev

If that doesn't work, you can install all boost development packages with:

sudo apt-get install libboost-all-dev


I use Ubuntu 17.10 x64 at Vultr, will try and post result here

Thats your problem, Get new droplet 14.04 or 16.04, never tested on 17.10 too much incompatibility with deps


You are right, that was the problem. Thank you for help  Smiley I have one more question

"sucrd -daemon
Then wait until full sync"

How should I know that it synced?
newbie
Activity: 51
Merit: 0
member
Activity: 64
Merit: 10
Dev, can you compile sentinel for windows?
member
Activity: 353
Merit: 20

This is the official PDF Guide to Setup a Masternode on the Sucre Network

http://sucremoneda.net/dvbfg/SucreMasternodeBETA.pdf


There is many ways to do this, but to avoid problem I recommended that you follow this one.

Note: this is a BETA release. (might have typos, was tested on Ubuntu 14.04 and work on the first run)


PS. Be aware that with this procedure, you are setting up a Masternode on a remote server, and keeping your 1000 SUCREs on a local Windows PC.



Hi, Dev
I am following you manual but after
"cd SucreCore
find . -name "*.sh" -exec sudo chmod 755 {} \;
./autogen.sh
./configure --without-gui"

I type "make" and get errors


Please, tell me what I am doing wrong?
Thank you

What is the version of Ubuntu?

If 14.04 try this line below and restart at procedure at ./autogen.sh

sudo apt-get install libboost-system-dev libboost-filesystem-dev libboost-chrono-dev libboost-program-options-dev libboost-test-dev libboost-thread-dev

If that doesn't work, you can install all boost development packages with:

sudo apt-get install libboost-all-dev


I use Ubuntu 17.10 x64 at Vultr, will try and post result here

Thats your problem, Get new droplet 14.04 or 16.04, never tested on 17.10 too much incompatibility with deps
member
Activity: 140
Merit: 10

This is the official PDF Guide to Setup a Masternode on the Sucre Network

http://sucremoneda.net/dvbfg/SucreMasternodeBETA.pdf


There is many ways to do this, but to avoid problem I recommended that you follow this one.

Note: this is a BETA release. (might have typos, was tested on Ubuntu 14.04 and work on the first run)


PS. Be aware that with this procedure, you are setting up a Masternode on a remote server, and keeping your 1000 SUCREs on a local Windows PC.



Hi, Dev
I am following you manual but after
"cd SucreCore
find . -name "*.sh" -exec sudo chmod 755 {} \;
./autogen.sh
./configure --without-gui"

I type "make" and get errors


Please, tell me what I am doing wrong?
Thank you

What is the version of Ubuntu?

If 14.04 try this line below and restart at procedure at ./autogen.sh

sudo apt-get install libboost-system-dev libboost-filesystem-dev libboost-chrono-dev libboost-program-options-dev libboost-test-dev libboost-thread-dev

If that doesn't work, you can install all boost development packages with:

sudo apt-get install libboost-all-dev


I use Ubuntu 17.10 x64 at Vultr, will try and post result here
member
Activity: 353
Merit: 20
I am calling on the 2 block explorers to upgrade SUCR daemon (you are stuck on block 9500)

Explorer - http://202.5.23.130:98

Explorer - http://cdpool.xyz:3002

you will need to --reindex

Then reply or contact me so I can put you back on the main website. (we have to look professional)

Block Explorer is up to date http://pool.penza.me:3001


It has been modified and runs normally.

Perfect, Thanks
member
Activity: 353
Merit: 20

This is the official PDF Guide to Setup a Masternode on the Sucre Network

http://sucremoneda.net/dvbfg/SucreMasternodeBETA.pdf


There is many ways to do this, but to avoid problem I recommended that you follow this one.

Note: this is a BETA release. (might have typos, was tested on Ubuntu 14.04 and work on the first run)


PS. Be aware that with this procedure, you are setting up a Masternode on a remote server, and keeping your 1000 SUCREs on a local Windows PC.



Hi, Dev
I am following you manual but after
"cd SucreCore
find . -name "*.sh" -exec sudo chmod 755 {} \;
./autogen.sh
./configure --without-gui"

I type "make" and get errors


Please, tell me what I am doing wrong?
Thank you

What is the version of Ubuntu?

If 14.04 try this line below and restart at procedure at ./autogen.sh

sudo apt-get install libboost-system-dev libboost-filesystem-dev libboost-chrono-dev libboost-program-options-dev libboost-test-dev libboost-thread-dev

If that doesn't work, you can install all boost development packages with:

sudo apt-get install libboost-all-dev
member
Activity: 242
Merit: 10
I am calling on the 2 block explorers to upgrade SUCR daemon (you are stuck on block 9500)

Explorer - http://202.5.23.130:98

Explorer - http://cdpool.xyz:3002

you will need to --reindex

Then reply or contact me so I can put you back on the main website. (we have to look professional)

Block Explorer is up to date http://pool.penza.me:3001


It has been modified and runs normally.
member
Activity: 140
Merit: 10

This is the official PDF Guide to Setup a Masternode on the Sucre Network

http://sucremoneda.net/dvbfg/SucreMasternodeBETA.pdf


There is many ways to do this, but to avoid problem I recommended that you follow this one.

Note: this is a BETA release. (might have typos, was tested on Ubuntu 14.04 and work on the first run)


PS. Be aware that with this procedure, you are setting up a Masternode on a remote server, and keeping your 1000 SUCREs on a local Windows PC.



Hi, Dev
I am following you manual but after
"cd SucreCore
find . -name "*.sh" -exec sudo chmod 755 {} \;
./autogen.sh
./configure --without-gui"

I type "make" and get errors


Please, tell me what I am doing wrong?
Thank you
full member
Activity: 280
Merit: 100


root@vultr:~/.sucrcore/sentinel# ~/.sucrcore/sentinel/venv/bin/python ~/.sucrcore/sentinel/bin/sentinel.py
[Errno 2] No such file or directory: '~/.sucrcore/sucr.conf'
DashCore must be installed and configured, including JSONRPC access in dash.conf


It tells you that your sucr.conf file is missing, do you have it?



It's not lost, it's in the folder

Maybe in the wrong folder? Can you run ls on .sucrcore and paste the output here?

full member
Activity: 196
Merit: 100

1.4 BTC volume on day 1 is not bad. Listing on mnrank will boost the price.
member
Activity: 353
Merit: 20

This is the official PDF Guide to Setup a Masternode on the Sucre Network

http://sucremoneda.net/dvbfg/SucreMasternodeBETA.pdf


There is many ways to do this, but to avoid problem I recommended that you follow this one.

Note: this is a BETA release. (might have typos, was tested on Ubuntu 14.04 and work on the first run)


PS. Be aware that with this procedure, you are setting up a Masternode on a remote server, and keeping your 1000 SUCREs on a local Windows PC.

full member
Activity: 154
Merit: 100


root@vultr:~/.sucrcore/sentinel# ~/.sucrcore/sentinel/venv/bin/python ~/.sucrcore/sentinel/bin/sentinel.py
[Errno 2] No such file or directory: '~/.sucrcore/sucr.conf'
DashCore must be installed and configured, including JSONRPC access in dash.conf


It tells you that your sucr.conf file is missing, do you have it?



It's not lost, it's in the folder
full member
Activity: 280
Merit: 100


root@vultr:~/.sucrcore/sentinel# ~/.sucrcore/sentinel/venv/bin/python ~/.sucrcore/sentinel/bin/sentinel.py
[Errno 2] No such file or directory: '~/.sucrcore/sucr.conf'
DashCore must be installed and configured, including JSONRPC access in dash.conf


It tells you that your sucr.conf file is missing, do you have it?

member
Activity: 353
Merit: 20

whats the price to get listed on mnrank ?

Don't know yet just send request(3 hours ago) to Admin
full member
Activity: 154
Merit: 100

Took me some time to set up few masternodes. Below is a complete guide how to set them up on Ubuntu VPS and local Windows wallet.

Deploy Ubuntu 16.04 VPS and do the following:

# --------------------------
# 1. Install dependencies
# --------------------------
Code:
sudo apt -y update && sudo apt -y install build-essential libssl-dev libdb++-dev libboost-all-dev libcrypto++-dev libqrencode-dev libminiupnpc-dev libgmp-dev libgmp3-dev autoconf autogen automake libtool autotools-dev pkg-config bsdmainutils software-properties-common libzmq3-dev libminiupnpc-dev libssl-dev libevent-dev

sudo add-apt-repository ppa:bitcoin/bitcoin
sudo apt-get update
sudo apt-get install libdb4.8-dev libdb4.8++-dev -y

# --------------------------
# 2. Clone repo
# --------------------------
Code:
git clone https://github.com/sucremoneda/SucreCore.git
git clone https://github.com/dashpay/dash.git

To fix the bug remove ~/SucreCore/src/secp256k1:

Code:
rm -rf ~/SucreCore/src/secp256k1

Copy secp256k1 from dash repo

Code:
cp -r ~/dash/src/secp256k1 ~/SucreCore/src/secp256k1

# --------------------------
# 3. Build sucre
# --------------------------

Code:
cd SucreCore
find . -name "*.sh" -exec sudo chmod 755 {} \;
./autogen.sh
./configure
make

# --------------------------
# 4. Run sucrd daemon
# --------------------------
Code:
~/SucreCore/src/sucrd -daemon

# --------------------------
# 5. Stop sucrd daemon
# --------------------------
Code:
~/SucreCore/src/sucr-cli stop

# --------------------------
# 6. Edit config file
# --------------------------
Code:
vi ~/.sucrcore/sucr.conf

Code:
rpcuser=USERNAME
rpcpassword=PASSWORD

addnode=45.76.32.90
addnode=188.166.44.128
addnode=128.199.180.97

# --------------------------
# 7. Start sucrd
# --------------------------

Code:
~/SucreCore/src/sucrd -daemon

# --------------------------
# 8. Check last block synced
# --------------------------
Code:
~/SucreCore/src/sucr-cli getmininginfo

Code:
{
  "blocks": 0,
  "currentblocksize": 0,
  "currentblocktx": 0,
  "difficulty": 0.000244140625,
  "errors": "",
  "genproclimit": 1,
  "networkhashps": 0,
  "pooledtx": 0,
  "testnet": false,
  "chain": "main",
  "generate": false
}

# --------------------------
# 9. Generate private key on VPS
# --------------------------

Code:
~/SucreCore/src/sucr-cli masternode genkey

# MASTERNODE_PRIVATE_KEY will be generated

# --------------------------
# 10. On Windows wallet open the console
# --------------------------

Code:
getaccountaddress MASTERNODE_1

# --------------------------
# 10. Send 1000 SUCR to the address above and wait for 15 confirmations
# --------------------------


# --------------------------
# 11. Update your sucr.conf file on VPS
# --------------------------

Code:
vi ~/.sucrcore/sucr.conf

Code:

rpcuser=USERNAME
rpcpassword=PASSWORD
rpcallowip=127.0.0.1
rpcconnect=127.0.0.1
rpcport=9918
port=9336
listen=1
server=1
daemon=1
logtimestamps=1
maxconnections=256
masternode=1
externalip=VPS_IP_ADDRESS
bind=VPS_IP_ADDRESS:9336
masternodeprivkey=MASTERNODE_PRIVATE_KEY

addnode=45.76.32.90
addnode=188.166.44.128
addnode=128.199.180.97




# ------------------------------------------------------------------------------
# 12. Install sentinel
# ------------------------------------------------------------------------------

Code:
sudo apt-get install -y virtualenv

cd
cd .sucrcore
git clone https://github.com/dashpay/sentinel.git
cd sentinel
virtualenv venv
venv/bin/pip install -r requirements.txt



Edit sentinel.conf

Code:
vi ~/.sucrcore/sentinel/sentinel.conf


PASTE below into sentinel.conf file

Code:
dash_conf=~/.sucrcore/sucr.conf
network=mainnet
db_name=database/sentinel.db
db_driver=sqlite



Stop sucrd

Code:
~/SucreCore/src/sucr-cli stop

Start sucrd

Code:
~/SucreCore/src/sucrd -daemon

If see error: "Error: Cannot obtain a lock on data directory ~/.sucrcore. Sucr Core is probably already running.":

Code:
ps axwuu | grep sucr
sudo kill -9 23511

Code:
~/SucreCore/src/sucr-cli getinfo
~/SucreCore/src/sucr-cli  masternode status


Code:
# {
#   "outpoint": "0000000000000000000000000000000000000000000000000000000000000000-xxxxxx",
#   "service": "[::]:0",
#   "status": "Node just started, not yet activated"
# }

Code:
~/SucreCore/src/sucr-cli mnsync status # UNTIL SYNCS LIKE BELOW


Code:
{
  "AssetID": 999,
  "AssetName": "MASTERNODE_SYNC_FINISHED",
  "AssetStartTime": 1512118746,
  "Attempt": 0,
  "IsBlockchainSynced": true,
  "IsMasternodeListSynced": true,
  "IsWinnersListSynced": true,
  "IsSynced": true,
  "IsFailed": false
}


Run sentinel

Code:

~/.sucrcore/sentinel/venv/bin/python ~/.sucrcore/sentinel/bin/sentinel.py


Set up cronjob

Code:
crontab -e

# PASTE to the file
* * * * * cd ~/.sucrcore/sentinel && ./venv/bin/python bin/sentinel.py >/dev/null 2>&1


# --------------------------
# 13. On Windows Wallet console
# --------------------------

Code:
masternode outputs


Code:
{
  "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx1": "1", # MASTERNODE_1
  "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx2": "0"  # MASTERNODE_2
}


On Windows edit masternode.conf file:

Code:
#LABEL PUBLICIP:PORT MASTERNODEKEY COLLATERALTX INDEX

MASTERNODE VPS_IP_ADDRESS:14520 MASTERNODE_PRIVATE_KEY TX 1

MASTERNODE01 VPS_1_IP_ADDRESS:9336 MASTERNODE_1_PRIVATE_KEY xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx1 1
MASTERNODE02 VPS_1_IP_ADDRESS:9336 MASTERNODE_2_PRIVATE_KEY xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx2 0

On Windows wallet console start masternode:
Code:
walletpassphrase "your wallet passphrase" 120
masternode start-alias MASTERNODE_1
masternode start-alias MASTERNODE_2



root@vultr:~/.sucrcore/sentinel# ~/.sucrcore/sentinel/venv/bin/python ~/.sucrcore/sentinel/bin/sentinel.py
[Errno 2] No such file or directory: '~/.sucrcore/sucr.conf'
DashCore must be installed and configured, including JSONRPC access in dash.conf
Pages:
Jump to: