Skip to content

Commit

Permalink
Merge pull request #150 from hodlforjesus/fb-carver2d
Browse files Browse the repository at this point in the history
Carver2D Rev3 Implementation
  • Loading branch information
hodlforjesus authored Oct 3, 2019
2 parents d74f65c + beaed05 commit e189598
Show file tree
Hide file tree
Showing 82 changed files with 4,481 additions and 1,682 deletions.
50 changes: 41 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,45 @@ Bulwark Explorer
[![GitHub license](https://img.shields.io/github/license/bulwark-crypto/bulwark-explorer.svg)](https://github.com/bulwark-crypto/bulwark-explorer/blob/master/COPYING) [![Build Status](https://travis-ci.org/bulwark-crypto/bulwark-explorer.svg?branch=master)](https://travis-ci.org/bulwark-crypto/bulwark-explorer) [![Discord](https://img.shields.io/discord/374271866308919296.svg)](https://discord.me/bulwarkcrypto) [![GitHub version](https://badge.fury.io/gh/bulwark-crypto%2Fbulwark-explorer.svg)](https://badge.fury.io/gh/bulwark-crypto%2Fbulwark-explorer)
=====

Simple cryptocurrency block explorer system.
The most advanced blockchain eplorer for masternode, proof-of-stake and proof-of-work chains.

Features:

- Address-to-address blockchain data storage powered by Bulwark Carver2D Rev3 algorithm
- World's most advanced Proof Of Stake calculator based on real blockchain rewards data
- Running address balance powered by Bulwark's "Perfect Ledger" technology
- Per-block POS, POW, MN rewards breakdown
- Detailed per-address rewards breakdown and rewards summary
- Automatic chain rewinding
- Graceful error recovery (Unreconciliation)

# Easy Installation Instructions

1. SSH into a clean UBUNTU 18.04 VPS with root access
2. `apt-get install git`
3. `adduser explorer`
4. `usermod -aG sudo explorer`
5. Ensure your coin RPC is running
6. `su explorer`
7. `bash <( curl https://raw.githubusercontent.com/bulwark-crypto/bulwark-explorer/master/script/install.sh )`

## Post-Installation

Check block syncing status with `tail -f /home/explorer/blockex/tmp/block.log`

You will most likely see `Error: connect ECONNREFUSED` this is because your RPC username/password/port do not match your coin. Please check your coin `.config` file (ex: `/home/explorer/.bulwark/bulwark.conf`)

You will see something like this:
```
rpcport=52541
rpcuser=someuserhere
rpcpassword=somepasswordhere
daemon=1
txindex=1
```
Please ensure your `/home/explorer/blockex/config.js` matches the rpc information of your coin.

# Advanced Installation Instructions

## Required
This repo assumes `git`, `mongodb`, `node`, `yarn`, and are installed with configuration done. Please adjust commands to your local environment.
Expand All @@ -20,13 +58,11 @@ https://yarnpkg.com/lang/en/docs/install/

It is also required to have the Bulwark daemon running in the background. It is recommended to set this up before beginning to set up the explorer so that it syncs by the time you need it.

Our geniuses here at BulwarkCorp™ have put together a script to do this for you. Just run

`bash script/bulwarkd_setup.sh`
Our geniuses here at BulwarkCorp™ have put together a script to Install Bulwark daemon. Just run `bash script/bulwarkd_setup.sh`

This will install the latest Bulwark wallet and create a rpc username/password before starting the daemon.

## Install
## Manual Install
`git clone https://github.com/bulwark-crypto/bulwark-explorer.git` - copy repo to local folder.

`cd blockex` - change into project directory.
Expand Down Expand Up @@ -104,7 +140,3 @@ At this time only the client web interface needs to be built using webpack and t
#### Server - Rest API (node, express, mongo, mongoose)

`server/route/api.js` - Contains all public rest api endpoint routes

## To-Do
- Write more tests
- Cluster support for api
2 changes: 1 addition & 1 deletion client/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ class App extends Component {
<Route exact path="/rewards" component={Rewards} />
<Route exact path="/movement" component={Movement} />
<Route exact path="/peer" component={Peer} />
<Route exact path="/pos/:amount" component={PoS} />
<Route exact path="/pos/:fromInputAmount/:toInputAmount/:date/:restakeOnly" component={PoS} />
<Route exact path="/statistics" component={Statistics} />
<Route exact path="/top" component={Top100} />
<Route exact path="/tx/:hash" component={TX} />
Expand Down
Loading

0 comments on commit e189598

Please sign in to comment.