Categorygithub.com/RedBird96/b7s
repository
0.4.7
Repository: https://github.com/redbird96/b7s.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# README

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

FlagShort FormDefault ValueDescription
log-level-l"info"Specifies the level of logging to use.
peer-dbN/A"peer-db"Specifies the path to database used for persisting peer data.
function-dbN/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-p0Specifies the port that the libp2p host will use.
websocket-portN/A0Specifies the port that the libp2p host will use for websocket connections.
private-keyN/AN/ASpecifies the private key that the libp2p host will use.
concurrency-cnode.DefaultConcurrencySpecifies the maximum number of requests the node will process in parallel.
rest-apiN/AN/ASpecifies the address where the head node REST API will listen on.
boot-nodesN/AN/ASpecifies a list of addresses that this node will connect to on startup, in multiaddr format.
workspaceN/A"./workspace"Specifies the directory that the node can use for file storage.
runtimeN/AN/ASpecifies the runtime address used by the worker node.
dialback-addressN/AN/ASpecifies the advertised dialback address of the Node.
dialback-portN/AN/ASpecifies the advertised dialback port of the Node.
websocket-dialback-portN/A0Specifies the advertised dialback port for Websocket connections.
cpu-percentage-limitN/A1.0Specifies the amount of CPU time allowed for Blockless Functions in the 0-1 range, 1 being unlimited.
memory-limitN/AN/ASpecifies 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.