@@ -60,19 +60,19 @@ def run_test(self):
60
60
assert_equal (self .nodes [0 ].scantxoutset ("start" , [ "addr(" + addr_P2SH_SEGWIT + ")" , "addr(" + addr_LEGACY + ")" , "combo(" + pubk3 + ")" ])['total_amount' ], Decimal ("0.007" ))
61
61
62
62
self .log .info ("Test extended key derivation." )
63
- assert_equal (self .nodes [0 ].scantxoutset ("start" , [ "combo(tprv8ZgxMBicQKsPd7Uf69XL1XwhmjHopUGep8GuEiJDZmbQz6o58LninorQAfcKZWARbtRtfnLcJ5MQ2AtHcQJCCRUcMRvmDUjyEmNUWwx8UbK/0'/0'/0' )" ])['total_amount' ], Decimal ("0.008" ))
64
- assert_equal (self .nodes [0 ].scantxoutset ("start" , [ "combo(tprv8ZgxMBicQKsPd7Uf69XL1XwhmjHopUGep8GuEiJDZmbQz6o58LninorQAfcKZWARbtRtfnLcJ5MQ2AtHcQJCCRUcMRvmDUjyEmNUWwx8UbK/0'/0'/1' )" ])['total_amount' ], Decimal ("0.016" ))
65
- assert_equal (self .nodes [0 ].scantxoutset ("start" , [ "combo(tprv8ZgxMBicQKsPd7Uf69XL1XwhmjHopUGep8GuEiJDZmbQz6o58LninorQAfcKZWARbtRtfnLcJ5MQ2AtHcQJCCRUcMRvmDUjyEmNUWwx8UbK/0' /0'/1500')" ])['total_amount' ], Decimal ("0.032" ))
66
- assert_equal (self .nodes [0 ].scantxoutset ("start" , [ "combo(tprv8ZgxMBicQKsPd7Uf69XL1XwhmjHopUGep8GuEiJDZmbQz6o58LninorQAfcKZWARbtRtfnLcJ5MQ2AtHcQJCCRUcMRvmDUjyEmNUWwx8UbK/0'/0' /0)" ])['total_amount' ], Decimal ("0.064" ))
67
- assert_equal (self .nodes [0 ].scantxoutset ("start" , [ "combo(tprv8ZgxMBicQKsPd7Uf69XL1XwhmjHopUGep8GuEiJDZmbQz6o58LninorQAfcKZWARbtRtfnLcJ5MQ2AtHcQJCCRUcMRvmDUjyEmNUWwx8UbK/0'/0' /1)" ])['total_amount' ], Decimal ("0.128" ))
68
- assert_equal (self .nodes [0 ].scantxoutset ("start" , [ "combo(tprv8ZgxMBicQKsPd7Uf69XL1XwhmjHopUGep8GuEiJDZmbQz6o58LninorQAfcKZWARbtRtfnLcJ5MQ2AtHcQJCCRUcMRvmDUjyEmNUWwx8UbK/0' /0'/1500)" ])['total_amount' ], Decimal ("0.256" ))
69
- assert_equal (self .nodes [0 ].scantxoutset ("start" , [ {"desc" : "combo(tprv8ZgxMBicQKsPd7Uf69XL1XwhmjHopUGep8GuEiJDZmbQz6o58LninorQAfcKZWARbtRtfnLcJ5MQ2AtHcQJCCRUcMRvmDUjyEmNUWwx8UbK/0'/0'/*' )" , "range" : 1499 }])['total_amount' ], Decimal ("0.024" ))
70
- assert_equal (self .nodes [0 ].scantxoutset ("start" , [ {"desc" : "combo(tprv8ZgxMBicQKsPd7Uf69XL1XwhmjHopUGep8GuEiJDZmbQz6o58LninorQAfcKZWARbtRtfnLcJ5MQ2AtHcQJCCRUcMRvmDUjyEmNUWwx8UbK/0'/0'/*' )" , "range" : 1500 }])['total_amount' ], Decimal ("0.056" ))
71
- assert_equal (self .nodes [0 ].scantxoutset ("start" , [ {"desc" : "combo(tprv8ZgxMBicQKsPd7Uf69XL1XwhmjHopUGep8GuEiJDZmbQz6o58LninorQAfcKZWARbtRtfnLcJ5MQ2AtHcQJCCRUcMRvmDUjyEmNUWwx8UbK/0' /0'/*)" , "range" : 1499 }])['total_amount' ], Decimal ("0.192" ))
72
- assert_equal (self .nodes [0 ].scantxoutset ("start" , [ {"desc" : "combo(tprv8ZgxMBicQKsPd7Uf69XL1XwhmjHopUGep8GuEiJDZmbQz6o58LninorQAfcKZWARbtRtfnLcJ5MQ2AtHcQJCCRUcMRvmDUjyEmNUWwx8UbK/0'/0' /*)" , "range" : 1500 }])['total_amount' ], Decimal ("0.448" ))
63
+ assert_equal (self .nodes [0 ].scantxoutset ("start" , [ "combo(tprv8ZgxMBicQKsPd7Uf69XL1XwhmjHopUGep8GuEiJDZmbQz6o58LninorQAfcKZWARbtRtfnLcJ5MQ2AtHcQJCCRUcMRvmDUjyEmNUWwx8UbK/0'/0h/0h )" ])['total_amount' ], Decimal ("0.008" ))
64
+ assert_equal (self .nodes [0 ].scantxoutset ("start" , [ "combo(tprv8ZgxMBicQKsPd7Uf69XL1XwhmjHopUGep8GuEiJDZmbQz6o58LninorQAfcKZWARbtRtfnLcJ5MQ2AtHcQJCCRUcMRvmDUjyEmNUWwx8UbK/0'/0'/1h )" ])['total_amount' ], Decimal ("0.016" ))
65
+ assert_equal (self .nodes [0 ].scantxoutset ("start" , [ "combo(tprv8ZgxMBicQKsPd7Uf69XL1XwhmjHopUGep8GuEiJDZmbQz6o58LninorQAfcKZWARbtRtfnLcJ5MQ2AtHcQJCCRUcMRvmDUjyEmNUWwx8UbK/0h /0'/1500')" ])['total_amount' ], Decimal ("0.032" ))
66
+ assert_equal (self .nodes [0 ].scantxoutset ("start" , [ "combo(tprv8ZgxMBicQKsPd7Uf69XL1XwhmjHopUGep8GuEiJDZmbQz6o58LninorQAfcKZWARbtRtfnLcJ5MQ2AtHcQJCCRUcMRvmDUjyEmNUWwx8UbK/0h/0h /0)" ])['total_amount' ], Decimal ("0.064" ))
67
+ assert_equal (self .nodes [0 ].scantxoutset ("start" , [ "combo(tprv8ZgxMBicQKsPd7Uf69XL1XwhmjHopUGep8GuEiJDZmbQz6o58LninorQAfcKZWARbtRtfnLcJ5MQ2AtHcQJCCRUcMRvmDUjyEmNUWwx8UbK/0'/0h /1)" ])['total_amount' ], Decimal ("0.128" ))
68
+ assert_equal (self .nodes [0 ].scantxoutset ("start" , [ "combo(tprv8ZgxMBicQKsPd7Uf69XL1XwhmjHopUGep8GuEiJDZmbQz6o58LninorQAfcKZWARbtRtfnLcJ5MQ2AtHcQJCCRUcMRvmDUjyEmNUWwx8UbK/0h /0'/1500)" ])['total_amount' ], Decimal ("0.256" ))
69
+ assert_equal (self .nodes [0 ].scantxoutset ("start" , [ {"desc" : "combo(tprv8ZgxMBicQKsPd7Uf69XL1XwhmjHopUGep8GuEiJDZmbQz6o58LninorQAfcKZWARbtRtfnLcJ5MQ2AtHcQJCCRUcMRvmDUjyEmNUWwx8UbK/0'/0h/*h )" , "range" : 1499 }])['total_amount' ], Decimal ("0.024" ))
70
+ assert_equal (self .nodes [0 ].scantxoutset ("start" , [ {"desc" : "combo(tprv8ZgxMBicQKsPd7Uf69XL1XwhmjHopUGep8GuEiJDZmbQz6o58LninorQAfcKZWARbtRtfnLcJ5MQ2AtHcQJCCRUcMRvmDUjyEmNUWwx8UbK/0'/0'/*h )" , "range" : 1500 }])['total_amount' ], Decimal ("0.056" ))
71
+ assert_equal (self .nodes [0 ].scantxoutset ("start" , [ {"desc" : "combo(tprv8ZgxMBicQKsPd7Uf69XL1XwhmjHopUGep8GuEiJDZmbQz6o58LninorQAfcKZWARbtRtfnLcJ5MQ2AtHcQJCCRUcMRvmDUjyEmNUWwx8UbK/0h /0'/*)" , "range" : 1499 }])['total_amount' ], Decimal ("0.192" ))
72
+ assert_equal (self .nodes [0 ].scantxoutset ("start" , [ {"desc" : "combo(tprv8ZgxMBicQKsPd7Uf69XL1XwhmjHopUGep8GuEiJDZmbQz6o58LninorQAfcKZWARbtRtfnLcJ5MQ2AtHcQJCCRUcMRvmDUjyEmNUWwx8UbK/0'/0h /*)" , "range" : 1500 }])['total_amount' ], Decimal ("0.448" ))
73
73
assert_equal (self .nodes [0 ].scantxoutset ("start" , [ "combo(tprv8ZgxMBicQKsPd7Uf69XL1XwhmjHopUGep8GuEiJDZmbQz6o58LninorQAfcKZWARbtRtfnLcJ5MQ2AtHcQJCCRUcMRvmDUjyEmNUWwx8UbK/1/1/0')" ])['total_amount' ], Decimal ("0.512" ))
74
74
assert_equal (self .nodes [0 ].scantxoutset ("start" , [ "combo(tprv8ZgxMBicQKsPd7Uf69XL1XwhmjHopUGep8GuEiJDZmbQz6o58LninorQAfcKZWARbtRtfnLcJ5MQ2AtHcQJCCRUcMRvmDUjyEmNUWwx8UbK/1/1/1')" ])['total_amount' ], Decimal ("1.024" ))
75
- assert_equal (self .nodes [0 ].scantxoutset ("start" , [ "combo(tprv8ZgxMBicQKsPd7Uf69XL1XwhmjHopUGep8GuEiJDZmbQz6o58LninorQAfcKZWARbtRtfnLcJ5MQ2AtHcQJCCRUcMRvmDUjyEmNUWwx8UbK/1/1/1500' )" ])['total_amount' ], Decimal ("2.048" ))
75
+ assert_equal (self .nodes [0 ].scantxoutset ("start" , [ "combo(tprv8ZgxMBicQKsPd7Uf69XL1XwhmjHopUGep8GuEiJDZmbQz6o58LninorQAfcKZWARbtRtfnLcJ5MQ2AtHcQJCCRUcMRvmDUjyEmNUWwx8UbK/1/1/1500h )" ])['total_amount' ], Decimal ("2.048" ))
76
76
assert_equal (self .nodes [0 ].scantxoutset ("start" , [ "combo(tprv8ZgxMBicQKsPd7Uf69XL1XwhmjHopUGep8GuEiJDZmbQz6o58LninorQAfcKZWARbtRtfnLcJ5MQ2AtHcQJCCRUcMRvmDUjyEmNUWwx8UbK/1/1/0)" ])['total_amount' ], Decimal ("4.096" ))
77
77
assert_equal (self .nodes [0 ].scantxoutset ("start" , [ "combo(tprv8ZgxMBicQKsPd7Uf69XL1XwhmjHopUGep8GuEiJDZmbQz6o58LninorQAfcKZWARbtRtfnLcJ5MQ2AtHcQJCCRUcMRvmDUjyEmNUWwx8UbK/1/1/1)" ])['total_amount' ], Decimal ("8.192" ))
78
78
assert_equal (self .nodes [0 ].scantxoutset ("start" , [ "combo(tprv8ZgxMBicQKsPd7Uf69XL1XwhmjHopUGep8GuEiJDZmbQz6o58LninorQAfcKZWARbtRtfnLcJ5MQ2AtHcQJCCRUcMRvmDUjyEmNUWwx8UbK/1/1/1500)" ])['total_amount' ], Decimal ("16.384" ))
0 commit comments