Skip to content

Commit

Permalink
Fastcoin: Require BIP66 compatible version >=0.10
Browse files Browse the repository at this point in the history
  • Loading branch information
d0gZpAw committed Aug 2, 2015
1 parent 4e5afe9 commit 2c22d63
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions p2pool/bitcoin/networks/fastcoin.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@
BLOCK_PERIOD = 12 # s
SYMBOL = 'FST'
CONF_FILE_FUNC = lambda: os.path.join(os.path.join(os.environ['APPDATA'], 'Fastcoin') if platform.system() == 'Windows' else os.path.expanduser('~/Library/Application Support/Fastcoin/') if platform.system() == 'Darwin' else os.path.expanduser('~/.fastcoin'), 'fastcoin.conf')
BLOCK_EXPLORER_URL_PREFIX = 'http://fst.webboise.com/block/'
ADDRESS_EXPLORER_URL_PREFIX = 'http://fst.webboise.com/address/'
TX_EXPLORER_URL_PREFIX = 'http://fst.webboise.com/tx/'
BLOCK_EXPLORER_URL_PREFIX = 'http://fst.blockexp.info/block/'
ADDRESS_EXPLORER_URL_PREFIX = 'http://fst.blockexp.info/address/'
TX_EXPLORER_URL_PREFIX = 'http://fst.blockexp.info/tx/'
SANE_TARGET_RANGE = (2**256//100000000 - 1, 2**256//1000 - 1)
DUMB_SCRYPT_DIFF = 2**16
DUST_THRESHOLD = 0.03e8
4 changes: 2 additions & 2 deletions p2pool/networks/fastcoin.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
MAX_TARGET = 2**256//2**20 - 1
PERSIST = True
WORKER_PORT = 5150
BOOTSTRAP_ADDRS = 'fst.inetrader.com'.split(' ')
BOOTSTRAP_ADDRS = 'inetrader.com'.split(' ')
ANNOUNCE_CHANNEL = '#p2pool-fst'
VERSION_CHECK = lambda v: True
VERSION_WARNING = lambda v: 'Upgrade Fastcoin to >= 0.8.5.1!' if v < 70002 else None
VERSION_WARNING = lambda v: 'Upgrade Fastcoin to >= 0.10.2.2!' if v < 100202 else None

0 comments on commit 2c22d63

Please sign in to comment.