tests Package

bc_transaction_test Module

Test suite for pycoin library: check validity of txs in files tx_valid.json and tx_invalid.json. Adapted from Bitcoin Core transaction_tests.cpp test suite.

The MIT License (MIT)

Copyright (c) 2015 by Marek Miller Copyright (c) 2015 by Richard Kiss Copyright (c) 2015 by The Bitcoin Core Developers

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

class bc_transaction_test.TestTx(methodName='runTest')[source]

Bases: unittest.case.TestCase

test_invalid_00_0e1b5688cf179cd9f7cbda1fac0090f6e684bbf8cd946660120197c3f3681809()
test_invalid_01_e41ffe19dff3cbedb413a2ca3fbbcd05cb7fd7397ffa65052f8928aa9c700092()
test_invalid_02_105ea4dcace3714519c3f03a2c5df38c8771d09a946995ad18466f5e4c399a87()
test_invalid_03_e41ffe19dff3cbedb413a2ca3fbbcd05cb7fd7397ffa65052f8928aa9c700092()
test_invalid_04_99517e5b47533453cc7daa332180f578be68b80370ecfe84dbfff7f19d791da4()
test_invalid_05_743a2ad1d24538ed70bd4bab37fda6e2b0424459872bebbd2178d9e1352a5f78()
test_invalid_06_0ea8dd5d0a5d36350fc1ed1ade25df63c6dc98f966b7b0546335bd966bfe3399()
test_invalid_07_b9092b169f356d64f6c8f034d776cf0df52e1b2ca9f4f2c50044aa2a4fbeabf8()
test_invalid_08_477b2849d66373399261510f140ff0058f09439ba38a24cc8e963cfe7290fd02()
test_invalid_09_6a6b568d403db6c0ff04d018035d406280f283f023726718e63411abe4d31363()
test_invalid_10_bf93c6fe89592b2508f2876c6200d5ffadbd741e18c57b5e9fe5eff3101137b3()
test_invalid_11_d12fb29f9b00aaa9e89f5c34a27f43dd73f729aa796b36da0738b97f00587d0b()
test_invalid_12_a87439547de75492b9fa7299b0ba1cf729c2ae53e84979bb713175171e93fe74()
test_invalid_13_2d3f5c65b0ae97f5f52bef7f3b9c8ffeaeed0957289b5750a1c75bf30dd4493a()
test_invalid_14_b4237d9907e68bbc9b3b8de481c8f3731118cf5474a17a806c9bd0c7bf292a7d()
test_invalid_15_c36efe11c9f2d854c1111f01fc4ba644935e4dbc7fec7748921e64d0fdc18d73()
test_invalid_16_b0e0ac51030e16ad2054fc43043798f0558f24bf6a5928784676f3339400c0f8()
test_invalid_17_0fc0414e99bd508a7131e4f1539f5965c77b0b697db5b97c8542cddf37b0a2d8()
test_invalid_18_da94fda32b55deb40c3ed92e135d69df7efc4ee6665e0beb07ef500f407c9fd2()
test_invalid_19_f76f897b206e4f78d60fe40f2ccb542184cfadc34354d3bb9bdc30cc2f432b86()
test_invalid_20_b0e0ac51030e16ad2054fc43043798f0558f24bf6a5928784676f3339400c0f8()
test_invalid_21_3e7fb893bfd7a2fe99ffe286765e5e46055f805d41954a231ad4f313e98f73e0()
test_invalid_22_472a87e8d3f992fe389f68712b94c9d927bf0fa7ec177f65b3dd787f8fbf94d2()
test_invalid_23_c4070d94c05d40c96bc093f9403c3cd7085bdf006feb010e355235d6a12fdbd3()
test_invalid_24_3444be2e216abe77b46015e481d8cc21abd4c20446aabf49cd78141c9b9db87e()
test_invalid_25_e04e6b846eb4a92ae1b1201bca26983b12269e4eb4c852c9738188db9cbe652b()
test_invalid_26_58b6de8413603b7f556270bf48caedcf17772e7105f5419f6a80be0df0b470da()
test_invalid_27_1b9aef851895b93c62c29fbd6ca4d45803f4007eff266e2f96ff11e9b6ef197b()
test_invalid_28_3444be2e216abe77b46015e481d8cc21abd4c20446aabf49cd78141c9b9db87e()
test_invalid_29_292cdc216d99c2ed6900807b3ff092c62ac4d64b6ff4e18dff502d44f32bc19c()
test_invalid_30_3444be2e216abe77b46015e481d8cc21abd4c20446aabf49cd78141c9b9db87e()
test_invalid_31_58b6de8413603b7f556270bf48caedcf17772e7105f5419f6a80be0df0b470da()
test_invalid_32_4c6f0ef2b94ca36143789ce0de089ed5d97585d2f6dc30b7531eec27f0c20e65()
test_invalid_33_bbe101db29576d8efd1cc5f58f74f7dc735f99489176947b02b4edd22870ea86()
test_invalid_34_470e955d44f606f9c922e48f9cbcf96198bb7d4a145037c075381d7eba3a5431()
test_invalid_35_bfb75abf6ab373fb9b81810f6ebe665e370521e6ca7d58e6449e88ceec2236b2()
test_invalid_36_58b6de8413603b7f556270bf48caedcf17772e7105f5419f6a80be0df0b470da()
test_invalid_37_9950aa8756896bb6bd358e27aeb0f68f499954ed2f2ad1f335647224a09a602f()
test_invalid_38_58b6de8413603b7f556270bf48caedcf17772e7105f5419f6a80be0df0b470da()
test_invalid_39_3444be2e216abe77b46015e481d8cc21abd4c20446aabf49cd78141c9b9db87e()
test_invalid_40_abd62b4627d8d9b2d95fcfd8c87e37d2790637ce47d28018e3aece63c1d62649()
test_invalid_41_5f99c0abf511294d76cbe144d86b77238a03e086974bc7a8ea0bdb2c681a0324()
test_invalid_42_1376be1799f72b1b3237333f25f7a699f2b3ec194be2242d1694f2760d022452()
test_invalid_43_3444be2e216abe77b46015e481d8cc21abd4c20446aabf49cd78141c9b9db87e()
test_invalid_44_4d5f21e47c4bb7d82e07205fff66ac97c3ff7cbf7ff4a67ba86cfa55a740d9d5()
test_invalid_45_9cbbcd670120795028be95a438c5b1d382ada41134f09347be056aae7605a046()
test_invalid_46_50a1e0e6a134a564efa078e3bd088e7e8777c2c0aec10a752fd8706470103b89()
test_invalid_47_e2207d1aaf6b74e5d98c2fa326d2dc803b56b30a3f90ce779fa5edb762f38755()
test_invalid_48_b6a7adfd212fa9a26ad163d44c77ceb349e3931b53d8736b6cd559d0a3e18d57()
test_invalid_49_3a13e1b6371c545147173cc4055f0ed73686a9f73f092352fb4b39ca27d360e6()
test_invalid_50_b6a7adfd212fa9a26ad163d44c77ceb349e3931b53d8736b6cd559d0a3e18d57()
test_invalid_51_e2207d1aaf6b74e5d98c2fa326d2dc803b56b30a3f90ce779fa5edb762f38755()
test_invalid_52_e2207d1aaf6b74e5d98c2fa326d2dc803b56b30a3f90ce779fa5edb762f38755()
test_invalid_53_3a13e1b6371c545147173cc4055f0ed73686a9f73f092352fb4b39ca27d360e6()
test_invalid_54_3a13e1b6371c545147173cc4055f0ed73686a9f73f092352fb4b39ca27d360e6()
test_invalid_55_3a13e1b6371c545147173cc4055f0ed73686a9f73f092352fb4b39ca27d360e6()
test_invalid_56_e2207d1aaf6b74e5d98c2fa326d2dc803b56b30a3f90ce779fa5edb762f38755()
test_invalid_57_e2207d1aaf6b74e5d98c2fa326d2dc803b56b30a3f90ce779fa5edb762f38755()
test_invalid_58_f335864f7c12ec7946d2c123deb91eb978574b647af125a414262380c7fbd55c()
test_invalid_59_1bef57d4fd520ca3509032fe77891cdfcfeccdffb0014858d1f13847c4a5701c()
test_invalid_60_5b4bf8a6a0a93d9cea79e2ea25891f4a531e0f1c0c5f2933dda6356d145080d0()
test_invalid_61_3444be2e216abe77b46015e481d8cc21abd4c20446aabf49cd78141c9b9db87e()
test_invalid_62_21e5c172ce9a7dc609ef695f400add2423b729c88c6d9074ace66ae74285f835()
test_invalid_63_7c08a738416e6580e7c943ac52a8b99f8043e640b838af041ecea56e54e7026a()
test_invalid_64_5e71b48f11542df3244f2ef76d4c2f3d60278eb33ecabb62eaf7aa7c39dff2ba()
test_invalid_65_aca1909468705b5b56853fbe68f2973f3f8b980287e91f05195a0b8446144a49()
test_invalid_66_c7e1402f6f591d50855b73dac51434e44679b2a3b8e7ae2bf239724df2fd30c1()
test_invalid_67_cc2ade5b770f1a8caf16e382bef24e62b22a37cbcead3f3ef381dbb899b8e0de()
test_invalid_68_80e6efadea2cb9d48774e708e258896e21b557547e90a6fd6732ef75edd31ab2()
test_invalid_69_eb800ec3c792455e4b8e6ea34debc9e3e0483fb57bbf612efea6432f3d61f1e5()
test_invalid_70_c04712aaf47b9f4e699646c50ee48d9fe8664da50459fe7f5653110a98bde05c()
test_invalid_71_4903bb9737b9d535cb5aa30e83212a8821eb4fa4255988d5ba0b336833689bd1()
test_invalid_72_48cce87c22eedc1293d345739c19974e80e7b398a7d626c110ec27b650d7b4a5()
test_invalid_73_c000024b69ca96e1b7aa5d6c439aa53a9d455dc59f914e2630e04df620c1860f()
test_invalid_74_b31cfc54902a82431265124b97f5be645db5d89fa8c13b1069ff70cb83591c0e()
test_invalid_75_2b1e44fff489d09091e5e20f9a01bbc0e8d80f0662e629fd10709cdb4922a874()
test_invalid_76_d30327484c830549ce97a7d4ab0b1156cc41b4632f05f6cd397f5474e4ef47ce()
test_invalid_77_bb38de1659b39765b2e8bb03e53be88383fcc126f71004255b328be4d5d41d85()
test_invalid_78_2349b70c54724875fec1664dd4e5a8ef5ab566429a985c74d7534917b41d95dc()
test_invalid_79_b933822a5fc7dd6cdc0a2a854713037dba36e66448b83e6fae109c1c74bfc778()
test_valid_00_23b397edccd3740a74adb603c9756370fafcde9bcc4483eb271ecad09a94dd63()
test_valid_01_fcabc409d8e685da28536e1e5ccc91264d755cd4c57ed4cae3dbaa4d3b93e8ed()
test_valid_02_c9aa95f2c48175fdb70b34c23f1c3fc44f869b073a6f79b1343fbce30c3cb575()
test_valid_03_da94fda32b55deb40c3ed92e135d69df7efc4ee6665e0beb07ef500f407c9fd2()
test_valid_04_f76f897b206e4f78d60fe40f2ccb542184cfadc34354d3bb9bdc30cc2f432b86()
test_valid_05_c99c49da4c38af669dea436d3e73780dfdb6c1ecf9958baa52960e8baee30e73()
test_valid_06_e41ffe19dff3cbedb413a2ca3fbbcd05cb7fd7397ffa65052f8928aa9c700092()
test_valid_07_e41ffe19dff3cbedb413a2ca3fbbcd05cb7fd7397ffa65052f8928aa9c700092()
test_valid_08_f7fdd091fa6d8f5e7a8c2458f5c38faffff2d3f1406b6e4fe2c99dcc0d2d1cbb()
test_valid_09_b56471690c3ff4f7946174e51df68b47455a0d29344c351377d712e6d00eabe5()
test_valid_100_9d11076c372c9631d0b4390c594257b123d65e8a355af53606cda17c7c1d984b()
test_valid_101_2b1e44fff489d09091e5e20f9a01bbc0e8d80f0662e629fd10709cdb4922a874()
test_valid_102_41324397e2a7a932b41af67f37d35550e6fdde5ab12334c5640f8bee892eba24()
test_valid_103_2b1e44fff489d09091e5e20f9a01bbc0e8d80f0662e629fd10709cdb4922a874()
test_valid_104_2b1e44fff489d09091e5e20f9a01bbc0e8d80f0662e629fd10709cdb4922a874()
test_valid_105_2b1e44fff489d09091e5e20f9a01bbc0e8d80f0662e629fd10709cdb4922a874()
test_valid_106_2b1e44fff489d09091e5e20f9a01bbc0e8d80f0662e629fd10709cdb4922a874()
test_valid_107_fecccdb9be1081bf587fc39e3a7c9fcc4eb47782a485e7642f9f0fc2504d19dc()
test_valid_108_f911f7a3e4e3793c874452b4584f0381604744ae2c0f945da5c041f00d5f52a2()
test_valid_109_98229b70948f1c17851a541f1fe532bf02c408267fecf6d7e174c359ae870654()
test_valid_10_99517e5b47533453cc7daa332180f578be68b80370ecfe84dbfff7f19d791da4()
test_valid_110_dbff04c7044a569f179c843e929449f6a24be183e42c66be9032f1c9eaaf5811()
test_valid_111_6e4dd6473b52c00afec3af31b4a522eb9b51489683ce407a6c403313a0caa7a9()
test_valid_112_a8c30f28b7d3fba4cc292992f42721fdfe1729c8c418055992052a65a04f9651()
test_valid_113_65dab5dd46a501fc695822c73d779067f2feb7c49dc47d39f86fdb2e3960b3bd()
test_valid_114_22d020638e3b7e1f2f9a63124ac76f5e333c74387862e3675f64b25e960d3641()
test_valid_115_651431f85e6e1ea3603d7e6a9e8e5966eab659fad5261882ae6232b845f35443()
test_valid_116_1aebf0c98f01381765a8c33d688f8903e4d01120589ac92b78f1185dc1f4119c()
test_valid_117_f73766431eac4f2c52c0be14ee74b4b65dca03c94daf31bba34d8cc0226402aa()
test_valid_11_ab097537b528871b9b64cb79a769ae13c3c3cd477cc9dddeebe657eabd7fdcea()
test_valid_12_4d163e00f1966e9a1eab8f9374c3e37f4deb4857c247270e25f7d79a999d2dc9()
test_valid_13_9fe2ef9dde70e15d78894a4800b7df3bbfb1addb9a6f7d7c204492fdb6ee6cc4()
test_valid_14_99d3825137602e577aeaf6a2e3c9620fd0e605323dc5265da4a570593be791d4()
test_valid_15_c0d67409923040cc766bbea12e4c9154393abef706db065ac2e07d91a9ba4f84()
test_valid_16_c610d85d3d5fdf5046be7f123db8a0890cee846ee58de8a44667cfd1ab6b8666()
test_valid_17_a647a7b3328d2c698bfa1ee2dd4e5e05a6cea972e764ccb9bd29ea43817ca64f()
test_valid_18_afd9c17f8913577ec3509520bd6e5d63e9c0fd2a5f70c787993b097ba6ca9fae()
test_valid_19_ddc454a1c0c35c188c98976b17670f69e586d9c0f3593ea879928332f0a069e7()
test_valid_20_f4b05f978689c89000f729cae187dcfbe64c9819af67a4f05c0b4d59e717d64d()
test_valid_21_cc60b1f899ec0a69b7c3f25ddf32c4524096a9c5b01cbd84c6d0312a0c478984()
test_valid_22_1edc7f214659d52c731e2016d258701911bd62a0422f72f6c87a1bc8dd3f8667()
test_valid_23_018adb7133fde63add9149a2161802a1bcf4bdf12c39334e880c073480eda2ff()
test_valid_24_1464caf48c708a6cc19a296944ded9bb7f719c9858986d2501cf35068b9ce5a2()
test_valid_25_1fb73fbfc947d52f5d80ba23b67c06a232ad83fdd49d1c0a657602f03fbe8f7a()
test_valid_26_24cecfce0fa880b09c9b4a66c5134499d1b09c01cc5728cd182638bea070e6ab()
test_valid_27_9eaa819e386d6a54256c9283da50c230f3d8cd5376d75c4dcc945afdeb157dd7()
test_valid_28_46224764c7870f95b58f155bce1e38d4da8e99d42dbb632d0dd7c07e092ee5aa()
test_valid_29_8d66836045db9f2d7b3a75212c5e6325f70603ee27c8333a3bce5bf670d9582e()
test_valid_30_aab7ef280abbb9cc6fbaf524d2645c3daf4fcca2b3f53370e618d9cedf65f1f8()
test_valid_31_6327783a064d4e350c454ad5cd90201aedf65b1fc524e73709c52f0163739190()
test_valid_32_892464645599cc3c2d165adcc612e5f982a200dfaa3e11e9ce1d228027f46880()
test_valid_33_578db8c6c404fec22c4a8afeaf32df0e7b767c4dda3478e0471575846419e8fc()
test_valid_34_974f5148a0946f9985e75a240bb24c573adbbdc25d61e7b016cdbb0a5355049f()
test_valid_35_b0097ec81df231893a212657bf5fe5a13b2bff8b28c0042aca6fc4159f79661b()
test_valid_36_feeba255656c80c14db595736c1c7955c8c0a497622ec96e3f2238fbdd43a7c9()
test_valid_37_a0c984fc820e57ddba97f8098fa640c8a7eb3fe2f583923da886b7660f505e1e()
test_valid_38_5df1375ffe61ac35ca178ebb0cab9ea26dedbd0e96005dfcee7e379fa513232f()
test_valid_39_ded7ff51d89a4e1ec48162aee5a96447214d93dfb3837946af2301a28f65dbea()
test_valid_40_3444be2e216abe77b46015e481d8cc21abd4c20446aabf49cd78141c9b9db87e()
test_valid_41_abd62b4627d8d9b2d95fcfd8c87e37d2790637ce47d28018e3aece63c1d62649()
test_valid_42_abd62b4627d8d9b2d95fcfd8c87e37d2790637ce47d28018e3aece63c1d62649()
test_valid_43_58b6de8413603b7f556270bf48caedcf17772e7105f5419f6a80be0df0b470da()
test_valid_44_5f99c0abf511294d76cbe144d86b77238a03e086974bc7a8ea0bdb2c681a0324()
test_valid_45_5f99c0abf511294d76cbe144d86b77238a03e086974bc7a8ea0bdb2c681a0324()
test_valid_46_25d35877eaba19497710666473c50d5527d38503e3521107a3fc532b74cd7453()
test_valid_47_58b6de8413603b7f556270bf48caedcf17772e7105f5419f6a80be0df0b470da()
test_valid_48_1b9aef851895b93c62c29fbd6ca4d45803f4007eff266e2f96ff11e9b6ef197b()
test_valid_49_3444be2e216abe77b46015e481d8cc21abd4c20446aabf49cd78141c9b9db87e()
test_valid_50_f53761038a728b1f17272539380d96e93f999218f8dcb04a8469b523445cd0fd()
test_valid_51_d193f0f32fceaf07bb25c897c8f99ca6f69a52f6274ca64efc2a2e180cb97fc1()
test_valid_52_50a1e0e6a134a564efa078e3bd088e7e8777c2c0aec10a752fd8706470103b89()
test_valid_53_e2207d1aaf6b74e5d98c2fa326d2dc803b56b30a3f90ce779fa5edb762f38755()
test_valid_54_f335864f7c12ec7946d2c123deb91eb978574b647af125a414262380c7fbd55c()
test_valid_55_d1edbcde44691e98a7b7f556bd04966091302e29ad9af3c2baac38233667e0d2()
test_valid_56_d1edbcde44691e98a7b7f556bd04966091302e29ad9af3c2baac38233667e0d2()
test_valid_57_3a13e1b6371c545147173cc4055f0ed73686a9f73f092352fb4b39ca27d360e6()
test_valid_58_bffda23e40766d292b0510a1b556453c558980c70c94ab158d8286b3413e220d()
test_valid_59_01a86c65460325dc6699714d26df512a62a854a669f6ed2e6f369a238e048cfd()
test_valid_60_01a86c65460325dc6699714d26df512a62a854a669f6ed2e6f369a238e048cfd()
test_valid_61_f6d2359c5de2d904e10517d23e7c8210cca71076071bbf46de9fbd5f6233dbf1()
test_valid_62_f6d2359c5de2d904e10517d23e7c8210cca71076071bbf46de9fbd5f6233dbf1()
test_valid_63_19c2b7377229dae7aa3e50142a32fd37cef7171a01682f536e9ffa80c186f6c9()
test_valid_64_19c2b7377229dae7aa3e50142a32fd37cef7171a01682f536e9ffa80c186f6c9()
test_valid_65_c9dda3a24cc8a5acb153d1085ecd2fecf6f87083122f8cdecc515b1148d4c40d()
test_valid_66_c9dda3a24cc8a5acb153d1085ecd2fecf6f87083122f8cdecc515b1148d4c40d()
test_valid_67_d1edbcde44691e98a7b7f556bd04966091302e29ad9af3c2baac38233667e0d2()
test_valid_68_01a86c65460325dc6699714d26df512a62a854a669f6ed2e6f369a238e048cfd()
test_valid_69_c9dda3a24cc8a5acb153d1085ecd2fecf6f87083122f8cdecc515b1148d4c40d()
test_valid_70_d1edbcde44691e98a7b7f556bd04966091302e29ad9af3c2baac38233667e0d2()
test_valid_71_01a86c65460325dc6699714d26df512a62a854a669f6ed2e6f369a238e048cfd()
test_valid_72_c9dda3a24cc8a5acb153d1085ecd2fecf6f87083122f8cdecc515b1148d4c40d()
test_valid_73_d1edbcde44691e98a7b7f556bd04966091302e29ad9af3c2baac38233667e0d2()
test_valid_74_01a86c65460325dc6699714d26df512a62a854a669f6ed2e6f369a238e048cfd()
test_valid_75_c9dda3a24cc8a5acb153d1085ecd2fecf6f87083122f8cdecc515b1148d4c40d()
test_valid_76_e2207d1aaf6b74e5d98c2fa326d2dc803b56b30a3f90ce779fa5edb762f38755()
test_valid_77_3a13e1b6371c545147173cc4055f0ed73686a9f73f092352fb4b39ca27d360e6()
test_valid_78_f335864f7c12ec7946d2c123deb91eb978574b647af125a414262380c7fbd55c()
test_valid_79_e2207d1aaf6b74e5d98c2fa326d2dc803b56b30a3f90ce779fa5edb762f38755()
test_valid_80_3a13e1b6371c545147173cc4055f0ed73686a9f73f092352fb4b39ca27d360e6()
test_valid_81_4b5e0aae1251a9dc66b4d5f483f1879bf518ea5e1765abc5a9f2084b43ed1ea7()
test_valid_82_5f16eb3ca4581e2dfb46a28140a4ee15f85e4e1c032947da8b93549b53c105f5()
test_valid_83_7944c8f36d682addda15124399bf954ec5d4b3a426e9d505a5f74a08644f0ebb()
test_valid_84_0df178d21afc9e8a46195c7c2e328aafd8544a1dbd67cf983214cad401966cf3()
test_valid_85_3905c86c73a5e08428ca61c8bb1a89a12c081778f337552b6a59184114c56cfa()
test_valid_86_466e55c43eae0d39f55190d6a32b829cd207a7ec12fa63fe19928a7cd48f4f4f()
test_valid_87_3ef66c47b75e6eb302638672a93026dc8ddac231646324473f68f24b9f18cdc1()
test_valid_88_d92aeca6efc202adaa61a08f2c562d78ee7d8c6abbf3b0fdbc104aa44665df62()
test_valid_89_616406f9c5e1e40b55852a3c8a8e43bc49dadfc73b12fc3a6957b2e207c7dff7()
test_valid_90_0504a37327ec89cc1fed77765ea024f84f34a071778331822fd1080263dc3ff9()
test_valid_91_908100319352a2ad99c6a49a8ec0436916745b486c2ffe3fa8d3404a8e2d911d()
test_valid_92_63b258276ce048342df59f75e0a3ccec41f7b2b3e31afe9182fe4136d5f91461()
test_valid_93_5e71b48f11542df3244f2ef76d4c2f3d60278eb33ecabb62eaf7aa7c39dff2ba()
test_valid_94_fd721bfa1e4edf30cb164c40a667dfbedc6465b223300105d70954360ddb450e()
test_valid_95_16c556aa7fe426caa995158e281d0e7dd4086d313e983edded90556f2a483f35()
test_valid_96_146a86e8bd5ebc32fcf5771119fae30a5e02d2b84af5d7773ede4bb72b3d7ae3()
test_valid_97_cfa4bd0746de8f6b9e65b4efe65406d65b3e6c6310bf92842e08b8f7005a3655()
test_valid_98_7c08a738416e6580e7c943ac52a8b99f8043e640b838af041ecea56e54e7026a()
test_valid_99_cdbfe209d9856d491c5d32947b0b8b2837126968755dc60333c755bbfc2b9ce2()
bc_transaction_test.inject()[source]
bc_transaction_test.make_f(tx, flags, comments, expect_ok=True)[source]
bc_transaction_test.parse_flags(flag_string)[source]
bc_transaction_test.txs_from_json(path)[source]

Read tests from ./data/tx_??valid.json Format is an array of arrays Inner arrays are either [ “comment” ] or [[[prevout hash, prevout index, prevout scriptPubKey], [input 2], ...], serializedTransaction, verifyFlags] ... where all scripts are stringified scripts.

verifyFlags is a comma separated list of script verification flags to apply, or “NONE”