-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: improve documentation outline (#121)
- Loading branch information
Showing
18 changed files
with
111 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
# API |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
# Ouroboros |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Usage | ||
|
||
This section provides information on how to configure Dolos. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# Byron | ||
|
||
```toml | ||
[byron] | ||
path = "./byron.json" | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# Example Configuration | ||
|
||
## Preview Network | ||
|
||
```toml | ||
[upstream] | ||
peer_address = "preview-node.world.dev.cardano.org:30002" | ||
network_magic = 2 | ||
|
||
[rolldb] | ||
path = "./data" | ||
k_param = 1000 | ||
|
||
[serve.grpc] | ||
listen_address = "[::]:50051" | ||
|
||
[byron] | ||
path = "./byron.json" | ||
|
||
[logging] | ||
max_level = "debug" | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# Logging | ||
|
||
```toml | ||
[logging] | ||
max_level = "debug" | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# RollDB | ||
|
||
```toml | ||
[rolldb] | ||
path = "./data" | ||
k_param = 1000 | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# Serve | ||
|
||
```toml | ||
[serve.grpc] | ||
listen_address = "[::]:50051" | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# Upstream | ||
|
||
```toml | ||
[upstream] | ||
peer_address = "preview-node.world.dev.cardano.org:30002" | ||
network_magic = 2 | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,10 @@ | ||
# Binary Releases | ||
|
||
_Dolos_ can be run as a standalone executable. Follow the instructions for your particular OS / Platform to install a local copy from our Github pre-built releases. | ||
_Dolos_ can be run as a standalone executable. The [Github release](https://github.com/txpipe/dolos/releases/latest/) page includes the binaries for different OS and architectures. It's a self-contained, single-file binary that can be downloaded directly. | ||
|
||
## MacOS | ||
|
||
Use the following command to download and install _Dolos'_ binary release for MacOS: | ||
For simplicity, we also provide an install script that can be executed from your terminal to automate the installation process. This install script will only work for MacOS and Linux for either x86_64 and arm64 architecture. You can execute the install by running the following command from your terminal. You'll need curl and sudo access. | ||
|
||
```sh | ||
curl --silent --location https://git.io/JD2iH | \ | ||
tar xz -C /tmp && mv /tmp/dolos /usr/local/bin | ||
curl -fsSL https://github.com/txpipe/dolos/raw/main/.github/public/install.sh -o get-dolos.sh | ||
sudo sh ./get-dolos.sh | ||
``` | ||
|
||
## GNU/Linux | ||
|
||
Use the following command to download and install _Dolos'_ binary release for GNU/Linux: | ||
|
||
```sh | ||
curl --silent --location https://git.io/JD2ix | \ | ||
tar xz -C /tmp && mv /tmp/dolos /usr/local/bin | ||
``` | ||
|
||
Check the [latest release](https://github.com/txpipe/dolos/releases/latest) for more binary download options. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# Usage | ||
|
||
This section provides information on how to use Dolos. | ||
|
||
- There are 2 ways to start the server that provides access to the endpoints: the `serve` command and the `daemon` command |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# `daemon` mode | ||
|
||
The `daemon` command starts Dolos with all of its main functions enabled (syncing from upstream, updating the ledger, etc) which includes the client endpoint server | ||
|
||
To start Dolos in `daemon` mode run the following command from the terminal: | ||
|
||
``` | ||
dolos daemon | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# `serve` mode | ||
|
||
The `serve` command starts Dolos just with the purpose of exposing the client endpoint, no other functions are executed | ||
|
||
To start Dolos in `serve` mode run the following command from the terminal: | ||
|
||
``` | ||
dolos serve | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
# Sync |
This file was deleted.
Oops, something went wrong.