Skip to content
Permalink
Browse files

Bump various versions (#64)

* bump VOTING_VERSION and update info url

* bump dashd requirements

* Bump p2p protocol version (still accept old ones for now)
  • Loading branch information...
UdjinM6 committed Feb 22, 2019
1 parent 6d4bef8 commit 081a7efd86ee20f4f70f619ac262f303581eb9a0
Showing with 4 additions and 4 deletions.
  1. +1 −1 README.md
  2. +2 −2 p2pool/data.py
  3. +1 −1 p2pool/p2p.py
@@ -2,7 +2,7 @@ Requirements:
-------------------------
Generic:

* Dashd >=0.12.2.0
* Dashd >=0.13.0.0
* Python >=2.7
* Twisted >=13.0.0
* Zope.interface >=3.8.0
@@ -53,7 +53,7 @@ def load_share(share, net, peer_addr):

class Share(object):
VERSION = 16
VOTING_VERSION = 15
VOTING_VERSION = 16
SUCCESSOR = None

small_block_header_type = pack.ComposedType([
@@ -655,7 +655,7 @@ def get_warnings(tracker, best_share, net, dashd_getnetworkinfo, dashd_work_valu
majority_desired_version = max(desired_version_counts, key=lambda k: desired_version_counts[k])
if majority_desired_version > (Share.SUCCESSOR if Share.SUCCESSOR is not None else Share).VOTING_VERSION and desired_version_counts[majority_desired_version] > sum(desired_version_counts.itervalues())/2:
res.append('A MAJORITY OF SHARES CONTAIN A VOTE FOR AN UNSUPPORTED SHARE IMPLEMENTATION! (v%i with %i%% support)\n'
'An upgrade is likely necessary. Check http://p2pool.forre.st/ for more information.' % (
'An upgrade is likely necessary. Check https://github.com/dashpay/p2pool-dash for more information.' % (
majority_desired_version, 100*desired_version_counts[majority_desired_version]/sum(desired_version_counts.itervalues())))

if dashd_getnetworkinfo['warnings'] != '':
@@ -25,7 +25,7 @@ def fragment(f, **kwargs):
fragment(f, **dict((k, v[len(v)//2:]) for k, v in kwargs.iteritems()))

class Protocol(p2protocol.Protocol):
VERSION = 1500
VERSION = 1600

max_remembered_txs_size = 2500000

0 comments on commit 081a7ef

Please sign in to comment.
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.