https://github.com/planetarium/libplanet-seed
https://github.com/planetarium/libplanet-seed
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/planetarium/libplanet-seed
- Owner: planetarium
- License: lgpl-2.1
- Created: 2020-11-12T01:22:31.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2024-07-24T02:22:41.000Z (9 months ago)
- Last Synced: 2024-07-25T01:58:14.781Z (9 months ago)
- Language: C#
- Size: 90.8 KB
- Stars: 2
- Watchers: 14
- Forks: 11
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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 -- --helpLibplanet.Seed.Executable 1.0.0
Copyright (C) 2020 Libplanet.Seed.Executable-l, --log-level (Default: information) Minimum severity for logging.
Should be one of error, warning, information, debug, verbose.
-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.
-t, --transport-type (Default: tcp) The type of transport to use. Should be either "tcp" or "netmq".
-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 URL to ICE server (TURN/STUN) to work around NAT.
--peers A list of peers that must exist in the peer table.
The format of each peer is a comma-separated triple of a peer's
hexadecimal public key, host, and port number.
--help Display this help screen.
--version Display version information.
```## Command Line Options
- `-l`, `--log-level`: Minimum severity for logging. Should be one of error, warning, information, debug, verbose.
- `-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.
- `-t`, `--transport-type`: The type of transport to use.
- `--peers`: A list of peers that must exist in the peer table. The format of each peer is a comma-separated triple of a peer's hexadecimal public key, host, and port number. If omitted, peer checking is automatically disabled.## Docker Build
A Standalone image can be created by running the command below in the directory where the solution is located.
```
$ docker build . -t
```## Related Projects
- [Libplanet](https://github.com/planetarium/libplanet)
- [NineChronicles.Standalone](https://github.com/planetarium/NineChronicles.Standalone)