noah-go-node

module
v0.2.5 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2020 License: MIT

README

last commit license version Go version

NOAH-blockchain go-node

Sub-modules

1) Remote cluster using terraform and ansible
2) Amino
3) IAVL+ Tree

###Guide how to configure and delegate your validator

Quick Installation from Docker

  1. Pull docker from official docker hub
docker pull noahblockchain/node
  1. Run you validator for initialization node
docker run -p 26656:26656 -p 26657:26657 -p 26660:26660 -p 8841:8841 -p 3000:3000 -v ~/node:/root/noah/ noahblockchain/node noah node --network-id=noah-mainnet-1 --chain-id=mainnet --validator-mode

--network-id=X, where X its choose network (noah-mainnet-1 or noah-testnet-1)

--chain-id=Y, where Y its choose chain (mainnet or testnet)

--validator-mode if node working in Validator mode

Starting validator from source code

1. Clone source code to your machine
mkdir -p $GOPATH/src/github.com/noah-blockchain or $HOME/noah
cd $GOPATH/src/github.com/noah-blockchain
git clone https://github.com/noah-blockchain/noah-go-node.git
cd noah-go-node
2. Install Node Modules
make create_vendor
3. Compile
make build

After this command compiled node will be in folder build and node configuration will be in folder $HOME/noah.

4. Run node

For running validator use command

./build/noah node --network-id=noah-mainnet-1 --chain-id=mainnet --validator-mode

We recommend using our official node docker.

5. Use GUI

Open http://localhost:3000/ in local browser to see node’s GUI.

P.S. Available only in NOT validator mode.

Directories

Path Synopsis
cmd
core
dao
types
Package common contains various helper functions.
Package common contains various helper functions.
bn256
Package bn256 implements a particular bilinear group at the 128-bit security level.
Package bn256 implements a particular bilinear group at the 128-bit security level.
bn256/cloudflare
Package bn256 implements a particular bilinear group at the 128-bit security level.
Package bn256 implements a particular bilinear group at the 128-bit security level.
bn256/google
Package bn256 implements a particular bilinear group.
Package bn256 implements a particular bilinear group.
secp256k1
Package secp256k1 wraps the bitcoin secp256k1 C library.
Package secp256k1 wraps the bitcoin secp256k1 C library.
sha3
Package sha3 implements the SHA-3 fixed-output-length hash functions and the SHAKE variable-output-length hash functions defined by FIPS-202.
Package sha3 implements the SHA-3 fixed-output-length hash functions and the SHAKE variable-output-length hash functions defined by FIPS-202.
Package hexutil implements hex encoding with NOAHx prefix.
Package hexutil implements hex encoding with NOAHx prefix.
Package math provides integer math utilities.
Package math provides integer math utilities.
Package rlp implements the RLP serialization format.
Package rlp implements the RLP serialization format.
rpc
lib
HTTP RPC server supporting calls via uri params, jsonrpc, and jsonrpc over websockets Client Requests Suppose we want to expose the rpc function `HelloWorld(name string, num int)`.
HTTP RPC server supporting calls via uri params, jsonrpc, and jsonrpc over websockets Client Requests Suppose we want to expose the rpc function `HelloWorld(name string, num int)`.
lib/server
Commons for HTTP handling
Commons for HTTP handling

Jump to

Keyboard shortcuts

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