Pages:
Author

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

member
Activity: 353
Merit: 20
What is the version of Ubuntu? and did you follow the procedure exactly like in the guide? (see below)

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

git clone https://github.com/sucremoneda/SucreCore.git

cd SucreCore
find . -name "*.sh" -exec sudo chmod 755 {} \;
./autogen.sh
./configure # or ./configure --without-gui
make




Going to try today later, but wasn't easier to replace directly in the repo the secp256k1 folder?

Finally found the problem, you can skip the DASH fix (for new installation)

If you want to fix your current git clone (see below)

git clone https://github.com/dashpay/dash.git  # (to fix a bug in secp256k1)

rm -rf ~/SucreCore/src/secp256k1
cp -r ~/dash/src/secp256k1 ~/SucreCore/src/secp256k1
legendary
Activity: 3766
Merit: 1742
Join the world-leading crypto sportsbook NOW!
What is the version of Ubuntu? and did you follow the procedure exactly like in the guide? (see below)

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

git clone https://github.com/sucremoneda/SucreCore.git

git clone https://github.com/dashpay/dash.git  # (to fix a bug in secp256k1)

rm -rf ~/SucreCore/src/secp256k1
cp -r ~/dash/src/secp256k1 ~/SucreCore/src/secp256k1

cd SucreCore
find . -name "*.sh" -exec sudo chmod 755 {} \;
./autogen.sh
./configure # or ./configure --without-gui
make




Going to try today later, but wasn't easier to replace directly in the repo the secp256k1 folder?
newbie
Activity: 7
Merit: 0
Will there be a guide for setting up the masternodes on a windows server?

Will try to find one on the DASH forum because I'm not using any windows servers.

and will add it to the Sucre WIKI coming out in 1Q 2018

maybe this can help https://www.dash.org/forum/threads/guide-simple-masternode-on-a-windows-machine.7956/

remember we are on version 12.2.1 so procedure might be outdated.


Ha лoкaльнoм кoшeлькe Bиндoвc Инcтpyмeнты - КOHCOЛЬ OTКЛAДКИ, ввoдитe кoмaндy:
getnewaddress MasterNode1
oтвeт S......................Q;
sendtoaddress S......................Q 1000
oтвeт 9...................b;
ждeм пoдтвepждeниe oплaты. пoтoм
masternode genkey
J................................a;
masternode outputs
............................ 1

Пepexoдим нa VPS кoшeлeк пoд виндoвc.
Инcтpyмeнты - oткpыть фaйл нacтpoйки кoшeлькa ввoдим
rpcuser=someuser
rpcpassword=somepass
server=1
daemon=1
listen=1
rpcport=9336
rpcallowip=127.0.0.1
masternode=1
masternodeprivkey=J..........................a
externalip=XXX.XXX.XXX.XXX
coxpaняeм, пepeзaпycкaeм.
пepexoдим нa лoкaльный кoшeлeк... ввoдим
MN1 XXX.XXX.XXX.XXX:9336 J...............................a 9...................................b 1


Cool, will try this out later...just busy with the holiday season. Will post here on how it goes for others on a windows server Smiley
member
Activity: 353
Merit: 20
Sucre Coin Pool

  • Stratum  : all45.ru:3009  -  Diff: 0.5
  • Stratum  : all45.ru:3254  -  Diff: 1

  • User     : YOUR_ADDRESS
  • Password : x


Hi and thanks

will add it to main website and first page announcement.

might want to change to 40 block confirm (as Sucre spec)

member
Activity: 353
Merit: 20

Thanks for updating - unfortunately, it keeps saying permission denied on the last step.

ubuntu@i:~$ sudo echo "/var/swap.img none swap sw 0 0" >> /etc/fstab
-bash: /etc/fstab: Permission denied
ubuntu@ip-172-26-3-111:~$ free
              total        used        free      shared  buff/cache   available
Mem:         498380       40512      269172        1848      188696      425816
Swap:             0           0           0

This is because you did the swapoff /var/swap.img  command

just do

swapon /var/swap.img

then

echo "/var/swap.img    none    swap    sw    0    0" >> /etc/fstab

then (to see if it's working)

free

I didn't put the swapoff in the PDF guide (was just for info on how to turn off)



member
Activity: 353
Merit: 20
I get it, I was just curious. I might spin up another server with a larger swap with 1GB of RAM and do another masternode. I'll put it in another datacenter, too.

Perfect, good plan! Thanks for understanding.
newbie
Activity: 36
Merit: 0
I get it, I was just curious. I might spin up another server with a larger swap with 1GB of RAM and do another masternode. I'll put it in another datacenter, too.
member
Activity: 353
Merit: 20
I now have a masternode setup... I think.

I've got another bunch of coins I bought, too. You said you can't setup two on the same server, right? Can't do it by hostname or anything?

Sorry, Never said that.

Having multiple masternodes on same IP/server is not recommended, not supported and absolutely not encouraged. since the goal here is to have a strong network spread around the world. multiple masternodes on one IP is more damaging for the network and not fare to the community.
newbie
Activity: 29
Merit: 0
Since this is an issue, I will add this to the Masternode guide today.

If you have < 2GB of RAM on the system, you won’t be able to compile Sucre.  We’ll have to set up a swapfile.  If you have the required 2GB, feel free to skip ahead.

cd /var
touch swap.img
chmod 600 swap.img

dd if=/dev/zero of=/var/swap.img bs=1024k count=2000

#Preparing the Disk Image

mkswap /var/swap.img

#Star
swapon /var/swap.img

#Stop
swapoff /var/swap.img

#Enable your Swap File During Boot

echo "/var/swap.img    none    swap    sw    0    0" >> /etc/fstab

# type free to see if it's working
free


Thanks for updating - unfortunately, it keeps saying permission denied on the last step.

ubuntu@i:~$ sudo echo "/var/swap.img none swap sw 0 0" >> /etc/fstab
-bash: /etc/fstab: Permission denied
ubuntu@ip-172-26-3-111:~$ free
              total        used        free      shared  buff/cache   available
Mem:         498380       40512      269172        1848      188696      425816
Swap:             0           0           0
newbie
Activity: 36
Merit: 0
I now have a masternode setup... I think.

I've got another bunch of coins I bought, too. You said you can't setup two on the same server, right? Can't do it by hostname or anything?
member
Activity: 353
Merit: 20
Thanks.

One additional question. In the last part...

It says this.

walletpassphrase 120
masternode start-alias

Yes, and 120 is the time in seconds to unlock wallet.

newbie
Activity: 36
Merit: 0
Thanks.

One additional question. In the last part...

It says this.

walletpassphrase 120
masternode start-alias
member
Activity: 353
Merit: 20
I stumbled through it enough.

I'm waiting on 15 confirmations before completing.

I couldn't use address 0 since the exchange took a fee out and it turned into 999.9 instead of 1000. I made a new address and used that one for the correct 1000.

This brings up a question... How do you use the coins that get added into your wallet without touching the masternode 1000? Like if the masternode transaction was sent to address 3 and that is the receiving address... how do you tell the wallet to not touch that anymore?

Basically, how do you use what comes in without breaking the masternode?

For this to work, the masternode address need to have exactly 1000 (SUCR) anything else (1000.00000001 +) and (999.99999999 -) will never work.

Then when the masternode get created the 1000 coins associated to this address are lock down. they can not be spend, unless you use the coin control feature to unlock it yourself and at the same time kill you masternode and you will get your coins back.

so if you have 1500 coins in your wallet , you can send any amount < than 500 will go through without touching your masternode coins. Anything > will generate an error until you unlock your coins.
newbie
Activity: 36
Merit: 0
I stumbled through it enough.

I'm waiting on 15 confirmations before completing.

I couldn't use address 0 since the exchange took a fee out and it turned into 999.9 instead of 1000. I made a new address and used that one for the correct 1000.

This brings up a question... How do you use the coins that get added into your wallet without touching the masternode 1000? Like if the masternode transaction was sent to address 3 and that is the receiving address... how do you tell the wallet to not touch that anymore?

Basically, how do you use what comes in without breaking the masternode?
member
Activity: 353
Merit: 20
I managed to build sucr on 17.10, so it is possible. I'm not doing a masternode on 17.10, but I need it for the personal wallet.

It didn't build the qt GUI, though. It is working through sucr-cli. I tested a small send to it and it received it fine.

Can someone run through the CLI steps to setup a masternode? The client side steps.

SucreDev, a walkthrough using the command line client to setup the personal wallet side would be great.

Just updated the Masternode guide http://sucremoneda.net/dvbfg/SucreMasternodeBETA.pdf

actually most of the QT commands in the guide can be done with "sucr-cli" in front for command line.

A Sucre WIKI is coming out in 1Q 2018 . will try to include  a guide for that.
newbie
Activity: 36
Merit: 0
I managed to build sucr on 17.10, so it is possible. I'm not doing a masternode on 17.10, but I need it for the personal wallet.

It didn't build the qt GUI, though. It is working through sucr-cli. I tested a small send to it and it received it fine.

Can someone run through the CLI steps to setup a masternode? The client side steps.

SucreDev, a walkthrough using the command line client to setup the personal wallet side would be great.
member
Activity: 353
Merit: 20
Since this is an issue, I will add this to the Masternode guide today.

If you have < 2GB of RAM on the system, you won’t be able to compile Sucre.  We’ll have to set up a swapfile.  If you have the required 2GB, feel free to skip ahead.

cd /var
touch swap.img
chmod 600 swap.img

dd if=/dev/zero of=/var/swap.img bs=1024k count=2000

#Preparing the Disk Image

mkswap /var/swap.img

#Star
swapon /var/swap.img

#Enable your Swap File During Boot

echo "/var/swap.img    none    swap    sw    0    0" >> /etc/fstab

# type free to see if it's working
free
newbie
Activity: 29
Merit: 0
Thanks.

2GB RAM is a steep requirement, especially for Linux, unless there is a way to install multiple nodes and just specify different ports in one VPS. I think this might be one of those coins where you need at least 10 nodes to make a decent passive income from it.
newbie
Activity: 36
Merit: 0
No. I use another hosting provider.
newbie
Activity: 29
Merit: 0
Mine was a 1GB of RAM with 512MB of swap. I could've upped the swap, but it was better to just get more RAM. 1 CPU.

1 CPU, 2GB of RAM worked for me.

Vultr? How much monthly for this config?

Thanks.

Trying to see cost effectiveness, especially for multiple nodes.

Pages:
Jump to: