From 1c5fd2f86f897e573de1dc7001d0c57eacc5cdfd Mon Sep 17 00:00:00 2001 From: Rob Percival Date: Thu, 19 Dec 2019 17:56:49 +0000 Subject: [PATCH] Fix typo in layout diagram of TLS-encoded log root --- docs/api.md | 2 +- trillian.pb.go | 2 +- trillian.proto | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/api.md b/docs/api.md index 71a31dbb08..4867848b6b 100644 --- a/docs/api.md +++ b/docs/api.md @@ -1308,7 +1308,7 @@ SignedLogRoot represents a commitment by a Log to a particular tree. A serialized v1 log root will therefore be laid out as: -+---+---+---+---+---+---+---+---+---+---+---+---+---+---+-....--+ | ver=1 | tree_size |len| root_hashlen | +---+---+---+---+---+---+---+---+---+---+---+---+---+---+-....--+ ++---+---+---+---+---+---+---+---+---+---+---+---+---+---+-....--+ | ver=1 | tree_size |len| root_hash | +---+---+---+---+---+---+---+---+---+---+---+---+---+---+-....--+ +---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+ | timestamp_nanos | revision | +---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+ diff --git a/trillian.pb.go b/trillian.pb.go index 82db9bcdaf..3b2a3bbdd3 100644 --- a/trillian.pb.go +++ b/trillian.pb.go @@ -511,7 +511,7 @@ type SignedLogRoot struct { // A serialized v1 log root will therefore be laid out as: // // +---+---+---+---+---+---+---+---+---+---+---+---+---+---+-....--+ - // | ver=1 | tree_size |len| root_hashlen | + // | ver=1 | tree_size |len| root_hash | // +---+---+---+---+---+---+---+---+---+---+---+---+---+---+-....--+ // // +---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+ diff --git a/trillian.proto b/trillian.proto index e14522f929..1bb4ba682d 100644 --- a/trillian.proto +++ b/trillian.proto @@ -255,7 +255,7 @@ message SignedLogRoot { // A serialized v1 log root will therefore be laid out as: // // +---+---+---+---+---+---+---+---+---+---+---+---+---+---+-....--+ - // | ver=1 | tree_size |len| root_hashlen | + // | ver=1 | tree_size |len| root_hash | // +---+---+---+---+---+---+---+---+---+---+---+---+---+---+-....--+ // // +---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+