-
Notifications
You must be signed in to change notification settings - Fork 58
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The existing wallet testdata is incomplete. Whatever generated it, ap…
…parently didn't do a very good job of it, and it didn't detect database entries that weren't among the testdata for instance.
- Loading branch information
1 parent
a006dff
commit 15afbbe
Showing
21 changed files
with
5,126 additions
and
596 deletions.
There are no files selected for viewing
131 changes: 112 additions & 19 deletions
131
electrumsv/tests/data/wallets/17_mainnet_hardware_digitalbitbox_testdata.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,118 @@ | ||
{ | ||
"expected_labels": { | ||
"268feb1bb9e81ca827637b96ee8bec1e7ea214bb2c789de76ddcd26fe8ca22b7": "return funding", | ||
"f42d42ac67a16779999af19c0cca8b2181008b7d854a15e700573a08e95b0e56": "return test funding" | ||
}, | ||
"settled_tx_hashes": [ | ||
"268feb1bb9e81ca827637b96ee8bec1e7ea214bb2c789de76ddcd26fe8ca22b7", | ||
"3287d9a7bd4819c4e87c0bc9edd6ff08059abf62a741b2e4cef59bfbce96b949", | ||
"68226661e5eb439212c0ed6bc66171e64e7726fd28483d4a61b96955817ee2f0", | ||
"7482bb7066b62d2a6a5e04ab105b3b21b977c681743de66d64b689421c065529", | ||
"8fc80b5c2b6c48a4d0cec3ec19d129dcdb1372bf26e843e5340cb9a6c5c34c8c", | ||
"dbe05968d9f57d25940c2e5df4a907525708653dfb70bff9f79f23a59f788981", | ||
"f42d42ac67a16779999af19c0cca8b2181008b7d854a15e700573a08e95b0e56", | ||
"fb5e1aafa8a9904c8350c1aaf1cd5a8879024c7707f6c8e3078bd02063c6d9f0" | ||
"account_descriptions": [ | ||
[ | ||
1, | ||
"268feb1bb9e81ca827637b96ee8bec1e7ea214bb2c789de76ddcd26fe8ca22b7", | ||
"return funding" | ||
], | ||
[ | ||
1, | ||
"f42d42ac67a16779999af19c0cca8b2181008b7d854a15e700573a08e95b0e56", | ||
"return test funding" | ||
] | ||
], | ||
"derivation_datas": [ | ||
"derivation_datas": { | ||
"1": [ | ||
[ | ||
[ | ||
"derivation", | ||
"m/44'/0'/0'" | ||
], | ||
[ | ||
"hw_type", | ||
"digitalbitbox" | ||
], | ||
[ | ||
"label", | ||
"my label" | ||
], | ||
[ | ||
"xpub", | ||
"xpub6CEke2P55YdmGL35MdFi8krgZ8G92qppTVGdTffacBpPhnM7QEFNjcSBGovTSjagudprG1exoxFrtynF6pvffnSYR3Bwde7ud1ACJjRXDJq" | ||
] | ||
] | ||
] | ||
}, | ||
"transactions": [ | ||
{ | ||
"transaction_id": "268feb1bb9e81ca827637b96ee8bec1e7ea214bb2c789de76ddcd26fe8ca22b7", | ||
"flags": "settled", | ||
"block_hash": null, | ||
"block_height": 574995, | ||
"block_position": 23, | ||
"fee_value": 192, | ||
"version": 1, | ||
"locktime": 574994 | ||
}, | ||
{ | ||
"transaction_id": "3287d9a7bd4819c4e87c0bc9edd6ff08059abf62a741b2e4cef59bfbce96b949", | ||
"flags": "settled", | ||
"block_hash": null, | ||
"block_height": 579834, | ||
"block_position": 241, | ||
"fee_value": 192, | ||
"version": 1, | ||
"locktime": 579833 | ||
}, | ||
{ | ||
"transaction_id": "68226661e5eb439212c0ed6bc66171e64e7726fd28483d4a61b96955817ee2f0", | ||
"flags": "settled", | ||
"block_hash": null, | ||
"block_height": 579834, | ||
"block_position": 11, | ||
"fee_value": 226, | ||
"version": 1, | ||
"locktime": 579833 | ||
}, | ||
{ | ||
"transaction_id": "7482bb7066b62d2a6a5e04ab105b3b21b977c681743de66d64b689421c065529", | ||
"flags": "settled", | ||
"block_hash": null, | ||
"block_height": 579835, | ||
"block_position": 48, | ||
"fee_value": null, | ||
"version": 1, | ||
"locktime": 579834 | ||
}, | ||
{ | ||
"transaction_id": "8fc80b5c2b6c48a4d0cec3ec19d129dcdb1372bf26e843e5340cb9a6c5c34c8c", | ||
"flags": "settled", | ||
"block_hash": null, | ||
"block_height": 574422, | ||
"block_position": 18, | ||
"fee_value": 258, | ||
"version": 1, | ||
"locktime": 574421 | ||
}, | ||
{ | ||
"transaction_id": "dbe05968d9f57d25940c2e5df4a907525708653dfb70bff9f79f23a59f788981", | ||
"flags": "settled", | ||
"block_hash": null, | ||
"block_height": 574995, | ||
"block_position": 4, | ||
"fee_value": 258, | ||
"version": 1, | ||
"locktime": 574994 | ||
}, | ||
{ | ||
"transaction_id": "f42d42ac67a16779999af19c0cca8b2181008b7d854a15e700573a08e95b0e56", | ||
"flags": "settled", | ||
"block_hash": null, | ||
"block_height": 574422, | ||
"block_position": 62, | ||
"fee_value": 192, | ||
"version": 1, | ||
"locktime": 574421 | ||
}, | ||
{ | ||
"derivation": "m/44'/0'/0'", | ||
"hw_type": "digitalbitbox", | ||
"label": "my label", | ||
"xpub": "xpub6CEke2P55YdmGL35MdFi8krgZ8G92qppTVGdTffacBpPhnM7QEFNjcSBGovTSjagudprG1exoxFrtynF6pvffnSYR3Bwde7ud1ACJjRXDJq", | ||
"cfg": null | ||
"transaction_id": "fb5e1aafa8a9904c8350c1aaf1cd5a8879024c7707f6c8e3078bd02063c6d9f0", | ||
"flags": "settled", | ||
"block_hash": null, | ||
"block_height": 579835, | ||
"block_position": 10, | ||
"fee_value": null, | ||
"version": 1, | ||
"locktime": 579834 | ||
} | ||
] | ||
} |
107 changes: 92 additions & 15 deletions
107
electrumsv/tests/data/wallets/17_mainnet_hardware_keepkey_testdata.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,98 @@ | ||
{ | ||
"expected_labels": { | ||
"44e14e2eef1482bc803d1a32d9348b4914922990dbb730fe70b8a40753aeea03": "Return funding to 'mainnet_cash'", | ||
"eeb535883c1bb2ed39295788eb9aca03623c97fa45ca4473175ff1bdca95201c": "return funding" | ||
}, | ||
"settled_tx_hashes": [ | ||
"06dfbe445332eeb619f13536eb0a0aeea49c5dfcaa2bb95804280a61678c4fd9", | ||
"3c4c7cb854ed4dd36a87c5e6c34431ebcae61a6f293a833f4ffa6f2f7c7141ff", | ||
"c647772ba6e767ec45b643c16d154b85c43d008bafad84384f16096e13617762", | ||
"eeb535883c1bb2ed39295788eb9aca03623c97fa45ca4473175ff1bdca95201c" | ||
"account_descriptions": [ | ||
[ | ||
1, | ||
"44e14e2eef1482bc803d1a32d9348b4914922990dbb730fe70b8a40753aeea03", | ||
"Return funding to 'mainnet_cash'" | ||
], | ||
[ | ||
1, | ||
"eeb535883c1bb2ed39295788eb9aca03623c97fa45ca4473175ff1bdca95201c", | ||
"return funding" | ||
] | ||
], | ||
"derivation_datas": [ | ||
"derivation_datas": { | ||
"1": [ | ||
[ | ||
[ | ||
"derivation", | ||
"m/44'/0'/0'" | ||
], | ||
[ | ||
"hw_type", | ||
"keepkey" | ||
], | ||
[ | ||
"label", | ||
"" | ||
], | ||
[ | ||
"xpub", | ||
"xpub6CuhvA6VGL9YP9A8VWUiuRv4f5qtLQ3uWUSLxnZ8i4qbLQ7F12jVisqkNtNZLKT6qm2QUgSG9Zjy7B4SW1Nnp6Ga98GbEcX7QsDGrK6WADS" | ||
] | ||
] | ||
] | ||
}, | ||
"transactions": [ | ||
{ | ||
"transaction_id": "06dfbe445332eeb619f13536eb0a0aeea49c5dfcaa2bb95804280a61678c4fd9", | ||
"flags": "settled", | ||
"block_hash": null, | ||
"block_height": 574424, | ||
"block_position": 6, | ||
"fee_value": null, | ||
"version": 1, | ||
"locktime": 574423 | ||
}, | ||
{ | ||
"transaction_id": "260aea84bce29a4d5dc3c40a49521fe8afce357d133af9b7704d013998a95b7a", | ||
"flags": "cleared", | ||
"block_hash": null, | ||
"block_height": 0, | ||
"block_position": null, | ||
"fee_value": 226, | ||
"version": 1, | ||
"locktime": 591759 | ||
}, | ||
{ | ||
"transaction_id": "3c4c7cb854ed4dd36a87c5e6c34431ebcae61a6f293a833f4ffa6f2f7c7141ff", | ||
"flags": "settled", | ||
"block_hash": null, | ||
"block_height": 579835, | ||
"block_position": 9, | ||
"fee_value": null, | ||
"version": 1, | ||
"locktime": 579834 | ||
}, | ||
{ | ||
"transaction_id": "44e14e2eef1482bc803d1a32d9348b4914922990dbb730fe70b8a40753aeea03", | ||
"flags": "cleared", | ||
"block_hash": null, | ||
"block_height": -1, | ||
"block_position": null, | ||
"fee_value": 192, | ||
"version": 1, | ||
"locktime": 591759 | ||
}, | ||
{ | ||
"transaction_id": "c647772ba6e767ec45b643c16d154b85c43d008bafad84384f16096e13617762", | ||
"flags": "settled", | ||
"block_hash": null, | ||
"block_height": 579837, | ||
"block_position": 300, | ||
"fee_value": 192, | ||
"version": 1, | ||
"locktime": 579835 | ||
}, | ||
{ | ||
"derivation": "m/44'/0'/0'", | ||
"hw_type": "keepkey", | ||
"label": "", | ||
"xpub": "xpub6CuhvA6VGL9YP9A8VWUiuRv4f5qtLQ3uWUSLxnZ8i4qbLQ7F12jVisqkNtNZLKT6qm2QUgSG9Zjy7B4SW1Nnp6Ga98GbEcX7QsDGrK6WADS", | ||
"cfg": null | ||
"transaction_id": "eeb535883c1bb2ed39295788eb9aca03623c97fa45ca4473175ff1bdca95201c", | ||
"flags": "settled", | ||
"block_hash": null, | ||
"block_height": 574424, | ||
"block_position": 21, | ||
"fee_value": null, | ||
"version": 1, | ||
"locktime": 574423 | ||
} | ||
] | ||
} |
137 changes: 115 additions & 22 deletions
137
electrumsv/tests/data/wallets/17_mainnet_hardware_ledgerblue_testdata.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,120 @@ | ||
{ | ||
"expected_labels": { | ||
"a466730a5ad50a8032ab3646ce2982cf8d95914ae15d5297981bd610e3cedb6b": "return test funding" | ||
}, | ||
"settled_tx_hashes": [ | ||
"0143403dee045668fb7f6713d11212e344149c5e10667096765d54501ebe01f8", | ||
"160bc5677fbe14117af8ca951d96e14c6aec8c071d16d924a78f1d3562fccba6", | ||
"8ba663d90ea6a2879fbb6cc4a8b05c8bb2ab3fd6e0619947a02a9282e98e819b", | ||
"a466730a5ad50a8032ab3646ce2982cf8d95914ae15d5297981bd610e3cedb6b", | ||
"b921094821a69fc02bb63fa9b6247b2500093cbdc3fda765b57f58fd00daa530", | ||
"bb2f97890e0747fe45c42668c888f95f15e77d606b38e6ced1ef1c8137642969", | ||
"ca20568a58651968ccdc13b5995ff789480bf498977417c03495a17be1afed84", | ||
"ce1c6eec6beb3aad6fdd731bce723a3ce154981c9dd1809a22882348bdb529ae" | ||
"account_descriptions": [ | ||
[ | ||
1, | ||
"a466730a5ad50a8032ab3646ce2982cf8d95914ae15d5297981bd610e3cedb6b", | ||
"return test funding" | ||
] | ||
], | ||
"derivation_datas": [ | ||
{ | ||
"derivation": "m/44'/145'/0'", | ||
"hw_type": "ledger", | ||
"label": "", | ||
"xpub": "xpub6CxAhMLHyWmvqSatnAmgXSWfVw76NcnbrGBLA4Dx95xnZDNVWAr4N5jhRyVNGW3ijgNyC1FjSzzvVx3hqdz8CsCACcxtMoQXHNaNx957XVk", | ||
"cfg": { | ||
"mode": 0, | ||
"pair": "" | ||
} | ||
"derivation_datas": { | ||
"1": [ | ||
[ | ||
[ | ||
"cfg", | ||
{ | ||
"mode": 0, | ||
"pair": "" | ||
} | ||
], | ||
[ | ||
"derivation", | ||
"m/44'/145'/0'" | ||
], | ||
[ | ||
"hw_type", | ||
"ledger" | ||
], | ||
[ | ||
"label", | ||
"" | ||
], | ||
[ | ||
"xpub", | ||
"xpub6CxAhMLHyWmvqSatnAmgXSWfVw76NcnbrGBLA4Dx95xnZDNVWAr4N5jhRyVNGW3ijgNyC1FjSzzvVx3hqdz8CsCACcxtMoQXHNaNx957XVk" | ||
] | ||
] | ||
] | ||
}, | ||
"transactions": [ | ||
{ | ||
"transaction_id": "0143403dee045668fb7f6713d11212e344149c5e10667096765d54501ebe01f8", | ||
"flags": "settled", | ||
"block_hash": null, | ||
"block_height": 579842, | ||
"block_position": 371, | ||
"fee_value": 192, | ||
"version": 1, | ||
"locktime": 579841 | ||
}, | ||
{ | ||
"transaction_id": "160bc5677fbe14117af8ca951d96e14c6aec8c071d16d924a78f1d3562fccba6", | ||
"flags": "settled", | ||
"block_hash": null, | ||
"block_height": 567142, | ||
"block_position": 61, | ||
"fee_value": null, | ||
"version": 1, | ||
"locktime": 567049 | ||
}, | ||
{ | ||
"transaction_id": "8ba663d90ea6a2879fbb6cc4a8b05c8bb2ab3fd6e0619947a02a9282e98e819b", | ||
"flags": "settled", | ||
"block_hash": null, | ||
"block_height": 568713, | ||
"block_position": 10, | ||
"fee_value": null, | ||
"version": 1, | ||
"locktime": 568712 | ||
}, | ||
{ | ||
"transaction_id": "a466730a5ad50a8032ab3646ce2982cf8d95914ae15d5297981bd610e3cedb6b", | ||
"flags": "settled", | ||
"block_hash": null, | ||
"block_height": 574422, | ||
"block_position": 63, | ||
"fee_value": 192, | ||
"version": 1, | ||
"locktime": 574421 | ||
}, | ||
{ | ||
"transaction_id": "b921094821a69fc02bb63fa9b6247b2500093cbdc3fda765b57f58fd00daa530", | ||
"flags": "settled", | ||
"block_hash": null, | ||
"block_height": 579842, | ||
"block_position": 28, | ||
"fee_value": 226, | ||
"version": 1, | ||
"locktime": 579841 | ||
}, | ||
{ | ||
"transaction_id": "bb2f97890e0747fe45c42668c888f95f15e77d606b38e6ced1ef1c8137642969", | ||
"flags": "settled", | ||
"block_hash": null, | ||
"block_height": 568713, | ||
"block_position": 8, | ||
"fee_value": null, | ||
"version": 1, | ||
"locktime": 568712 | ||
}, | ||
{ | ||
"transaction_id": "ca20568a58651968ccdc13b5995ff789480bf498977417c03495a17be1afed84", | ||
"flags": "settled", | ||
"block_hash": null, | ||
"block_height": 567142, | ||
"block_position": 60, | ||
"fee_value": null, | ||
"version": 1, | ||
"locktime": 567049 | ||
}, | ||
{ | ||
"transaction_id": "ce1c6eec6beb3aad6fdd731bce723a3ce154981c9dd1809a22882348bdb529ae", | ||
"flags": "settled", | ||
"block_hash": null, | ||
"block_height": 574421, | ||
"block_position": 35, | ||
"fee_value": 258, | ||
"version": 1, | ||
"locktime": 574420 | ||
} | ||
] | ||
} |
Oops, something went wrong.