Skip to content

Instantly share code, notes, and snippets.

@jl2012
Created January 9, 2017 03:59
Show Gist options
  • Save jl2012/174273d86eb528391a92de4d75c98f3f to your computer and use it in GitHub Desktop.
Save jl2012/174273d86eb528391a92de4d75c98f3f to your computer and use it in GitHub Desktop.
Patched
==========
Test: 14-of-14 CHECKMULTISIG P2SH/P2WSH inputs with different variations of SIGHASH_ALL
**Non-witness**
Transaction weight : 3800384
Validation time : 5.74559211730957
**Witness**
Transaction weight : 3620305
Validation time : 0.1763138771057129
Test: 14-of-14 CHECKMULTISIG P2SH/P2WSH inputs with same SIGHASH_ALL
**Non-witness**
Transaction weight : 3800304
Validation time : 0.5367860794067383
**Witness**
Transaction weight : 3620308
Validation time : 0.1249380111694336
Test: 1-of-14 CHECKMULTISIG P2SH/P2WSH inputs with SIGHASH_ALL
**Non-witness**
Transaction weight : 3649548
Validation time : 0.5381200313568115
**Witness**
Transaction weight : 3582626
Validation time : 0.12498807907104492
Test: CHECKSIG 1-of-13 CHECKMULTISIG CHECKSIG P2SH/P2WSH inputs with same SIGHASH_ALL
**Non-witness**
Transaction weight : 3673008
Validation time : 0.543281078338623
**Witness**
Transaction weight : 3588493
Validation time : 0.12402200698852539
Test: P2SH/P2WSH with 14 CHECKSIG with same SIGHASH_ALL
**Non-witness**
Transaction weight : 3801848
Validation time : 0.5239150524139404
**Witness**
Transaction weight : 3620792
Validation time : 0.12763595581054688
Test: P2SH/P2WSH with 14 CHECKSIG with different variations of SIGHASH_ALL
**Non-witness**
Transaction weight : 3801880
Validation time : 5.723078966140747
**Witness**
Transaction weight : 3620701
Validation time : 0.1791398525238037
Test: P2SH/P2WSH with 14 CHECKSIG CODESEPERATOR with same SIGHASH_ALL
**Non-witness**
Transaction weight : 3804092
Validation time : 5.665237903594971
**Witness**
Transaction weight : 3621249
Validation time : 0.17995810508728027
Test: P2SH/P2WSH with 14 CHECKSIG CODESEPERATOR with different variations of SIGHASH_ALL
**Non-witness**
Transaction weight : 3804072
Validation time : 5.737934112548828
**Witness**
Transaction weight : 3621232
Validation time : 0.18102121353149414
Test: Bare/segwit P2PK inputs with SIGHASH_ALL
**Non-witness**
Transaction weight : 474544
Validation time : 0.6390590667724609
**Witness**
Transaction weight : 429425
Validation time : 0.33441710472106934
Test: Bare/P2WSH inputs with 137 CHECKSIG with random SIGHASH
**Non-witness**
Transaction weight : 1006164
Validation time : 1.0561678409576416
**Witness**
Transaction weight : 406037
Validation time : 0.4962799549102783
Test: FindAndDelete in P2SH with sighash reset
**Non-witness**
Transaction weight : 3812200
Validation time : 5.707489967346191
**Witness**
Transaction weight : 3623242
Validation time : 0.10904598236083984
Test: FindAndDelete in P2SH without sighash reset
**Non-witness**
Transaction weight : 3812200
Validation time : 0.5087649822235107
**Witness**
Transaction weight : 3623242
Validation time : 0.09877490997314453
Test: FindAndDelete in bare outputs
**Non-witness**
Transaction weight : 61520
Validation time : 0.015217065811157227
**Witness**
Transaction weight : 17802
Validation time : 0.012141942977905273
Test: signrawtransaction with different SIGHASH types
Stopping nodes
Cleaning up
Tests successful
==========
Test: 14-of-14 CHECKMULTISIG P2SH/P2WSH inputs with different variations of SIGHASH_ALL
**Non-witness**
Transaction weight : 3800368
Validation time : 5.709659099578857
**Witness**
Transaction weight : 3620302
Validation time : 0.18558502197265625
Test: 14-of-14 CHECKMULTISIG P2SH/P2WSH inputs with same SIGHASH_ALL
**Non-witness**
Transaction weight : 3800248
Validation time : 0.5166521072387695
**Witness**
Transaction weight : 3620336
Validation time : 0.19307398796081543
Test: 1-of-14 CHECKMULTISIG P2SH/P2WSH inputs with SIGHASH_ALL
**Non-witness**
Transaction weight : 3649568
Validation time : 0.5243761539459229
**Witness**
Transaction weight : 3582625
Validation time : 0.12463212013244629
Test: CHECKSIG 1-of-13 CHECKMULTISIG CHECKSIG P2SH/P2WSH inputs with same SIGHASH_ALL
**Non-witness**
Transaction weight : 3673092
Validation time : 0.5213959217071533
**Witness**
Transaction weight : 3588496
Validation time : 0.12550997734069824
Test: P2SH/P2WSH with 14 CHECKSIG with same SIGHASH_ALL
**Non-witness**
Transaction weight : 3801904
Validation time : 0.5223081111907959
**Witness**
Transaction weight : 3620694
Validation time : 0.1240389347076416
Test: P2SH/P2WSH with 14 CHECKSIG with different variations of SIGHASH_ALL
**Non-witness**
Transaction weight : 3801908
Validation time : 5.720319986343384
**Witness**
Transaction weight : 3620713
Validation time : 0.18367505073547363
Test: P2SH/P2WSH with 14 CHECKSIG CODESEPERATOR with same SIGHASH_ALL
**Non-witness**
Transaction weight : 3804016
Validation time : 5.669686794281006
**Witness**
Transaction weight : 3621245
Validation time : 0.1788170337677002
Test: P2SH/P2WSH with 14 CHECKSIG CODESEPERATOR with different variations of SIGHASH_ALL
**Non-witness**
Transaction weight : 3803996
Validation time : 5.650516986846924
**Witness**
Transaction weight : 3621226
Validation time : 0.1745600700378418
Test: Bare/segwit P2PK inputs with SIGHASH_ALL
**Non-witness**
Transaction weight : 474572
Validation time : 0.6455299854278564
**Witness**
Transaction weight : 429424
Validation time : 0.3365499973297119
Test: Bare/P2WSH inputs with 137 CHECKSIG with random SIGHASH
**Non-witness**
Transaction weight : 1006404
Validation time : 1.0473129749298096
**Witness**
Transaction weight : 406073
Validation time : 0.5082831382751465
Test: FindAndDelete in P2SH with sighash reset
**Non-witness**
Transaction weight : 3813320
Validation time : 5.561736106872559
**Witness**
Transaction weight : 3623522
Validation time : 0.10285496711730957
Test: FindAndDelete in P2SH without sighash reset
**Non-witness**
Transaction weight : 3813320
Validation time : 0.48390817642211914
**Witness**
Transaction weight : 3623522
Validation time : 0.10599303245544434
Test: FindAndDelete in bare outputs
**Non-witness**
Transaction weight : 61660
Validation time : 0.01601386070251465
**Witness**
Transaction weight : 17837
Validation time : 0.013410091400146484
Test: signrawtransaction with different SIGHASH types
Stopping nodes
Cleaning up
Tests successful
==========
Test: 14-of-14 CHECKMULTISIG P2SH/P2WSH inputs with different variations of SIGHASH_ALL
**Non-witness**
Transaction weight : 3800344
Validation time : 5.656438827514648
**Witness**
Transaction weight : 3620304
Validation time : 0.17861390113830566
Test: 14-of-14 CHECKMULTISIG P2SH/P2WSH inputs with same SIGHASH_ALL
**Non-witness**
Transaction weight : 3800416
Validation time : 0.506925106048584
**Witness**
Transaction weight : 3620280
Validation time : 0.11995387077331543
Test: 1-of-14 CHECKMULTISIG P2SH/P2WSH inputs with SIGHASH_ALL
**Non-witness**
Transaction weight : 3649580
Validation time : 0.5117979049682617
**Witness**
Transaction weight : 3582624
Validation time : 0.1209709644317627
Test: CHECKSIG 1-of-13 CHECKMULTISIG CHECKSIG P2SH/P2WSH inputs with same SIGHASH_ALL
**Non-witness**
Transaction weight : 3673092
Validation time : 0.5219700336456299
**Witness**
Transaction weight : 3588514
Validation time : 0.12194395065307617
Test: P2SH/P2WSH with 14 CHECKSIG with same SIGHASH_ALL
**Non-witness**
Transaction weight : 3802184
Validation time : 0.5135340690612793
**Witness**
Transaction weight : 3620680
Validation time : 0.1255190372467041
Test: P2SH/P2WSH with 14 CHECKSIG with different variations of SIGHASH_ALL
**Non-witness**
Transaction weight : 3801912
Validation time : 5.728733062744141
**Witness**
Transaction weight : 3620695
Validation time : 0.18073391914367676
Test: P2SH/P2WSH with 14 CHECKSIG CODESEPERATOR with same SIGHASH_ALL
**Non-witness**
Transaction weight : 3803956
Validation time : 5.618127107620239
**Witness**
Transaction weight : 3621227
Validation time : 0.18289709091186523
Test: P2SH/P2WSH with 14 CHECKSIG CODESEPERATOR with different variations of SIGHASH_ALL
**Non-witness**
Transaction weight : 3804052
Validation time : 5.664211988449097
**Witness**
Transaction weight : 3621247
Validation time : 0.18173789978027344
Test: Bare/segwit P2PK inputs with SIGHASH_ALL
**Non-witness**
Transaction weight : 474484
Validation time : 0.6303849220275879
**Witness**
Transaction weight : 429400
Validation time : 0.340421199798584
Test: Bare/P2WSH inputs with 137 CHECKSIG with random SIGHASH
**Non-witness**
Transaction weight : 1006056
Validation time : 1.059035062789917
**Witness**
Transaction weight : 406023
Validation time : 0.49976110458374023
Test: FindAndDelete in P2SH with sighash reset
**Non-witness**
Transaction weight : 3812200
Validation time : 5.588587045669556
**Witness**
Transaction weight : 3623242
Validation time : 0.10485506057739258
Test: FindAndDelete in P2SH without sighash reset
**Non-witness**
Transaction weight : 3812200
Validation time : 0.4967539310455322
**Witness**
Transaction weight : 3623242
Validation time : 0.10222005844116211
Test: FindAndDelete in bare outputs
**Non-witness**
Transaction weight : 61520
Validation time : 0.015232086181640625
**Witness**
Transaction weight : 17802
Validation time : 0.012609004974365234
Test: signrawtransaction with different SIGHASH types
Stopping nodes
==========
No patch
Test: 14-of-14 CHECKMULTISIG P2SH/P2WSH inputs with different variations of SIGHASH_ALL
**Non-witness**
Transaction weight : 3800404
Validation time : 5.735097169876099
**Witness**
Transaction weight : 3620313
Validation time : 0.17664599418640137
Test: 14-of-14 CHECKMULTISIG P2SH/P2WSH inputs with same SIGHASH_ALL
**Non-witness**
Transaction weight : 3800360
Validation time : 5.7069010734558105
**Witness**
Transaction weight : 3620364
Validation time : 0.12289595603942871
Test: 1-of-14 CHECKMULTISIG P2SH/P2WSH inputs with SIGHASH_ALL
**Non-witness**
Transaction weight : 3649564
Validation time : 5.607729911804199
**Witness**
Transaction weight : 3582622
Validation time : 0.12163305282592773
Test: CHECKSIG 1-of-13 CHECKMULTISIG CHECKSIG P2SH/P2WSH inputs with same SIGHASH_ALL
**Non-witness**
Transaction weight : 3673032
Validation time : 5.596764087677002
**Witness**
Transaction weight : 3588517
Validation time : 0.12442898750305176
Test: P2SH/P2WSH with 14 CHECKSIG with same SIGHASH_ALL
**Non-witness**
Transaction weight : 3801960
Validation time : 5.654278993606567
**Witness**
Transaction weight : 3620652
Validation time : 0.12131810188293457
Test: P2SH/P2WSH with 14 CHECKSIG with different variations of SIGHASH_ALL
**Non-witness**
Transaction weight : 3802040
Validation time : 5.597092151641846
**Witness**
Transaction weight : 3620705
Validation time : 0.17977595329284668
Test: P2SH/P2WSH with 14 CHECKSIG CODESEPERATOR with same SIGHASH_ALL
**Non-witness**
Transaction weight : 3803952
Validation time : 5.66194486618042
**Witness**
Transaction weight : 3621242
Validation time : 0.17786002159118652
Test: P2SH/P2WSH with 14 CHECKSIG CODESEPERATOR with different variations of SIGHASH_ALL
**Non-witness**
Transaction weight : 3804072
Validation time : 5.60430908203125
**Witness**
Transaction weight : 3621257
Validation time : 0.1790010929107666
Test: Bare/segwit P2PK inputs with SIGHASH_ALL
**Non-witness**
Transaction weight : 474496
Validation time : 0.6371378898620605
**Witness**
Transaction weight : 429428
Validation time : 0.3359861373901367
Test: Bare/P2WSH inputs with 137 CHECKSIG with random SIGHASH
**Non-witness**
Transaction weight : 1006108
Validation time : 1.1816010475158691
**Witness**
Transaction weight : 406061
Validation time : 0.5159728527069092
Test: FindAndDelete in P2SH with sighash reset
**Non-witness**
Transaction weight : 3812200
Validation time : 5.554668188095093
**Witness**
Transaction weight : 3623242
Validation time : 0.10685491561889648
Test: FindAndDelete in P2SH without sighash reset
**Non-witness**
Transaction weight : 3812200
Validation time : 5.557636976242065
**Witness**
Transaction weight : 3623242
Validation time : 0.10096287727355957
Test: FindAndDelete in bare outputs
**Non-witness**
Transaction weight : 61520
Validation time : 0.016057968139648438
**Witness**
Transaction weight : 17802
Validation time : 0.012209177017211914
Test: signrawtransaction with different SIGHASH types
Stopping nodes
Cleaning up
Tests successful
==========
Test: 14-of-14 CHECKMULTISIG P2SH/P2WSH inputs with different variations of SIGHASH_ALL
**Non-witness**
Transaction weight : 3800284
Validation time : 5.865202903747559
**Witness**
Transaction weight : 3620340
Validation time : 0.18046903610229492
Test: 14-of-14 CHECKMULTISIG P2SH/P2WSH inputs with same SIGHASH_ALL
**Non-witness**
Transaction weight : 3800640
Validation time : 5.667980909347534
**Witness**
Transaction weight : 3620378
Validation time : 0.12051892280578613
Test: 1-of-14 CHECKMULTISIG P2SH/P2WSH inputs with SIGHASH_ALL
**Non-witness**
Transaction weight : 3649544
Validation time : 5.534708023071289
**Witness**
Transaction weight : 3582618
Validation time : 0.12278890609741211
Test: CHECKSIG 1-of-13 CHECKMULTISIG CHECKSIG P2SH/P2WSH inputs with same SIGHASH_ALL
**Non-witness**
Transaction weight : 3673032
Validation time : 5.570199966430664
**Witness**
Transaction weight : 3588499
Validation time : 0.12127494812011719
Test: P2SH/P2WSH with 14 CHECKSIG with same SIGHASH_ALL
**Non-witness**
Transaction weight : 3801960
Validation time : 5.538799047470093
**Witness**
Transaction weight : 3620750
Validation time : 0.125593900680542
Test: P2SH/P2WSH with 14 CHECKSIG with different variations of SIGHASH_ALL
**Non-witness**
Transaction weight : 3801980
Validation time : 5.6412529945373535
**Witness**
Transaction weight : 3620720
Validation time : 0.17789912223815918
Test: P2SH/P2WSH with 14 CHECKSIG CODESEPERATOR with same SIGHASH_ALL
**Non-witness**
Transaction weight : 3804052
Validation time : 5.576967000961304
**Witness**
Transaction weight : 3621233
Validation time : 0.1773381233215332
Test: P2SH/P2WSH with 14 CHECKSIG CODESEPERATOR with different variations of SIGHASH_ALL
**Non-witness**
Transaction weight : 3804004
Validation time : 5.617579936981201
**Witness**
Transaction weight : 3621248
Validation time : 0.17502713203430176
Test: Bare/segwit P2PK inputs with SIGHASH_ALL
**Non-witness**
Transaction weight : 474536
Validation time : 0.6349029541015625
**Witness**
Transaction weight : 429416
Validation time : 0.34162211418151855
Test: Bare/P2WSH inputs with 137 CHECKSIG with random SIGHASH
**Non-witness**
Transaction weight : 1006140
Validation time : 1.187481164932251
**Witness**
Transaction weight : 406037
Validation time : 0.5019440650939941
Test: FindAndDelete in P2SH with sighash reset
**Non-witness**
Transaction weight : 3814600
Validation time : 5.508589029312134
**Witness**
Transaction weight : 3623842
Validation time : 0.10974717140197754
Test: FindAndDelete in P2SH without sighash reset
**Non-witness**
Transaction weight : 3814600
Validation time : 5.588521957397461
**Witness**
Transaction weight : 3623842
Validation time : 0.10627007484436035
Test: FindAndDelete in bare outputs
**Non-witness**
Transaction weight : 62080
Validation time : 0.018108129501342773
**Witness**
Transaction weight : 17952
Validation time : 0.012780904769897461
Test: signrawtransaction with different SIGHASH types
Stopping nodes
Cleaning up
Tests successful
==========
Test: 14-of-14 CHECKMULTISIG P2SH/P2WSH inputs with different variations of SIGHASH_ALL
**Non-witness**
Transaction weight : 3800396
Validation time : 5.619714975357056
**Witness**
Transaction weight : 3620324
Validation time : 0.1716930866241455
Test: 14-of-14 CHECKMULTISIG P2SH/P2WSH inputs with same SIGHASH_ALL
**Non-witness**
Transaction weight : 3800248
Validation time : 5.537163972854614
**Witness**
Transaction weight : 3620308
Validation time : 0.12352705001831055
Test: 1-of-14 CHECKMULTISIG P2SH/P2WSH inputs with SIGHASH_ALL
**Non-witness**
Transaction weight : 3649532
Validation time : 5.615390062332153
**Witness**
Transaction weight : 3582621
Validation time : 0.12134313583374023
Test: CHECKSIG 1-of-13 CHECKMULTISIG CHECKSIG P2SH/P2WSH inputs with same SIGHASH_ALL
**Non-witness**
Transaction weight : 3673056
Validation time : 5.550440073013306
**Witness**
Transaction weight : 3588493
Validation time : 0.12943100929260254
Test: P2SH/P2WSH with 14 CHECKSIG with same SIGHASH_ALL
**Non-witness**
Transaction weight : 3802184
Validation time : 5.531620025634766
**Witness**
Transaction weight : 3620778
Validation time : 0.1355748176574707
Test: P2SH/P2WSH with 14 CHECKSIG with different variations of SIGHASH_ALL
**Non-witness**
Transaction weight : 3801940
Validation time : 5.703583002090454
**Witness**
Transaction weight : 3620683
Validation time : 0.17529916763305664
Test: P2SH/P2WSH with 14 CHECKSIG CODESEPERATOR with same SIGHASH_ALL
**Non-witness**
Transaction weight : 3804020
Validation time : 5.648504972457886
**Witness**
Transaction weight : 3621239
Validation time : 0.17729997634887695
Test: P2SH/P2WSH with 14 CHECKSIG CODESEPERATOR with different variations of SIGHASH_ALL
**Non-witness**
Transaction weight : 3804088
Validation time : 5.643507957458496
**Witness**
Transaction weight : 3621225
Validation time : 0.17500090599060059
Test: Bare/segwit P2PK inputs with SIGHASH_ALL
**Non-witness**
Transaction weight : 474516
Validation time : 0.63690185546875
**Witness**
Transaction weight : 429425
Validation time : 0.34011006355285645
Test: Bare/P2WSH inputs with 137 CHECKSIG with random SIGHASH
**Non-witness**
Transaction weight : 1006044
Validation time : 1.1704599857330322
**Witness**
Transaction weight : 406073
Validation time : 0.5033020973205566
Test: FindAndDelete in P2SH with sighash reset
**Non-witness**
Transaction weight : 3813320
Validation time : 5.580620050430298
**Witness**
Transaction weight : 3623522
Validation time : 0.10261297225952148
Test: FindAndDelete in P2SH without sighash reset
**Non-witness**
Transaction weight : 3813320
Validation time : 5.630361080169678
**Witness**
Transaction weight : 3623522
Validation time : 0.10184597969055176
Test: FindAndDelete in bare outputs
**Non-witness**
Transaction weight : 61660
Validation time : 0.016656160354614258
**Witness**
Transaction weight : 17837
Validation time : 0.012935876846313477
Test: signrawtransaction with different SIGHASH types
Stopping nodes
Cleaning up
Tests successful
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment