mirror of
https://github.com/serai-dex/serai.git
synced 2024-12-22 19:49:22 +00:00
Add empty serai-processor-signers library
This will replace the signers still in the monolithic Processor binary.
This commit is contained in:
parent
b50b889918
commit
8380653855
14 changed files with 52 additions and 5 deletions
1
.github/workflows/tests.yml
vendored
1
.github/workflows/tests.yml
vendored
|
@ -48,6 +48,7 @@ jobs:
|
|||
-p serai-processor-utxo-scheduler-primitives \
|
||||
-p serai-processor-utxo-scheduler \
|
||||
-p serai-processor-transaction-chaining-scheduler \
|
||||
-p serai-processor-signers \
|
||||
-p serai-bitcoin-processor \
|
||||
-p serai-ethereum-processor \
|
||||
-p serai-monero-processor \
|
||||
|
|
|
@ -81,6 +81,8 @@ members = [
|
|||
"processor/scheduler/utxo/primitives",
|
||||
"processor/scheduler/utxo/standard",
|
||||
"processor/scheduler/utxo/transaction-chaining",
|
||||
"processor/signers",
|
||||
|
||||
"processor/bitcoin",
|
||||
"processor/ethereum",
|
||||
"processor/monero",
|
||||
|
|
|
@ -55,6 +55,7 @@ exceptions = [
|
|||
{ allow = ["AGPL-3.0"], name = "serai-processor-utxo-scheduler-primitives" },
|
||||
{ allow = ["AGPL-3.0"], name = "serai-processor-standard-scheduler" },
|
||||
{ allow = ["AGPL-3.0"], name = "serai-processor-transaction-chaining-scheduler" },
|
||||
{ allow = ["AGPL-3.0"], name = "serai-processor-signers" },
|
||||
|
||||
{ allow = ["AGPL-3.0"], name = "serai-bitcoin-processor" },
|
||||
{ allow = ["AGPL-3.0"], name = "serai-ethereum-processor" },
|
||||
|
|
|
@ -7,7 +7,7 @@ repository = "https://github.com/serai-dex/serai/tree/develop/processor/frost-at
|
|||
authors = ["Luke Parker <lukeparker5132@gmail.com>"]
|
||||
keywords = ["frost", "multisig", "threshold"]
|
||||
edition = "2021"
|
||||
rust-version = "1.79"
|
||||
publish = false
|
||||
|
||||
[package.metadata.docs.rs]
|
||||
all-features = true
|
||||
|
|
|
@ -3,4 +3,4 @@
|
|||
A library for helper structures to manage various attempts of a FROST signing
|
||||
protocol.
|
||||
|
||||
This library is interacted with via the `serai-processor-messages::sign` API.
|
||||
This library is interacted with via the `serai_processor_messages::sign` API.
|
||||
|
|
|
@ -5,4 +5,4 @@ protocol. Two invocations of the eVRF-based DKG are performed, one for Ristretto
|
|||
(to have a key to oraclize values onto the Serai blockchain with) and one for
|
||||
the external network's curve.
|
||||
|
||||
This library is interacted with via the `serai-processor-messages::key_gen` API.
|
||||
This library is interacted with via the `serai_processor_messages::key_gen` API.
|
||||
|
|
|
@ -5,9 +5,9 @@ description = "Scanner of abstract blockchains for Serai"
|
|||
license = "AGPL-3.0-only"
|
||||
repository = "https://github.com/serai-dex/serai/tree/develop/processor/scanner"
|
||||
authors = ["Luke Parker <lukeparker5132@gmail.com>"]
|
||||
keywords = ["frost", "multisig", "threshold"]
|
||||
keywords = []
|
||||
edition = "2021"
|
||||
rust-version = "1.79"
|
||||
publish = false
|
||||
|
||||
[package.metadata.docs.rs]
|
||||
all-features = true
|
||||
|
|
22
processor/signers/Cargo.toml
Normal file
22
processor/signers/Cargo.toml
Normal file
|
@ -0,0 +1,22 @@
|
|||
[package]
|
||||
name = "serai-processor-signers"
|
||||
version = "0.1.0"
|
||||
description = "Signers for the Serai processor"
|
||||
license = "AGPL-3.0-only"
|
||||
repository = "https://github.com/serai-dex/serai/tree/develop/processor/signers"
|
||||
authors = ["Luke Parker <lukeparker5132@gmail.com>"]
|
||||
keywords = []
|
||||
edition = "2021"
|
||||
publish = false
|
||||
|
||||
[package.metadata.docs.rs]
|
||||
all-features = true
|
||||
rustdoc-args = ["--cfg", "docsrs"]
|
||||
|
||||
[package.metadata.cargo-machete]
|
||||
ignored = ["borsh", "scale"]
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
|
||||
[dependencies]
|
15
processor/signers/LICENSE
Normal file
15
processor/signers/LICENSE
Normal file
|
@ -0,0 +1,15 @@
|
|||
AGPL-3.0-only license
|
||||
|
||||
Copyright (c) 2024 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/>.
|
6
processor/signers/README.md
Normal file
6
processor/signers/README.md
Normal file
|
@ -0,0 +1,6 @@
|
|||
# Processor Signers
|
||||
|
||||
Implementations of the tree signers used by a processor (the transaction signer,
|
||||
the Substrate signer, and the cosigner).
|
||||
|
||||
This library is interacted with via the `serai_processor_messages::sign` API.
|
0
processor/signers/src/cosigner.rs
Normal file
0
processor/signers/src/cosigner.rs
Normal file
0
processor/signers/src/lib.rs
Normal file
0
processor/signers/src/lib.rs
Normal file
0
processor/signers/src/substrate.rs
Normal file
0
processor/signers/src/substrate.rs
Normal file
0
processor/signers/src/transaction.rs
Normal file
0
processor/signers/src/transaction.rs
Normal file
Loading…
Reference in a new issue