Skip to content

Instantly share code, notes, and snippets.

@achow101
Last active July 4, 2018 02:43
Show Gist options
  • Save achow101/242470486265d3f21adab08f65b9102c to your computer and use it in GitHub Desktop.
Save achow101/242470486265d3f21adab08f65b9102c to your computer and use it in GitHub Desktop.

Simulations Results for SRD Fallback strategies

SRD Fallback

Simulation File final value mean #UTXO final #UTXO #received #spent #payments sent #changes created min change max change mean change stDev of change total fees average fees fees to spend remaining UTXO total cost min input set max input set mean size of input set stdev of input set size BnB Usage SRD Usage
derived-1I-2O-statoshi-6block.csv 115.55086265 102.27 139 6097 16424 11565 10467.00000000 0.00007778 10.10469422 0.94600269 1.21818317 -2.35333207 -0.00020349 -0.00020572 -2.35353779 1 14 1.42014700 1.17345193 1098 10467
derived-balanced-statoshi-6block.csv 106.49087057 199.77 287 12194 20883 11600 8976.00000000 0.00002474 9.94578008 0.70230363 1.07709449 -2.54395062 -0.00021931 -0.00042476 -2.54437538 0 22 1.80025862 1.62238733 2623 8977
moneypot-statoshi-6block.csv 96.11426671 514.51 684 24388 29863 11639 6159.00000000 0.00005120 9.99977012 0.44716997 0.88629566 -2.75320648 -0.00023655 -0.00101232 -2.75421880 1 76 2.56577026 2.60357539 5480 6159

Current Master (BnB + Original)

Simulation File final value mean #UTXO final #UTXO #received #spent #payments sent #changes created min change max change mean change stDev of change total fees average fees fees to spend remaining UTXO total cost min input set max input set mean size of input set stdev of input set size BnB Usage Orig Usage
derived-1I-2O-statoshi-6block.csv 116.06328217 24.73 40 6097 17370 11565 11313.00000000 0.00647508 9.42215302 0.13514682 0.35985890 -2.47215742 -0.00021376 -0.00005920 -2.47221662 0 27 1.50194553 1.13034947 251 11315
derived-balanced-statoshi-6block.csv 106.28535669 38.03 69 12194 22658 11600 10533.00000000 0.00665314 3.96435940 0.06522161 0.19878992 -2.74946450 -0.00023702 -0.00010212 -2.74956662 1 75 1.95327586 1.71166397 1067 10575
moneypot-statoshi-6block.csv 95.70574025 69.21 144 24388 32804 11639 8560.00000000 0.00546772 3.76436770 0.03835216 0.11374388 -3.16173294 -0.00027165 -0.00021312 -3.16194606 1 84 2.81845519 2.48624668 3079 9211

SRD Fallback with Small UTXOs first

Simulation File final value mean #UTXO final #UTXO #received #spent #payments sent #changes created min change max change mean change stDev of change total fees average fees fees to spend remaining UTXO total cost min input set max input set mean size of input set stdev of input set size BnB Usage SRD Usage
derived-1I-2O-statoshi-6block.csv 116.09405495 83.97 113 6097 17170 11565 11186.00000000 0.00002778 10.20177842 1.28125072 1.48443247 -2.44138464 -0.00021110 -0.00016724 -2.44155188 0 14 1.48465197 1.09913828 377 11188
derived-balanced-statoshi-6block.csv 106.31546314 177.88 232 12194 22250 11600 10288.00000000 0.00001995 10.01039004 0.86020377 1.38390029 -2.71935805 -0.00023443 -0.00034336 -2.71970141 0 22 1.91810345 1.54419332 1306 10294
moneypot-statoshi-6block.csv 95.92147410 472.31 581 24388 31695 11639 7888.00000000 0.00001089 9.99937842 0.49324531 1.05283537 -2.94599909 -0.00025311 -0.00085988 -2.94685897 1 101 2.72317209 2.72749994 3738 7901

SRD Fallback but including all negative UTXOs too

Simulation File final value mean #UTXO final #UTXO #received #spent #payments sent #changes created min change max change mean change stDev of change total fees average fees fees to spend remaining UTXO total cost min input set max input set mean size of input set stdev of input set size BnB Usage SRD Usage
derived-1I-2O-statoshi-6block.csv 116.18246668 53.26 98 6097 16477 11565 10478.00000000 0.00000208 10.27078008 0.95026045 1.18990100 -2.35297291 -0.00020346 -0.00014504 -2.35311795 1 14 1.42472979 1.19514639 1086 10479
derived-balanced-statoshi-6block.csv 106.48900074 67.61 132 12194 21024 11600 8962.00000000 0.00002696 10.00976846 0.72149549 1.12333275 -2.54582045 -0.00021947 -0.00019536 -2.54601581 1 25 1.81241379 1.60544305 2638 8962
moneypot-statoshi-6block.csv 96.05209400 164.12 285 24388 30182 11639 6079.00000000 0.00001458 9.99688340 0.43588820 0.88366227 -2.81537919 -0.00024189 -0.00042180 -2.81580099 0 37 2.59317811 2.23508208 5559 6080

SRD Fallback but including one negative UTXOs too

Simulation File final value mean #UTXO final #UTXO #received #spent #payments sent #changes created min change max change mean change stDev of change total fees average fees fees to spend remaining UTXO total cost min input set max input set mean size of input set stdev of input set size BnB Usage SRD Usage
derived-1I-2O-statoshi-6block.csv 116.13765453 54.06 96 6097 16475 11565 10475.00000000 0.00002952 10.24167510 0.92987058 1.20187913 -2.35222477 -0.00020339 -0.00014208 -2.35236685 1 13 1.42455685 1.18882384 1090 10475
derived-balanced-statoshi-6block.csv 106.47180680 64.92 118 12194 21102 11600 9026.00000000 0.00003320 9.94009147 0.73432362 1.10907597 -2.56301439 -0.00022095 -0.00017464 -2.56318903 1 42 1.81913793 1.67829367 2574 9026
moneypot-statoshi-6block.csv 96.02232312 142.75 264 24388 30376 11639 6252.00000000 0.00002506 9.99918508 0.47150455 0.89980605 -2.84515007 -0.00024445 -0.00039072 -2.84554079 1 37 2.60984621 2.23451713 5386 6253

SRD Fallback target 100 * long term fee as min change

Simulation File final value mean #UTXO final #UTXO #received #spent #payments sent #changes created min change max change mean change stDev of change total fees average fees fees to spend remaining UTXO total cost min input set max input set mean size of input set stdev of input set size BnB Usage SRD Usage
moneypot-statoshi-6block.csv 96.13637945 524.04 714 24388 29792 11639 6118.00000000 0.00004404 9.99876891 0.46128514 0.93962550 -2.73109374 -0.00023465 -0.00105672 -2.73215046 1 38 2.55967007 2.43834982 5520 6119

SRD Fallback target 10 * long term fee as min change and target change from formula

Target Change C = P*(1 - P/B), where P is the amount we're sending, B is the total effective balance, and C is the maximum change size we're targetting

Simulation File final value mean #UTXO final #UTXO #received #spent #payments sent #changes created min change max change mean change stDev of change total fees average fees fees to spend remaining UTXO total cost min input set max input set mean size of input set stdev of input set size BnB Usage SRD Usage
derived-1I-2O-statoshi-6block.csv 115.54423093 100.65 146 6097 16486 11565 10536.00000000 0.00016004 10.29267510 0.97833829 1.19492312 -2.35996379 -0.00020406 -0.00021608 -2.36017987 1 15 1.42550800 1.19974470 1029 10536

SRD Fallback target 10 * long term fee as min change and target change from formula with repetition

Simulation File final value mean #UTXO final #UTXO #received #spent #payments sent #changes created min change max change mean change stDev of change total fees average fees fees to spend remaining UTXO total cost min input set max input set mean size of input set stdev of input set size BnB Usage SRD Usage
derived-1I-2O-statoshi-6block.csv 116.20225325 115.72 166 6097 16359 11565 10428.00000000 0.00229779 10.07010614 1.34120117 1.32550535 -2.33318634 -0.00020175 -0.00024568 -2.33343202 1 15 1.41452659 1.15605124 1137 10428
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment