Pages:
Author

Topic: [*] 8BIT [Dark Masternodes][Anon][Roadmap Stage 4] - page 40. (Read 379550 times)

full member
Activity: 179
Merit: 100
Can someone drop a link to get a 8bit masternode running on Ubuntu? Thanks a lot!

Best instructions ever.
Just copy & paste.
From my experience if its a vm with not a lot ram or an old machine you should add a swap file (at least 4GB)

Once I wrote for myself the installation instructions, maybe it will come in handy.

1. Setting dependencies:
Code:
sudo apt-get install -y libminiupnpc-dev autoconf automake build-essential libssl-dev libdb++-dev libboost-all-dev libqrencode-dev

2. Installation secp256k1
Code:
cd ~&&git clone http://www.github.com/bitcoin/secp256k1&&cd  secp256k1&&git checkout a1d5ae1&&./autogen.sh&&./configure&&make&&sudo make install&&cd ..

3. Installing 8bit
Code:
cd ~&&git clone https://github.com/8bit-dev/8bit&&cd 8bit/src&&cp crypto obj/crypto -rR

Most likely, there will be an error in the assembly.
Therefore, you will need to fix ~/8bit/src/rpcrawtransaction.cpp

search for this line
                     const CScriptID& hash = boost::get(address);
It should work after changed to
                       const CScriptID& hash = boost::get(address);

Code:
make -f makefile.unix&&strip 8bitd&&sudo cp 8bitd /usr/bin

If everything went well and without errors, then you will have a console version of the wallet.
If you need the GUI:
1. Setting dependencies:
Code:
sudo apt-get install -y qt5-default qt5-qmake qtbase5-dev-tools qttools5-dev-tools build-essential libboost-dev libboost-system-dev libboost-filesystem-dev libboost-program-options-dev libboost-thread-dev libssl-dev libdb++-dev libminiupnpc-dev

2. Installing 8bit-qt
Code:
cd ~&&git clone https://github.com/8bit-dev/8bit&&cd 8bit/src&&cp crypto obj/crypto -rR&&cd ..&&qmake&&make

On a clean install of Ubuntu 16.04, following these directions precisely I get the following error after successfully building 8bitd, while trying to run it:

$ 8bitd
8bitd: error while loading shared libraries: libsecp256k1.so.0: cannot open shared object file: No such file or directory


Here is a (persistent) fix:

1) edit $HOME/.bashrc to include the following line:
export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH
(you can [and probably should] simply append it to the bottom of everything already there)

2) issue the following command in terminal to update bash:
. ~/.bashrc



That's it. 8bitd should now run.


member
Activity: 180
Merit: 10
https://twitter.com/3Hiyatus
Hi everyone

Does the coin number have a hard cap or is the supply infinite?
Also, i noticed the website listed in the OP is down, may i ask if there is an official team here or is 8bit community run?
Thank you
full member
Activity: 179
Merit: 100
Someone's super stoked on 8bit, it would appear. Thank you all who shared for sharing. Meow... I-4 1-wood like mia moo nrok. will the bit T-rex a bored ice A, ?E2? May BNA BIt. Lettuce's table-ish affirm 8453 1st crypt-tickly byte tock-ing..
full member
Activity: 670
Merit: 130
Can someone drop a link to get a 8bit masternode running on Ubuntu? Thanks a lot!

Best instructions ever.
Just copy & paste.
From my experience if its a vm with not a lot ram or an old machine you should add a swap file (at least 4GB)

Once I wrote for myself the installation instructions, maybe it will come in handy.

1. Setting dependencies:
Code:
sudo apt-get install -y libminiupnpc-dev autoconf automake build-essential libssl-dev libdb++-dev libboost-all-dev libqrencode-dev

2. Installation secp256k1
Code:
cd ~&&git clone http://www.github.com/bitcoin/secp256k1&&cd  secp256k1&&git checkout a1d5ae1&&./autogen.sh&&./configure&&make&&sudo make install&&cd ..

3. Installing 8bit
Code:
cd ~&&git clone https://github.com/8bit-dev/8bit&&cd 8bit/src&&cp crypto obj/crypto -rR

Most likely, there will be an error in the assembly.
Therefore, you will need to fix ~/8bit/src/rpcrawtransaction.cpp

search for this line
                     const CScriptID& hash = boost::get(address);
It should work after changed to
                       const CScriptID& hash = boost::get(address);

Code:
make -f makefile.unix&&strip 8bitd&&sudo cp 8bitd /usr/bin

If everything went well and without errors, then you will have a console version of the wallet.
If you need the GUI:
1. Setting dependencies:
Code:
sudo apt-get install -y qt5-default qt5-qmake qtbase5-dev-tools qttools5-dev-tools build-essential libboost-dev libboost-system-dev libboost-filesystem-dev libboost-program-options-dev libboost-thread-dev libssl-dev libdb++-dev libminiupnpc-dev

2. Installing 8bit-qt
Code:
cd ~&&git clone https://github.com/8bit-dev/8bit&&cd 8bit/src&&cp crypto obj/crypto -rR&&cd ..&&qmake&&make
sr. member
Activity: 555
Merit: 250
can anyone help me on how to send my wallet.dat to a vps ubuntu and how to setup masternode on it ?
full member
Activity: 574
Merit: 115
Current height is 1048385, I will provide a snapshot tomorrow.

How to keep your node up to date if you don't have much RAM:
1) do a backup daily, keep last few backups
2) if your node will stuck whatever, call getpeerinfo to see which nodes have highest height
3) restore your last backup (of moving chain), use connect=ip-of-node-1, connect=ip-of-node-2, start with -resync, etc. to connect only to nodes with highest height
4) once you will sync (should take maybe 15 minutes, maybe 2 hours, not days definitely)

Or just bump your RAM size Smiley


I synced with 32 GB RAM, but I'll try the highest peer trick. Thanks.
legendary
Activity: 1036
Merit: 1000
8b 16b DEMOSCENE FTW
I haven't received any stakes since Sep 3rd 04:35. Did something happen to the network?

EDIT: OK i tried every possible way to make win wallet to sync. It worked for about a day using the instructions and block data from 2xjO9M3P post. The block that stuck everything in my case is 1039199.

Every time it stucks at block 1039199 and then orphan etc......so i dunno anymore.

Keep getting stuck here too after resyncing from the latest snapshot. Probably explains why I didn't see stakes since Sep 3rd.

Current height is 1048385, I will provide a snapshot tomorrow.

How to keep your node up to date if you don't have much RAM:
1) do a backup daily, keep last few backups
2) if your node will stuck whatever, call getpeerinfo to see which nodes have highest height
3) restore your last backup (of moving chain), use connect=ip-of-node-1, connect=ip-of-node-2, start with -resync, etc. to connect only to nodes with highest height
4) once you will sync (should take maybe 15 minutes, maybe 2 hours, not days definitely)

Or just bump your RAM size Smiley
full member
Activity: 574
Merit: 115
I haven't received any stakes since Sep 3rd 04:35. Did something happen to the network?

EDIT: OK i tried every possible way to make win wallet to sync. It worked for about a day using the instructions and block data from 2xjO9M3P post. The block that stuck everything in my case is 1039199.

Every time it stucks at block 1039199 and then orphan etc......so i dunno anymore.

Keep getting stuck here too after resyncing from the latest snapshot. Probably explains why I didn't see stakes since Sep 3rd.
full member
Activity: 154
Merit: 100
Can someone drop a link to get a 8bit masternode running on Ubuntu? Thanks a lot!
newbie
Activity: 41
Merit: 0
someone can help? i made a transaction while my wallet was still sinching, the coin disappear from my balance but the transaction iD has 0 confirmation. I waited for the sinch but after 12 hours with the wallet sinched nothing changed

If you are not able to recompile a wallet - first option: run your wallet with switch
Code:
  -salvagewallet         Attempt to recover private keys from a corrupt wallet.dat
If you are able to recompile a wallet - second option: checkout a branch that I made for Bittrex to resolve cases like yours: https://github.com/8bit-dev/8bit/tree/bittrex-zap - it adds following option:
Code:
  -zapwallettxes=  Delete all wallet transactions and only recover those parts of the blockchain through -rescan on startup

that will let you wipe out dead txs.

Always backup your wallet.dat before using any of those options... some people believe that -salvagewallet can destroy a wallet, but I have no bad experience with it - at least with 8BIT.

Thanks!! i found online a way with that command. I simply restarted the wallet with zapwallettxes=1 in the conf file and later restarted without it

It will not work for you this way - if it did maybe your txes were rebroadcasted in some other way. Basically the stock wallet does not support zapwallettxes.



Oh... Maybe resendtx worked but needed a restart... Thanks however
legendary
Activity: 1036
Merit: 1000
8b 16b DEMOSCENE FTW
someone can help? i made a transaction while my wallet was still sinching, the coin disappear from my balance but the transaction iD has 0 confirmation. I waited for the sinch but after 12 hours with the wallet sinched nothing changed

If you are not able to recompile a wallet - first option: run your wallet with switch
Code:
  -salvagewallet         Attempt to recover private keys from a corrupt wallet.dat
If you are able to recompile a wallet - second option: checkout a branch that I made for Bittrex to resolve cases like yours: https://github.com/8bit-dev/8bit/tree/bittrex-zap - it adds following option:
Code:
  -zapwallettxes=  Delete all wallet transactions and only recover those parts of the blockchain through -rescan on startup

that will let you wipe out dead txs.

Always backup your wallet.dat before using any of those options... some people believe that -salvagewallet can destroy a wallet, but I have no bad experience with it - at least with 8BIT.

Thanks!! i found online a way with that command. I simply restarted the wallet with zapwallettxes=1 in the conf file and later restarted without it

It will not work for you this way - if it did maybe your txes were rebroadcasted in some other way. Basically the stock wallet does not support zapwallettxes.

newbie
Activity: 41
Merit: 0
someone can help? i made a transaction while my wallet was still sinching, the coin disappear from my balance but the transaction iD has 0 confirmation. I waited for the sinch but after 12 hours with the wallet sinched nothing changed

If you are not able to recompile a wallet - first option: run your wallet with switch
Code:
  -salvagewallet         Attempt to recover private keys from a corrupt wallet.dat
If you are able to recompile a wallet - second option: checkout a branch that I made for Bittrex to resolve cases like yours: https://github.com/8bit-dev/8bit/tree/bittrex-zap - it adds following option:
Code:
  -zapwallettxes=  Delete all wallet transactions and only recover those parts of the blockchain through -rescan on startup

that will let you wipe out dead txs.

Always backup your wallet.dat before using any of those options... some people believe that -salvagewallet can destroy a wallet, but I have no bad experience with it - at least with 8BIT.

Thanks!! i found online a way with that command. I simply restarted the wallet with zapwallettxes=1 in the conf file and later restarted without it
legendary
Activity: 1036
Merit: 1000
8b 16b DEMOSCENE FTW
someone can help? i made a transaction while my wallet was still sinching, the coin disappear from my balance but the transaction iD has 0 confirmation. I waited for the sinch but after 12 hours with the wallet sinched nothing changed

If you are not able to recompile a wallet - first option: run your wallet with switch
Code:
  -salvagewallet         Attempt to recover private keys from a corrupt wallet.dat
If you are able to recompile a wallet - second option: checkout a branch that I made for Bittrex to resolve cases like yours: https://github.com/8bit-dev/8bit/tree/bittrex-zap - it adds following option:
Code:
  -zapwallettxes=  Delete all wallet transactions and only recover those parts of the blockchain through -rescan on startup

that will let you wipe out dead txs.

Always backup your wallet.dat before using any of those options... some people believe that -salvagewallet can destroy a wallet, but I have no bad experience with it - at least with 8BIT.
newbie
Activity: 41
Merit: 0
someone can help? i made a transaction while my wallet was still sinching, the coin disappear from my balance but the transaction iD has 0 confirmation. I waited for the sinch but after 12 hours with the wallet sinched nothing changed

    {
        "account" : "",
        "address" : "8doPTGR4pLRoSMn2CsPcBRaYpDFvQMoHgG",
        "category" : "send",
        "amount" : -63.00000000,
        "fee" : -0.00100000,
        "confirmations" : 0,
        "txid" : "2e3a1f7c9ea0dd9d5ca769004e4cf355a97d70896208500eb53e3c7fcc37d1                                                                                                                                                             fc",
        "time" : 1504785464,
        "timereceived" : 1504785464
    },
    {
        "account" : "",
        "address" : "8M3cEgxW8YcMqM9e7EN2y88nUCDuEu8SL9",
        "category" : "send",
        "amount" : -0.34815999,
        "fee" : -0.00100000,
        "confirmations" : 0,
        "txid" : "2e3a1f7c9ea0dd9d5ca769004e4cf355a97d70896208500eb53e3c7fcc37d1                                                                                                                                                             fc",
        "time" : 1504785464,
        "timereceived" : 1504785464
    },

Try a "resendtx" from console

already tried with no results
full member
Activity: 147
Merit: 100
someone can help? i made a transaction while my wallet was still sinching, the coin disappear from my balance but the transaction iD has 0 confirmation. I waited for the sinch but after 12 hours with the wallet sinched nothing changed

    {
        "account" : "",
        "address" : "8doPTGR4pLRoSMn2CsPcBRaYpDFvQMoHgG",
        "category" : "send",
        "amount" : -63.00000000,
        "fee" : -0.00100000,
        "confirmations" : 0,
        "txid" : "2e3a1f7c9ea0dd9d5ca769004e4cf355a97d70896208500eb53e3c7fcc37d1                                                                                                                                                             fc",
        "time" : 1504785464,
        "timereceived" : 1504785464
    },
    {
        "account" : "",
        "address" : "8M3cEgxW8YcMqM9e7EN2y88nUCDuEu8SL9",
        "category" : "send",
        "amount" : -0.34815999,
        "fee" : -0.00100000,
        "confirmations" : 0,
        "txid" : "2e3a1f7c9ea0dd9d5ca769004e4cf355a97d70896208500eb53e3c7fcc37d1                                                                                                                                                             fc",
        "time" : 1504785464,
        "timereceived" : 1504785464
    },

Try a "resendtx" from console
newbie
Activity: 41
Merit: 0
someone can help? i made a transaction while my wallet was still sinching, the coin disappear from my balance but the transaction iD has 0 confirmation. I waited for the sinch but after 12 hours with the wallet sinched nothing changed

    {
        "account" : "",
        "address" : "8doPTGR4pLRoSMn2CsPcBRaYpDFvQMoHgG",
        "category" : "send",
        "amount" : -63.00000000,
        "fee" : -0.00100000,
        "confirmations" : 0,
        "txid" : "2e3a1f7c9ea0dd9d5ca769004e4cf355a97d70896208500eb53e3c7fcc37d1                                                                                                                                                             fc",
        "time" : 1504785464,
        "timereceived" : 1504785464
    },
    {
        "account" : "",
        "address" : "8M3cEgxW8YcMqM9e7EN2y88nUCDuEu8SL9",
        "category" : "send",
        "amount" : -0.34815999,
        "fee" : -0.00100000,
        "confirmations" : 0,
        "txid" : "2e3a1f7c9ea0dd9d5ca769004e4cf355a97d70896208500eb53e3c7fcc37d1                                                                                                                                                             fc",
        "time" : 1504785464,
        "timereceived" : 1504785464
    },
full member
Activity: 670
Merit: 130
IT WORKED !!!

your instructions are much much better than the website !!

thanks again and again !!!

i compiled the gui as well and waiting to sync  Grin Cheesy Grin Cheesy

Do you have any idea where it saves the wallet.dat file and the blockchain data by default ??

NEVERMIND !!! i found it. it makes a hidden folder named .8bit at the same location.

I'm ready to gooo.

Thank you very much for your time mate !!!
full member
Activity: 670
Merit: 130
IT WORKED !!!

your instructions are much much better than the website !!

thanks again and again !!!

i compiled the gui as well and waiting to sync  Grin Cheesy Grin Cheesy

Do you have any idea where it saves the wallet.dat file and the blockchain data by default ??
full member
Activity: 147
Merit: 100
Have a look at

rpcrawtransaction.cpp
and search for this line

const CScriptID& hash = boost::get(address);

It should work after changed to

const CScriptID& hash = boost::get(address);

Maybe this post will help you.
https://bitcointalksearch.org/topic/m.19946996

For others, trying to compile on Ubuntu 16.04 the above can be accomplished with

Code:
sed -i 's/
newbie
Activity: 23
Merit: 0
Have a look at

rpcrawtransaction.cpp
and search for this line

const CScriptID& hash = boost::get(address);

It should work after changed to

const CScriptID& hash = boost::get(address);

Maybe this post will help you.
https://bitcointalksearch.org/topic/m.19946996
Pages:
Jump to: