mirror of
https://github.com/status-im/nim-codex.git
synced 2025-01-26 18:51:57 +00:00
56b80d6f6d
* move por into storage proofs * use SeekableStream * adding serialization for por * remove leftovers * add empty block support * add basic por test * rename block exchange for consistency * add storageproofstests * moving timing to storageproofs * fix imports * fix imports * fix imports * add top level exports * move delete blocks helper to helpers * more import/export fixes * cleanup * more import fixes * fix unused warnings * detect corrupt blocks tests * add serialization tests * move init method around * bump asynctest * fix CID version * get rid of warning * wip: fix CI * increase CI timeout
34 lines
535 B
Protocol Buffer
34 lines
535 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
message PoREnvelope {
|
|
message TauZeroMessage {
|
|
bytes name = 1;
|
|
int64 n = 2;
|
|
repeated bytes u = 3;
|
|
}
|
|
|
|
message TauMessage {
|
|
TauZeroMessage t = 1;
|
|
bytes signature = 2;
|
|
}
|
|
|
|
message ProofMessage {
|
|
repeated bytes mu = 1;
|
|
bytes sigma = 2;
|
|
}
|
|
|
|
message PubKeyMessage {
|
|
bytes signkey = 1;
|
|
bytes key = 2;
|
|
}
|
|
|
|
message PorMessage {
|
|
TauMessage tau = 1;
|
|
PubKeyMessage spk = 2;
|
|
repeated bytes authenticators = 3;
|
|
}
|
|
|
|
PorMessage por = 1;
|
|
ProofMessage proof = 2;
|
|
}
|