Bitcoin Forum
April 25, 2024, 04:57:43 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1] 2 »  All
  Print  
Author Topic: Blockswarm Protocol proposition - solo mining, full node cooperative  (Read 1682 times)
GingerAle (OP)
Legendary
*
Offline Offline

Activity: 1260
Merit: 1008


View Profile WWW
June 02, 2015, 01:09:09 AM
 #1

Or maybe it should be called Bloop - for a portmanteau of Block and Co-op. Or flockblock.

The analogy - what makes more sense? Focusing all of your resources and manpower on one hole in the mountain to dig a mine and find the gold? Or dispersing your resources and manpower all over the mountain? Especially when your mountain is made up of random numbers?

The idea is this: wouldn't it be possible to make pool infrastructure that allows multiple individuals to form a mining co-op of full node solo miners?

So instead of the stratum server being the only actual node, and hunting for a solution to a single block and pool members just submitting hashes...

why couldn't the server just function as the manager of the co-op?

So, I find a block, but there are 40 people in the pool, so the block reward is split amongst the 40 people dependent upon their hash contribution.

This could potentially be more efficient as well, due to the fact that the block found event will propagate through 2 networks - the pool co-op and the actual bitcoin network. So if Jack and Jill are in the same co-op and live 3 miles from each other, but the pool server is actually 200 miles away, Jill's node will probably notify Jack's node of the new block before Jill's node notifies the pool server which will then notify Jack's node.

Back to the analogy, you'd have to climb all the way out from the mine to shout the news, whereas with Blockswarm, you just shout to your neighbor.

And on top of that, you know, more full nodes and all that jazz.

Is this possible?

< Track your bitcoins! > < Track them again! > <<< [url=https://www.reddit.com/r/Bitcoin/comments/1qomqt/what_a_landmark_legal_case_from_mid1700s_scotland/] What is fungibility? >>> 46P88uZ4edEgsk7iKQUGu2FUDYcdHm2HtLFiGLp1inG4e4f9PTb4mbHWYWFZGYUeQidJ8hFym2WUmWc p34X8HHmFS2LXJkf <<< Free subdomains at moneroworld.com!! >>> <<< If you don't want to run your own node, point your wallet to node.moneroworld.com, and get connected to a random node! @@@@ FUCK ALL THE PROFITEERS! PROOF OF WORK OR ITS A SCAM !!! @@@@
1714021063
Hero Member
*
Offline Offline

Posts: 1714021063

View Profile Personal Message (Offline)

Ignore
1714021063
Reply with quote  #2

1714021063
Report to moderator
The Bitcoin network protocol was designed to be extremely flexible. It can be used to create timed transactions, escrow transactions, multi-signature transactions, etc. The current features of the client only hint at what will be possible in the future.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714021063
Hero Member
*
Offline Offline

Posts: 1714021063

View Profile Personal Message (Offline)

Ignore
1714021063
Reply with quote  #2

1714021063
Report to moderator
kano
Legendary
*
Offline Offline

Activity: 4466
Merit: 1798


Linux since 1997 RedHat 4


View Profile
June 02, 2015, 03:30:30 AM
 #2

cgminer --load-balance ...

Pool: https://kano.is - low 0.5% fee PPLNS 3 Days - Most reliable Solo with ONLY 0.5% fee   Bitcointalk thread: Forum
Discord support invite at https://kano.is/ Majority developer of the ckpool code - k for kano
The ONLY active original developer of cgminer. Original master git: https://github.com/kanoi/cgminer
GingerAle (OP)
Legendary
*
Offline Offline

Activity: 1260
Merit: 1008


View Profile WWW
June 02, 2015, 09:45:09 AM
 #3

based on my googling of that function, I did not explain the protocol well, or its main benefit of increasing full nodes.

As far as I can tell, you can solo mine with cgminer, but in terms of actually functioning like blockswarm, it ends there. Here's how blockswarm would work:

I'm solo mining with 10 TH
You're solo mining with 10 TH

We're in a co-op together. I find a block, I share half the rewards with you. You find a block, you share half the rewards with me. This sharing is executed via the blockswarm protocol.

We're both running full nodes and mining solo. But we've decreased our variance by agreeing to share our rewards.


< Track your bitcoins! > < Track them again! > <<< [url=https://www.reddit.com/r/Bitcoin/comments/1qomqt/what_a_landmark_legal_case_from_mid1700s_scotland/] What is fungibility? >>> 46P88uZ4edEgsk7iKQUGu2FUDYcdHm2HtLFiGLp1inG4e4f9PTb4mbHWYWFZGYUeQidJ8hFym2WUmWc p34X8HHmFS2LXJkf <<< Free subdomains at moneroworld.com!! >>> <<< If you don't want to run your own node, point your wallet to node.moneroworld.com, and get connected to a random node! @@@@ FUCK ALL THE PROFITEERS! PROOF OF WORK OR ITS A SCAM !!! @@@@
kano
Legendary
*
Offline Offline

Activity: 4466
Merit: 1798


Linux since 1997 RedHat 4


View Profile
June 02, 2015, 10:09:20 AM
 #4

p2pool

Pool: https://kano.is - low 0.5% fee PPLNS 3 Days - Most reliable Solo with ONLY 0.5% fee   Bitcointalk thread: Forum
Discord support invite at https://kano.is/ Majority developer of the ckpool code - k for kano
The ONLY active original developer of cgminer. Original master git: https://github.com/kanoi/cgminer
GingerAle (OP)
Legendary
*
Offline Offline

Activity: 1260
Merit: 1008


View Profile WWW
June 02, 2015, 12:56:58 PM
 #5

p2pool

Yeop! I'm an idiot. I didn't realize p2pool could be run as an independent node. When I used p2pool I would connect to someone elses node.

Why is the p2pool lag an issue then? Last I tried p2pool, I remember reading that there's some lag issue due to the sharechain.

< Track your bitcoins! > < Track them again! > <<< [url=https://www.reddit.com/r/Bitcoin/comments/1qomqt/what_a_landmark_legal_case_from_mid1700s_scotland/] What is fungibility? >>> 46P88uZ4edEgsk7iKQUGu2FUDYcdHm2HtLFiGLp1inG4e4f9PTb4mbHWYWFZGYUeQidJ8hFym2WUmWc p34X8HHmFS2LXJkf <<< Free subdomains at moneroworld.com!! >>> <<< If you don't want to run your own node, point your wallet to node.moneroworld.com, and get connected to a random node! @@@@ FUCK ALL THE PROFITEERS! PROOF OF WORK OR ITS A SCAM !!! @@@@
lovenlifelarge
Hero Member
*****
Offline Offline

Activity: 676
Merit: 501



View Profile
June 26, 2015, 08:05:52 PM
 #6

I think u'll find p2pools blockchain is actually slightly different to bitcoins blockchain...

Someone mentioned a while back something about that

Sort of like bitmains mining pool...

▄▄▄████████▄▄▄
▄▄███▀▀▀      ▀▀▀███▄▄
▄██▀▀                ▀▀██▄
▄██▀                      ▀██▄
██▀                          ▀██
██▀                            ▀██
██▀    ███████        ███████    ▀██
▄██   ██████████████  ██████████   ██▄
██     ▄▄▄▄▄▄▄▄▄▄▄▄  ▄███████▄▄     ██
██     ▀▀▀▀▀▀▀▀▀▀▀▀  ███████▀▀▀     ██
██         ███████  ███████         ██
██         ▀██████████████▀         ██
▀██         ▀████████████▀         ██▀
██▄         ████████████         ▄██
██▄         ██████████         ▄██
██▄                          ▄██
▀██▄                      ▄██▀
▀██▄▄                ▄▄██▀
▀▀███▄▄▄      ▄▄▄███▀▀
▀▀▀████████▀▀▀
    ███████████████████████
█  ██             ██  █
█████             █████
█  ██             ██  █
█████             █████
█  ██             ██  █
███████████████████████
█  ██             ██  █
█████             █████
█  ██             ██  █
█████             █████
█  ██             ██  █
███████████████████████
█  ██             ██  █
█████             █████
█  ██             ██  █
█████             █████
█  ██             ██  █
███████████████████████
    ████████████████████▄
██                ████▄
██                ██████▄
██                ████████▄
██                ██████████▄
██                ████████████
██                ██        ██
██                ████████████
██                ██        ██
██████████████████████████████
██                          ██
██████████████████████████████
██                          ██
██████████████████████████████
██                          ██
██████████████████████████████
██                          ██
██████████████████████████████
██                          ██
██████████████████████████████
kano
Legendary
*
Offline Offline

Activity: 4466
Merit: 1798


Linux since 1997 RedHat 4


View Profile
June 26, 2015, 09:09:28 PM
 #7

I think u'll find p2pools blockchain is actually slightly different to bitcoins blockchain...

Someone mentioned a while back something about that

Sort of like bitmains mining pool...
The p2pool sharechain is on top of the BTC blockchain.

So - in terms of general understanding, no it's not different.

It's simply a sharechain to track peer 2 peer shares when building blocks on the BTC block chain.

Pool: https://kano.is - low 0.5% fee PPLNS 3 Days - Most reliable Solo with ONLY 0.5% fee   Bitcointalk thread: Forum
Discord support invite at https://kano.is/ Majority developer of the ckpool code - k for kano
The ONLY active original developer of cgminer. Original master git: https://github.com/kanoi/cgminer
GingerAle (OP)
Legendary
*
Offline Offline

Activity: 1260
Merit: 1008


View Profile WWW
June 26, 2015, 09:49:33 PM
 #8

but just to clarify, each miner is still working on blocks created from their private node. The share chain is just a way to distribute the block reward?

< Track your bitcoins! > < Track them again! > <<< [url=https://www.reddit.com/r/Bitcoin/comments/1qomqt/what_a_landmark_legal_case_from_mid1700s_scotland/] What is fungibility? >>> 46P88uZ4edEgsk7iKQUGu2FUDYcdHm2HtLFiGLp1inG4e4f9PTb4mbHWYWFZGYUeQidJ8hFym2WUmWc p34X8HHmFS2LXJkf <<< Free subdomains at moneroworld.com!! >>> <<< If you don't want to run your own node, point your wallet to node.moneroworld.com, and get connected to a random node! @@@@ FUCK ALL THE PROFITEERS! PROOF OF WORK OR ITS A SCAM !!! @@@@
lovenlifelarge
Hero Member
*****
Offline Offline

Activity: 676
Merit: 501



View Profile
June 27, 2015, 10:24:09 AM
 #9

Thanks Kano, I think when i was referring to someone talking about this ages ago, I think it was u...

I was stabbing in the dark in my explanation, Ur's are always much better as they are right 99.9999% of the time..

▄▄▄████████▄▄▄
▄▄███▀▀▀      ▀▀▀███▄▄
▄██▀▀                ▀▀██▄
▄██▀                      ▀██▄
██▀                          ▀██
██▀                            ▀██
██▀    ███████        ███████    ▀██
▄██   ██████████████  ██████████   ██▄
██     ▄▄▄▄▄▄▄▄▄▄▄▄  ▄███████▄▄     ██
██     ▀▀▀▀▀▀▀▀▀▀▀▀  ███████▀▀▀     ██
██         ███████  ███████         ██
██         ▀██████████████▀         ██
▀██         ▀████████████▀         ██▀
██▄         ████████████         ▄██
██▄         ██████████         ▄██
██▄                          ▄██
▀██▄                      ▄██▀
▀██▄▄                ▄▄██▀
▀▀███▄▄▄      ▄▄▄███▀▀
▀▀▀████████▀▀▀
    ███████████████████████
█  ██             ██  █
█████             █████
█  ██             ██  █
█████             █████
█  ██             ██  █
███████████████████████
█  ██             ██  █
█████             █████
█  ██             ██  █
█████             █████
█  ██             ██  █
███████████████████████
█  ██             ██  █
█████             █████
█  ██             ██  █
█████             █████
█  ██             ██  █
███████████████████████
    ████████████████████▄
██                ████▄
██                ██████▄
██                ████████▄
██                ██████████▄
██                ████████████
██                ██        ██
██                ████████████
██                ██        ██
██████████████████████████████
██                          ██
██████████████████████████████
██                          ██
██████████████████████████████
██                          ██
██████████████████████████████
██                          ██
██████████████████████████████
██                          ██
██████████████████████████████
kano
Legendary
*
Offline Offline

Activity: 4466
Merit: 1798


Linux since 1997 RedHat 4


View Profile
June 27, 2015, 12:16:14 PM
 #10

Thanks Kano, I think when i was referring to someone talking about this ages ago, I think it was u...

I was stabbing in the dark in my explanation, Ur's are always much better as they are right 99.9999% of the time..
I'll certainly say they are not right 100% of the time Smiley

Pool: https://kano.is - low 0.5% fee PPLNS 3 Days - Most reliable Solo with ONLY 0.5% fee   Bitcointalk thread: Forum
Discord support invite at https://kano.is/ Majority developer of the ckpool code - k for kano
The ONLY active original developer of cgminer. Original master git: https://github.com/kanoi/cgminer
kano
Legendary
*
Offline Offline

Activity: 4466
Merit: 1798


Linux since 1997 RedHat 4


View Profile
June 27, 2015, 12:20:07 PM
 #11

but just to clarify, each miner is still working on blocks created from their private node. The share chain is just a way to distribute the block reward?
Almost.
Yes they do, but the block they create must have the same coinbase payout as everyone else.
So while each node can include whatever transactions they like (and some people on p2pool make p2pool look bad by mining empty blocks) they all have almost the same coinbase transaction.

Pool: https://kano.is - low 0.5% fee PPLNS 3 Days - Most reliable Solo with ONLY 0.5% fee   Bitcointalk thread: Forum
Discord support invite at https://kano.is/ Majority developer of the ckpool code - k for kano
The ONLY active original developer of cgminer. Original master git: https://github.com/kanoi/cgminer
jonnybravo0311
Legendary
*
Offline Offline

Activity: 1344
Merit: 1023


Mine at Jonny's Pool


View Profile WWW
June 27, 2015, 04:34:57 PM
 #12

but just to clarify, each miner is still working on blocks created from their private node. The share chain is just a way to distribute the block reward?
Yes, each p2pool node determines what transactions it will include when constructing a block.  The coinbase transaction is built from the share chain.  If you look at a p2pool share, it will contain the payouts for every active p2pool miner that currently has shares on chain.  So, while the included transactions may differ from node to node, the coinbase transaction that is included as part of the block creation is pretty much the same.

I write "pretty much the same" because my node might find a block before it gets the information about a share from another node.  So, that other node would have an extra share that mine doesn't when the block is created.

Jonny's Pool - Mine with us and help us grow!  Support a pool that supports Bitcoin, not a hardware manufacturer's pockets!  No SPV cheats.  No empty blocks.
GingerAle (OP)
Legendary
*
Offline Offline

Activity: 1260
Merit: 1008


View Profile WWW
June 27, 2015, 05:01:29 PM
 #13

but just to clarify, each miner is still working on blocks created from their private node. The share chain is just a way to distribute the block reward?
Yes, each p2pool node determines what transactions it will include when constructing a block.  The coinbase transaction is built from the share chain.  If you look at a p2pool share, it will contain the payouts for every active p2pool miner that currently has shares on chain.  So, while the included transactions may differ from node to node, the coinbase transaction that is included as part of the block creation is pretty much the same.

I write "pretty much the same" because my node might find a block before it gets the information about a share from another node.  So, that other node would have an extra share that mine doesn't when the block is created.

cool, thanks for the clarification. I just want to make sure that mining in P2pool is essentially solo mining. I think this may have been explained to me before, but sometimes the understanding lapses...

< Track your bitcoins! > < Track them again! > <<< [url=https://www.reddit.com/r/Bitcoin/comments/1qomqt/what_a_landmark_legal_case_from_mid1700s_scotland/] What is fungibility? >>> 46P88uZ4edEgsk7iKQUGu2FUDYcdHm2HtLFiGLp1inG4e4f9PTb4mbHWYWFZGYUeQidJ8hFym2WUmWc p34X8HHmFS2LXJkf <<< Free subdomains at moneroworld.com!! >>> <<< If you don't want to run your own node, point your wallet to node.moneroworld.com, and get connected to a random node! @@@@ FUCK ALL THE PROFITEERS! PROOF OF WORK OR ITS A SCAM !!! @@@@
jonnybravo0311
Legendary
*
Offline Offline

Activity: 1344
Merit: 1023


Mine at Jonny's Pool


View Profile WWW
June 27, 2015, 05:25:58 PM
 #14

but just to clarify, each miner is still working on blocks created from their private node. The share chain is just a way to distribute the block reward?
Yes, each p2pool node determines what transactions it will include when constructing a block.  The coinbase transaction is built from the share chain.  If you look at a p2pool share, it will contain the payouts for every active p2pool miner that currently has shares on chain.  So, while the included transactions may differ from node to node, the coinbase transaction that is included as part of the block creation is pretty much the same.

I write "pretty much the same" because my node might find a block before it gets the information about a share from another node.  So, that other node would have an extra share that mine doesn't when the block is created.

cool, thanks for the clarification. I just want to make sure that mining in P2pool is essentially solo mining. I think this may have been explained to me before, but sometimes the understanding lapses...
That's an interesting way of describing mining on p2pool.  Sure, if there were no other nodes on the network, then yes, you'd be solo mining.  However, because of the share chain, and every p2pool miner's contributions, you aren't truly solo mining at all.  Every share that you contribute, which satisfies the difficulty of the share chain shares is added to the chain (assuming of course it isn't an orphan or dead share).  Every share you have on the chain that is on the list of shares to be paid out when a block is found will be part of the coinbase transaction of that block.  Basically, every p2pool node says, "hey, here are some number of transactions I'm going to include in my block.  If a miner happens to solve this block, here are all the miners I know of that contributed to the pool and how much they should be paid for their efforts."

Jonny's Pool - Mine with us and help us grow!  Support a pool that supports Bitcoin, not a hardware manufacturer's pockets!  No SPV cheats.  No empty blocks.
GingerAle (OP)
Legendary
*
Offline Offline

Activity: 1260
Merit: 1008


View Profile WWW
June 27, 2015, 05:57:45 PM
 #15

but just to clarify, each miner is still working on blocks created from their private node. The share chain is just a way to distribute the block reward?
Yes, each p2pool node determines what transactions it will include when constructing a block.  The coinbase transaction is built from the share chain.  If you look at a p2pool share, it will contain the payouts for every active p2pool miner that currently has shares on chain.  So, while the included transactions may differ from node to node, the coinbase transaction that is included as part of the block creation is pretty much the same.

I write "pretty much the same" because my node might find a block before it gets the information about a share from another node.  So, that other node would have an extra share that mine doesn't when the block is created.

cool, thanks for the clarification. I just want to make sure that mining in P2pool is essentially solo mining. I think this may have been explained to me before, but sometimes the understanding lapses...
That's an interesting way of describing mining on p2pool.  Sure, if there were no other nodes on the network, then yes, you'd be solo mining.  However, because of the share chain, and every p2pool miner's contributions, you aren't truly solo mining at all.  Every share that you contribute, which satisfies the difficulty of the share chain shares is added to the chain (assuming of course it isn't an orphan or dead share).  Every share you have on the chain that is on the list of shares to be paid out when a block is found will be part of the coinbase transaction of that block.  Basically, every p2pool node says, "hey, here are some number of transactions I'm going to include in my block.  If a miner happens to solve this block, here are all the miners I know of that contributed to the pool and how much they should be paid for their efforts."

I mean "solo mining" in the sense that my individual node is determining what goes into the block, not in the sense that I will receive the full block reward.




< Track your bitcoins! > < Track them again! > <<< [url=https://www.reddit.com/r/Bitcoin/comments/1qomqt/what_a_landmark_legal_case_from_mid1700s_scotland/] What is fungibility? >>> 46P88uZ4edEgsk7iKQUGu2FUDYcdHm2HtLFiGLp1inG4e4f9PTb4mbHWYWFZGYUeQidJ8hFym2WUmWc p34X8HHmFS2LXJkf <<< Free subdomains at moneroworld.com!! >>> <<< If you don't want to run your own node, point your wallet to node.moneroworld.com, and get connected to a random node! @@@@ FUCK ALL THE PROFITEERS! PROOF OF WORK OR ITS A SCAM !!! @@@@
jonnybravo0311
Legendary
*
Offline Offline

Activity: 1344
Merit: 1023


Mine at Jonny's Pool


View Profile WWW
June 27, 2015, 06:14:33 PM
 #16

I mean "solo mining" in the sense that my individual node is determining what goes into the block, not in the sense that I will receive the full block reward.
Yes, that's a correct interpretation, then.  Your node determines what transactions are included as well as the coinbase payout.  That coinbase is typically very similar for all nodes, with the exceptions listed in my previous posts.  So, while the transactions may be wildly different across nodes, the payouts should be virtually identical Smiley.

Jonny's Pool - Mine with us and help us grow!  Support a pool that supports Bitcoin, not a hardware manufacturer's pockets!  No SPV cheats.  No empty blocks.
kano
Legendary
*
Offline Offline

Activity: 4466
Merit: 1798


Linux since 1997 RedHat 4


View Profile
June 28, 2015, 12:56:56 AM
 #17

It's a misunderstanding of the term solo mining.

Solo mining means you are taking on all the variance of block finding.
You are not pooling your mining efforts with anyone else (and thus are not sharing the reward)

p2pool is not in any way solo mining.

Pool: https://kano.is - low 0.5% fee PPLNS 3 Days - Most reliable Solo with ONLY 0.5% fee   Bitcointalk thread: Forum
Discord support invite at https://kano.is/ Majority developer of the ckpool code - k for kano
The ONLY active original developer of cgminer. Original master git: https://github.com/kanoi/cgminer
-ck
Legendary
*
Offline Offline

Activity: 4088
Merit: 1631


Ruu \o/


View Profile WWW
June 28, 2015, 01:13:52 AM
 #18

By the way you can imitate the 50% thing on p2pool simply by setting your p2pool share difficulty to half the current network difficulty if you really wanted to do that...

Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel
2% Fee Solo mining at solo.ckpool.org
-ck
GingerAle (OP)
Legendary
*
Offline Offline

Activity: 1260
Merit: 1008


View Profile WWW
June 28, 2015, 01:23:03 AM
 #19

It's a misunderstanding of the term solo mining.

Solo mining means you are taking on all the variance of block finding.
You are not pooling your mining efforts with anyone else (and thus are not sharing the reward)

p2pool is not in any way solo mining.

yes, I guess the proper phraseology would be "mining on an independent node", as opposed to conventional pool mining, where everyone is submitting shares to solve 1 node's block (the pool operator's node).

but I could have that completely misunderstood as well.

< Track your bitcoins! > < Track them again! > <<< [url=https://www.reddit.com/r/Bitcoin/comments/1qomqt/what_a_landmark_legal_case_from_mid1700s_scotland/] What is fungibility? >>> 46P88uZ4edEgsk7iKQUGu2FUDYcdHm2HtLFiGLp1inG4e4f9PTb4mbHWYWFZGYUeQidJ8hFym2WUmWc p34X8HHmFS2LXJkf <<< Free subdomains at moneroworld.com!! >>> <<< If you don't want to run your own node, point your wallet to node.moneroworld.com, and get connected to a random node! @@@@ FUCK ALL THE PROFITEERS! PROOF OF WORK OR ITS A SCAM !!! @@@@
jonnybravo0311
Legendary
*
Offline Offline

Activity: 1344
Merit: 1023


Mine at Jonny's Pool


View Profile WWW
June 28, 2015, 03:14:31 AM
 #20

It's a misunderstanding of the term solo mining.

Solo mining means you are taking on all the variance of block finding.
You are not pooling your mining efforts with anyone else (and thus are not sharing the reward)

p2pool is not in any way solo mining.

yes, I guess the proper phraseology would be "mining on an independent node", as opposed to conventional pool mining, where everyone is submitting shares to solve 1 node's block (the pool operator's node).

but I could have that completely misunderstood as well.
That's how a conventional pool works.  Everyone on the pool is attempting to solve the same block.

Jonny's Pool - Mine with us and help us grow!  Support a pool that supports Bitcoin, not a hardware manufacturer's pockets!  No SPV cheats.  No empty blocks.
Pages: [1] 2 »  All
  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!