sync/distribution.fsm
author Krista 'DarthMama' Bennett <krista@pep.foundation>
Wed, 27 Jan 2021 17:13:24 +0100
branchmime-integrate
changeset 5281 2eeac2d5d012
parent 4273 b18b0e1d9976
child 4689 97a9b9500d8c
child 5136 89052506c612
permissions -rw-r--r--
push before migration
     1 // This file is under BSD License 2.0
     2 
     3 // KeyReset protocol for p≡p
     4 // Copyright (c) 2019, p≡p foundation
     5 
     6 // Written by Volker Birk
     7 
     8 include ./fsm.yml2
     9 
    10 protocol Distribution 2 {
    11 
    12     // this protocol is stateless
    13     fsm KeyReset 1 {
    14         version 1, 0;
    15 
    16         message Commands 2 {
    17             auto Version version;
    18             list Command commandlist {
    19                 field Identity ident;
    20                 field Hash newkey;
    21             }
    22         }
    23     }
    24 }
    25