victorkimba17
Jr. Member
Offline
Activity: 113
Merit: 5
|
 |
June 25, 2018, 06:21:33 AM |
|
Oh, sorry I forgot to mention, in order to mine, the node has to connect to at least one peer node. So you need to run another instance of bitcoind and let it connect to the first node, like:
what is the reason the node has to connect to at least one peer node, in order for miner to run?
|
|
|
|
hushan (OP)
Member

Offline
Activity: 61
Merit: 15
|
 |
June 29, 2018, 01:24:30 PM |
|
Oh, sorry I forgot to mention, in order to mine, the node has to connect to at least one peer node. So you need to run another instance of bitcoind and let it connect to the first node, like:
what is the reason the node has to connect to at least one peer node, in order for miner to run? Mined blocks needs to be broadcast and confirmed by the network, with only one node your blocks cannot be confirmed. Also this check is hard wired in bitcoin's source code, so it's a must-met condition.
|
BTC: 38ykUxZeSv5aqav1keCc4KUxXLPPGkfrm5 LTC: MPpWNvqDCVB1PHJt4A28j9oFfc6Y1KKDno ETH: 0x07C8c68d5253247038947EF9495b054160c8737c
|
|
|
hushan (OP)
Member

Offline
Activity: 61
Merit: 15
|
 |
June 29, 2018, 01:25:55 PM |
|
Hi to all,
I'm so confused about that, is the mentioned stages in this post correct to do right now for creating a new Alt Coin?
Thanks
Yes, it is in a sense, but unless you want something POW coins similar to bitcoin, today most coins are created as ERC20 on Ethereum network.
|
BTC: 38ykUxZeSv5aqav1keCc4KUxXLPPGkfrm5 LTC: MPpWNvqDCVB1PHJt4A28j9oFfc6Y1KKDno ETH: 0x07C8c68d5253247038947EF9495b054160c8737c
|
|
|
hushan (OP)
Member

Offline
Activity: 61
Merit: 15
|
 |
July 10, 2018, 08:12:27 AM |
|
Hi to all,
I'm so confused about that, is the mentioned stages in this post correct to do right now for creating a new Alt Coin?
Thanks
Yes, it is in a sense, but unless you want something POW coins similar to bitcoin, today most coins are created as ERC20 on Ethereum network. How Can I do that? Just follow the guide  What specifically do you want to do?
|
BTC: 38ykUxZeSv5aqav1keCc4KUxXLPPGkfrm5 LTC: MPpWNvqDCVB1PHJt4A28j9oFfc6Y1KKDno ETH: 0x07C8c68d5253247038947EF9495b054160c8737c
|
|
|
bitkron
Newbie
Offline
Activity: 1
Merit: 0
|
 |
July 25, 2018, 03:11:05 AM |
|
Hi... Im having a problem connecting the nodes.
Altcoin-cli getblocktemplate returns
error code: -28 error message: Loading wallet...
Any Idea which parts of the code should I look in to?
|
|
|
|
wann100
Newbie
Offline
Activity: 2
Merit: 0
|
 |
July 31, 2018, 09:40:57 AM |
|
Hey Guys! I am new to this blog but not new to building coins! If you need any help please Contact me!
I can create coins for 0.12 BTC but I can also fix your code for you if that is all you need. All I ask is for a donation for whatever you can afford. BTC ADDRESS:126Xka9v7Ge5bzn5SM2fTSN4emoNL6Xq2p
|
|
|
|
victorkimba17
Jr. Member
Offline
Activity: 113
Merit: 5
|
 |
August 01, 2018, 07:18:24 AM Last edit: August 01, 2018, 07:30:28 AM by victorkimba17 |
|
./minerd --user rpcuser --pass 111111 --url http://127.0.0.1:6332/ --threads 4 --coinbase-addr XQg3PmNxX9oEbxsymqtQHir6dkPpVPTJ6P --coinbase-sig "my test coins" -a sha256d -D How to know The coinbase-addr ? i think it is any bitcoin address.
|
|
|
|
victorkimba17
Jr. Member
Offline
Activity: 113
Merit: 5
|
 |
August 01, 2018, 07:32:14 AM |
|
Hi... Im having a problem connecting the nodes.
Altcoin-cli getblocktemplate returns
error code: -28 error message: Loading wallet...
Any Idea which parts of the code should I look in to?
do u change the bitcoin core to become an altcoin ? how many altcoin nodes are u running ?
|
|
|
|
gjhiggins
Legendary
Offline
Activity: 2254
Merit: 1290
|
 |
August 02, 2018, 09:48:18 AM |
|
10. Remove dns seeds In chainparams.cpp, remove lines start with “vSeeds.emplace_back”
Also, remove the hard-coded Bitcoin-specific seeds from chainparamseeds.cpp. Otherwise the client will continue to attempt to connect with the Bitcoin network. Cheers Graham
|
|
|
|
nur1labs
|
 |
August 03, 2018, 05:56:28 AM Last edit: August 03, 2018, 06:36:09 AM by nur1labs |
|
10. Remove dns seeds In chainparams.cpp, remove lines start with “vSeeds.emplace_back”
Also, remove the hard-coded Bitcoin-specific seeds from chainparamseeds.cpp. Otherwise the client will continue to attempt to connect with the Bitcoin network. Cheers Graham need remove all or just port change?for this emercoin not work. they have 2 system hash and transaction id[peercoin fork] chainparams.cpp:207: CMainParams::CMainParams(): Assertion `consensus.hashGenesisBlock == uint256S("0x000000002fe872d82f457a6016df5eeb432735a3291ae3b34d04dea89caa286a")' failed. Aborted do i need remove checkpoint? return CreateGenesisBlock(pszTimestamp, genesisOutputScript, nTimeTx, nTimeBlock, nNonce, nBits, nVersion, genesisReward); genesis = CreateGenesisBlock(1533211413, 0, 3823366493, 0x1d00ffff, 1, 0);
checkpointData = (CCheckpointData) { boost::assign::map_list_of ( 0, uint256S("0x00000000bcccd459d036a588d1008fce8da3754b205736f32ddfd35350e84c2d")) };
|
==MuBdI BlockStream Platform - Future Blockchain Platform==
|
|
|
gjhiggins
Legendary
Offline
Activity: 2254
Merit: 1290
|
 |
August 03, 2018, 09:38:02 AM |
|
need remove all or just port change
Whatever. Althougn it's relatively harmless, the client's insistence on "phoning home" seemed to be puzzling some folks, so I thought I'd mention the source of it. Cheers Graham
|
|
|
|
nur1labs
|
 |
August 03, 2018, 10:00:50 AM |
|
need remove all or just port change
Whatever. Althougn it's relatively harmless, the client's insistence on "phoning home" seemed to be puzzling some folks, so I thought I'd mention the source of it. Cheers Graham ah thank i think fixed it....as i know i need do pztimes to news. why that important....or the chain is actually reading news timestamp?  but that ok now thank for info sir~
|
==MuBdI BlockStream Platform - Future Blockchain Platform==
|
|
|
gjhiggins
Legendary
Offline
Activity: 2254
Merit: 1290
|
 |
August 03, 2018, 10:52:19 AM |
|
ah thank i think fixed it....as i know i need do pztimes to news. why that important....or the chain is actually reading news timestamp?  No it's not checked, it's a social convention designed to reassure people that mining did not take place before the date (supposedly included) but it's not widely advertised as such. I still follow the rather elegant lead set by Mr Spread in Spreadcoin: use the latest Bitcoin block height and hash. Cheers Graham
|
|
|
|
nur1labs
|
 |
August 03, 2018, 11:03:38 AM Last edit: August 08, 2018, 08:09:56 AM by nur1labs |
|
ah thank i think fixed it....as i know i need do pztimes to news. why that important....or the chain is actually reading news timestamp?  No it's not checked, it's a social convention designed to reassure people that mining did not take place before the date (supposedly included) but it's not widely advertised as such. I still follow the rather elegant lead set by Mr Spread in Spreadcoin: use the latest Bitcoin block height and hash. Cheers Graham that mean everything on web record on timestamp sir?i ever expected when i do collage. before im developer of Artificial now. it's make sense when i look number the linux. and ask linux tovald used his g+. what is that. he said timestamp. and he know it and used it on bitcoin and similar Artificial checkpoint~ well this guide is good atm for learn what is linux and seed. and how distribute as chain~ Notes : guide is unworking for hash. need figure it out.
|
==MuBdI BlockStream Platform - Future Blockchain Platform==
|
|
|
codyli2002hk
Newbie
Offline
Activity: 1
Merit: 0
|
 |
September 07, 2018, 06:10:33 AM |
|
Hi to all, Thank you very much for your post. It helps me a lot. is it way to add smart contract?
|
|
|
|
chameleon123
Jr. Member
Offline
Activity: 48
Merit: 17
|
 |
September 07, 2018, 03:15:21 PM Last edit: September 08, 2018, 01:33:31 PM by chameleon123 |
|
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 : ~$ bitcoind bitcoind: chainparams.cpp:132: CMainParams::CMainParams(): Assertion `consensus.hashGenesisBlock == uint256S("0x0000000001e075d779592db22d19573375d05db23bdafd0a8b06c89fb2985d89")' 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.
|
|
|
|
nur1labs
|
 |
September 08, 2018, 01:02:41 AM |
|
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 : ~$ 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.
|
==MuBdI BlockStream Platform - Future Blockchain Platform==
|
|
|
chameleon123
Jr. Member
Offline
Activity: 48
Merit: 17
|
 |
September 08, 2018, 01:32:48 PM |
|
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 : ~$ 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 ?
|
|
|
|
nur1labs
|
 |
September 09, 2018, 02:34:59 AM |
|
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 : ~$ 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~
|
==MuBdI BlockStream Platform - Future Blockchain Platform==
|
|
|
chameleon123
Jr. Member
Offline
Activity: 48
Merit: 17
|
 |
September 16, 2018, 10:16:59 AM |
|
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 : ~$ 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.
|
|
|
|
|