1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-23 06:48:16 +00:00

defs: add Capricion

This commit is contained in:
Tibor Arpas 2018-10-20 09:57:02 +02:00 committed by Pavol Rusnak
parent 11221cfe1c
commit dacbc7260c
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D
4 changed files with 51 additions and 0 deletions

View File

@ -0,0 +1,46 @@
{
"coin_name": "Capricoin",
"coin_shortcut": "CPC",
"coin_label": "Capricoin",
"website": "https://capricoin.org",
"github": "https://github.com/Capricoinofficial/Capricoin",
"maintainer": "Tibor Arpas <tibor.arpas@infinit.sk>",
"curve_name": "secp256k1",
"address_type": 28,
"address_type_p2sh": 35,
"maxfee_kb": 2000000,
"minfee_kb": 1000,
"signed_message_header": "Capricoin Signed Message:\n",
"hash_genesis_block": "000007abc632537def4bce0806ca008150b19363f887ad0cb5cf582804f8bc3d",
"xprv_magic": 76066276,
"xpub_magic": 76067358,
"xpub_magic_segwit_p2sh": 77429938,
"xpub_magic_segwit_native": 78792518,
"bech32_prefix": null,
"cashaddr_prefix": null,
"slip44": 289,
"segwit": false,
"decred": false,
"fork_id": null,
"force_bip143": false,
"bip115": false,
"default_fee_b": {
"Low": 1,
"Economy": 7,
"Normal": 14,
"High": 20
},
"dust_limit": 546,
"blocktime_seconds": 60,
"uri_prefix": "capricoin",
"min_address_length": 27,
"max_address_length": 34,
"bitcore": [],
"blockbook": [
"https://blockbook.capricoin.org",
"https://blockbook2.capricoin.org",
"https://blockbook3.capricoin.org",
"https://blockbook4.capricoin.org"
],
"cooldown": 100
}

BIN
defs/bitcoin/capricoin.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

View File

@ -4,6 +4,7 @@
"bitcoin:BCH": true,
"bitcoin:BTC": true,
"bitcoin:BTG": true,
"bitcoin:CPC": true,
"bitcoin:DASH": true,
"bitcoin:DOGE": true,
"bitcoin:LTC": true,
@ -53,6 +54,7 @@
"bitcoin:BTC": "1.5.2",
"bitcoin:BTCP": "1.6.2",
"bitcoin:BTG": "1.6.2",
"bitcoin:CPC": "soon",
"bitcoin:DASH": "1.5.2",
"bitcoin:DCR": "1.6.2",
"bitcoin:DGB": "1.6.0",
@ -930,6 +932,7 @@
"bitcoin:BTC": "2.0.5",
"bitcoin:BTCP": "2.0.7",
"bitcoin:BTG": "2.0.7",
"bitcoin:CPC": "soon",
"bitcoin:DASH": "2.0.5",
"bitcoin:DCR": "2.0.8",
"bitcoin:DGB": "2.0.5",

View File

@ -130,6 +130,7 @@ message SignTx {
optional uint32 expiry = 6; // only for Decred and Zcash
optional bool overwintered = 7; // only for Zcash
optional uint32 version_group_id = 8; // only for Zcash, nVersionGroupId when overwintered is set
optional uint32 timestamp = 9; // only for Capricoin, transaction timestamp
}
/**
@ -194,6 +195,7 @@ message TxAck {
optional uint32 expiry = 10; // only for Decred and Zcash
optional bool overwintered = 11; // only for Zcash
optional uint32 version_group_id = 12; // only for Zcash, nVersionGroupId when overwintered is set
optional uint32 timestamp = 13; // only for Capricoin, transaction timestamp
/**
* Structure representing transaction input
*/