/libplanet-seed

Primary LanguageC#GNU Lesser General Public License v2.1LGPL-2.1

Libplanet Seed

A bootstrapping node for peer discovery can be used with all libplanet-based nodes.

Run

$ dotnet run --project ./Libplanet.Seed.Executable/Libplanet.Seed.Executable.csproj -- --help

Libplanet.Seed.Executable 1.0.0
Copyright (C) 2020 Libplanet.Seed.Executable

  -d, --debug                   (Default: false) Print logs for debugging as well.
  -h, --host                    (Default: localhost) The host address to listen.
  -p, --port                    (Default: 5001) The port number to listen.
  -w, --workers                 (Default: 30) The number of concurrent message processing workers.
  -H, --graphql-host            (Default: localhost) The host address to listen graphql queries.
  -P, --graphql-port            (Default: 5000) The port number to listen graphql queries.
  -V, --app-protocol-version    Required. An app protocol version token.
  -k, --private-key             Private key used for node identifying and message signing.
  -I, --ice-server              Required. URL to ICE server (TURN/STUN) to work around NAT.
  --help                        Display this help screen.
  --version                     Display version information.

Command Line Options

  • -d, --debug: Print logs for debugging as well.
  • -h, --host: The host address to listen.
  • -p, --port: The port number to listen.
  • -w, --workers: The number of concurrent message processing workers.
  • -H, --graphql-host: The host address to listen graphql queries.
  • -P, --graphql-port: The port number to listen graphql queries.
  • -V, --app-protocol-version: An app protocol version token.
  • -k, --private-key: Private key used for node identifying and message signing.
  • -I, --ice-server: URL to ICE server (TURN/STUN) to work around NAT.

Docker Build

A Standalone image can be created by running the command below in the directory where the solution is located.

$ docker build . -t <IMAGE_TAG>

Related Projects