Skip to content
This repository has been archived by the owner on Feb 16, 2023. It is now read-only.

Commit

Permalink
update network parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
peerchemist committed Apr 12, 2019
1 parent 372c4f1 commit c3bb098
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pypeerassets/networks.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,15 +53,15 @@ def get_dust_threshold(self, size_to_relay_fee) -> float:
'p2pkh': bytearray(b'\x37'),
'p2sh': bytearray(b'\x75'),
},
bech32_hrp='bc',
bech32_hrp='pc',
bech32_net='mainnet',
xkeys_prefix='x',
xpub_version=b'\x04\x88\xb2\x1e',
xprv_version=b'\x04\x88\xad\xe4',
wif_prefix=0xb7,
from_unit=Decimal('1e-6'),
to_unit=Decimal('1e6'),
min_tx_fee=Decimal(0.01),
min_tx_fee=Decimal(0.001),
tx_timestamp=True,
tx_out_cls=PeercoinTxOut,
op_return_max_bytes=256
Expand All @@ -79,15 +79,15 @@ def get_dust_threshold(self, size_to_relay_fee) -> float:
'p2pkh': bytearray(b'\x6f'),
'p2sh': bytearray(b'\xc4'),
},
bech32_hrp='tb',
bech32_hrp='tpc',
bech32_net='testnet',
xkeys_prefix='t',
xpub_version=b'\x04\x35\x87\xcf',
xprv_version=b'\x04\x35\x83\x94',
wif_prefix=0xef,
from_unit=Decimal('1e-6'),
to_unit=Decimal('1e6'),
min_tx_fee=Decimal(0.01),
min_tx_fee=Decimal(0.001),
tx_timestamp=True,
tx_out_cls=PeercoinTxOut,
op_return_max_bytes=256
Expand Down

0 comments on commit c3bb098

Please sign in to comment.