mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-22 15:38:11 +00:00
chore(common/defs): replace consensus_branch_id with overwintered bool flag
[no changelog]
This commit is contained in:
parent
1ec62e9c86
commit
95daa2fda3
@ -37,7 +37,7 @@
|
|||||||
"max_address_length": 34,
|
"max_address_length": 34,
|
||||||
"negative_fee": false,
|
"negative_fee": false,
|
||||||
"cooldown": 100,
|
"cooldown": 100,
|
||||||
"consensus_branch_id": null,
|
"overwintered": false,
|
||||||
"extra_data": false,
|
"extra_data": false,
|
||||||
"timestamp": false,
|
"timestamp": false,
|
||||||
"confidential_assets": null
|
"confidential_assets": null
|
||||||
|
@ -37,7 +37,7 @@
|
|||||||
"max_address_length": 34,
|
"max_address_length": 34,
|
||||||
"negative_fee": false,
|
"negative_fee": false,
|
||||||
"cooldown": 100,
|
"cooldown": 100,
|
||||||
"consensus_branch_id": null,
|
"overwintered": false,
|
||||||
"extra_data": false,
|
"extra_data": false,
|
||||||
"timestamp": false,
|
"timestamp": false,
|
||||||
"confidential_assets": null
|
"confidential_assets": null
|
||||||
|
@ -40,7 +40,7 @@
|
|||||||
"max_address_length": 34,
|
"max_address_length": 34,
|
||||||
"negative_fee": false,
|
"negative_fee": false,
|
||||||
"cooldown": 100,
|
"cooldown": 100,
|
||||||
"consensus_branch_id": null,
|
"overwintered": false,
|
||||||
"extra_data": false,
|
"extra_data": false,
|
||||||
"timestamp": false,
|
"timestamp": false,
|
||||||
"confidential_assets": null
|
"confidential_assets": null
|
||||||
|
@ -37,7 +37,7 @@
|
|||||||
"max_address_length": 34,
|
"max_address_length": 34,
|
||||||
"negative_fee": false,
|
"negative_fee": false,
|
||||||
"cooldown": 100,
|
"cooldown": 100,
|
||||||
"consensus_branch_id": null,
|
"overwintered": false,
|
||||||
"extra_data": false,
|
"extra_data": false,
|
||||||
"timestamp": false,
|
"timestamp": false,
|
||||||
"confidential_assets": null
|
"confidential_assets": null
|
||||||
|
@ -40,7 +40,7 @@
|
|||||||
"max_address_length": 34,
|
"max_address_length": 34,
|
||||||
"negative_fee": false,
|
"negative_fee": false,
|
||||||
"cooldown": 100,
|
"cooldown": 100,
|
||||||
"consensus_branch_id": null,
|
"overwintered": false,
|
||||||
"extra_data": false,
|
"extra_data": false,
|
||||||
"timestamp": false,
|
"timestamp": false,
|
||||||
"confidential_assets": null
|
"confidential_assets": null
|
||||||
|
@ -40,7 +40,7 @@
|
|||||||
"max_address_length": 34,
|
"max_address_length": 34,
|
||||||
"negative_fee": false,
|
"negative_fee": false,
|
||||||
"cooldown": 100,
|
"cooldown": 100,
|
||||||
"consensus_branch_id": null,
|
"overwintered": false,
|
||||||
"extra_data": false,
|
"extra_data": false,
|
||||||
"timestamp": false,
|
"timestamp": false,
|
||||||
"confidential_assets": null
|
"confidential_assets": null
|
||||||
|
@ -40,7 +40,7 @@
|
|||||||
"max_address_length": 34,
|
"max_address_length": 34,
|
||||||
"negative_fee": false,
|
"negative_fee": false,
|
||||||
"cooldown": 100,
|
"cooldown": 100,
|
||||||
"consensus_branch_id": null,
|
"overwintered": false,
|
||||||
"extra_data": false,
|
"extra_data": false,
|
||||||
"timestamp": false,
|
"timestamp": false,
|
||||||
"confidential_assets": null
|
"confidential_assets": null
|
||||||
|
@ -37,7 +37,7 @@
|
|||||||
"max_address_length": 34,
|
"max_address_length": 34,
|
||||||
"negative_fee": false,
|
"negative_fee": false,
|
||||||
"cooldown": 100,
|
"cooldown": 100,
|
||||||
"consensus_branch_id": null,
|
"overwintered": false,
|
||||||
"extra_data": false,
|
"extra_data": false,
|
||||||
"timestamp": false,
|
"timestamp": false,
|
||||||
"confidential_assets": null
|
"confidential_assets": null
|
||||||
|
@ -37,7 +37,7 @@
|
|||||||
"max_address_length": 34,
|
"max_address_length": 34,
|
||||||
"negative_fee": false,
|
"negative_fee": false,
|
||||||
"cooldown": 100,
|
"cooldown": 100,
|
||||||
"consensus_branch_id": null,
|
"overwintered": false,
|
||||||
"extra_data": false,
|
"extra_data": false,
|
||||||
"timestamp": false,
|
"timestamp": false,
|
||||||
"confidential_assets": null
|
"confidential_assets": null
|
||||||
|
@ -37,7 +37,7 @@
|
|||||||
"max_address_length": 34,
|
"max_address_length": 34,
|
||||||
"negative_fee": false,
|
"negative_fee": false,
|
||||||
"cooldown": 100,
|
"cooldown": 100,
|
||||||
"consensus_branch_id": null,
|
"overwintered": false,
|
||||||
"extra_data": false,
|
"extra_data": false,
|
||||||
"timestamp": false,
|
"timestamp": false,
|
||||||
"confidential_assets": null
|
"confidential_assets": null
|
||||||
|
@ -37,7 +37,7 @@
|
|||||||
"max_address_length": 95,
|
"max_address_length": 95,
|
||||||
"negative_fee": false,
|
"negative_fee": false,
|
||||||
"cooldown": 100,
|
"cooldown": 100,
|
||||||
"consensus_branch_id": null,
|
"overwintered": false,
|
||||||
"extra_data": false,
|
"extra_data": false,
|
||||||
"timestamp": false,
|
"timestamp": false,
|
||||||
"confidential_assets": null
|
"confidential_assets": null
|
||||||
|
@ -37,7 +37,7 @@
|
|||||||
"max_address_length": 34,
|
"max_address_length": 34,
|
||||||
"negative_fee": false,
|
"negative_fee": false,
|
||||||
"cooldown": 100,
|
"cooldown": 100,
|
||||||
"consensus_branch_id": null,
|
"overwintered": false,
|
||||||
"extra_data": false,
|
"extra_data": false,
|
||||||
"timestamp": false,
|
"timestamp": false,
|
||||||
"confidential_assets": null
|
"confidential_assets": null
|
||||||
|
@ -37,7 +37,7 @@
|
|||||||
"max_address_length": 40,
|
"max_address_length": 40,
|
||||||
"negative_fee": false,
|
"negative_fee": false,
|
||||||
"cooldown": 100,
|
"cooldown": 100,
|
||||||
"consensus_branch_id": null,
|
"overwintered": false,
|
||||||
"extra_data": false,
|
"extra_data": false,
|
||||||
"timestamp": false,
|
"timestamp": false,
|
||||||
"confidential_assets": null
|
"confidential_assets": null
|
||||||
|
@ -37,7 +37,7 @@
|
|||||||
"max_address_length": 34,
|
"max_address_length": 34,
|
||||||
"negative_fee": false,
|
"negative_fee": false,
|
||||||
"cooldown": 100,
|
"cooldown": 100,
|
||||||
"consensus_branch_id": null,
|
"overwintered": false,
|
||||||
"extra_data": true,
|
"extra_data": true,
|
||||||
"timestamp": false,
|
"timestamp": false,
|
||||||
"confidential_assets": null
|
"confidential_assets": null
|
||||||
|
@ -37,7 +37,7 @@
|
|||||||
"max_address_length": 34,
|
"max_address_length": 34,
|
||||||
"negative_fee": false,
|
"negative_fee": false,
|
||||||
"cooldown": 100,
|
"cooldown": 100,
|
||||||
"consensus_branch_id": null,
|
"overwintered": false,
|
||||||
"extra_data": true,
|
"extra_data": true,
|
||||||
"timestamp": false,
|
"timestamp": false,
|
||||||
"confidential_assets": null
|
"confidential_assets": null
|
||||||
|
@ -37,7 +37,7 @@
|
|||||||
"max_address_length": 35,
|
"max_address_length": 35,
|
||||||
"negative_fee": false,
|
"negative_fee": false,
|
||||||
"cooldown": 100,
|
"cooldown": 100,
|
||||||
"consensus_branch_id": null,
|
"overwintered": false,
|
||||||
"extra_data": false,
|
"extra_data": false,
|
||||||
"timestamp": false,
|
"timestamp": false,
|
||||||
"confidential_assets": null
|
"confidential_assets": null
|
||||||
|
@ -37,7 +37,7 @@
|
|||||||
"max_address_length": 35,
|
"max_address_length": 35,
|
||||||
"negative_fee": false,
|
"negative_fee": false,
|
||||||
"cooldown": 100,
|
"cooldown": 100,
|
||||||
"consensus_branch_id": null,
|
"overwintered": false,
|
||||||
"extra_data": false,
|
"extra_data": false,
|
||||||
"timestamp": false,
|
"timestamp": false,
|
||||||
"confidential_assets": null
|
"confidential_assets": null
|
||||||
|
@ -40,7 +40,7 @@
|
|||||||
"max_address_length": 34,
|
"max_address_length": 34,
|
||||||
"negative_fee": false,
|
"negative_fee": false,
|
||||||
"cooldown": 100,
|
"cooldown": 100,
|
||||||
"consensus_branch_id": null,
|
"overwintered": false,
|
||||||
"extra_data": false,
|
"extra_data": false,
|
||||||
"timestamp": false,
|
"timestamp": false,
|
||||||
"confidential_assets": null
|
"confidential_assets": null
|
||||||
|
@ -37,7 +37,7 @@
|
|||||||
"max_address_length": 34,
|
"max_address_length": 34,
|
||||||
"negative_fee": false,
|
"negative_fee": false,
|
||||||
"cooldown": 100,
|
"cooldown": 100,
|
||||||
"consensus_branch_id": null,
|
"overwintered": false,
|
||||||
"extra_data": false,
|
"extra_data": false,
|
||||||
"timestamp": false,
|
"timestamp": false,
|
||||||
"confidential_assets": null
|
"confidential_assets": null
|
||||||
|
@ -37,7 +37,7 @@
|
|||||||
"max_address_length": 34,
|
"max_address_length": 34,
|
||||||
"negative_fee": false,
|
"negative_fee": false,
|
||||||
"cooldown": 100,
|
"cooldown": 100,
|
||||||
"consensus_branch_id": null,
|
"overwintered": false,
|
||||||
"extra_data": false,
|
"extra_data": false,
|
||||||
"timestamp": false,
|
"timestamp": false,
|
||||||
"confidential_assets": {
|
"confidential_assets": {
|
||||||
|
@ -37,7 +37,7 @@
|
|||||||
"max_address_length": 34,
|
"max_address_length": 34,
|
||||||
"negative_fee": false,
|
"negative_fee": false,
|
||||||
"cooldown": 100,
|
"cooldown": 100,
|
||||||
"consensus_branch_id": null,
|
"overwintered": false,
|
||||||
"extra_data": false,
|
"extra_data": false,
|
||||||
"timestamp": false,
|
"timestamp": false,
|
||||||
"confidential_assets": null
|
"confidential_assets": null
|
||||||
|
@ -40,7 +40,7 @@
|
|||||||
"max_address_length": 34,
|
"max_address_length": 34,
|
||||||
"negative_fee": false,
|
"negative_fee": false,
|
||||||
"cooldown": 100,
|
"cooldown": 100,
|
||||||
"consensus_branch_id": null,
|
"overwintered": false,
|
||||||
"extra_data": true,
|
"extra_data": true,
|
||||||
"timestamp": false,
|
"timestamp": false,
|
||||||
"confidential_assets": null
|
"confidential_assets": null
|
||||||
|
@ -40,7 +40,7 @@
|
|||||||
"max_address_length": 35,
|
"max_address_length": 35,
|
||||||
"negative_fee": false,
|
"negative_fee": false,
|
||||||
"cooldown": 100,
|
"cooldown": 100,
|
||||||
"consensus_branch_id": null,
|
"overwintered": false,
|
||||||
"extra_data": true,
|
"extra_data": true,
|
||||||
"timestamp": false,
|
"timestamp": false,
|
||||||
"confidential_assets": null
|
"confidential_assets": null
|
||||||
|
@ -37,7 +37,7 @@
|
|||||||
"max_address_length": 34,
|
"max_address_length": 34,
|
||||||
"negative_fee": false,
|
"negative_fee": false,
|
||||||
"cooldown": 100,
|
"cooldown": 100,
|
||||||
"consensus_branch_id": null,
|
"overwintered": false,
|
||||||
"extra_data": true,
|
"extra_data": true,
|
||||||
"timestamp": false,
|
"timestamp": false,
|
||||||
"confidential_assets": null
|
"confidential_assets": null
|
||||||
|
@ -40,7 +40,7 @@
|
|||||||
"max_address_length": 34,
|
"max_address_length": 34,
|
||||||
"negative_fee": false,
|
"negative_fee": false,
|
||||||
"cooldown": 100,
|
"cooldown": 100,
|
||||||
"consensus_branch_id": null,
|
"overwintered": false,
|
||||||
"extra_data": false,
|
"extra_data": false,
|
||||||
"timestamp": false,
|
"timestamp": false,
|
||||||
"confidential_assets": null
|
"confidential_assets": null
|
||||||
|
@ -37,7 +37,7 @@
|
|||||||
"max_address_length": 34,
|
"max_address_length": 34,
|
||||||
"negative_fee": false,
|
"negative_fee": false,
|
||||||
"cooldown": 100,
|
"cooldown": 100,
|
||||||
"consensus_branch_id": null,
|
"overwintered": false,
|
||||||
"extra_data": false,
|
"extra_data": false,
|
||||||
"timestamp": false,
|
"timestamp": false,
|
||||||
"confidential_assets": null
|
"confidential_assets": null
|
||||||
|
@ -37,7 +37,7 @@
|
|||||||
"max_address_length": 34,
|
"max_address_length": 34,
|
||||||
"negative_fee": false,
|
"negative_fee": false,
|
||||||
"cooldown": 100,
|
"cooldown": 100,
|
||||||
"consensus_branch_id": null,
|
"overwintered": false,
|
||||||
"extra_data": false,
|
"extra_data": false,
|
||||||
"timestamp": false,
|
"timestamp": false,
|
||||||
"confidential_assets": null
|
"confidential_assets": null
|
||||||
|
@ -37,12 +37,7 @@
|
|||||||
"max_address_length": 34,
|
"max_address_length": 34,
|
||||||
"negative_fee": true,
|
"negative_fee": true,
|
||||||
"cooldown": 100,
|
"cooldown": 100,
|
||||||
"consensus_branch_id": {
|
"overwintered": true,
|
||||||
"1": 0,
|
|
||||||
"2": 0,
|
|
||||||
"3": 1537743641,
|
|
||||||
"4": 1991772603
|
|
||||||
},
|
|
||||||
"extra_data": true,
|
"extra_data": true,
|
||||||
"timestamp": false,
|
"timestamp": false,
|
||||||
"confidential_assets": null
|
"confidential_assets": null
|
||||||
|
@ -37,12 +37,7 @@
|
|||||||
"max_address_length": 95,
|
"max_address_length": 95,
|
||||||
"negative_fee": false,
|
"negative_fee": false,
|
||||||
"cooldown": 100,
|
"cooldown": 100,
|
||||||
"consensus_branch_id": {
|
"overwintered": true,
|
||||||
"1": 0,
|
|
||||||
"2": 0,
|
|
||||||
"3": 1537743641,
|
|
||||||
"4": 733220448
|
|
||||||
},
|
|
||||||
"extra_data": true,
|
"extra_data": true,
|
||||||
"timestamp": false,
|
"timestamp": false,
|
||||||
"confidential_assets": null
|
"confidential_assets": null
|
||||||
|
@ -37,7 +37,7 @@
|
|||||||
"max_address_length": 34,
|
"max_address_length": 34,
|
||||||
"negative_fee": false,
|
"negative_fee": false,
|
||||||
"cooldown": 100,
|
"cooldown": 100,
|
||||||
"consensus_branch_id": null,
|
"overwintered": false,
|
||||||
"extra_data": false,
|
"extra_data": false,
|
||||||
"timestamp": false,
|
"timestamp": false,
|
||||||
"confidential_assets": null
|
"confidential_assets": null
|
||||||
|
@ -37,7 +37,7 @@
|
|||||||
"max_address_length": 34,
|
"max_address_length": 34,
|
||||||
"negative_fee": false,
|
"negative_fee": false,
|
||||||
"cooldown": 100,
|
"cooldown": 100,
|
||||||
"consensus_branch_id": null,
|
"overwintered": false,
|
||||||
"extra_data": false,
|
"extra_data": false,
|
||||||
"timestamp": false,
|
"timestamp": false,
|
||||||
"confidential_assets": null
|
"confidential_assets": null
|
||||||
|
@ -37,7 +37,7 @@
|
|||||||
"max_address_length": 34,
|
"max_address_length": 34,
|
||||||
"negative_fee": false,
|
"negative_fee": false,
|
||||||
"cooldown": 100,
|
"cooldown": 100,
|
||||||
"consensus_branch_id": null,
|
"overwintered": false,
|
||||||
"extra_data": false,
|
"extra_data": false,
|
||||||
"timestamp": false,
|
"timestamp": false,
|
||||||
"confidential_assets": null
|
"confidential_assets": null
|
||||||
|
@ -37,7 +37,7 @@
|
|||||||
"max_address_length": 34,
|
"max_address_length": 34,
|
||||||
"negative_fee": false,
|
"negative_fee": false,
|
||||||
"cooldown": 100,
|
"cooldown": 100,
|
||||||
"consensus_branch_id": null,
|
"overwintered": false,
|
||||||
"extra_data": false,
|
"extra_data": false,
|
||||||
"timestamp": false,
|
"timestamp": false,
|
||||||
"confidential_assets": null
|
"confidential_assets": null
|
||||||
|
@ -37,7 +37,7 @@
|
|||||||
"max_address_length": 34,
|
"max_address_length": 34,
|
||||||
"negative_fee": false,
|
"negative_fee": false,
|
||||||
"cooldown": 100,
|
"cooldown": 100,
|
||||||
"consensus_branch_id": null,
|
"overwintered": false,
|
||||||
"extra_data": false,
|
"extra_data": false,
|
||||||
"timestamp": false,
|
"timestamp": false,
|
||||||
"confidential_assets": null
|
"confidential_assets": null
|
||||||
|
@ -40,7 +40,7 @@
|
|||||||
"max_address_length": 34,
|
"max_address_length": 34,
|
||||||
"negative_fee": false,
|
"negative_fee": false,
|
||||||
"cooldown": 100,
|
"cooldown": 100,
|
||||||
"consensus_branch_id": null,
|
"overwintered": false,
|
||||||
"extra_data": false,
|
"extra_data": false,
|
||||||
"timestamp": false,
|
"timestamp": false,
|
||||||
"confidential_assets": null
|
"confidential_assets": null
|
||||||
|
@ -37,7 +37,7 @@
|
|||||||
"max_address_length": 34,
|
"max_address_length": 34,
|
||||||
"negative_fee": false,
|
"negative_fee": false,
|
||||||
"cooldown": 100,
|
"cooldown": 100,
|
||||||
"consensus_branch_id": null,
|
"overwintered": false,
|
||||||
"extra_data": false,
|
"extra_data": false,
|
||||||
"timestamp": false,
|
"timestamp": false,
|
||||||
"confidential_assets": null
|
"confidential_assets": null
|
||||||
|
@ -37,7 +37,7 @@
|
|||||||
"max_address_length": 34,
|
"max_address_length": 34,
|
||||||
"negative_fee": false,
|
"negative_fee": false,
|
||||||
"cooldown": 100,
|
"cooldown": 100,
|
||||||
"consensus_branch_id": null,
|
"overwintered": false,
|
||||||
"extra_data": false,
|
"extra_data": false,
|
||||||
"timestamp": true,
|
"timestamp": true,
|
||||||
"confidential_assets": null
|
"confidential_assets": null
|
||||||
|
@ -37,7 +37,7 @@
|
|||||||
"max_address_length": 34,
|
"max_address_length": 34,
|
||||||
"negative_fee": false,
|
"negative_fee": false,
|
||||||
"cooldown": 100,
|
"cooldown": 100,
|
||||||
"consensus_branch_id": null,
|
"overwintered": false,
|
||||||
"extra_data": false,
|
"extra_data": false,
|
||||||
"timestamp": true,
|
"timestamp": true,
|
||||||
"confidential_assets": null
|
"confidential_assets": null
|
||||||
|
@ -37,7 +37,7 @@
|
|||||||
"max_address_length": 35,
|
"max_address_length": 35,
|
||||||
"negative_fee": false,
|
"negative_fee": false,
|
||||||
"cooldown": 100,
|
"cooldown": 100,
|
||||||
"consensus_branch_id": null,
|
"overwintered": false,
|
||||||
"extra_data": false,
|
"extra_data": false,
|
||||||
"timestamp": false,
|
"timestamp": false,
|
||||||
"confidential_assets": null
|
"confidential_assets": null
|
||||||
|
@ -40,7 +40,7 @@
|
|||||||
"max_address_length": 34,
|
"max_address_length": 34,
|
||||||
"negative_fee": false,
|
"negative_fee": false,
|
||||||
"cooldown": 100,
|
"cooldown": 100,
|
||||||
"consensus_branch_id": null,
|
"overwintered": false,
|
||||||
"extra_data": false,
|
"extra_data": false,
|
||||||
"timestamp": false,
|
"timestamp": false,
|
||||||
"confidential_assets": null
|
"confidential_assets": null
|
||||||
|
@ -40,7 +40,7 @@
|
|||||||
"max_address_length": 34,
|
"max_address_length": 34,
|
||||||
"negative_fee": false,
|
"negative_fee": false,
|
||||||
"cooldown": 100,
|
"cooldown": 100,
|
||||||
"consensus_branch_id": null,
|
"overwintered": false,
|
||||||
"extra_data": false,
|
"extra_data": false,
|
||||||
"timestamp": false,
|
"timestamp": false,
|
||||||
"confidential_assets": null
|
"confidential_assets": null
|
||||||
|
@ -37,7 +37,7 @@
|
|||||||
"max_address_length": 34,
|
"max_address_length": 34,
|
||||||
"negative_fee": false,
|
"negative_fee": false,
|
||||||
"cooldown": 100,
|
"cooldown": 100,
|
||||||
"consensus_branch_id": null,
|
"overwintered": false,
|
||||||
"extra_data": false,
|
"extra_data": false,
|
||||||
"timestamp": false,
|
"timestamp": false,
|
||||||
"confidential_assets": null
|
"confidential_assets": null
|
||||||
|
@ -37,7 +37,7 @@
|
|||||||
"max_address_length": 34,
|
"max_address_length": 34,
|
||||||
"negative_fee": false,
|
"negative_fee": false,
|
||||||
"cooldown": 100,
|
"cooldown": 100,
|
||||||
"consensus_branch_id": null,
|
"overwintered": false,
|
||||||
"extra_data": false,
|
"extra_data": false,
|
||||||
"timestamp": false,
|
"timestamp": false,
|
||||||
"confidential_assets": null
|
"confidential_assets": null
|
||||||
|
@ -37,7 +37,7 @@
|
|||||||
"max_address_length": 34,
|
"max_address_length": 34,
|
||||||
"negative_fee": false,
|
"negative_fee": false,
|
||||||
"cooldown": 100,
|
"cooldown": 100,
|
||||||
"consensus_branch_id": null,
|
"overwintered": false,
|
||||||
"extra_data": false,
|
"extra_data": false,
|
||||||
"timestamp": false,
|
"timestamp": false,
|
||||||
"confidential_assets": null
|
"confidential_assets": null
|
||||||
|
@ -40,7 +40,7 @@
|
|||||||
"max_address_length": 34,
|
"max_address_length": 34,
|
||||||
"negative_fee": false,
|
"negative_fee": false,
|
||||||
"cooldown": 100,
|
"cooldown": 100,
|
||||||
"consensus_branch_id": null,
|
"overwintered": false,
|
||||||
"extra_data": false,
|
"extra_data": false,
|
||||||
"timestamp": false,
|
"timestamp": false,
|
||||||
"confidential_assets": null
|
"confidential_assets": null
|
||||||
|
@ -40,7 +40,7 @@
|
|||||||
"max_address_length": 35,
|
"max_address_length": 35,
|
||||||
"negative_fee": false,
|
"negative_fee": false,
|
||||||
"cooldown": 100,
|
"cooldown": 100,
|
||||||
"consensus_branch_id": null,
|
"overwintered": false,
|
||||||
"extra_data": false,
|
"extra_data": false,
|
||||||
"timestamp": false,
|
"timestamp": false,
|
||||||
"confidential_assets": null
|
"confidential_assets": null
|
||||||
|
@ -40,7 +40,7 @@
|
|||||||
"max_address_length": 47,
|
"max_address_length": 47,
|
||||||
"negative_fee": false,
|
"negative_fee": false,
|
||||||
"cooldown": 100,
|
"cooldown": 100,
|
||||||
"consensus_branch_id": null,
|
"overwintered": false,
|
||||||
"extra_data": true,
|
"extra_data": true,
|
||||||
"timestamp": false,
|
"timestamp": false,
|
||||||
"confidential_assets": null
|
"confidential_assets": null
|
||||||
|
@ -40,7 +40,7 @@
|
|||||||
"max_address_length": 34,
|
"max_address_length": 34,
|
||||||
"negative_fee": false,
|
"negative_fee": false,
|
||||||
"cooldown": 100,
|
"cooldown": 100,
|
||||||
"consensus_branch_id": null,
|
"overwintered": false,
|
||||||
"extra_data": false,
|
"extra_data": false,
|
||||||
"timestamp": false,
|
"timestamp": false,
|
||||||
"confidential_assets": null
|
"confidential_assets": null
|
||||||
|
@ -37,7 +37,7 @@
|
|||||||
"max_address_length": 34,
|
"max_address_length": 34,
|
||||||
"negative_fee": false,
|
"negative_fee": false,
|
||||||
"cooldown": 100,
|
"cooldown": 100,
|
||||||
"consensus_branch_id": null,
|
"overwintered": false,
|
||||||
"extra_data": false,
|
"extra_data": false,
|
||||||
"timestamp": false,
|
"timestamp": false,
|
||||||
"confidential_assets": null
|
"confidential_assets": null
|
||||||
|
@ -40,7 +40,7 @@
|
|||||||
"max_address_length": 34,
|
"max_address_length": 34,
|
||||||
"negative_fee": false,
|
"negative_fee": false,
|
||||||
"cooldown": 100,
|
"cooldown": 100,
|
||||||
"consensus_branch_id": null,
|
"overwintered": false,
|
||||||
"extra_data": false,
|
"extra_data": false,
|
||||||
"timestamp": false,
|
"timestamp": false,
|
||||||
"confidential_assets": null
|
"confidential_assets": null
|
||||||
|
@ -37,7 +37,7 @@
|
|||||||
"max_address_length": 34,
|
"max_address_length": 34,
|
||||||
"negative_fee": false,
|
"negative_fee": false,
|
||||||
"cooldown": 100,
|
"cooldown": 100,
|
||||||
"consensus_branch_id": null,
|
"overwintered": false,
|
||||||
"confidential_assets": null,
|
"confidential_assets": null,
|
||||||
"timestamp": true,
|
"timestamp": true,
|
||||||
"extra_data": false
|
"extra_data": false
|
||||||
|
@ -37,7 +37,7 @@
|
|||||||
"max_address_length": 34,
|
"max_address_length": 34,
|
||||||
"negative_fee": false,
|
"negative_fee": false,
|
||||||
"cooldown": 100,
|
"cooldown": 100,
|
||||||
"consensus_branch_id": null,
|
"overwintered": false,
|
||||||
"extra_data": false,
|
"extra_data": false,
|
||||||
"timestamp": false,
|
"timestamp": false,
|
||||||
"confidential_assets": null
|
"confidential_assets": null
|
||||||
|
@ -40,7 +40,7 @@
|
|||||||
"max_address_length": 34,
|
"max_address_length": 34,
|
||||||
"negative_fee": false,
|
"negative_fee": false,
|
||||||
"cooldown": 100,
|
"cooldown": 100,
|
||||||
"consensus_branch_id": null,
|
"overwintered": false,
|
||||||
"extra_data": false,
|
"extra_data": false,
|
||||||
"timestamp": false,
|
"timestamp": false,
|
||||||
"confidential_assets": null
|
"confidential_assets": null
|
||||||
|
@ -40,7 +40,7 @@
|
|||||||
"max_address_length": 36,
|
"max_address_length": 36,
|
||||||
"negative_fee": false,
|
"negative_fee": false,
|
||||||
"cooldown": 100,
|
"cooldown": 100,
|
||||||
"consensus_branch_id": null,
|
"overwintered": false,
|
||||||
"extra_data": false,
|
"extra_data": false,
|
||||||
"timestamp": false,
|
"timestamp": false,
|
||||||
"confidential_assets": null
|
"confidential_assets": null
|
||||||
|
@ -40,7 +40,7 @@
|
|||||||
"max_address_length": 34,
|
"max_address_length": 34,
|
||||||
"negative_fee": false,
|
"negative_fee": false,
|
||||||
"cooldown": 100,
|
"cooldown": 100,
|
||||||
"consensus_branch_id": null,
|
"overwintered": false,
|
||||||
"extra_data": false,
|
"extra_data": false,
|
||||||
"timestamp": false,
|
"timestamp": false,
|
||||||
"confidential_assets": null
|
"confidential_assets": null
|
||||||
|
@ -37,13 +37,7 @@
|
|||||||
"max_address_length": 95,
|
"max_address_length": 95,
|
||||||
"negative_fee": false,
|
"negative_fee": false,
|
||||||
"cooldown": 100,
|
"cooldown": 100,
|
||||||
"consensus_branch_id": {
|
"overwintered": true,
|
||||||
"1": 0,
|
|
||||||
"2": 0,
|
|
||||||
"3": 1537743641,
|
|
||||||
"4": 4122551051,
|
|
||||||
"5": 3268858036
|
|
||||||
},
|
|
||||||
"extra_data": true,
|
"extra_data": true,
|
||||||
"timestamp": false,
|
"timestamp": false,
|
||||||
"confidential_assets": null
|
"confidential_assets": null
|
||||||
|
@ -37,13 +37,7 @@
|
|||||||
"max_address_length": 95,
|
"max_address_length": 95,
|
||||||
"negative_fee": false,
|
"negative_fee": false,
|
||||||
"cooldown": 100,
|
"cooldown": 100,
|
||||||
"consensus_branch_id": {
|
"overwintered": true,
|
||||||
"1": 0,
|
|
||||||
"2": 0,
|
|
||||||
"3": 1537743641,
|
|
||||||
"4": 4122551051,
|
|
||||||
"5": 3268858036
|
|
||||||
},
|
|
||||||
"extra_data": true,
|
"extra_data": true,
|
||||||
"timestamp": false,
|
"timestamp": false,
|
||||||
"confidential_assets": null
|
"confidential_assets": null
|
||||||
|
@ -37,7 +37,7 @@
|
|||||||
"max_address_length": 95,
|
"max_address_length": 95,
|
||||||
"negative_fee": false,
|
"negative_fee": false,
|
||||||
"cooldown": 100,
|
"cooldown": 100,
|
||||||
"consensus_branch_id": null,
|
"overwintered": false,
|
||||||
"extra_data": false,
|
"extra_data": false,
|
||||||
"timestamp": false,
|
"timestamp": false,
|
||||||
"confidential_assets": null
|
"confidential_assets": null
|
||||||
|
@ -136,9 +136,6 @@ btc_names = ["Bitcoin", "Testnet", "Regtest"]
|
|||||||
coins_btc = [c for c in supported_on("trezor2", bitcoin) if c.name in btc_names]
|
coins_btc = [c for c in supported_on("trezor2", bitcoin) if c.name in btc_names]
|
||||||
coins_alt = [c for c in supported_on("trezor2", bitcoin) if c.name not in btc_names]
|
coins_alt = [c for c in supported_on("trezor2", bitcoin) if c.name not in btc_names]
|
||||||
|
|
||||||
for c in coins_btc + coins_alt:
|
|
||||||
c.overwintered = bool(c.consensus_branch_id)
|
|
||||||
|
|
||||||
%>\
|
%>\
|
||||||
def by_name(name: str) -> CoinInfo:
|
def by_name(name: str) -> CoinInfo:
|
||||||
% for coin in coins_btc:
|
% for coin in coins_btc:
|
||||||
|
@ -51,7 +51,7 @@ const CoinInfo coins[COINS_COUNT] = {
|
|||||||
.curve = &${c.curve_name}_info,
|
.curve = &${c.curve_name}_info,
|
||||||
.extra_data = ${c_bool(c.extra_data)},
|
.extra_data = ${c_bool(c.extra_data)},
|
||||||
.timestamp = ${c_bool(c.timestamp)},
|
.timestamp = ${c_bool(c.timestamp)},
|
||||||
.overwintered = ${c_bool(c.consensus_branch_id)},
|
.overwintered = ${c_bool(c.overwintered)},
|
||||||
},
|
},
|
||||||
% endfor
|
% endfor
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user