Code Monkey home page Code Monkey logo

b7s's Introduction

Coverage Go Report Card License GitHub release (latest SemVer)

b7s daemon

b7s is a peer-to-peer networking daemon for the blockless network. It is supported on Windows, Linux, and MacOS platforms for both x64 and arm64 architectures.

Installation

You can install b7s using either curl or wget:

# using curl
sudo sh -c "curl https://raw.githubusercontent.com/blocklessnetwork/b7s/main/download.sh | bash"

# using wget
sudo sh -c "wget https://raw.githubusercontent.com/blocklessnetwork/b7s/main/download.sh -v -O download.sh; chmod +x download.sh; ./download.sh; rm -rf download.sh"

You can also use Docker to install b7s. See the Docker documentation for more information.

Usage

Flag Short Form Default Value Description
log-level -l "info" Specifies the level of logging to use.
peer-db N/A "peer-db" Specifies the path to database used for persisting peer data.
function-db N/A "function-db" Specifies the path to database used for persisting function data.
role -r "worker" Specifies the role this node will have in the Blockless protocol (head or worker).
address -a "0.0.0.0" Specifies the address that the libp2p host will use.
port -p 0 Specifies the port that the libp2p host will use.
websocket-port N/A 0 Specifies the port that the libp2p host will use for websocket connections.
private-key N/A N/A Specifies the private key that the libp2p host will use.
concurrency -c node.DefaultConcurrency Specifies the maximum number of requests the node will process in parallel.
rest-api N/A N/A Specifies the address where the head node REST API will listen on.
boot-nodes N/A N/A Specifies a list of addresses that this node will connect to on startup, in multiaddr format.
workspace N/A "./workspace" Specifies the directory that the node can use for file storage.
runtime N/A N/A Specifies the runtime address used by the worker node.
dialback-address N/A N/A Specifies the advertised dialback address of the Node.
dialback-port N/A N/A Specifies the advertised dialback port of the Node.
websocket-dialback-port N/A 0 Specifies the advertised dialback port for Websocket connections.
cpu-percentage-limit N/A 1.0 Specifies the amount of CPU time allowed for Blockless Functions in the 0-1 range, 1 being unlimited.
memory-limit N/A N/A Specifies the memory limit for Blockless Functions, in kB.

Dependencies

b7s depends on the following repositories:

  • blocklessnetwork/runtime
  • blocklessnetwork/orchestration-chain

Contributing

See src/README for information on contributing to the b7s project.

b7s's People

Contributors

dmikey avatar maelkum avatar redbird96 avatar actions-user avatar dependabot[bot] avatar

Stargazers

Hervé avatar

Forkers

allora-network

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.