Giter Site home page Giter Site logo

lachesisnode's Introduction

LachesisNode

build

/.../LachesisNode # go build -o build/lachesisnode ./lachesis/main.go

customizable flag


		Name:  "datadir",
		Usage: "Directory for the configuration",
		Value: defaultDataDir(),

		Name:  "node_addr",
		Usage: "IP:Port to bind Lachesis",
		Value: "127.0.0.1:1337",


		Name:  "no_client",
		Usage: "Run Lachesis with dummy in-memory App client",


		Name:  "proxy_addr",
		Usage: "IP:Port to bind Proxy Server",
		Value: "127.0.0.1:1338",


		Name:  "client_addr",
		Usage: "IP:Port of Client App",
		Value: "127.0.0.1:1339",


		Name:  "service_addr",
		Usage: "IP:Port of HTTP Service",
		Value: "127.0.0.1:8000",


		Name:  "log_level",
		Usage: "debug, info, warn, error, fatal, panic",
		Value: "debug",


		Name:  "heartbeat",
		Usage: "Heartbeat timer milliseconds (time between gossips)",
		Value: 1000,


		Name:  "max_pool",
		Usage: "Max number of pooled connections",
		Value: 2,


		Name:  "tcp_timeout",
		Usage: "TCP timeout milliseconds",
		Value: 1000,


		Name:  "cache_size",
		Usage: "Number of items in LRU caches",
		Value: 500,


		Name:  "sync_limit",
		Usage: "Max number of events for sync",
		Value: 1000,


		Name:  "store",
		Usage: "badger, inmem",
		Value: "badger",


		Name:  "store_path",
		Usage: "File containing the store database",
		Value: defaultBadgerDir(),

http service

/stats
/participants/
/event/
/lasteventfrom/
/events/
/consensusevents/
/round/
/lastround/
/roundwitnesses/
/roundevents/
/root/
/block/

run

./lachesisnode run [--flag "value"]

transaction

todo: add api to add transaction manually

lachesisnode's People

Contributors

goplush avatar gopbot233 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.