added new share type with cutoff date and incremented protocol version 0.10.0
authorForrest Voight <forrest@forre.st>
Tue, 20 Mar 2012 18:55:12 +0000 (14:55 -0400)
committerForrest Voight <forrest@forre.st>
Tue, 20 Mar 2012 20:32:19 +0000 (16:32 -0400)
commit1167f84990fd40240dff9ca7b453f80571758174
tree1c29b0bcc8fbe6b135f00ed15e0b98b89974c362
parent625810fecbd89dbef6d3008061b269411e6174ab
added new share type with cutoff date and incremented protocol version

Changes:
    * shares contain a "desired_version" field that votes to warn other users about upgrades
    * shares contain a "far_share_hash" field that references its 100th parent
        * could be used in the future to implement a query/response check that can verify that all shares in a chain are present and that a competing chain actually has a lot of hash power behind it,
          preventing attacks where p2pool is flooded with shares that it is forced to remember for minutes
    * shares contain a merkle branch to the reference hash at the end of the generation transaction that will let other MM chains use p2pool's MM method
    * the "script" txout script bug is fixed

The switch time matches BIP16's (April 1st) for the Bitcoin chain and is March 27th for the Litecoin chain.
p2pool/data.py
p2pool/main.py
p2pool/networks.py
p2pool/p2p.py