mirror of
https://github.com/serai-dex/serai.git
synced 2024-11-16 08:57:36 +00:00
Add empty coordinator
This commit is contained in:
parent
d74cbe2cce
commit
de52c4db7f
7 changed files with 52 additions and 0 deletions
7
Cargo.lock
generated
7
Cargo.lock
generated
|
@ -1311,6 +1311,13 @@ dependencies = [
|
|||
"unicode-segmentation",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "coordinator"
|
||||
version = "0.1.0"
|
||||
dependencies = [
|
||||
"tokio",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "core-foundation"
|
||||
version = "0.9.3"
|
||||
|
|
|
@ -26,6 +26,8 @@ members = [
|
|||
|
||||
"tendermint",
|
||||
|
||||
"coordinator",
|
||||
|
||||
"substrate/primitives",
|
||||
"substrate/client",
|
||||
|
||||
|
|
17
coordinator/Cargo.toml
Normal file
17
coordinator/Cargo.toml
Normal file
|
@ -0,0 +1,17 @@
|
|||
[package]
|
||||
name = "coordinator"
|
||||
version = "0.1.0"
|
||||
description = "Serai coordinator to prepare batches and sign transactions"
|
||||
license = "AGPL-3.0-only"
|
||||
repository = "https://github.com/serai-dex/serai/tree/develop/coordinator"
|
||||
authors = ["Luke Parker <lukeparker5132@gmail.com>"]
|
||||
keywords = []
|
||||
edition = "2021"
|
||||
publish = false
|
||||
|
||||
[package.metadata.docs.rs]
|
||||
all-features = true
|
||||
rustdoc-args = ["--cfg", "docsrs"]
|
||||
|
||||
[dependencies]
|
||||
tokio = { version = "1", features = ["full"] }
|
15
coordinator/LICENSE
Normal file
15
coordinator/LICENSE
Normal file
|
@ -0,0 +1,15 @@
|
|||
AGPL-3.0-only license
|
||||
|
||||
Copyright (c) 2023 Luke Parker
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License Version 3 as
|
||||
published by the Free Software Foundation.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU Affero General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Affero General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
7
coordinator/README.md
Normal file
7
coordinator/README.md
Normal file
|
@ -0,0 +1,7 @@
|
|||
# Coordinator
|
||||
|
||||
The Serai coordinator communicates with other coordinators to prepare batches
|
||||
for Serai and sign transactions.
|
||||
|
||||
In order to achieve consensus over gossip, and order certain events, a
|
||||
micro-blockchain is instantiated.
|
2
coordinator/src/main.rs
Normal file
2
coordinator/src/main.rs
Normal file
|
@ -0,0 +1,2 @@
|
|||
#[tokio::main]
|
||||
async fn main() {}
|
|
@ -50,6 +50,8 @@ exceptions = [
|
|||
{ allow = ["AGPL-3.0"], name = "processor-messages" },
|
||||
{ allow = ["AGPL-3.0"], name = "processor" },
|
||||
|
||||
{ allow = ["AGPL-3.0"], name = "coordinator" },
|
||||
|
||||
{ allow = ["AGPL-3.0"], name = "tokens-pallet" },
|
||||
|
||||
{ allow = ["AGPL-3.0"], name = "in-instructions-pallet" },
|
||||
|
|
Loading…
Reference in a new issue