nonce-pool
|
|
January 29, 2015, 09:58:29 AM |
|
Do you think this'll work? Hey guys, I think we can fix pool mining!!
I just need to know how the hashing works (like, what gets hashed and in which order). Can someone please tell me?
Bump. you should take a look at the code, but it goes roughly like this: 1- the whole block is hashed with double sha2. 2- the header, except for the hash above is signed with the private key and the least significant 5 bits of the nonce 3- results from 1 and 2 are appended to the header 4- the header is hashed with X11 5- compare with target, publish if it was reached, start again if not. Basically, we need to take out the whole private key part so that anyone can claim a valid block to their address. Then once we find a block, submit it with our address attached for the funds to be sent to it. This means that if you are mining for a pool, you can submit shares but give the blocks that you find to yourself. But in order to stop people from stealing found blocks, by attaching their own address instead of the block finder, we need to: Send sha2 hash of (found block + miner's address) to 6 (random?) masternodes. Masternodes confirm that they have received the hash and if it is a valid block, will count it. Miner then sends an un sha2'd version of block (found block + miner's address) Masternodes all sign message saying that the block was found and put it onto the blockchain. Attackers will need to control 4 of the 6 masternodes to replace the miner's address with their own. Boom! Done! Hopefully. Although it's probaly not going to work. Will it work? Wouldn't that... enable pools? Umm... No? I don't think you have understood what I've said. Can you take a look again please? This idea makes pools worse, it seems - first of all, you can't have a block + an address. You need to have a coinbase transaction going to the miner. Second, this way, miner is not proving the ability to spend the coinbase tx. Hmm... Ok I think I know what you mean. So how about everyone must mine with the exact same private key to find a block. When a block is found, the funds get sent to the miner's address, which he specifies somehow. But before he releases the block info, first: Miner sends 6 (random?) masternodes an sha2 hash of (the block he found + a transaction to his address). The 6 Masternodes confirm (sign a message maybe) that if the hash turns out to be a valid block, it will be added to the blockchain and the transaction will be confirmed. (this is to stop people from stealing the block) Miner then sends an un sha2'd version of the block he found + a transaction to his address. The 6 Masternodes all sign message saying that the block was found and record it to the blockchain. If the client receives a message from 4 of the 6 masternodes that the block was found + the transaction then they add it to their blockchain. Attackers will need to control 4 of the 6 masternodes to replace the miner's transaction with their own. Does that work? You must have the private key to spend the coins, if everyone had the same one then anyone could spend it, masternodes also can do nothing with the funds without the private key either.
|
|
|
|
e1ghtSpace
Legendary
Offline
Activity: 1526
Merit: 1001
Crypto since 2014
|
|
January 29, 2015, 10:16:38 AM |
|
Do you think this'll work? Hey guys, I think we can fix pool mining!!
I just need to know how the hashing works (like, what gets hashed and in which order). Can someone please tell me?
Bump. you should take a look at the code, but it goes roughly like this: 1- the whole block is hashed with double sha2. 2- the header, except for the hash above is signed with the private key and the least significant 5 bits of the nonce 3- results from 1 and 2 are appended to the header 4- the header is hashed with X11 5- compare with target, publish if it was reached, start again if not. Basically, we need to take out the whole private key part so that anyone can claim a valid block to their address. Then once we find a block, submit it with our address attached for the funds to be sent to it. This means that if you are mining for a pool, you can submit shares but give the blocks that you find to yourself. But in order to stop people from stealing found blocks, by attaching their own address instead of the block finder, we need to: Send sha2 hash of (found block + miner's address) to 6 (random?) masternodes. Masternodes confirm that they have received the hash and if it is a valid block, will count it. Miner then sends an un sha2'd version of block (found block + miner's address) Masternodes all sign message saying that the block was found and put it onto the blockchain. Attackers will need to control 4 of the 6 masternodes to replace the miner's address with their own. Boom! Done! Hopefully. Although it's probaly not going to work. Will it work? Wouldn't that... enable pools? Umm... No? I don't think you have understood what I've said. Can you take a look again please? This idea makes pools worse, it seems - first of all, you can't have a block + an address. You need to have a coinbase transaction going to the miner. Second, this way, miner is not proving the ability to spend the coinbase tx. Hmm... Ok I think I know what you mean. So how about everyone must mine with the exact same private key to find a block. When a block is found, the funds get sent to the miner's address, which he specifies somehow. But before he releases the block info, first: Miner sends 6 (random?) masternodes an sha2 hash of (the block he found + a transaction to his address). The 6 Masternodes confirm (sign a message maybe) that if the hash turns out to be a valid block, it will be added to the blockchain and the transaction will be confirmed. (this is to stop people from stealing the block) Miner then sends an un sha2'd version of the block he found + a transaction to his address. The 6 Masternodes all sign message saying that the block was found and record it to the blockchain. If the client receives a message from 4 of the 6 masternodes that the block was found + the transaction then they add it to their blockchain. Attackers will need to control 4 of the 6 masternodes to replace the miner's transaction with their own. Does that work? You must have the private key to spend the coins, if everyone had the same one then anyone could spend it, masternodes also can do nothing with the funds without the private key either. But at the same time the block is mined with the private key everyone knows, the masternodes make sure the miner is able to withdraw his coins from that address before they get stolen. Do you know what I mean?
|
|
|
|
nonce-pool
|
|
January 29, 2015, 10:33:41 AM |
|
I understand what you are saying, but you need PROOF that the address belongs to you and that proof is the private key.
What you have described is more or less the "normal" way to mine blocks.
|
|
|
|
e1ghtSpace
Legendary
Offline
Activity: 1526
Merit: 1001
Crypto since 2014
|
|
January 29, 2015, 10:49:42 AM |
|
I understand what you are saying, but you need PROOF that the address belongs to you and that proof is the private key.
What you have described is more or less the "normal" way to mine blocks.
No, the proof is the hash that you send the masternodes first. This is what happens: The miner sends 6 randomly picked masternodes (that everyone agrees on) an sha2 hash of: their found block + transaction from the private key that everyone must use to mine's address to their own address. Then the masternodes respond with: Ok, if that sha2 hash turns out to be a valid block + transaction to miner's address, we will add it to the blockchain. Then the miner provides the block + transaction to their own address. The masternodes then sha2 hash it and if it matches the first hash provided by the miner, they add it to the blockchain. Or am I still wrong?
|
|
|
|
nonce-pool
|
|
January 29, 2015, 12:14:36 PM |
|
I understand what you are saying, but you need PROOF that the address belongs to you and that proof is the private key.
What you have described is more or less the "normal" way to mine blocks.
No, the proof is the hash that you send the masternodes first. This is what happens: The miner sends 6 randomly picked masternodes (that everyone agrees on) an sha2 hash of: their found block + transaction from the private key that everyone must use to mine's address to their own address. Then the masternodes respond with: Ok, if that sha2 hash turns out to be a valid block + transaction to miner's address, we will add it to the blockchain. Then the miner provides the block + transaction to their own address. The masternodes then sha2 hash it and if it matches the first hash provided by the miner, they add it to the blockchain. Or am I still wrong? Wouldn't this lead to centralized distribution?
|
|
|
|
georgem
Legendary
Offline
Activity: 1484
Merit: 1007
spreadcoin.info
|
|
January 29, 2015, 12:54:26 PM |
|
Update about testnet version: We have 344 MNs, with 80 un-elected (or not-yet-elected) ones, therefor 264 active ones. Only 36 missing. We are almost there.
|
|
|
|
georgem
Legendary
Offline
Activity: 1484
Merit: 1007
spreadcoin.info
|
|
January 29, 2015, 01:11:15 PM |
|
We have a few testcoins available now, please go to http://spreadcointalk.org/index.php?topic=40.0and ask, and you can setup your own Masternode within your test wallet! Wanna try?
|
|
|
|
ivcelmik
|
|
January 29, 2015, 01:14:46 PM |
|
Update about testnet version: We have 344 MNs, with 80 un-elected (or not-yet-elected) ones, therefor 264 active ones. Only 36 missing. We are almost there. I've sent u 20 test coins so u can make another MN
|
|
|
|
chrysophylax
Legendary
Offline
Activity: 2870
Merit: 1091
--- ChainWorks Industries ---
|
|
January 29, 2015, 01:15:26 PM |
|
Update about testnet version: We have 344 MNs, with 80 un-elected (or not-yet-elected) ones, therefor 264 active ones. Only 36 missing. We are almost there. hi gerogem ... i am available to set up more ... you know the address - just send ... as soon as i see them confirmed - ill 'tick' it into life as a masternode ... make them 100 spr or more - make many deposits in many transactions - and will have another x number of masternodes active ... #crysx
|
|
|
|
Nthused
Legendary
Offline
Activity: 1554
Merit: 1001
|
|
January 29, 2015, 01:18:47 PM |
|
Update about testnet version: We have 344 MNs, with 80 un-elected (or not-yet-elected) ones, therefor 264 active ones. Only 36 missing. We are almost there. hi gerogem ... i am available to set up more ... you know the address - just send ... as soon as i see them confirmed - ill 'tick' it into life as a masternode ... make them 100 spr or more - make many deposits in many transactions - and will have another x number of masternodes active ... #crysx I've posted in the spreadcointalk forum regarding tSPR to setup a few more masternodes.
|
|
|
|
georgem
Legendary
Offline
Activity: 1484
Merit: 1007
spreadcoin.info
|
|
January 29, 2015, 01:21:40 PM |
|
I've sent u 20 test coins so u can make another MN
Thanks. hi gerogem ... i am available to set up more ... you know the address - just send ... as soon as i see them confirmed - ill 'tick' it into life as a masternode ... make them 100 spr or more - make many deposits in many transactions - and will have another x number of masternodes active ... #crysx how many more, 10?
|
|
|
|
chrysophylax
Legendary
Offline
Activity: 2870
Merit: 1091
--- ChainWorks Industries ---
|
|
January 29, 2015, 01:24:26 PM |
|
I've sent u 20 test coins so u can make another MN
Thanks. hi gerogem ... i am available to set up more ... you know the address - just send ... as soon as i see them confirmed - ill 'tick' it into life as a masternode ... make them 100 spr or more - make many deposits in many transactions - and will have another x number of masternodes active ... #crysx how many more, 10? if you like ... it will be on - so no fear of my turning anything off unless my network needs to come down ... send 10 transaction of 100 spr and ill setup another 10 masternodes when they are ready lets test the bugs out of this ... #crysx
|
|
|
|
georgem
Legendary
Offline
Activity: 1484
Merit: 1007
spreadcoin.info
|
|
January 29, 2015, 01:28:39 PM |
|
if you like ... it will be on - so no fear of my turning anything off unless my network needs to come down ... send 10 transaction of 100 spr and ill setup another 10 masternodes when they are ready lets test the bugs out of this ... #crysx Ok, I will send you the portions as they come in. Stay tuned, and thanks!
|
|
|
|
antonio8
Legendary
Offline
Activity: 1400
Merit: 1000
|
|
January 29, 2015, 01:29:13 PM |
|
Where is the link to the rich list again?
|
If you are going to leave your BTC on an exchange please send it to this address instead 1GH3ub3UUHbU5qDJW5u3E9jZ96ZEmzaXtG, I will at least use the money better than someone who steals it from the exchange. Thanks
|
|
|
|
chrysophylax
Legendary
Offline
Activity: 2870
Merit: 1091
--- ChainWorks Industries ---
|
|
January 29, 2015, 01:47:04 PM |
|
if you like ... it will be on - so no fear of my turning anything off unless my network needs to come down ... send 10 transaction of 100 spr and ill setup another 10 masternodes when they are ready lets test the bugs out of this ... #crysx Ok, I will send you the portions as they come in. Stay tuned, and thanks! all good mate ... i check every hour or so - unless im asleep or out ... bed time soon for me - but not for an hour or so ... hehehe ... tanx ... #crysx
|
|
|
|
georgem
Legendary
Offline
Activity: 1484
Merit: 1007
spreadcoin.info
|
|
January 29, 2015, 01:51:24 PM |
|
all good mate ... i check every hour or so - unless im asleep or out ... bed time soon for me - but not for an hour or so ... hehehe ... tanx ... #crysx Do that last thing, and then you can go sleep with peace in mind!
|
|
|
|
chrysophylax
Legendary
Offline
Activity: 2870
Merit: 1091
--- ChainWorks Industries ---
|
|
January 29, 2015, 01:58:46 PM |
|
all good mate ... i check every hour or so - unless im asleep or out ... bed time soon for me - but not for an hour or so ... hehehe ... tanx ... #crysx Do that last thing, and then you can go sleep with peace in mind! hehehe ... i see the 11 transactions - tanx ... they will be on before i go ... dont worry ... im sure you can see them also in your list - cant you? its all the same address ... #crysx
|
|
|
|
thelonecrouton
Legendary
Offline
Activity: 966
Merit: 1000
|
|
January 29, 2015, 02:03:09 PM |
|
Thank you MyFarm! edit: LOL at louiseth1's dribble. He/she/it never was too bright.
|
|
|
|
Decipher
Newbie
Offline
Activity: 23
Merit: 0
|
|
January 29, 2015, 02:03:38 PM |
|
I'm sure this won't make any difference, some folks only read what they want to.
Do we have a pool? Yes. It's merely a pool server we setup to solo mine to nothing more, we just so happened to let a couple of other small hashrate users in to help out a bit. Is it a risk? Of course it is.
Mr. Spread has done quite a good job at keeping this coin a solo mineable, that doesn't mean that it will always be that way, there a lot of smart folks around here and if there is enough $ involved then one should expect that there will be others trying to get in on the action in some form or another.
I am not against pools,what I am against is that spr is not worth the title of 'no pool' and unfair distribution -- wolf0 sold his 50% faster miner to big farmer,maybe to that guy who takes 25% of the network .This is truth we can even see this and we from china nobody are safe with no pools
|
|
|
|
|