<<  >> (p.145)
    Author Topic: [ANN] CureCoin 2.0 is live - Mandatory Update is available now - DEC 2018  (Read 696387 times)
    Vorksholk
    Legendary
    *
    Offline Offline

    Activity: 1713
    Merit: 1029



    View Profile WWW
    May 17, 2015, 03:49:29 AM
     #2881

    Quick update, still playing around a bit with the skeleton of 2.0 before we have a live beta, I'll be posting bits and pieces throughout the next week or so.

    The first morsel of code is the address generation code, which has been displayed earlier. After some modifications, a tad bit of optimization, and the introduction of multithreading, here's the almost-finished product, wrapped up in a JAR file you can run with the command line. The Merkle Tree generation scheme is outlined here: http://1.curecoinmirror.com/Curecoin%20Signatures%20Compressed.pdf

    You can access the compiled program to benchmark address generation performance here: http://1.curecoinmirror.com/AddressGen.zip
    Normal Curecoin addresses will be between 14 and 18 layers. Authority addresses will be above 25 layers. The AddressGen program loves eating memory. Start it as java -Xmx500M -jar AddressGen.jar to reduce memory usage.

    And the source code here: http://1.curecoinmirror.com/AddressGenSource.zip

    Generating a Curecoin address takes a fair share of time given the nature of Merkle Trees--ALL Lamport signatures must be generated when the address is created.

    For anyone interested in generating vanity addresses, here's a simple VanityGen application: http://1.curecoinmirror.com/VanityGen.zip
    Source code to the vanitygen app is pretty boring. If you really want it, extract the jar file as a zip, the source code is zipped in there.

    VeriBlock: Securing The World's Blockchains Using Bitcoin
    https://veriblock.org
Page 144
Viewing Page: 145