mirror of
https://github.com/status-im/nim-codex.git
synced 2025-02-02 14:03:34 +00:00
6ce7e23767
* initial implementation of storage proofs upload * make sure proof verifies with after deserializing * add por store * rename por store to stp store * rename porstore to stpstore * add support for host discovery to discovery mock * add tags upload network tests
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 PubKeyMessage {
|
|
bytes signkey = 1;
|
|
bytes key = 2;
|
|
}
|
|
|
|
message PorMessage {
|
|
TauMessage tau = 1;
|
|
PubKeyMessage spk = 2;
|
|
repeated bytes authenticators = 3;
|
|
}
|
|
|
|
message ProofMessage {
|
|
repeated bytes mu = 1;
|
|
bytes sigma = 2;
|
|
}
|
|
|
|
PorMessage por = 1;
|
|
ProofMessage proof = 2;
|
|
}
|