/
githubmirror
/
client
Обзор
Документация
Войти
/
githubmirror
/
client
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
protocol/avdl/keybase1/reset.avdl
47 строк
839 B
Maxwell Krohn
plumb reset info through to KBFS (#10919)
16 мар 2018, 00:00
Не верифицирован
16 мар 2018, 00:00
3ed61b5
Код
Авторство
О чём код?
@namespace("keybase.1") protocol Reset { import idl "common.avdl"; @typedef("bytes") @lint("ignore") record SHA512 {} enum ResetType { NONE_0, RESET_1, DELETE_2 } record ResetMerkleRoot { @jsonkey("hash_meta") HashMeta hashMeta; Seqno seqno; } record ResetPrev { @jsonkey("eldest_kid") union { null, KID } eldestKID; @jsonkey("public_seqno") Seqno lastSeqno; SHA512 reset; } record ResetLink { UnixTime ctime; @jsonkey("merkle_root") ResetMerkleRoot merkleRoot; ResetPrev prev; @jsonkey("reset_seqno") Seqno resetSeqno; ResetType type; UID uid; } record ResetSummary { UnixTime ctime; ResetMerkleRoot merkleRoot; Seqno resetSeqno; Seqno eldestSeqno; // eldestSeqno right before the reset ResetType type; } }