Define constants for special roles
This commit is contained in:
parent
5434c8f9a0
commit
87891a5017
@ -23,6 +23,13 @@ pub mod silentpayments;
|
||||
|
||||
pub const MAX_PRD_PAYLOAD_SIZE: usize = u16::MAX as usize; // 64KiB sounds reasonable for now
|
||||
|
||||
const DEMIURGE: &str = "demiurge";
|
||||
const PAIRING: &str = "pairing";
|
||||
const APOPHIS: &str = "apophis";
|
||||
|
||||
const MEMBERPUBLICNAME: &str = "memberPublicName";
|
||||
const PAIREDADDRESSES: &str = "pairedAddresses";
|
||||
|
||||
#[derive(Debug, PartialEq, Eq)]
|
||||
pub enum SpecialRoles {
|
||||
DEMIURGE, // Only valid for the first state of a process
|
||||
|
Loading…
x
Reference in New Issue
Block a user