Pages:
Author

Topic: *** Complete Guide on How to Create a New Alt Coin – Update 2018 *** - page 2. (Read 20962 times)

newbie
Activity: 4
Merit: 0
I have created a clone of the latest version of Litecoin using this guide. All appears fine, have 2 wallets running, using minerd and it's constantly finding blocks. But for some reason my balance (on both wallets) remains at 0.

This is an extract of debug.log:
Code:
2019-01-01 22:34:28 UpdateTip: new best=b9d30863f3b2aa7d8d9d0fe61673bff488dfa4a62d4d4eb8dbb865195d76276a height=383 version=0x20000000 log2_work=28.584985 tx=384 date='2019-01-01 22:34:25' progress=1.000000 cache=0.0MiB(323txo)
2019-01-01 22:34:30 CreateNewBlock(): block weight: 772 txs: 0 fees: 0 sigops 400
2019-01-01 22:34:33 UpdateTip: new best=ae8c37c06f5da0486c438bd6ef0e403c0ccd3481c4c8fed2ff48f990b527f780 height=384 version=0x20000000 log2_work=28.588737 tx=385 date='2019-01-01 22:34:30' progress=1.000000 cache=0.0MiB(324txo)
2019-01-01 22:34:35 CreateNewBlock(): block weight: 772 txs: 0 fees: 0 sigops 400
2019-01-01 22:34:43 UpdateTip: new best=1f94f804b286ef3a80f239e860b64e094abb823eee1e311edb1d857a8d9ae28b height=385 version=0x20000000 log2_work=28.592479 tx=386 date='2019-01-01 22:34:38' progress=1.000000 cache=0.0MiB(325txo)
2019-01-01 22:34:45 CreateNewBlock(): block weight: 772 txs: 0 fees: 0 sigops 400
2019-01-01 22:34:58 UpdateTip: new best=0d9fc3f15008d97b1caba26c8dde8163850f20d1db0c4446140d9e4fd941e8ae height=386 version=0x20000000 log2_work=28.596212 tx=387 date='2019-01-01 22:34:53' progress=1.000000 cache=0.0MiB(326txo)
2019-01-01 22:34:58 CreateNewBlock(): block weight: 772 txs: 0 fees: 0 sigops 400
2019-01-01 22:34:59 UpdateTip: new best=36c70adbf212df121a0a37e0e3cb3071459b4a50b989572145f7b62f19cbcdf9 height=387 version=0x20000000 log2_work=28.599935 tx=388 date='2019-01-01 22:34:58' progress=1.000000 cache=0.0MiB(327txo)
2019-01-01 22:35:01 CreateNewBlock(): block weight: 772 txs: 0 fees: 0 sigops 400
2019-01-01 22:35:09 UpdateTip: new best=54358b011951aa4a1035dfad6490e568c655c97c6cfca35b726eb508617deff7 height=388 version=0x20000000 log2_work=28.603648 tx=389 date='2019-01-01 22:35:06' progress=1.000000 cache=0.0MiB(328txo)
2019-01-01 22:35:11 CreateNewBlock(): block weight: 772 txs: 0 fees: 0 sigops 400

What could be wrong?
sr. member
Activity: 882
Merit: 250
Founder Nur1Labs
Not sure to understand your English.
But apparently latest Bitcoin 0.17 cannot solo mine, and is incompatible with all cpuminer flavors, because the RPC commands have been removed.
That's not nice for the Altcoins

they already hardcode it. that why many not know . there something about new bitcoin that bip you need know that what must do. on mean time prefer used rebase code~

Here sample of transaction receive by mining. did you look off the debug.log?


im not used that on screen shoot new bitcoin. im prefer used rebase code. since hard code is hard... Grin
full member
Activity: 615
Merit: 154
CEO of Metaisland.gg and W.O.K Corp
Not sure to understand your English.
But apparently latest Bitcoin 0.17 cannot solo mine, and is incompatible with all cpuminer flavors, because the RPC commands have been removed.
That's not nice for the Altcoins

they already hardcode it. that why many not know . there something about new bitcoin that bip you need know that what must do. on mean time prefer used rebase code~

Here sample of transaction receive by mining. did you look off the debug.log?
sr. member
Activity: 882
Merit: 250
Founder Nur1Labs
they already hardcode it. that why many not know . there something about new bitcoin that bip you need know that what must do. on mean time prefer used rebase code~

Here sample of transaction receive by mining. did you look off the debug.log?
full member
Activity: 615
Merit: 154
CEO of Metaisland.gg and W.O.K Corp
getwalletinfo give no key, wallet name is empty... I have created my own blockchain so there is no transaction...
I have seen many people having the same problem and no solution.
generate or generatetoaddress is not doing anything.

However if I do getnewaddress I get a new address, but this address is not saved,  or not visible in the getwalletinfo

Code:

00:05:48

getwalletinfo


00:05:48

{
  "walletname": "",
  "walletversion": 169900,
  "balance": 0.00000000,
  "unconfirmed_balance": 0.00000000,
  "immature_balance": 0.00000000,
  "txcount": 0,
  "keypoololdest": 1541959024,
  "keypoolsize": 1000,
  "keypoolsize_hd_internal": 1000,
  "paytxfee": 0.00000000,
  "hdseedid": "33122e4958e02b7e0205a34476a13c1f45edd135",
  "hdmasterkeyid": "33122e4958e02b7e0205a34476a13c1f45edd135",
  "private_keys_enabled": true
}


I have an issue with this parameter? --coinbase-addr XQg3PmNxX9oEbxsymqtQHir6dkPpVPTJ6P

How do you get an address if you never mined any block? My wallet is loading and never syncing, I have no address.

Do I miss something?

Note: I have done my own genesis using genesis.cpp as instructed.

on cli you need type : getwalletinfo there will info wallet active. but you know today is hard code. you need rebase code for easy~
sr. member
Activity: 882
Merit: 250
Founder Nur1Labs
I have an issue with this parameter? --coinbase-addr XQg3PmNxX9oEbxsymqtQHir6dkPpVPTJ6P

How do you get an address if you never mined any block? My wallet is loading and never syncing, I have no address.

Do I miss something?

Note: I have done my own genesis using genesis.cpp as instructed.

on cli you need type : getwalletinfo there will info wallet active. but you know today is hard code. you need rebase code for easy~
full member
Activity: 615
Merit: 154
CEO of Metaisland.gg and W.O.K Corp
I have an issue with this parameter? --coinbase-addr XQg3PmNxX9oEbxsymqtQHir6dkPpVPTJ6P

How do you get an address if you never mined any block? My wallet is loading and never syncing, I have no address.

Do I miss something?

Note: I have done my own genesis using genesis.cpp as instructed.
sr. member
Activity: 882
Merit: 250
Founder Nur1Labs
If you create the blockchain with this method, how you retrieve the tx information in 0 block?

On 1 block you can get block info and then tx info over txid, but this fails on block 0, u cant retrieve txinformation cause the txid seems not correct.

Can anyone confirm? How to handle?

Code:
getblockhash 0
getblock hash
gettransaction txhash

ends in Invalid or non-wallet transaction id (code -5)

Mr Gew

hmmm not sure never got this atm all rpc fine
newbie
Activity: 1
Merit: 0
If you create the blockchain with this method, how you retrieve the tx information in 0 block?

On 1 block you can get block info and then tx info over txid, but this fails on block 0, u cant retrieve txinformation cause the txid seems not correct.

Can anyone confirm? How to handle?

Code:
getblockhash 0
getblock hash
gettransaction txhash

ends in Invalid or non-wallet transaction id (code -5)

Mr Gew
sr. member
Activity: 882
Merit: 250
Founder Nur1Labs
masternodes need have 5 servers. and masternodes need generate unique key for this~

Quote
5 servers?
Where is setted this param? I think not...

Quote
generate unique key?
Maybe u mean "masternode genkey"? This is obvious. Already done.

And after googling a bit.. i think i'm setting wrong params in local.conf.. i'm working on this for now. i'll post the result....

so it's can do 3 servers?hmmmm if good i wanna see result. im not masternodes expert. im doing stake thing...that better  Cool
newbie
Activity: 19
Merit: 0
masternodes need have 5 servers. and masternodes need generate unique key for this~

Quote
5 servers?
Where is setted this param? I think not...

Quote
generate unique key?
Maybe u mean "masternode genkey"? This is obvious. Already done.

And after googling a bit.. i think i'm setting wrong params in local.conf.. i'm working on this for now. i'll post the result....
sr. member
Activity: 882
Merit: 250
Founder Nur1Labs
masternodes need have 5 servers. and masternodes need generate unique key for this~
newbie
Activity: 19
Merit: 0
Hello guys... my coin is working good... but i've some issue with Masternodes. They are also working good.. collateral is good recognized and rewards works as expected following my block value and reward % settings. Simply i can't start them via wallet (MN tab). I can only start my MNs via debug typing:

Code:
- startmasternode all 0
or
Code:
- startmasternode alias 0 MN1
- startmasternode alias 0 MN2
- startmasternode alias 0 MN3

but if i click on "Start MISSING", "Start All" or "Start Alias" in wallet MN tab it will give me this error:

Code:
Succefull start 0 masternodes, failed to start 3, total 3
Failed to start MN1. Error: Invalid IP address xxx.xxx.xxx.xxx,
masternode=xxxxxxxxTxIDxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Failed to start MN2. Error: Invalid IP address xxx.xxx.xxx.xxx,
masternode=xxxxxxxxTxIDxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Failed to start MN3. Error: Invalid IP address xxx.xxx.xxx.xxx,
masternode=xxxxxxxxTxIDxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

but MNs still works fine because i can start them via debug consolle with above commands that give me "Success" results and make my MNs "ENABLED"....
Ther's something i forgot to do?
Following the error in the code i found this in "masternode.cpp":

Code:
mnbRet = CMasternodeBroadcast(service, txin, pubKeyCollateralAddressNew, pubKeyMasternodeNew, PROTOCOL_VERSION);

    if (!mnbRet.IsValidNetAddr()) {
        strErrorRet = strprintf("Invalid IP address %s, masternode=%s", mnbRet.addr.ToStringIP (), txin. prevout.hash.ToString());
        LogPrint("masternode","CMasternodeBroadcast::Create -- %s\n", strErrorRet);
        mnbRet = CMasternodeBroadcast();
        return false;
    }

I've also changed "PROTOCOL_VERSION" downgrading wallet verions under the "Enforce" threshold that is setted after block 1000... but it did not help.
Anyone can help me?
sr. member
Activity: 882
Merit: 250
Founder Nur1Labs
Actually it is a very clear explanation about how to create the new altcoin. but, I myself still not yet try creating the coin because it must be very complex and must be considered smartly and carefully. but so far, it will be very helpful if we have any plan for creating it later.

i think genesis no problem. anything last guide is for ip to hex they used some engine on bitcoin can encrypt that prefent brute attack on protocol. this still solve on our side.
member
Activity: 574
Merit: 10
Gistcoin
Actually it is a very clear explanation about how to create the new altcoin. but, I myself still not yet try creating the coin because it must be very complex and must be considered smartly and carefully. but so far, it will be very helpful if we have any plan for creating it later.
sr. member
Activity: 882
Merit: 250
Founder Nur1Labs
what is the diffrence between port and rpc port exactly?
port is for the main consensus protocol, i.e. passing around of headers, txs, etc. all the busywork needed to maintain consensus.

rpcport (Remote Procedure Call) is a means of issuing commands such as getinfo and sendto to a running client.

If I want to cross-connect two clients:
bitcoind -port=12000 -rpcport=12001 -datadir=/tmp/datadir1 -connect=127.0.0.1:13000

bitcoind -port=13000 -rpcport=13001 -datadir=/tmp/datadir2 -connect=127.0.0.1:12000

rpc calls to the first client need to go to 127.0.0.1:12001 and those to the second client need to go to 127.0.0.1:13001

AIUI, the miner uses the rpcport to issue getwork (or getemplate or whatever) commands and uses the port to submit its candidate blocks to the consensus protocol -- which is why it needs the values for both port and rpcport.

(Were the Bitcoin dev team not self-avowedly "primarily systems engineers", then port might have been more self-evidently labelled as "protocolport")

HTH

Cheers

Graham

is there any method to make ip is not call back by number[seed] and run on hex method. i try call this bitcoin seems close the method for .txt
legendary
Activity: 2254
Merit: 1290
what is the diffrence between port and rpc port exactly?
port is for the main consensus protocol, i.e. passing around of headers, txs, etc. all the busywork needed to maintain consensus.

rpcport (Remote Procedure Call) is a means of issuing commands such as getinfo and sendto to a running client.

If I want to cross-connect two clients:
bitcoind -port=12000 -rpcport=12001 -datadir=/tmp/datadir1 -connect=127.0.0.1:13000

bitcoind -port=13000 -rpcport=13001 -datadir=/tmp/datadir2 -connect=127.0.0.1:12000

rpc calls to the first client need to go to 127.0.0.1:12001 and those to the second client need to go to 127.0.0.1:13001

AIUI, the miner uses the rpcport to issue getwork (or getemplate or whatever) commands and uses the port to submit its candidate blocks to the consensus protocol -- which is why it needs the values for both port and rpcport.

(Were the Bitcoin dev team not self-avowedly "primarily systems engineers", then port might have been more self-evidently labelled as "protocolport")

HTH

Cheers

Graham
jr. member
Activity: 48
Merit: 17
Hello

I tried to do this post in order to finally change PoW threshold to create blocks faster. Unfortunately I encountered a problem, after those 13 steps  I came up to run bitcoind command and all I got was core dumped error. like this :

Code:
~$ bitcoind
bitcoind: chainparams.cpp:132: CMainParams::CMainParams(): Assertion `consensus.hashGenesisBlock == uint256S("0000000001e075d779592db22d19573375d05db23bdafd0a8b06c89fb2985d89")' failed.
Aborted (core dumped)

It seems it won't accept my genesis hash and with bitcoin-cli command it says "can not connect to server 127.0.0.1:6332. I can't even add the node with its command .Here is my bitcoin.conf :

rpcuser=admin
rpcpassword=admin
server=1
rpcallowip=127.0.0.1
rpcport=6332
listen=1
gen = 1

I tried so hard but couldn't find out what i'm missing. I followed all the steps precisely.  I will be beyond grateful if some body take some time and answer my question.


bitcoin is easy way after used this guide you need understand used some c++ skill to do.

I have some knowledge of c++ but right now I can not even test my fork. I don't know why I get this error. I didn't change address prefixes. It won't be a problem,will it ?

you need change consensus of bitcoin follow up old guide. you can see on my profile i visit old guide. then mix with this one. + you need change pcmessage that important thing on unique. and put pztime to make sense of change before doing alive. you need prepare of this. old guide + this one made complete part of puzzle. try experiment on testnet before launch and you will meet same as this and you need some trick to make it appear your genesis. by generate timestamp another two just default or put anything~

Thank You. I solved it. It was One line that I carelessly commented because it was not in the main guide.
sr. member
Activity: 882
Merit: 250
Founder Nur1Labs
Hello

I tried to do this post in order to finally change PoW threshold to create blocks faster. Unfortunately I encountered a problem, after those 13 steps  I came up to run bitcoind command and all I got was core dumped error. like this :

Code:
~$ bitcoind
bitcoind: chainparams.cpp:132: CMainParams::CMainParams(): Assertion `consensus.hashGenesisBlock == uint256S("0000000001e075d779592db22d19573375d05db23bdafd0a8b06c89fb2985d89")' failed.
Aborted (core dumped)

It seems it won't accept my genesis hash and with bitcoin-cli command it says "can not connect to server 127.0.0.1:6332. I can't even add the node with its command .Here is my bitcoin.conf :

rpcuser=admin
rpcpassword=admin
server=1
rpcallowip=127.0.0.1
rpcport=6332
listen=1
gen = 1

I tried so hard but couldn't find out what i'm missing. I followed all the steps precisely.  I will be beyond grateful if some body take some time and answer my question.


bitcoin is easy way after used this guide you need understand used some c++ skill to do.

I have some knowledge of c++ but right now I can not even test my fork. I don't know why I get this error. I didn't change address prefixes. It won't be a problem,will it ?

you need change consensus of bitcoin follow up old guide. you can see on my profile i visit old guide. then mix with this one. + you need change pcmessage that important thing on unique. and put pztime to make sense of change before doing alive. you need prepare of this. old guide + this one made complete part of puzzle. try experiment on testnet before launch and you will meet same as this and you need some trick to make it appear your genesis. by generate timestamp another two just default or put anything~
jr. member
Activity: 48
Merit: 17
Hello

I tried to do this post in order to finally change PoW threshold to create blocks faster. Unfortunately I encountered a problem, after those 13 steps  I came up to run bitcoind command and all I got was core dumped error. like this :

Code:
~$ bitcoind
bitcoind: chainparams.cpp:132: CMainParams::CMainParams(): Assertion `consensus.hashGenesisBlock == uint256S("0000000001e075d779592db22d19573375d05db23bdafd0a8b06c89fb2985d89")' failed.
Aborted (core dumped)

It seems it won't accept my genesis hash and with bitcoin-cli command it says "can not connect to server 127.0.0.1:6332. I can't even add the node with its command .Here is my bitcoin.conf :

rpcuser=admin
rpcpassword=admin
server=1
rpcallowip=127.0.0.1
rpcport=6332
listen=1
gen = 1

I tried so hard but couldn't find out what i'm missing. I followed all the steps precisely.  I will be beyond grateful if some body take some time and answer my question.


bitcoin is easy way after used this guide you need understand used some c++ skill to do.

I have some knowledge of c++ but right now I can not even test my fork. I don't know why I get this error. I didn't change address prefixes. It won't be a problem,will it ?
Pages:
Jump to: