Bitcoin Forum
May 02, 2024, 02:17:27 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 ... 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 [277] 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 »
  Print  
Author Topic: [*] 8BIT [Dark Masternodes][Anon][Roadmap Stage 4]  (Read 379544 times)
koguma
Member
**
Offline Offline

Activity: 106
Merit: 10


View Profile
October 08, 2017, 01:13:25 PM
 #5521

I'm not sure WTF is wrong with this coin.  I've been running a masternode for a while.  A while meaning specifically: GMT: Saturday, September 30, 2017 9:10:24 AM

I've generated a total of 3.5 coins during this time.   The generated coins though, do not appear properly in the transaction list.  See here:

Code:
[
    {
        "account" : "0",
        "address" : "8Pau5vQDRCmiEV7gCAadsNZqTkBnFp8Lii",
        "category" : "receive",
        "amount" : 112.00000000,
        "confirmations" : 10489,
        "blockhash" : "deddbe5ff197759ceb26a30ca3b09dd473f748f2ea93dfbe585e08928c931347",
        "blockindex" : 2,
        "blocktime" : 1506762624,
        "txid" : "200b70e141ba2c3c23bb8577c779a63bd919034c451bdcb47cb0297b28c23df7",
        "time" : 1506762624,
        "timereceived" : 1506865301
    },
    {
        "account" : "0",
        "address" : "8Pau5vQDRCmiEV7gCAadsNZqTkBnFp8Lii",
        "category" : "generate",
        "amount" : 0.00000000,
        "confirmations" : 6509,
        "generated" : true,
        "blockhash" : "d3175ab2198193fcdf0de3ac6c1d8933028d30833e3f84a5cfe9dd1f0304b249",
        "blockindex" : 1,
        "blocktime" : 1507030704,
        "txid" : "3adf0c2e8ea718016ebe3931d90b3649f35bcb8eb2cd949a40804d1f15bdd839",
        "time" : 1507030704,
        "timereceived" : 1507030718
    },
    {
        "account" : "0",
        "address" : "8Pau5vQDRCmiEV7gCAadsNZqTkBnFp8Lii",
        "category" : "generate",
        "amount" : 0.00000000,
        "confirmations" : 4541,
        "generated" : true,
        "blockhash" : "cd040d468bca6328e8771a22671795cf415a22c32beb2a6e1eb4f4e8843bd743",
        "blockindex" : 1,
        "blocktime" : 1507163008,
        "txid" : "c5b251b32f72fc3abc41219df3ffafb61ae1a1eec90ad88c54e4510f6876ad3c",
        "time" : 1507163008,
        "timereceived" : 1507163021
    },
    {
        "account" : "0",
        "address" : "8Pau5vQDRCmiEV7gCAadsNZqTkBnFp8Lii",
        "category" : "generate",
        "amount" : 0.00000000,
        "confirmations" : 1393,
        "generated" : true,
        "blockhash" : "5cf28e61eab92f8f8ec26df97350a958a301f376ab472e4ee248566650b237fd",
        "blockindex" : 1,
        "blocktime" : 1507374944,
        "txid" : "dfa91af5ae15a1bc5f6c6a21d09e6b30866f2974cf35e442f0bef95786c6b670",
        "time" : 1507374944,
        "timereceived" : 1507374966
    },
    {
        "account" : "0",
        "address" : "8Pau5vQDRCmiEV7gCAadsNZqTkBnFp8Lii",
        "category" : "generate",
        "amount" : 0.00000000,
        "confirmations" : 1124,
        "generated" : true,
        "blockhash" : "f8a7934059cb242546f7bac3f2dfd6174e44bdcbcac7083f701d1faef4841d70",
        "blockindex" : 1,
        "blocktime" : 1507392784,
        "txid" : "22c6c081033bd1bbdb44a5ce6a997cf3b1a08ed66ff5c01fc5bb5dbd5cb76dde",
        "time" : 1507392784,
        "timereceived" : 1507392816
    }
]

getbalance shows:  115.52000000

getinfo:

Code:
{
    "version" : "v2.1.0.0-g",
    "protocolversion" : 60020,
    "walletversion" : 60000,
    "balance" : 115.52000000,
    "newmint" : 0.00000000,
    "stake" : 0.00000000,
    "blocks" : 1084407,
    "timeoffset" : -1,
    "moneysupply" : 1388861.58618273,
    "connections" : 11,
    "proxy" : "",
    "ip" : "199.233.246.209",
    "difficulty" : {
        "proof-of-work" : 18.68310365,
        "proof-of-stake" : 11457.31820595
    },
    "testnet" : false,
    "keypoololdest" : 1504451690,
    "keypoolsize" : 101,
    "paytxfee" : 0.00010000,
    "mininput" : 0.00000000,
    "errors" : ""
}


That is pretty darn weird.  Is there a developer for this coin?  There needs to be a lot of fixes/updates.

1714616247
Hero Member
*
Offline Offline

Posts: 1714616247

View Profile Personal Message (Offline)

Ignore
1714616247
Reply with quote  #2

1714616247
Report to moderator
1714616247
Hero Member
*
Offline Offline

Posts: 1714616247

View Profile Personal Message (Offline)

Ignore
1714616247
Reply with quote  #2

1714616247
Report to moderator
"Bitcoin: mining our own business since 2009" -- Pieter Wuille
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714616247
Hero Member
*
Offline Offline

Posts: 1714616247

View Profile Personal Message (Offline)

Ignore
1714616247
Reply with quote  #2

1714616247
Report to moderator
1714616247
Hero Member
*
Offline Offline

Posts: 1714616247

View Profile Personal Message (Offline)

Ignore
1714616247
Reply with quote  #2

1714616247
Report to moderator
1714616247
Hero Member
*
Offline Offline

Posts: 1714616247

View Profile Personal Message (Offline)

Ignore
1714616247
Reply with quote  #2

1714616247
Report to moderator
2xjO9M3P
Full Member
***
Offline Offline

Activity: 147
Merit: 100


View Profile
October 08, 2017, 01:40:32 PM
 #5522

I'm not sure WTF is wrong with this coin.  I've been running a masternode for a while.  A while meaning specifically: GMT: Saturday, September 30, 2017 9:10:24 AM

I've generated a total of 3.5 coins during this time.   The generated coins though, do not appear properly in the transaction list.  See here:

Code:
[
    {
        "account" : "0",
        "address" : "8Pau5vQDRCmiEV7gCAadsNZqTkBnFp8Lii",
        "category" : "receive",
        "amount" : 112.00000000,
        "confirmations" : 10489,
        "blockhash" : "deddbe5ff197759ceb26a30ca3b09dd473f748f2ea93dfbe585e08928c931347",
        "blockindex" : 2,
        "blocktime" : 1506762624,
        "txid" : "200b70e141ba2c3c23bb8577c779a63bd919034c451bdcb47cb0297b28c23df7",
        "time" : 1506762624,
        "timereceived" : 1506865301
    },
    {
        "account" : "0",
        "address" : "8Pau5vQDRCmiEV7gCAadsNZqTkBnFp8Lii",
        "category" : "generate",
        "amount" : 0.00000000,
        "confirmations" : 6509,
        "generated" : true,
        "blockhash" : "d3175ab2198193fcdf0de3ac6c1d8933028d30833e3f84a5cfe9dd1f0304b249",
        "blockindex" : 1,
        "blocktime" : 1507030704,
        "txid" : "3adf0c2e8ea718016ebe3931d90b3649f35bcb8eb2cd949a40804d1f15bdd839",
        "time" : 1507030704,
        "timereceived" : 1507030718
    },
    {
        "account" : "0",
        "address" : "8Pau5vQDRCmiEV7gCAadsNZqTkBnFp8Lii",
        "category" : "generate",
        "amount" : 0.00000000,
        "confirmations" : 4541,
        "generated" : true,
        "blockhash" : "cd040d468bca6328e8771a22671795cf415a22c32beb2a6e1eb4f4e8843bd743",
        "blockindex" : 1,
        "blocktime" : 1507163008,
        "txid" : "c5b251b32f72fc3abc41219df3ffafb61ae1a1eec90ad88c54e4510f6876ad3c",
        "time" : 1507163008,
        "timereceived" : 1507163021
    },
    {
        "account" : "0",
        "address" : "8Pau5vQDRCmiEV7gCAadsNZqTkBnFp8Lii",
        "category" : "generate",
        "amount" : 0.00000000,
        "confirmations" : 1393,
        "generated" : true,
        "blockhash" : "5cf28e61eab92f8f8ec26df97350a958a301f376ab472e4ee248566650b237fd",
        "blockindex" : 1,
        "blocktime" : 1507374944,
        "txid" : "dfa91af5ae15a1bc5f6c6a21d09e6b30866f2974cf35e442f0bef95786c6b670",
        "time" : 1507374944,
        "timereceived" : 1507374966
    },
    {
        "account" : "0",
        "address" : "8Pau5vQDRCmiEV7gCAadsNZqTkBnFp8Lii",
        "category" : "generate",
        "amount" : 0.00000000,
        "confirmations" : 1124,
        "generated" : true,
        "blockhash" : "f8a7934059cb242546f7bac3f2dfd6174e44bdcbcac7083f701d1faef4841d70",
        "blockindex" : 1,
        "blocktime" : 1507392784,
        "txid" : "22c6c081033bd1bbdb44a5ce6a997cf3b1a08ed66ff5c01fc5bb5dbd5cb76dde",
        "time" : 1507392784,
        "timereceived" : 1507392816
    }
]

getbalance shows:  115.52000000

getinfo:

Code:
{
    "version" : "v2.1.0.0-g",
    "protocolversion" : 60020,
    "walletversion" : 60000,
    "balance" : 115.52000000,
    "newmint" : 0.00000000,
    "stake" : 0.00000000,
    "blocks" : 1084407,
    "timeoffset" : -1,
    "moneysupply" : 1388861.58618273,
    "connections" : 11,
    "proxy" : "",
    "ip" : "199.233.246.209",
    "difficulty" : {
        "proof-of-work" : 18.68310365,
        "proof-of-stake" : 11457.31820595
    },
    "testnet" : false,
    "keypoololdest" : 1504451690,
    "keypoolsize" : 101,
    "paytxfee" : 0.00010000,
    "mininput" : 0.00000000,
    "errors" : ""
}


That is pretty darn weird.  Is there a developer for this coin?  There needs to be a lot of fixes/updates.

You need to dig deeper. The information is available in the transaction details

Code:
8bitd gettransaction 3adf0c2e8ea718016ebe3931d90b3649f35bcb8eb2cd949a40804d1f15bdd839
[...]
    "vout" : [
        {
            "value" : 0.00000000,
            "n" : 0,
            "scriptPubKey" : {
                "asm" : "",
                "type" : "nonstandard"
            }
        },
        {
            "value" : 6.66000000,
            "n" : 1,
            "scriptPubKey" : {
                "asm" : "031098f049c00598d67ac1395f741d3745721b215e53ad9d26eca3958c33e5b9db OP_CHECKSIG",
                "reqSigs" : 1,
                "type" : "pubkey",
                "addresses" : [
                    "8VjN1JyPqNt7TxRAtepgqs17ZipVKx3VoP"
                ]
            }
        },
        {
            "value" : 6.67000000,
            "n" : 2,
            "scriptPubKey" : {
                "asm" : "031098f049c00598d67ac1395f741d3745721b215e53ad9d26eca3958c33e5b9db OP_CHECKSIG",
                "reqSigs" : 1,
                "type" : "pubkey",
                "addresses" : [
                    "8VjN1JyPqNt7TxRAtepgqs17ZipVKx3VoP"
                ]
            }
        },
        {
            "value" : 0.88000000,
            "n" : 3,
            "scriptPubKey" : {
                "asm" : "OP_DUP OP_HASH160 5d3f0a59a51d393090d320fa622ea4fb57394f0c OP_EQUALVERIFY OP_CHECKSIG",
                "reqSigs" : 1,
                "type" : "pubkeyhash",
                "addresses" : [
                    "8Pau5vQDRCmiEV7gCAadsNZqTkBnFp8Lii"
                ]
            }
        }
    ],
[...]
Both the stake reward and masternode payment appear in the same transaction.

vout 1,2 for the newly staked and split coins.
vout 3 for the masternode payment.
Parsa1
Full Member
***
Offline Offline

Activity: 225
Merit: 100


View Profile
October 08, 2017, 01:43:16 PM
 #5523

This is a great coin with low cap. Is it possible to implement a fresh PIVX wallet for this coin ?
Make it 16bit and do the swap. This code is too old to fix and bugs will be everywhere.
And also make cost of masternode with 1000 coins, not 112 ! PIVX wallet is the best wallet ever.
with 112 coins there will be too many masternodes with low reward and no attraction.
start fresh and give life to this old grandma ...

8-bit-Party
Legendary
*
Offline Offline

Activity: 1036
Merit: 1000

8b 16b DEMOSCENE FTW


View Profile WWW
October 08, 2017, 05:53:24 PM
 #5524

Since many people already know it, no need to keep it secret anymore - indeed, incoming 8BIT version will use PIVX codebase. However, it will be not pure clone, the goal is to use current chain with this code base, therefore many things need to be changed (ie hashing algo).

8-BIT PARTY 16-BIT PARTY DEMOSCENE FTW
Mika92
Newbie
*
Offline Offline

Activity: 29
Merit: 0


View Profile
October 08, 2017, 09:23:23 PM
 #5525

is it possible to join the slack channel of 8bit ?
passteque
Member
**
Offline Offline

Activity: 84
Merit: 10


View Profile
October 08, 2017, 09:26:56 PM
 #5526

Agree 112 coin is low anyway roadmap looks good, i bought some and will follow this coin
koguma
Member
**
Offline Offline

Activity: 106
Merit: 10


View Profile
October 09, 2017, 01:55:21 AM
 #5527

Since many people already know it, no need to keep it secret anymore - indeed, incoming 8BIT version will use PIVX codebase. However, it will be not pure clone, the goal is to use current chain with this code base, therefore many things need to be changed (ie hashing algo).


That sounds pretty good.  If you're interested, I registered 16bit.party, all the way through to 256bit.party (that last one was because of issues with the registrar).  If you want to use any of them just let me know, no charge.

koguma
Member
**
Offline Offline

Activity: 106
Merit: 10


View Profile
October 09, 2017, 01:57:15 AM
 #5528

Agree 112 coin is low anyway roadmap looks good, i bought some and will follow this coin

While I agree, those of us running masternodes will suddenly find ourselves without one.  Perhaps a premine for current MN owners to do a swap, and then burn the rest.

drays
Legendary
*
Offline Offline

Activity: 2520
Merit: 1073


View Profile
October 09, 2017, 02:16:26 AM
 #5529

I registered 16bit.party, all the way through to 256bit.party

All the way? Did you reserve 17bit.party, 18bit.party ... 255bit.party too? Smiley

Agree 112 coin is low anyway roadmap looks good, i bought some and will follow this coin

While I agree, those of us running masternodes will suddenly find ourselves without one.  Perhaps a premine for current MN owners to do a swap, and then burn the rest.

No way this could work. Do you offer to give MN holders 10x more than everyone else? Then almost everybody will pretend to run MN just before the swap. And the remaining ones will shout "scam", and declare (not unreasonably) they were robbed. Forget it. If there will be swap, it should be fair to everyone. If someone doesn't have enough coins for MN, let him buy more.

... this space is not for rent ...
koguma
Member
**
Offline Offline

Activity: 106
Merit: 10


View Profile
October 09, 2017, 05:00:04 AM
 #5530

I registered 16bit.party, all the way through to 256bit.party

All the way? Did you reserve 17bit.party, 18bit.party ... 255bit.party too? Smiley

Of course it's in increments of 8bits.  Why would you think otherwise?

Agree 112 coin is low anyway roadmap looks good, i bought some and will follow this coin

While I agree, those of us running masternodes will suddenly find ourselves without one.  Perhaps a premine for current MN owners to do a swap, and then burn the rest.

No way this could work. Do you offer to give MN holders 10x more than everyone else? Then almost everybody will pretend to run MN just before the swap. And the remaining ones will shout "scam", and declare (not unreasonably) they were robbed. Forget it. If there will be swap, it should be fair to everyone. If someone doesn't have enough coins for MN, let him buy more.

Why not?  Everyone who owns 112 8bit coins can exchange for however many it takes to run a new MN.  That will also solve the problem of having either 0 masternodes on day one, or the dev premining coins to run his own masternodes until there are more masternodes.   Give a deadline, and do it only for validated accounts.

I don't see a big deal.

8-bit-Party
Legendary
*
Offline Offline

Activity: 1036
Merit: 1000

8b 16b DEMOSCENE FTW


View Profile WWW
October 09, 2017, 05:12:56 PM
 #5531

That will also solve the problem of having either 0 masternodes on day one, or the dev premining coins to run his own masternodes until there are more masternodes.

What's the point of creating imaginary problems and then solving them?

8-BIT PARTY 16-BIT PARTY DEMOSCENE FTW
ramonestii
Newbie
*
Offline Offline

Activity: 12
Merit: 0


View Profile
October 10, 2017, 01:16:11 AM
 #5532

I can't download the win Wallet. The Link return an error.
Kukushka
Newbie
*
Offline Offline

Activity: 18
Merit: 0


View Profile
October 10, 2017, 11:54:16 AM
 #5533

I can't download the win Wallet. The Link return an error.

forget for win wallet - its broken and dont work.
wait for new wallet or try learn linux
robert3harrison
Full Member
***
Offline Offline

Activity: 219
Merit: 100


View Profile
October 10, 2017, 06:51:29 PM
 #5534

Since many people already know it, no need to keep it secret anymore - indeed, incoming 8BIT version will use PIVX codebase. However, it will be not pure clone, the goal is to use current chain with this code base, therefore many things need to be changed (ie hashing algo).


Is there a timeline / ETA for the new wallet?

As well as how many coins will be required for a masternode? Seems like 1024 is a good number for masternodes...
ramonestii
Newbie
*
Offline Offline

Activity: 12
Merit: 0


View Profile
October 11, 2017, 01:44:23 AM
 #5535

I can't download the win Wallet. The Link return an error.

forget for win wallet - its broken and dont work.
wait for new wallet or try learn linux


Where is the Link ?
Pon13
Full Member
***
Offline Offline

Activity: 670
Merit: 130



View Profile WWW
October 11, 2017, 06:34:52 AM
 #5536

Create Wallet on Linux
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<const CScriptID&>(address);
It should work after changed to
                       const CScriptID& hash = boost::get<CScriptID>(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

Masternode Creation on Linux
can anyone please post a tutorial on how to setup masternode on ubuntu ?

I will. This guide will assume you have already built and installed 8bitd for a user on Ubuntu 16.04, and that your blockchain is already synced. If you have not achieved these yet, refer to the guide on pg 263 of this thread.

Start 8bitd:
Code:
8bitd

Allow it some time to once again fully sync. Meanwhile, generate a new bitcoin address under account name "mn"
Code:
8bitd -cli getnewaddress mn

Send EXACTLY 112 8bit to this address. If you are sending from Cryptopia, you will need to send 113 8bit, as they have a 1 8bit/tx fee.

Now for the masternode setup.
1. Set a static ip for our computer. There are more than enough Ubuntu guides on this out there, so do a search. Remember the local ip chosen for the computer because it will be needed in a moment. You will need to restart networking or simply reboot after changing the  /etc/network/interfaces file for static ip.

2. Make sure the ports you want 8bit to work through are open between the internet and your computer. If you have a router between your machine and the internet you will need to forward the port through your router. You may do this by logging into your router configuration page, by typing your router's local ip address into any web browser connected to the network. For example, I typed "192.168.0.1", some may be "10.0.0.1", etc. (you can run "ifconfig" in terminal to find the "Default Gateway" ip address, same thing). Log in. If you've never logged in before do a search engine search to find the default login credentials specific to your router, mine were username "admin" password "admin", for example. Now that you are in the router config, look for the "Forwarding" or "Port Forwarding" tab/section, and add a new rule to pass the port you choose on to your wallet computer. For the sake of this guide I will choose port 9991. You want to enter your port number into both service port and external port (unless you know what you are doing, I am just simplifying here), and then you want to provide the local ip address of the computer that will be running the masternode. Now open a second port to enable rpc, here I will use port 2222. So you may have forwarded 2 ports of your computer. Make sure to enable these settings in the configuration before exiting. Phewph, that's that.

3. you want to open the actual ports on your Ubuntu machine now, using ufw:
Code:
sudo ufw allow 9991
Code:
sudo ufw allow 2222
(if you want rpc)

4. Go to whatsmyip.com and get your public ip address if you do not already know it. Write it down.

5. Go back to the terminal and type:
Code:
8bitd -cli masternode genkey
Copy the masternode private key, we'll need it shortly.

6. Now we need to edit the 8bit config file to enable the masternode service:
Code:
cd ~
sudo nano .8bit/8bit.conf

You want all the following either added or uncommented in your config file:
Code:
rpcallowip=127.0.0.1   
rpcuser=YourUserName  #can be anything
rpcpassword=YourRPCPassword  #can be anything
rpcport=2222  #whatever you set it to in router config
server=1
daemon=1
listen=1
staking=0
port=9991  #whatever you set it to in router config
masternodeaddr=YOUR_PUBLIC_IP:9991
masternode=1
masternodeprivkey=KEY GENERATED BY COMMAND masternode genkey

Change the information specific to your needs (public ip, ports, mnprivkey, etc). Save and exit the editor.

7. Now we're going to stop 8bitd:
Code:
8bitd stop
Give it a few moments to stop and then start it up again:
Code:
8bitd

If you get an error, you probably just did not give it enough time to close fully before restarting.

Let the wallet sync, check if the 112 8bit has arrived yet, and to see if you are fully synced:
Code:
8bitd -cli getinfo

The 112 8bit need 16 confirmations in order to successfully start the masternode, you can check on the block explorer or by using the command:
Code:
8bitd -cli gettransaction entertransactionhashhere

8. Once the 112 8bit have arrived and are confirmed by at least 16 nodes, only one command remains:

Code:
8bitd -cli masternode start

There you go.

You ought to see the following output:
Code:
Masternode started successfully
or, oddly, sometimes:
Code:
Masternode started remotely

Pat yourself on the back.

8Sq5sDR5mHUEAtsJoJurrjUSu7E3QsCuop

On the above there is no need to port forward rpc port unless you want to manage the wallet remotely. It doesnt matter though if your rpcallowip is 127.0.0.1

Tips: 1KSacgdJwDPHxY1LCMUifsM1Xb6dQmZ8go

Bill Hicks was right about....everything
ramonestii
Newbie
*
Offline Offline

Activity: 12
Merit: 0


View Profile
October 12, 2017, 02:18:28 PM
 #5537

Create Wallet on Linux
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<const CScriptID&>(address);
It should work after changed to
                       const CScriptID& hash = boost::get<CScriptID>(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

Masternode Creation on Linux
can anyone please post a tutorial on how to setup masternode on ubuntu ?

I will. This guide will assume you have already built and installed 8bitd for a user on Ubuntu 16.04, and that your blockchain is already synced. If you have not achieved these yet, refer to the guide on pg 263 of this thread.

Start 8bitd:
Code:
8bitd

Allow it some time to once again fully sync. Meanwhile, generate a new bitcoin address under account name "mn"
Code:
8bitd -cli getnewaddress mn

Send EXACTLY 112 8bit to this address. If you are sending from Cryptopia, you will need to send 113 8bit, as they have a 1 8bit/tx fee.

Now for the masternode setup.
1. Set a static ip for our computer. There are more than enough Ubuntu guides on this out there, so do a search. Remember the local ip chosen for the computer because it will be needed in a moment. You will need to restart networking or simply reboot after changing the  /etc/network/interfaces file for static ip.

2. Make sure the ports you want 8bit to work through are open between the internet and your computer. If you have a router between your machine and the internet you will need to forward the port through your router. You may do this by logging into your router configuration page, by typing your router's local ip address into any web browser connected to the network. For example, I typed "192.168.0.1", some may be "10.0.0.1", etc. (you can run "ifconfig" in terminal to find the "Default Gateway" ip address, same thing). Log in. If you've never logged in before do a search engine search to find the default login credentials specific to your router, mine were username "admin" password "admin", for example. Now that you are in the router config, look for the "Forwarding" or "Port Forwarding" tab/section, and add a new rule to pass the port you choose on to your wallet computer. For the sake of this guide I will choose port 9991. You want to enter your port number into both service port and external port (unless you know what you are doing, I am just simplifying here), and then you want to provide the local ip address of the computer that will be running the masternode. Now open a second port to enable rpc, here I will use port 2222. So you may have forwarded 2 ports of your computer. Make sure to enable these settings in the configuration before exiting. Phewph, that's that.

3. you want to open the actual ports on your Ubuntu machine now, using ufw:
Code:
sudo ufw allow 9991
Code:
sudo ufw allow 2222
(if you want rpc)

4. Go to whatsmyip.com and get your public ip address if you do not already know it. Write it down.

5. Go back to the terminal and type:
Code:
8bitd -cli masternode genkey
Copy the masternode private key, we'll need it shortly.

6. Now we need to edit the 8bit config file to enable the masternode service:
Code:
cd ~
sudo nano .8bit/8bit.conf

You want all the following either added or uncommented in your config file:
Code:
rpcallowip=127.0.0.1   
rpcuser=YourUserName  #can be anything
rpcpassword=YourRPCPassword  #can be anything
rpcport=2222  #whatever you set it to in router config
server=1
daemon=1
listen=1
staking=0
port=9991  #whatever you set it to in router config
masternodeaddr=YOUR_PUBLIC_IP:9991
masternode=1
masternodeprivkey=KEY GENERATED BY COMMAND masternode genkey

Change the information specific to your needs (public ip, ports, mnprivkey, etc). Save and exit the editor.

7. Now we're going to stop 8bitd:
Code:
8bitd stop
Give it a few moments to stop and then start it up again:
Code:
8bitd

If you get an error, you probably just did not give it enough time to close fully before restarting.

Let the wallet sync, check if the 112 8bit has arrived yet, and to see if you are fully synced:
Code:
8bitd -cli getinfo

The 112 8bit need 16 confirmations in order to successfully start the masternode, you can check on the block explorer or by using the command:
Code:
8bitd -cli gettransaction entertransactionhashhere

8. Once the 112 8bit have arrived and are confirmed by at least 16 nodes, only one command remains:

Code:
8bitd -cli masternode start

There you go.

You ought to see the following output:
Code:
Masternode started successfully
or, oddly, sometimes:
Code:
Masternode started remotely

Pat yourself on the back.

8Sq5sDR5mHUEAtsJoJurrjUSu7E3QsCuop

On the above there is no need to port forward rpc port unless you want to manage the wallet remotely. It doesnt matter though if your rpcallowip is 127.0.0.1

Tips: 1KSacgdJwDPHxY1LCMUifsM1Xb6dQmZ8go



The last step, on Wallet create(2. Installing 8bit-qt) doesn't work, it show the message: "destination path '8bit' already exists and is not an empty directory."
Pon13
Full Member
***
Offline Offline

Activity: 670
Merit: 130



View Profile WWW
October 12, 2017, 03:03:35 PM
Last edit: October 12, 2017, 04:29:31 PM by Pon13
 #5538

rename the 8bit CLI folder to 8bitCLI

then proceed with the GUI compilation-installation. Although after a few days the GUI crashes on linux as well (segmentation core dump)

In addition the config folder is hidden under the name .8bit on your home folder. Both the CLI and the GUI take their settings and blockchain data from .8bit folder (the same of appdata/roaming/8bit if you were on windows).

Bill Hicks was right about....everything
drays
Legendary
*
Offline Offline

Activity: 2520
Merit: 1073


View Profile
October 12, 2017, 08:34:34 PM
 #5539

In addition the config folder is hidden under the name .8bit on your home folder. Both the CLI and the GUI take their settings and blockchain data from .8bit folder (the same of appdata/roaming/8bit if you were on windows).

Here you have to add one more warning: "Do not try to run both CLI and GUI versions at the same time" Smiley

... this space is not for rent ...
8-bit-Party
Legendary
*
Offline Offline

Activity: 1036
Merit: 1000

8b 16b DEMOSCENE FTW


View Profile WWW
October 12, 2017, 09:12:29 PM
 #5540

Although after a few days the GUI crashes on linux as well (segmentation core dump)
Assuming your wallet is encrypted and you have been not unlocking it for some time, do you still have a core dump file?

8-BIT PARTY 16-BIT PARTY DEMOSCENE FTW
Pages: « 1 ... 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 [277] 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 »
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!