mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-05-22 16:58:49 +00:00
rebuild coins
This commit is contained in:
parent
6a3210c4ce
commit
e3b2001c89
@ -7,10 +7,8 @@ COINS = [
|
|||||||
coin_name='Bitcoin',
|
coin_name='Bitcoin',
|
||||||
coin_shortcut='BTC',
|
coin_shortcut='BTC',
|
||||||
address_type=0,
|
address_type=0,
|
||||||
maxfee_kb=300000,
|
|
||||||
address_type_p2sh=5,
|
address_type_p2sh=5,
|
||||||
address_type_p2wpkh=6,
|
maxfee_kb=300000,
|
||||||
address_type_p2wsh=10,
|
|
||||||
signed_message_header='Bitcoin Signed Message:\n',
|
signed_message_header='Bitcoin Signed Message:\n',
|
||||||
xpub_magic=0x0488b21e,
|
xpub_magic=0x0488b21e,
|
||||||
xprv_magic=0x0488ade4,
|
xprv_magic=0x0488ade4,
|
||||||
@ -21,10 +19,8 @@ COINS = [
|
|||||||
coin_name='Testnet',
|
coin_name='Testnet',
|
||||||
coin_shortcut='TEST',
|
coin_shortcut='TEST',
|
||||||
address_type=111,
|
address_type=111,
|
||||||
maxfee_kb=10000000,
|
|
||||||
address_type_p2sh=196,
|
address_type_p2sh=196,
|
||||||
address_type_p2wpkh=3,
|
maxfee_kb=10000000,
|
||||||
address_type_p2wsh=40,
|
|
||||||
signed_message_header='Bitcoin Signed Message:\n',
|
signed_message_header='Bitcoin Signed Message:\n',
|
||||||
xpub_magic=0x043587cf,
|
xpub_magic=0x043587cf,
|
||||||
xprv_magic=0x04358394,
|
xprv_magic=0x04358394,
|
||||||
@ -35,10 +31,8 @@ COINS = [
|
|||||||
coin_name='Namecoin',
|
coin_name='Namecoin',
|
||||||
coin_shortcut='NMC',
|
coin_shortcut='NMC',
|
||||||
address_type=52,
|
address_type=52,
|
||||||
maxfee_kb=10000000,
|
|
||||||
address_type_p2sh=5,
|
address_type_p2sh=5,
|
||||||
address_type_p2wpkh=None,
|
maxfee_kb=10000000,
|
||||||
address_type_p2wsh=None,
|
|
||||||
signed_message_header='Namecoin Signed Message:\n',
|
signed_message_header='Namecoin Signed Message:\n',
|
||||||
xpub_magic=0x019da462,
|
xpub_magic=0x019da462,
|
||||||
xprv_magic=0x019d9cfe,
|
xprv_magic=0x019d9cfe,
|
||||||
@ -49,10 +43,8 @@ COINS = [
|
|||||||
coin_name='Litecoin',
|
coin_name='Litecoin',
|
||||||
coin_shortcut='LTC',
|
coin_shortcut='LTC',
|
||||||
address_type=48,
|
address_type=48,
|
||||||
|
address_type_p2sh=50,
|
||||||
maxfee_kb=1000000,
|
maxfee_kb=1000000,
|
||||||
address_type_p2sh=5,
|
|
||||||
address_type_p2wpkh=None,
|
|
||||||
address_type_p2wsh=None,
|
|
||||||
signed_message_header='Litecoin Signed Message:\n',
|
signed_message_header='Litecoin Signed Message:\n',
|
||||||
xpub_magic=0x019da462,
|
xpub_magic=0x019da462,
|
||||||
xprv_magic=0x019d9cfe,
|
xprv_magic=0x019d9cfe,
|
||||||
@ -63,10 +55,8 @@ COINS = [
|
|||||||
coin_name='Dogecoin',
|
coin_name='Dogecoin',
|
||||||
coin_shortcut='DOGE',
|
coin_shortcut='DOGE',
|
||||||
address_type=30,
|
address_type=30,
|
||||||
maxfee_kb=1000000000,
|
|
||||||
address_type_p2sh=22,
|
address_type_p2sh=22,
|
||||||
address_type_p2wpkh=None,
|
maxfee_kb=1000000000,
|
||||||
address_type_p2wsh=None,
|
|
||||||
signed_message_header='Dogecoin Signed Message:\n',
|
signed_message_header='Dogecoin Signed Message:\n',
|
||||||
xpub_magic=0x02facafd,
|
xpub_magic=0x02facafd,
|
||||||
xprv_magic=0x02fac398,
|
xprv_magic=0x02fac398,
|
||||||
@ -77,10 +67,8 @@ COINS = [
|
|||||||
coin_name='Dash',
|
coin_name='Dash',
|
||||||
coin_shortcut='DASH',
|
coin_shortcut='DASH',
|
||||||
address_type=76,
|
address_type=76,
|
||||||
maxfee_kb=100000,
|
|
||||||
address_type_p2sh=16,
|
address_type_p2sh=16,
|
||||||
address_type_p2wpkh=None,
|
maxfee_kb=100000,
|
||||||
address_type_p2wsh=None,
|
|
||||||
signed_message_header='DarkCoin Signed Message:\n',
|
signed_message_header='DarkCoin Signed Message:\n',
|
||||||
xpub_magic=0x02fe52cc,
|
xpub_magic=0x02fe52cc,
|
||||||
xprv_magic=0x02fe52f8,
|
xprv_magic=0x02fe52f8,
|
||||||
@ -91,10 +79,8 @@ COINS = [
|
|||||||
coin_name='Zcash',
|
coin_name='Zcash',
|
||||||
coin_shortcut='ZEC',
|
coin_shortcut='ZEC',
|
||||||
address_type=7352,
|
address_type=7352,
|
||||||
maxfee_kb=1000000,
|
|
||||||
address_type_p2sh=7357,
|
address_type_p2sh=7357,
|
||||||
address_type_p2wpkh=None,
|
maxfee_kb=1000000,
|
||||||
address_type_p2wsh=None,
|
|
||||||
signed_message_header='Zcash Signed Message:\n',
|
signed_message_header='Zcash Signed Message:\n',
|
||||||
xpub_magic=0x0488b21e,
|
xpub_magic=0x0488b21e,
|
||||||
xprv_magic=0x0488ade4,
|
xprv_magic=0x0488ade4,
|
||||||
@ -105,10 +91,8 @@ COINS = [
|
|||||||
coin_name='Zcash Testnet',
|
coin_name='Zcash Testnet',
|
||||||
coin_shortcut='TAZ',
|
coin_shortcut='TAZ',
|
||||||
address_type=7461,
|
address_type=7461,
|
||||||
maxfee_kb=10000000,
|
|
||||||
address_type_p2sh=7354,
|
address_type_p2sh=7354,
|
||||||
address_type_p2wpkh=None,
|
maxfee_kb=10000000,
|
||||||
address_type_p2wsh=None,
|
|
||||||
signed_message_header='Zcash Signed Message:\n',
|
signed_message_header='Zcash Signed Message:\n',
|
||||||
xpub_magic=0x043587cf,
|
xpub_magic=0x043587cf,
|
||||||
xprv_magic=0x04358394,
|
xprv_magic=0x04358394,
|
||||||
|
@ -8,8 +8,6 @@ class CoinType(p.MessageType):
|
|||||||
3: ('address_type', p.UVarintType, 0), # default=0
|
3: ('address_type', p.UVarintType, 0), # default=0
|
||||||
4: ('maxfee_kb', p.UVarintType, 0),
|
4: ('maxfee_kb', p.UVarintType, 0),
|
||||||
5: ('address_type_p2sh', p.UVarintType, 0), # default=5
|
5: ('address_type_p2sh', p.UVarintType, 0), # default=5
|
||||||
6: ('address_type_p2wpkh', p.UVarintType, 0), # default=6
|
|
||||||
7: ('address_type_p2wsh', p.UVarintType, 0), # default=10
|
|
||||||
8: ('signed_message_header', p.UnicodeType, 0),
|
8: ('signed_message_header', p.UnicodeType, 0),
|
||||||
9: ('xpub_magic', p.UVarintType, 0), # default=76067358
|
9: ('xpub_magic', p.UVarintType, 0), # default=76067358
|
||||||
10: ('xprv_magic', p.UVarintType, 0), # default=76066276
|
10: ('xprv_magic', p.UVarintType, 0), # default=76066276
|
||||||
|
@ -5,10 +5,8 @@ fields = [
|
|||||||
'coin_name',
|
'coin_name',
|
||||||
'coin_shortcut',
|
'coin_shortcut',
|
||||||
'address_type',
|
'address_type',
|
||||||
'maxfee_kb',
|
|
||||||
'address_type_p2sh',
|
'address_type_p2sh',
|
||||||
'address_type_p2wpkh',
|
'maxfee_kb',
|
||||||
'address_type_p2wsh',
|
|
||||||
'signed_message_header',
|
'signed_message_header',
|
||||||
'xpub_magic',
|
'xpub_magic',
|
||||||
'xprv_magic',
|
'xprv_magic',
|
||||||
|
Loading…
Reference in New Issue
Block a user