annchain

module
v0.0.0-...-a4757fd Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2018 License: Apache-2.0

README

annchain

annchain 采用 dBFT 共识算法,兼容以太坊合约交易。

编译

go get github.com/annchain/annchain
make ann

初始化节点

执行以下命令

./ann init

初始化将会在 ~/.angine 目录下产生3个配置文件,分别是:

config.toml           // 链运行所需要的参数
genesis.json          // 创世块信息
priv_validator.json   // 节点身份信息

详细文档

Directories

Path Synopsis
protos/blockchain
Package blockchain is a generated protocol buffer package.
Package blockchain is a generated protocol buffer package.
protos/consensus
Package consensus is a generated protocol buffer package.
Package consensus is a generated protocol buffer package.
protos/events
Package events is a generated protocol buffer package.
Package events is a generated protocol buffer package.
protos/mempool
Package mempool is a generated protocol buffer package.
Package mempool is a generated protocol buffer package.
protos/rpc
Package rpc is a generated protocol buffer package.
Package rpc is a generated protocol buffer package.
protos/state
Package state is a generated protocol buffer package.
Package state is a generated protocol buffer package.
protos/trace
Package trace is a generated protocol buffer package.
Package trace is a generated protocol buffer package.
protos/types
Package types is a generated protocol buffer package.
Package types is a generated protocol buffer package.
app
cmd
log
module
lib/ed25519
Package ed25519 implements the Ed25519 signature algorithm.
Package ed25519 implements the Ed25519 signature algorithm.
lib/ed25519/edwards25519
Package edwards25519 implements operations in GF(2**255-19) and on an Edwards curve that is isomorphic to curve25519.
Package edwards25519 implements operations in GF(2**255-19) and on an Edwards curve that is isomorphic to curve25519.
lib/go-common
Classical-inheritance-style service declarations.
Classical-inheritance-style service declarations.
lib/go-flowrate/flowrate
Package flowrate provides the tools for monitoring and limiting the flow rate of an arbitrary data stream.
Package flowrate provides the tools for monitoring and limiting the flow rate of an arbitrary data stream.
lib/go-p2p
Uses nacl's secret_box to encrypt a net.Conn.
Uses nacl's secret_box to encrypt a net.Conn.
lib/go-p2p/upnp
Taken from taipei-torrent Just enough UPnP to be able to forward ports
Taken from taipei-torrent Just enough UPnP to be able to forward ports
lib/go-rpc/server
Commons for HTTP handling
Commons for HTTP handling
test
tps

Jump to

Keyboard shortcuts

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