Skip to content

Commit

Permalink
(modified patch from Jonathan Toomim) Added support for BIP101 block …
Browse files Browse the repository at this point in the history
…version numbers.
  • Loading branch information
forrestv committed Oct 5, 2015
1 parent 88369a1 commit 6514fd8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion p2pool/work.py
Expand Up @@ -369,7 +369,7 @@ def get_work(self, pubkey_hash, desired_share_target, desired_pseudoshare_target
self.last_work_shares.value[bitcoin_data.pubkey_hash_to_address(pubkey_hash, self.node.net.PARENT)]=share_info['bits']

ba = dict(
version=min(self.current_work.value['version'], 3),
version=min(self.current_work.value['version'], 536870919),
previous_block=self.current_work.value['previous_block'],
merkle_link=merkle_link,
coinb1=packed_gentx[:-self.COINBASE_NONCE_LENGTH-4],
Expand Down

0 comments on commit 6514fd8

Please sign in to comment.