Skip to content

redblockdev/RedBlock

 
 

Repository files navigation

===========================

https://www.redblockcoin.com/

REDB

View Releases

What is RedBlock?

RedBlock is an experimental blockchain based on BSHA3 which is based off Bitcoin. Almost all instances of SHA256, a prominent algorithm throughout Bitcoin, are replaced with SHA3-256.

RedBlock is a direct fork of the first SHA3-256 blockchain BSHA3. RedBlock has a max supply of only 10,515 coins. RedBlock does not have a premine and will never have a developer fee.

Its genesis block has a timestamp (nTime) of 1540053565.

Tech Specification

  • Max Supply: 10,515 REDB, halving every year
  • Block Time: 60 seconds
  • Block Reward: 0.01 REDB
  • Mining Algorithm: SHA3d

License

REDB is released under the terms of the MIT license. See COPYING for more information or see https://opensource.org/licenses/MIT.

Building

Download either the source code, or a pre-built release.

To build from source, run:

./autogen.sh
./configure --disable-bench
make

The resulting binaries will be created in src/, with the GUI wallet in subdirectory src/qt/.

Components -

  • redblockd - Daemon (Syncs and validates blocks and transactions)
  • redblock-cli - RPC Client (Runs commands on the daemon)
  • redblock-tx - Transaction Builder
  • redblock-qt - GUI Wallet (Standalone, can be used for mining and sending)

Running

GUI -

To start, double-click the program. To stop, close the program.

CLI (Command Line Interface) -

To start, run ./redblockd in a terminal window. Then run ./redblock-cli getblockchaininfo in another. You should see the block height and other output. Run ./redblock-cli help for more commands.

To stop redblockd cleanly, you should run ./redblock-cli stop.

Mining

GUI -

You will need to visit the debug console to use these commands. It is located at Help -> Debug Window on the titlebar.

To start, run command - setgenerate true <num_cpu_cores>

To stop, run command - setgenerate false

CLI -

To start, first run - ./redblockd

Then, in a separate terminal, run - ./redblock-cli setgenerate true <num_cpu_cores>

You are now mining.

To stop mining, run - ./redblock-cli setgenerate false

To stop redblockd cleanly, run - ./redblock-cli stop

Wallet Backup

Create a wallet backup right away. There are two ways to do this:

  • Use redblock-cli dumpwallet <output_filename> to create a txt file containing your xprv (master private key) and its addresses. From this xprv, you can generate all private keys & addresses that your wallet file will ever contain.

  • Copy $DATADIR/wallets/wallet.dat to a safe destination.

Your datadir is in the following folder for each operating system:

  • Windows 10 - C:\Documents and Settings\<username>\Application Data\REDB
  • Windows 7 - C:\Users\<username>\AppData\Roaming\REDB
  • Mac - ~/Library/Application Support/REDB
  • Unix - ~/.redblock

Development Process

The following text is directly from Bitcoin Core.

The master branch is regularly built and tested, but is not guaranteed to be completely stable. Tags are created regularly to indicate new official, stable release versions of Bitcoin Core.

The contribution workflow is described in CONTRIBUTING.md.

Testing

The following text is directly from Bitcoin Core.

Testing and code review is the bottleneck for development; we get more pull requests than we can review and test on short notice. Please be patient and help out by testing other people's pull requests, and remember this is a security-critical project where any mistake might cost people lots of money.

Automated Testing

Developers are strongly encouraged to write unit tests for new code, and to submit new unit tests for old code. Unit tests can be compiled and run (assuming they weren't disabled in configure) with: make check. Further details on running and extending unit tests can be found in /src/test/README.md.

There are also regression and integration tests, written in Python, that are run automatically on the build server. These tests can be run (if the test dependencies are installed) with: test/functional/test_runner.py

The Travis CI system makes sure that every pull request is built for Windows, Linux, and macOS, and that unit/sanity tests are run automatically.

Manual Quality Assurance (QA) Testing

Changes should be tested by somebody other than the developer who wrote the code. This is especially important for large or high-risk changes. It is useful to add a test plan to the pull request description if testing the changes is not straightforward.

Translations

The following text is directly from Bitcoin Core.

Changes to translations as well as new translations can be submitted to Bitcoin Core's Transifex page.

Translations are periodically pulled from Transifex and merged into the git repository. See the translation process for details on how this works.

Important: We do not accept translation changes as GitHub pull requests because the next pull from Transifex would automatically overwrite them again.

Translators should also subscribe to the mailing list.

Packages

No packages published

Languages

  • C++ 68.4%
  • Python 16.5%
  • C 9.4%
  • M4 2.2%
  • Makefile 1.3%
  • Shell 1.0%
  • Other 1.2%