btcp changes

This commit is contained in:
J62 2019-12-24 20:30:17 -08:00
parent ee7c6c7813
commit d18dbd8335
3 changed files with 5 additions and 5 deletions

View File

@ -41,10 +41,10 @@ class BitcoinMainnet:
TESTNET = False TESTNET = False
WIF_PREFIX = 0x80 WIF_PREFIX = 0x80
ADDRTYPE_P2PKH = bytes.fromhex('1CB8') ADDRTYPE_P2PKH = bytes.fromhex('1325')
ADDRTYPE_P2SH = bytes.fromhex('1CBD') ADDRTYPE_P2SH = bytes.fromhex('13AF')
GENESIS = "0007104ccda289427919efc39dc9e4d499804b7bebc22df55f8b834301260602" GENESIS = "0007104ccda289427919efc39dc9e4d499804b7bebc22df55f8b834301260602"
DEFAULT_PORTS = {'t': '50001', 's': '50002'} DEFAULT_PORTS = {'t': '5111', 's': '5222'}
DEFAULT_SERVERS = read_json('servers.json', {}) DEFAULT_SERVERS = read_json('servers.json', {})
CHECKPOINTS = read_json('checkpoints.json', []) CHECKPOINTS = read_json('checkpoints.json', [])

View File

@ -26,7 +26,7 @@ CCY_PRECISIONS = {'BHD': 3, 'BIF': 0, 'BYR': 0, 'CLF': 4, 'CLP': 0,
'BTC': 8} 'BTC': 8}
DEFAULT_EXCHANGE = 'BitcoinAverage' DEFAULT_EXCHANGE = 'CoinMarketCap'
DEFAULT_CCY = 'USD' DEFAULT_CCY = 'USD'

View File

@ -3,6 +3,6 @@
"pruning": "-", "pruning": "-",
"s": "5222", "s": "5222",
"t": "5111", "t": "5111",
"version": "1.2" "version": "1.13"
} }
} }