LusWar / burstcoin

BRS - Burst Reference Software

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Burstcoin Reference Software (Burstcoin Wallet)

Build Status GPLv3 Get Support at https://discord.gg/ms6eagX

The world's first HDD-mined cryptocurrency using an energy efficient and fair Proof-of-Capacity (PoC) consensus algorithm.

This wallet version is developed and maintained by the Burst Apps Team (BAT). The two supported database backends are:

  • MariaDB (recommended)
  • H2 (embedded, easier install)

Network Features

  • Proof of Capacity - ASIC proof / Energy efficient mining
  • No ICO/Airdrops/Premine
  • Turing-complete smart contracts, via BlockTalk
  • Asset Exchange; Digital Goods Store; Crowdfunds, NFTs, games, and more (via smart contracts); and Alias system

Network Specification

  • 4 minute block time
  • Total Supply: 2,158,812,800 BURST
  • Block reward starts at 10,000/block
  • Block Reward Decreases at 5% each month

BRS Features

  • Decentralized Peer-to-Peer network with spam protection
  • Built in Java - runs anywhere, from a Raspberry Pi to a Phone
  • Fast sync with multithreaded CPU or, optionally, an OpenCL GPU
  • HTTP and gRPC API for clients to interact with network

Installation

Prerequisites (All Platforms)

NOTE: burst.sh is now deprecated and is not included on this release.

Java 8 (Recommended) or higher

You need Java 8 (recommended) or higher installed. To check your java version, run java -version. You should get an output similar to the following:

java version "1.8.0_181"
Java(TM) SE Runtime Environment (build 1.8.0_181-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.181-b13, mixed mode)

The important part is that the Java version starts with 1.8 (Java 8)

If you do not have Java installed, download it from Oracle's Website

MariaDB (Optional)

Download and install MariaDB

The MariaDb installation will ask to setup a password for the root user. Add this password to the brs.properties file you will create when installing BRS:

DB.Url=jdbc:mariadb://localhost:3306/brs_master
DB.Username=root
DB.Password=YOUR_PASSWORD

Installation

You can manually install using the following steps, or by using the pre-packaged options below.

Manually installing - All Platforms

Grab the latest release (Or, if you prefer, compile yourself using the instructions below)

In the conf directory, copy brs-default.properties into a new file named brs.properties and modify this file to suit your needs (See "Configuration" section below)

To run BRS, double click on burst.exe (if on Windows) or run java -jar burst.jar. On most systems this will show you a monitoring window and will create a tray icon to show that BRS is running. To disable this, instead run java -jar burst.jar --headless.

Installation Packages

Windows

QBundle is a tool which will automatically download any required files and tools and manage BRS for you. This is recommended for users who do not want to learn how to setup BRS.

Configuration

Running on mainnet (unless you are developing or running on testnet, you will probably want this)

There is no need to change any configuration. Optionally, if you want to use mariadb (see above), you will need to add the following to your conf/brs.properties:

DB.Url=jdbc:mariadb://localhost:3306/brs_master
DB.Username=brs_user
DB.Password=yourpassword

Also look through the existing properties if there is anything you want to change.

Testnet

Please see the Wiki article for details on how to setup a testnet node.

Private Chains

In order to run a private chain, you need the following properties:

DEV.DB.Url=(Your Database URL)
DEV.DB.Username=(Your Database Username)
DEV.DB.Password=(Your Database Password2)
API.Listen = 0.0.0.0
API.allowed = *
DEV.TestNet = yes
DEV.Offline = yes
DEV.digitalGoodsStore.startBlock = 0
DEV.automatedTransactions.startBlock = 0
DEV.atFixBlock2.startBlock = 0
DEV.atFixBlock3.startBlock = 0
DEV.atFixBlock4.startBlock = 0
DEV.prePoc2.startBlock = 0
DEV.poc2.startBlock = 0
DEV.rewardRecipient.startBlock = 0

Optionally, if you want to be able to forge blocks faster, you can add the following properties:

DEV.mockMining = true
DEV.mockMining.deadline = 10

This will cause a block to be forged every 10 seconds. Note that P2P is disabled when running a private chain and is incompatible with mock mining.

Building

Building the latest stable release

Run these commands (master is always the latest stable release):

git fetch --all --tags --prune
git checkout origin/master
mvn package

Your packaged release will now be available in dist/burstcoin-2.5.0.zip

Building the latest development version

Run these commands (develop is always the latest stable release):

git fetch --all --tags --prune
git checkout origin/develop
mvn package

Your packaged release will now be available in dist/burstcoin-3.0.0.zip.

Please note that development builds will refuse to run outside of testnet or a private chain

Developers

Main Developer: Harry1453. Donation address: BURST-W5YR-ZZQC-KUBJ-G78KB

For more information, see Credits

Further Documentation

About

BRS - Burst Reference Software

License:GNU General Public License v3.0


Languages

Language:Java 65.3%Language:JavaScript 19.4%Language:HTML 8.8%Language:CSS 3.2%Language:TSQL 1.6%Language:C 0.7%Language:Shell 0.5%Language:Perl 0.5%