Categorygithub.com/gnc-project/gnc
modulepackage
1.0.0
Repository: https://github.com/gnc-project/gnc.git
Documentation: pkg.go.dev

# README

GNC

You can download the source code and compile it yourself, or download the binary code file directly from https://github.com/gnc-project/gnc-node

how to compile

mkdir /home/gnccode

cd /home/gnccode

download : git clone https://github.com/gnc-project/gnc

1: cd /home/gnccode/gnc && make all

2: cd /home/gnccode/gnc/bulid/bin && mv gnc /home/gncnode

3: cd /home/gnccode/gnc && mv gnc.json /home/gncnode

4: cd /home/gncnode && ./gnc --datadir data init ./gnc.json

4: nohup ./gnc --syncmode 'full' --cache 256 --datadir data --rpc --rpcaddr 0.0.0.0 --rpcapi 'net,db,eth,web3,txpool' --rpcport 8545 --port 30303 --rpccorsdomain "" --rpcvhosts "" --allow-insecure-unlock --networkid 37021 --ws --wsaddr 0.0.0.0 --wsport "8560" --wsapi "net,db,eth,web3,txpool" --bootnodes "enode://d01987c09dc1149c7da115c8e9335b531716510fce9a0dec74d226a8a6d582cbbf8e455400e5c446359bee7e92341a0a62f69004474b20e9fcac302bed478c32@47.75.203.235:30303" --wsorigins "*" >data/gnc.log 2>&1 &

5: If the node connection or Sync fails, you can add this node

"enode://7ec759c185382e169e3fbd4718ca9907f26897109a5401aadb6128c26bce7bc9bc26613d202e67db6019137bec412d87a1f1411877cd5e165a544515c57203c9@47.57.116.216:30303"

"enode://b09b539b1bf9b0bb4545fe89b969e440361a6c790809f8769d1bc91e4d631462e21be17db6db9f1df67f0380cc23ff39e32843496ca501e7d5022ac378ec7484@47.57.115.222:30303",

"enode://d01987c09dc1149c7da115c8e9335b531716510fce9a0dec74d226a8a6d582cbbf8e455400e5c446359bee7e92341a0a62f69004474b20e9fcac302bed478c32@47.75.203.235:30303"

"enode://10b45f2f3d3f27a77d19c74caabb24027814beea634ca540828ced46cf726b0808c59a3aafe7d76955fe55b5d4a6fb749b3611d27529fb0802a7ff0bccbac505@47.115.113.25:30303"

# Packages

Package accounts implements high level Ethereum account management.
No description provided by the author
Package common contains various helper functions.
Package consensus implements different Ethereum consensus engines.
No description provided by the author
No description provided by the author
Package core implements the Ethereum consensus protocol.
No description provided by the author
Package eth implements the Ethereum protocol.
Package ethclient provides a client for the Ethereum RPC API.
Package ethdb defines the interfaces for an Ethereum data store.
Package ethstats implements the network stats reporting service.
Package event deals with subscriptions to real-time events.
Package graphql provides a GraphQL interface to Ethereum node data.
Package les implements the Light Ethereum Subprotocol.
Package light implements on-demand retrieval capable state and chain objects for the Ethereum Light Client.
Package log15 provides an opinionated, simple toolkit for best-practice logging that is both human and machine readable.
Go port of Coda Hale's Metrics library <https://github.com/rcrowley/go-metrics> Coda Hale's original work: <https://github.com/codahale/metrics>.
Package miner implements Ethereum block creation and mining.
Package geth contains the simplified mobile APIs to go-ethereum.
Package node sets up multi-protocol Ethereum nodes.
Package p2p implements the Ethereum p2p network protocols.
No description provided by the author
No description provided by the author
Package rlp implements the RLP serialization format.
Package rpc implements bi-directional JSON-RPC 2.0 on multiple transports.
No description provided by the author
No description provided by the author
Package tests implements execution of Ethereum JSON tests.
Package trie implements Merkle Patricia Tries.
No description provided by the author

# Variables

NotFound is returned by API methods if the requested item does not exist.

# Structs

CallMsg contains parameters for contract calls.
FilterQuery contains options for contract log filtering.
SyncProgress gives progress indications when the node is synchronising with the Ethereum network.

# Interfaces

ChainReader provides access to the blockchain.
ChainStateReader wraps access to the state trie of the canonical blockchain.
ChainSyncReader wraps access to the node's current sync status.
A ContractCaller provides contract calls, essentially transactions that are executed by the EVM but not mined into the blockchain.
GasEstimator wraps EstimateGas, which tries to estimate the gas needed to execute a specific transaction based on the pending state.
GasPricer wraps the gas price oracle, which monitors the blockchain to determine the optimal gas price given current fee market conditions.
LogFilterer provides access to contract log events using a one-off query or continuous event subscription.
PendingContractCaller can be used to perform calls against the pending state.
A PendingStateEventer provides access to real time notifications about changes to the pending state.
A PendingStateReader provides access to the pending state, which is the result of all known executable transactions which have not yet been included in the blockchain.
Subscription represents an event subscription where events are delivered on a data channel.
TransactionReader provides access to past transactions and their receipts.
TransactionSender wraps transaction sending.