Compile and run Burst Core Wallet 1.3.6cg on Linux (old H2 DB)


  • admin

    The new version of the core wallet with its different DB possibilities may be a challenge for some people with Linux.
    I spend some time with it myself and that's why I write this small tutorial for Linux user. ;)

    It's for people who can't or don't want to use this nicely maintained repo: http://package.cryptoguru.org/ .
    Hand-crafted is in vogue anyways...

    Here we go:

    Download and unzip source code from here:
    https://github.com/PoC-Consortium/burstcoin/releases

    Open the unzipped folder in Terminal and type:

    ./burst.sh compile
    

    You will get this message:

    This build method is no longer supported. Please install maven.
    https://maven.apache.org/install.html
    Do you want me to install a local copy of maven in this directory?

    Type:

    Y
    

    ... wait for Maven being completely installed.

    Then type again:

    ./burst.sh compile
    

    and wait for this Message: "[INFO] BUILD SUCCESS"

    Now it is time to change the config to the old H2 DB.
    It allows you to use the old Blockchain file from 1.2.9 Wallets and below.

    Create a new file with the filename nxt.properties in the /conf folder.

    Content:

    #Peer network
    nxt.peerServerPort = 8123
    nxt.peerServerHost = 0.0.0.0
    
    #API network
    nxt.apiServerPort = 8125
    nxt.apiServerHost = 127.0.0.1
    nxt.allowedBotHosts = 127.0.0.1
    
    #Using H2
    nxt.dbMaximumPoolSize=30
    nxt.dbUrl = jdbc:h2:./burst_db/burst;DB_CLOSE_ON_EXIT=False
    nxt.dbUsername = sa
    nxt.dbPassword = sa
    

    Now go back to terminal and start Burst wallet with:

    ./burst.sh
    

    Voilá - your self-compiled version is running now.

    Feel free to share and edit this post.


  • admin

    Optional:

    In the current release is a small but unfavorable configuration set. The console logging is too fine.
    To fix that you can create a file with the filename "logging.properties" in the /conf folder.

    The content should be:

    # Limit console messages to INFO and above
    java.util.logging.ConsoleHandler.level = INFO
    

    That's it.



  • @dawallet said in Compile and run Burst Core Wallet 1.3.6cg on Linux (old H2 DB):

    java.util.logging.ConsoleHandler.level = INFO

    Nice, thanks man. I was wondering how to stop this console flood.



  • @dawallet said in Compile and run Burst Core Wallet 1.3.6cg on Linux (old H2 DB):

    The new version of the core wallet with its different DB possibilities may be a challenge for some people with Linux.
    I spend some time with it myself and that's why I write this small tutorial for Linux user. ;)

    It's for people who can't or don't want to use this nicely maintained repo: http://package.cryptoguru.org/ .
    Hand-crafted is in vogue anyways...

    Thank you for your contribution into BURST distribution.
    But... We are living in the third millennium, may be it's enough of manual labor?..

    I was trying to install BURST wallet with MariaDB following the description at http://package.cryptoguru.org/. Only the last described way was useful, but after installation BURST wallet simply does not start.

    java.sql.SQLInvalidAuthorizationSpecException: Could not connect: Access denied for user 'rabinovitch'@'localhost' (using password: NO)
    

    It looks that the wallet is trying to enter into the database using wrong credentials, but I have edited all configuration files I found with credentials which BURST wallet is trying to use, but without any success.

    There is a silence on Discord. May be someone here will help me (and the whole BURST community) to get the really working guide applicable to all fresh Ubuntu/Mint distributives?