bus

package module
v1.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 7, 2019 License: GPL-3.0, MIT Imports: 3 Imported by: 0

README

Bitconch

A New Distributed Web Protocol for Smart Contracts and DApps.

This repo is the official implementation of the Bitconch Chain protocol.

File Structure

|___blaze_gpu\
|___build\
|___cdylib\
|___common\
|___core\
|___crypto\
|___docs\
|___gobin\
|___scripts\
|___smart_contract\
|___tokenissue\
|___vendor\
|___whitepaper\
|___deploy.py
|___preset.sh

Build


Ubuntu
  1. run preset.sh to install environment
preset.sh
pip3 install colorama
  1. run the leader node
./run1.sh
  1. open another terminal, and run token bot service
./run2.sh

  1. open another terminal, and run voter node
./run3.sh

  1. Open another terminal, and run the bench mark service
./run4.sh

Windows

WIP

For first time user on windows

  1. Download and install Chcolate https://chocolatey.org/

  2. Install mingw, go, rust

  3. Download and install Visutal Studio Code https://code.visualstudio.com/

  4. Register an account on Github.com

  5. Download the Github desktop client from https://desktop.github.com

  6. Clone this repo to your own local

  7. Modify the code as you wish.

  8. Commit the changes to your local repo. And push to your own remote repo.

  9. Please make sure your contributions adhere to our coding guidelines:

    • Code must adhere to the official Go formatting guidelines (i.e. uses gofmt).
    • Code must be documented adhering to the official Go commentary guidelines.
    • Pull requests need to be based on and opened against the master branch.
    • Commit messages should be prefixed with the package(s) they modify.
      • E.g. "consensus: add new pckage buffett for POR consensus"

How to contribute (Bitconch Improvement Proposal - BUSIP)


People wishing to submit BUSIPs, first should propose their idea or document to the issue tab. After discussion, please open a PR. After copy-editing and acceptance, it will be published here.

We are fairly liberal with approving BIPs, and try not to be too involved in decision making on behalf of the community. The exception is in very rare cases of dispute resolution when a decision is contentious and cannot be agreed upon. In those cases, the conservative option will always be preferred.

Having a BIP here does not make it a formally accepted standard until its status becomes Final or Active.

Magna Carta of Bitconch

Bitconch is dedicated to build a global community of developers. This part is still in WIP, please post your ideas to the issue with tag of #BUSIP

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CallBenchmarker

func CallBenchmarker(network string,
	identity string,
	num string,
	reject string,
	threads string,
	duration string,
	converge string,
	sustained string,
	txcount string)

func CallCoincaster

func CallCoincaster(network string,
	keypair string,
	slicetime string,
	reqcapnum string)

CallCoincaster will fly and do some airdrops

func CallFullnode

func CallFullnode(
	identity string,
	network string,
	ledger string)

CallFullnode create an instance of a fullnode for bitconch blockchain

func CallFullnodeConfig

func CallFullnodeConfig(
	localmode string,
	keypair string,
	publicmode string,
	bindportnum string,
	outfilepath string,
)

CallFullnodeCongfig create the configuration for a full node

func CallGenesis

func CallGenesis(
	tokens string,
	ledger string,
)

CallGenesis start the initialization process of bitconch chain

func CallKeymaker

func CallKeymaker(outfile string)

CallKeymaker create a stack of keypairs into a file

func CallLedgerTool

func CallLedgerTool(
	outfile string,
)

CallLedgerTool

Types

This section is empty.

Directories

Path Synopsis
cli
common
math
Package math provides integer math utilities.
Package math provides integer math utilities.
pgminterface
use pubkey::Pubkey;
use pubkey::Pubkey;
timer
The `timing` module provides std::time utility functions.
The `timing` module provides std::time utility functions.
gobin
cli
fullnode
Call the main execute from vendor/rust_src_easy/main_execute.rs
Call the main execute from vendor/rust_src_easy/main_execute.rs
fullnode_easy
Call the main execute from vendor/rust_src_easy/main_execute.rs
Call the main execute from vendor/rust_src_easy/main_execute.rs
utils
Package utils contains internal helper functions for go-ethereum commands.
Package utils contains internal helper functions for go-ethereum commands.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL