aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMathias Buus <mathiasbuus@gmail.com>2016-04-23 12:28:04 +0200
committerMathias Buus <mathiasbuus@gmail.com>2016-04-23 12:28:04 +0200
commit9697d0e83af88e1331ffc36a1d42289163bf9d75 (patch)
tree2acfd38edcc2befaa9b8560e60ba0f1a5820dc7e
parentf1f30ba7678cb08f8b3ffcf2b92f623732c946b0 (diff)
downloaddat-docs-9697d0e83af88e1331ffc36a1d42289163bf9d75.tar.gz
dat-docs-9697d0e83af88e1331ffc36a1d42289163bf9d75.zip
add types to proto file
-rw-r--r--meta.dat.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/meta.dat.md b/meta.dat.md
index 7cc8db6..5600f95 100644
--- a/meta.dat.md
+++ b/meta.dat.md
@@ -38,10 +38,10 @@ The header protobuf has this schema:
``` proto
message Header {
- dat link
- is-signed-feed
- hash-type
- hash-length
+ required bytes datLink = 1;
+ optional isLive = 2;
+ optional string hashType = 3 [default = "sha256"];
+ optional uint32 hashLength = 4 [default = 32];
}
```