mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-10 05:09:22 +00:00
Add CosignerTask to signers, completing it
This commit is contained in:
@@ -10,12 +10,15 @@ create_db! {
|
||||
SerializedKeys: (session: Session) -> Vec<u8>,
|
||||
LatestRetiredSession: () -> Session,
|
||||
ToCleanup: () -> Vec<(Session, Vec<u8>)>,
|
||||
|
||||
ToCosign: (session: Session) -> (u64, [u8; 32]),
|
||||
}
|
||||
}
|
||||
|
||||
db_channel! {
|
||||
SignersGlobal {
|
||||
Cosign: (session: Session) -> (u64, [u8; 32]),
|
||||
Cosign: (session: Session) -> ((u64, [u8; 32]), Vec<u8>),
|
||||
|
||||
SlashReport: (session: Session) -> Vec<Slash>,
|
||||
SlashReportSignature: (session: Session) -> Vec<u8>,
|
||||
|
||||
|
||||
Reference in New Issue
Block a user