MCPcopy Index your code
hub / github.com/petertodd/python-bitcoinlib / MainParams

Class MainParams

bitcoin/__init__.py:20–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

18__version__ = '0.12.2'
19
20class MainParams(bitcoin.core.CoreMainParams):
21 MESSAGE_START = b'\xf9\xbe\xb4\xd9'
22 DEFAULT_PORT = 8333
23 RPC_PORT = 8332
24 DNS_SEEDS = (('bitcoin.sipa.be', 'seed.bitcoin.sipa.be'),
25 ('bluematt.me', 'dnsseed.bluematt.me'),
26 ('dashjr.org', 'dnsseed.bitcoin.dashjr.org'),
27 ('bitcoinstats.com', 'seed.bitcoinstats.com'),
28 ('xf2.org', 'bitseed.xf2.org'),
29 ('bitcoin.jonasschnelli.ch', 'seed.bitcoin.jonasschnelli.ch'))
30 BASE58_PREFIXES = {'PUBKEY_ADDR':0,
31 'SCRIPT_ADDR':5,
32 'SECRET_KEY' :128}
33 BECH32_HRP = 'bc'
34
35class TestNetParams(bitcoin.core.CoreTestNetParams):
36 MESSAGE_START = b'\x0b\x11\x09\x07'

Callers 2

__init__.pyFile · 0.85
SelectParamsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected