diff --git a/defs/bitcoin/capricoin.json b/defs/bitcoin/capricoin.json new file mode 100644 index 000000000..2eef0c926 --- /dev/null +++ b/defs/bitcoin/capricoin.json @@ -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 ", + "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 +} diff --git a/defs/bitcoin/capricoin.png b/defs/bitcoin/capricoin.png new file mode 100644 index 000000000..005e907bc Binary files /dev/null and b/defs/bitcoin/capricoin.png differ diff --git a/defs/support.json b/defs/support.json index 91aee0e42..e36366bb9 100644 --- a/defs/support.json +++ b/defs/support.json @@ -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", diff --git a/protob/messages-bitcoin.proto b/protob/messages-bitcoin.proto index 7b1f89f0c..67bd6a73c 100644 --- a/protob/messages-bitcoin.proto +++ b/protob/messages-bitcoin.proto @@ -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 */