Add smooth node enrollment flow
This commit is contained in:
parent
b941037652
commit
27a79768e4
12 changed files with 1662 additions and 22 deletions
|
|
@ -31,6 +31,16 @@ pub struct AuthOp {
|
|||
pub kind: AuthOpKind,
|
||||
}
|
||||
|
||||
#[derive(Clone, Debug, PartialEq, Eq, Serialize, Deserialize)]
|
||||
pub struct AuthOpSignature {
|
||||
pub op_id: AuthOpId,
|
||||
pub signer: geth_types::KeyId,
|
||||
pub signer_public_key: String,
|
||||
pub namespace: String,
|
||||
pub signature: Vec<u8>,
|
||||
pub created_at: UnixMillis,
|
||||
}
|
||||
|
||||
#[derive(Clone, Debug, PartialEq, Eq, Serialize, Deserialize)]
|
||||
#[serde(tag = "kind", rename_all = "kebab-case")]
|
||||
pub enum AuthOpKind {
|
||||
|
|
|
|||
Loading…
Reference in a new issue