mirror of
https://github.com/serai-dex/serai.git
synced 2024-11-17 09:27:36 +00:00
cc531d630e
When we receive messages, we're provided with a message ID we can use to prevent handling an item multiple times. That doesn't prevent us from *sending* an item multiple times though. Thanks to the UID system, we can now not send if already present. Alternatively, we can remove the ordered message ID for just the UID, allowing duplicates to be sent without issue, and handled on the receiving end.
27 lines
892 B
TOML
27 lines
892 B
TOML
[package]
|
|
name = "processor-messages"
|
|
version = "0.1.0"
|
|
description = "Messages sent and received by the processor"
|
|
license = "AGPL-3.0-only"
|
|
repository = "https://github.com/serai-dex/serai/tree/develop/processor/messages"
|
|
authors = ["Luke Parker <lukeparker5132@gmail.com>"]
|
|
keywords = []
|
|
edition = "2021"
|
|
publish = false
|
|
|
|
[package.metadata.docs.rs]
|
|
all-features = true
|
|
rustdoc-args = ["--cfg", "docsrs"]
|
|
|
|
[dependencies]
|
|
zeroize = { version = "1", features = ["derive"] }
|
|
|
|
serde = { version = "1", features = ["derive"] }
|
|
bincode = "1"
|
|
|
|
dkg = { path = "../../crypto/dkg", features = ["serde"] }
|
|
|
|
serai-primitives = { path = "../../substrate/primitives" }
|
|
in-instructions-primitives = { path = "../../substrate/in-instructions/primitives" }
|
|
tokens-primitives = { path = "../../substrate/tokens/primitives" }
|
|
validator-sets-primitives = { path = "../../substrate/validator-sets/primitives" }
|