The core protocol of WoopChain
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
woop/api/drand/drand.proto

17 lines
263 B

syntax = "proto3";
package drand;
enum MessageType {
UNKNOWN = 0;
INIT = 1;
COMMIT = 2;
}
message Message {
MessageType type = 1;
uint32 sender_id = 3; // TODO: make it public key
bytes block_hash = 4;
bytes payload = 5;
bytes signature = 6;
}