Git Product home page Git Product logo

nano-utilities's Introduction

nano-utilities

Simple Python scripts for various functions related to the Nano cryptocurrency

buckets.py - Python code to print Nano prioritization buckets. Output:

Bucket Number  Bucket Region  Bucket Range (Nano)                          Bucket Range (Raw)
Bucket 0       0-2^88         0.0-0.0003094850098213451                    0-309485009821345068724781056
Bucket 1       2^88-2^92      0.00030948500982134504-0.002630622583481433  309485009821345068724781056-2630622583481433084160638976       
Bucket 2       2^88-2^92      0.002630622583481433-0.004951760157141521    2630622583481433084160638976-4951760157141521099596496896      
Bucket 3       2^92-2^96      0.004951760157141521-0.023520860746422224    4951760157141521099596496896-23520860746422225223083360256     
Bucket 4       2^92-2^96      0.023520860746422224-0.042089961335702926    23520860746422225223083360256-42089961335702929346570223616    
Bucket 5       2^92-2^96      0.042089961335702926-0.06065906192498363     42089961335702929346570223616-60659061924983633470057086976    
Bucket 6       2^92-2^96      0.06065906192498363-0.07922816251426433      60659061924983633470057086976-79228162514264337593543950336    
Bucket 7       2^96-2^100     0.07922816251426433-0.22778096722850996      79228162514264337593543950336-227780967228509970581438857216   
Bucket 8       2^96-2^100     0.22778096722850996-0.3763337719427556       227780967228509970581438857216-376333771942755603569333764096  
Bucket 9       2^96-2^100     0.3763337719427556-0.5248865766570012        376333771942755603569333764096-524886576657001236557228670976  
Bucket 10      2^96-2^100     0.5248865766570012-0.6734393813712468        524886576657001236557228670976-673439381371246869545123577856  
Bucket 11      2^96-2^100     0.6734393813712468-0.8219921860854925        673439381371246869545123577856-821992186085492502533018484736  
Bucket 12      2^96-2^100     0.8219921860854925-0.9705449907997381        821992186085492502533018484736-970544990799738135520913391616  
Bucket 13      2^96-2^100     0.9705449907997381-1.1190977955139838        970544990799738135520913391616-1119097795513983768508808298496 
Bucket 14      2^96-2^100     1.1190977955139838-1.2676506002282293        1119097795513983768508808298496-1267650600228229401496703205376
Bucket 15      2^100-2^104    1.2676506002282293-2.4560730379421942        1267650600228229401496703205376-2456073037942194465399862460416
Bucket 16      2^100-2^104    2.4560730379421942-3.6444954756561594        2456073037942194465399862460416-3644495475656159529303021715456
Bucket 17      2^100-2^104    3.6444954756561594-4.8329179133701246        3644495475656159529303021715456-4832917913370124593206180970496
Bucket 18      2^100-2^104    4.8329179133701246-6.021340351084089         4832917913370124593206180970496-6021340351084089657109340225536
Bucket 19      2^100-2^104    6.021340351084089-7.209762788798055          6021340351084089657109340225536-7209762788798054721012499480576
Bucket 20      2^100-2^104    7.209762788798055-8.39818522651202           7209762788798054721012499480576-8398185226512019784915658735616
Bucket 21      2^100-2^104    8.39818522651202-9.586607664225985           8398185226512019784915658735616-9586607664225984848818817990656
Bucket 22      2^100-2^104    9.586607664225985-10.775030101939949         9586607664225984848818817990656-10775030101939949912721977245696
Bucket 23      2^100-2^104    10.775030101939949-11.963452539653915        10775030101939949912721977245696-11963452539653914976625136500736
Bucket 24      2^100-2^104    11.963452539653915-13.15187497736788         11963452539653914976625136500736-13151874977367880040528295755776
Bucket 25      2^100-2^104    13.15187497736788-14.340297415081844         13151874977367880040528295755776-14340297415081845104431455010816
Bucket 26      2^100-2^104    14.340297415081844-15.52871985279581         14340297415081845104431455010816-15528719852795810168334614265856
Bucket 27      2^100-2^104    15.52871985279581-16.717142290509774         15528719852795810168334614265856-16717142290509775232237773520896
Bucket 28      2^100-2^104    16.717142290509774-17.90556472822374         16717142290509775232237773520896-17905564728223740296140932775936
Bucket 29      2^100-2^104    17.90556472822374-19.093987165937705         17905564728223740296140932775936-19093987165937705360044092030976
Bucket 30      2^100-2^104    19.093987165937705-20.28240960365167         19093987165937705360044092030976-20282409603651670423947251286016
Bucket 31      2^104-2^108    20.28240960365167-39.29716860707511          20282409603651670423947251286016-39297168607075111446397799366656
Bucket 32      2^104-2^108    39.29716860707511-58.31192761049855          39297168607075111446397799366656-58311927610498552468848347447296
Bucket 33      2^104-2^108    58.31192761049855-77.32668661392199          58311927610498552468848347447296-77326686613921993491298895527936
Bucket 34      2^104-2^108    77.32668661392199-96.34144561734543          77326686613921993491298895527936-96341445617345434513749443608576
Bucket 35      2^104-2^108    96.34144561734543-115.35620462076888         96341445617345434513749443608576-115356204620768875536199991689216
Bucket 36      2^104-2^108    115.35620462076888-134.3709636241923         115356204620768875536199991689216-134370963624192316558650539769856
Bucket 37      2^104-2^108    134.3709636241923-153.38572262761576         134370963624192316558650539769856-153385722627615757581101087850496
Bucket 38      2^104-2^108    153.38572262761576-172.40048163103918        153385722627615757581101087850496-172400481631039198603551635931136
Bucket 39      2^104-2^108    172.40048163103918-191.41524063446263        172400481631039198603551635931136-191415240634462639626002184011776
Bucket 40      2^104-2^108    191.41524063446263-210.42999963788608        191415240634462639626002184011776-210429999637886080648452732092416
Bucket 41      2^104-2^108    210.42999963788608-229.4447586413095         210429999637886080648452732092416-229444758641309521670903280173056
Bucket 42      2^104-2^108    229.4447586413095-248.45951764473295         229444758641309521670903280173056-248459517644732962693353828253696
Bucket 43      2^104-2^108    248.45951764473295-267.4742766481564         248459517644732962693353828253696-267474276648156403715804376334336
Bucket 44      2^104-2^108    267.4742766481564-286.48903565157985         267474276648156403715804376334336-286489035651579844738254924414976
Bucket 45      2^104-2^108    286.48903565157985-305.5037946550033         286489035651579844738254924414976-305503794655003285760705472495616
Bucket 46      2^104-2^108    305.5037946550033-324.5185536584267          305503794655003285760705472495616-324518553658426726783156020576256
Bucket 47      2^108-2^112    324.5185536584267-932.9908417679768          324518553658426726783156020576256-932990841767976839501573559156736
Bucket 48      2^108-2^112    932.9908417679768-1,541.4631298775269        932990841767976839501573559156736-1541463129877526952219991097737216
Bucket 49      2^108-2^112    1,541.4631298775269-2,149.935417987077       1541463129877526952219991097737216-2149935417987077064938408636317696
Bucket 50      2^108-2^112    2,149.935417987077-2,758.407706096627        2149935417987077064938408636317696-2758407706096627177656826174898176
Bucket 51      2^108-2^112    2,758.407706096627-3,366.8799942061773       2758407706096627177656826174898176-3366879994206177290375243713478656
Bucket 52      2^108-2^112    3,366.8799942061773-3,975.3522823157273      3366879994206177290375243713478656-3975352282315727403093661252059136
Bucket 53      2^108-2^112    3,975.3522823157273-4,583.824570425278       3975352282315727403093661252059136-4583824570425277515812078790639616
Bucket 54      2^108-2^112    4,583.824570425278-5,192.296858534827        4583824570425277515812078790639616-5192296858534827628530496329220096
Bucket 55      2^112-2^116    5,192.296858534827-24,663.41007804043        5192296858534827628530496329220096-24663410078040431235519857563795456
Bucket 56      2^112-2^116    24,663.41007804043-44,134.52329754603        24663410078040431235519857563795456-44134523297546034842509218798370816
Bucket 57      2^112-2^116    44,134.52329754603-63,605.63651705164        44134523297546034842509218798370816-63605636517051638449498580032946176
Bucket 58      2^112-2^116    63,605.63651705164-83,076.74973655723        63605636517051638449498580032946176-83076749736557242056487941267521536
Bucket 59      2^116-2^120    83,076.74973655723-706,152.3727607365        83076749736557242056487941267521536-706152372760736557480147500773933056
Bucket 60      2^116-2^120    706,152.3727607365-1,329,227.9957849158      706152372760736557480147500773933056-1329227995784915872903807060280344576
Bucket 61      2^120-2^128    1,329,227.9957849158-340,282,366.92093843    1329227995784915872903807060280344576-340282366920938463463374607431768211456
Total length: 62

nano-utilities's People

Contributors

qwahzi avatar

Watchers

 avatar

nano-utilities's Issues

Add frontier scan functionality to the ascended bootstrapping client

There is one more algorithm that is present in legacy bootstrap but not in new ascending one, and that is frontier scan. Currently each request can only sample a single account, but with that frontier scanning ability we could sample ~1k accounts at a time. That should be especially useful in this late stage where there are relatively few accounts out of sync.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.