P2Pool PPLNS矿池和PPS矿池

来源:互联网 发布:手机专业制图软件 编辑:程序博客网 时间:2024/06/06 02:28
PPLNS矿池和PPS矿池
Pay Per Last N Shares 根据过去的N个股份来计算收益
Pay Per Share 根据个人的算力在矿池中的占比,并估算矿池每天可以获得的矿产,每天给你固定的收益。
P2Pool is a decentralized Bitcoin mining pool that works by creating a peer-to-peer network of miner nodes.
P2Pool 是个无中心的pool.P2Pool通过创建的P2P网络管理miner节点。

P2Pool creates a new block chain in which the difficulty is adjusted so a new block is found every 30 seconds. The blocks that get into the P2Pool block chain (called the "share chain") are the same blocks that would get into the Bitcoin block chain, only they have a lower difficulty target. Whenever a peer announces a new share found (new block in the P2Pool block chain), it is received by the other peers, and the other peers verify that this block contains payouts for all the previous miners who found a share (and announced it) that made it into the P2Pool share chain. This continues until some peer finds a block that has a difficulty that meets the Bitcoin network's difficulty target. This peer announces this block to the Bitcoin network and miners who have submitted shares for this block are paid in the generation transaction, proportionally to how many shares they have found in the last while. - Unknown author
P2Pool创建了一个新的block chain,在其间difficulty被重新调低了,所以每30秒可以找到一个block.P2Pool的block chain可以称为“share chain”.加入到share chain的blocks和bitcoin网络的block chain上的blocks是一样的,区别就是更低的difficulty.当有节点通知说发现新share了,其他节点(在share chain上的)也都会获知,其他节点验证这个block上包含的payout信息里含有所有发现过share的miner后,将这个block加入到share chain上。就这样一直到某节点发现的block的difficulty值符合bitcoin网络的difficulty.这个节点向bitcoin网络通知这个block然后所有为这个块提交过share的miner都会在新生成的tnx获得报酬。P2Pool是基于PPLNS的,所以收益也是按比例的。

Decentralized payout pooling solves the problem of centralized mining pools degrading the decentralization of Bitcoin and avoids the risk of hard to detect theft by pool operators.

Miners are configured to connect to a P2Pool node that can be run locally, alongside the miner. P2Pool users must run a full Bitcoin node which serves the purpose of independently validating transactions and the Bitcoin blockchain. P2Pool also supports merged mining and several alternative blockchains.
中心化的pool会降低bitcoin网络的分散化水平,无中心的支付pool就解决了这个问题,而且可以避免矿池管理员窃取收益又难以发现的问题。
miner需要配置连接P2Pool的节点,然后就可以本地运行了。P2Pool的用户需要运行一个完整的bitcoin node,并独立验证tnx.P2Pool还支持合并挖矿.

P2Pool nodes work on a chain of shares similar to Bitcoin's blockchain. Each node works on a block that includes payouts to the previous shares' owners and the node itself, which can also result in a share if it meets P2Pool's difficulty.

Because of the importance of strengthening Bitcoin's decentralization, some Bitcoin supporters donate to P2Pool miners, resulting in average returns above 100% of the expected reward. However, it should be noted that there are other pools (such as BitPenny and Eligius) which can provide this same level of decentralization.
P2Pool节点
P2Pool的share chain类似于bitcoin的block chain.每个node
0 0