mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-08 12:19:24 +00:00
Update documentation
This commit is contained in:
@@ -1,19 +1,29 @@
|
|||||||
# Coordinator
|
# Coordinator
|
||||||
|
|
||||||
- [`tendermint`](/tributary/tendermint) is an implementation of the Tendermint BFT algorithm.
|
- [`tendermint`](/tributary/tendermint) is an implementation of the Tendermint
|
||||||
|
BFT algorithm.
|
||||||
|
|
||||||
- [`tributary`](./tributary) is a micro-blockchain framework. Instead of a producing a blockchain
|
- [`tributary-sdk`](./tributary-sdk) is a micro-blockchain framework. Instead
|
||||||
daemon like the Polkadot SDK or Cosmos SDK intend to, `tributary` is solely intended to be an
|
of a producing a blockchain daemon like the Polkadot SDK or Cosmos SDK intend
|
||||||
embedded asynchronous task within an application.
|
to, `tributary` is solely intended to be an embedded asynchronous task within
|
||||||
|
an application.
|
||||||
|
|
||||||
The Serai coordinator spawns a tributary for each validator set it's coordinating. This allows
|
The Serai coordinator spawns a tributary for each validator set it's
|
||||||
the participating validators to communicate in a byzantine-fault-tolerant manner (relying on
|
coordinating. This allows the participating validators to communicate in a
|
||||||
Tendermint for consensus).
|
byzantine-fault-tolerant manner (relying on Tendermint for consensus).
|
||||||
|
|
||||||
- [`cosign`](./cosign) contains a library to decide which Substrate blocks should be cosigned and
|
- [`cosign`](./cosign) contains a library to decide which Substrate blocks
|
||||||
to evaluate cosigns.
|
should be cosigned and to evaluate cosigns.
|
||||||
|
|
||||||
- [`substrate`](./substrate) contains a library to index the Substrate blockchain and handle its
|
- [`substrate`](./substrate) contains a library to index the Substrate
|
||||||
events.
|
blockchain and handle its events.
|
||||||
|
|
||||||
|
- [`tributary`](./tributary) is our instantiation of the Tributary SDK for the
|
||||||
|
Serai processor. It includes the `Transaction` definition and deferred
|
||||||
|
execution logic.
|
||||||
|
|
||||||
|
- [`p2p`](./p2p) is our abstract P2P API to service the Coordinator.
|
||||||
|
|
||||||
|
- [`libp2p`](./p2p/libp2p) is our libp2p-backed implementation of the P2P API.
|
||||||
|
|
||||||
- [`src`](./src) contains the source code for the Coordinator binary itself.
|
- [`src`](./src) contains the source code for the Coordinator binary itself.
|
||||||
|
|||||||
@@ -25,20 +25,20 @@ rand = { version = "0.8", default-features = false, features = ["std"] }
|
|||||||
rand_chacha = { version = "0.3", default-features = false, features = ["std"] }
|
rand_chacha = { version = "0.3", default-features = false, features = ["std"] }
|
||||||
|
|
||||||
blake2 = { version = "0.10", default-features = false, features = ["std"] }
|
blake2 = { version = "0.10", default-features = false, features = ["std"] }
|
||||||
transcript = { package = "flexible-transcript", path = "../../crypto/transcript", default-features = false, features = ["std", "recommended"] }
|
transcript = { package = "flexible-transcript", path = "../../crypto/transcript", version = "0.3", default-features = false, features = ["std", "recommended"] }
|
||||||
|
|
||||||
ciphersuite = { package = "ciphersuite", path = "../../crypto/ciphersuite", default-features = false, features = ["std", "ristretto"] }
|
ciphersuite = { package = "ciphersuite", path = "../../crypto/ciphersuite", version = "0.4", default-features = false, features = ["std", "ristretto"] }
|
||||||
schnorr = { package = "schnorr-signatures", path = "../../crypto/schnorr", default-features = false, features = ["std"] }
|
schnorr = { package = "schnorr-signatures", path = "../../crypto/schnorr", version = "0.5", default-features = false, features = ["std"] }
|
||||||
|
|
||||||
hex = { version = "0.4", default-features = false, features = ["std"] }
|
hex = { version = "0.4", default-features = false, features = ["std"] }
|
||||||
log = { version = "0.4", default-features = false, features = ["std"] }
|
log = { version = "0.4", default-features = false, features = ["std"] }
|
||||||
|
|
||||||
serai-db = { path = "../../common/db" }
|
serai-db = { path = "../../common/db", version = "0.1" }
|
||||||
|
|
||||||
scale = { package = "parity-scale-codec", version = "3", default-features = false, features = ["std", "derive"] }
|
scale = { package = "parity-scale-codec", version = "3", default-features = false, features = ["std", "derive"] }
|
||||||
futures-util = { version = "0.3", default-features = false, features = ["std", "sink", "channel"] }
|
futures-util = { version = "0.3", default-features = false, features = ["std", "sink", "channel"] }
|
||||||
futures-channel = { version = "0.3", default-features = false, features = ["std", "sink"] }
|
futures-channel = { version = "0.3", default-features = false, features = ["std", "sink"] }
|
||||||
tendermint = { package = "tendermint-machine", path = "./tendermint" }
|
tendermint = { package = "tendermint-machine", path = "./tendermint", version = "0.2" }
|
||||||
|
|
||||||
tokio = { version = "1", default-features = false, features = ["sync", "time", "rt"] }
|
tokio = { version = "1", default-features = false, features = ["sync", "time", "rt"] }
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user