-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d1be9ea
commit 442d8c0
Showing
20 changed files
with
94 additions
and
28 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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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,17 @@ | ||
--- | ||
title: Automatic Market Makers | ||
layout: default | ||
nav_order: 2 | ||
--- | ||
|
||
*text on how AMMs work* | ||
|
||
Serai uses a symmetric liquidity pool with the `xy=k` formula. | ||
|
||
Concentrated liquidity would presumably offer less slippage on swaps, and there are | ||
[discussions to evolve to a concentrated liquidity/order book environment](https://github.com/serai-dex/serai/issues/420). | ||
Unfortunately, it effectively requires active management of provided liquidity. | ||
This disenfranchises small liquidity providers who may not have the knowledge | ||
and resources necessary to perform such management. Since Serai is expected to | ||
have a community-bootstrapped start, starting with concentrated liquidity would | ||
accordingly be contradictory. |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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,19 @@ | ||
--- | ||
title: Coordinator | ||
layout: default | ||
nav_order: 3 | ||
parent: Infrastructure | ||
--- | ||
|
||
The coordinator is a local service which communicates with other validators' | ||
coordinators. It provides a verifiable broadcast layer for various consensus | ||
messages, such as agreement on external blockchains, key generation and signing | ||
protocols, and the latest Serai block. | ||
|
||
The verifiable broadcast layer is implemented via a blockchain, referred to as a | ||
Tributary, which is agreed upon using Tendermint consensus. This consensus is | ||
not as offered by Tendermint Core/CometBFT, as used in the Cosmos SDK | ||
(historically/presently), yet by our own implementation designed to be used as a | ||
library and not as another daemon. Tributaries are ephemeral, only used by the | ||
current validators, and deleted upon the next epoch. All of the results from it | ||
are verifiable via the external network and the Serai blockchain alone. |
File renamed without changes.
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,25 @@ | ||
--- | ||
title: Message Queue | ||
layout: default | ||
nav_order: 1 | ||
parent: Infrastructure | ||
--- | ||
|
||
The Message Queue is a microservice to authenticate and relay messages between | ||
services. It offers just three functions: | ||
|
||
1) Queue a message. | ||
2) Receive the next message. | ||
3) Acknowledge a message, removing it from the queue. | ||
|
||
This ensures messages are delivered between services, with their order | ||
preserved. This also ensures that if a service reboots while handling a message, | ||
it'll still handle the message once rebooted (and the message will not be lost). | ||
|
||
The Message Queue also aims to offer increased liveliness and performance. | ||
If services directly communicated, the rate at which one service could operate | ||
would always be bottlenecked by the service it communicates with. If the | ||
receiving service ever went offline, the sending service wouldn't be able to | ||
deliver messages until the receiver came back online, halting its own work. By | ||
defining a dedicated microservice, with a lack of complex logic, it's much less | ||
likely to go offline or suffer from degraded performance. |
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,19 @@ | ||
--- | ||
title: Processor | ||
layout: default | ||
nav_order: 2 | ||
parent: Infrastructure | ||
--- | ||
|
||
The processor performs several important tasks with regards to the external | ||
network. Each of them are documented in the following sections. | ||
|
||
# Key Generation | ||
|
||
# Scanning | ||
|
||
# Signing Batches | ||
|
||
# Planning Transactions | ||
|
||
# Cosigning |
File renamed without changes.
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 @@ | ||
--- | ||
title: Integrating with Serai | ||
layout: default | ||
nav_order: 6 | ||
has_children: true | ||
--- |
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,6 +1,6 @@ | ||
--- | ||
title: Running a Validator | ||
layout: default | ||
nav_order: 6 | ||
nav_order: 7 | ||
has_children: true | ||
--- |