From d9ca3802dfd386853d35d564806948c901af6c6f Mon Sep 17 00:00:00 2001 From: Luke Hinds <7058938+lukehinds@users.noreply.github.com> Date: Wed, 17 Jun 2020 14:25:13 +0100 Subject: [PATCH] Fix up readme --- README.md | 24 +++++++----------------- 1 file changed, 7 insertions(+), 17 deletions(-) diff --git a/README.md b/README.md index 01d12f9..b60293f 100644 --- a/README.md +++ b/README.md @@ -56,34 +56,24 @@ go build ./cmd/createtree/ ``` -## Run the log server +### Start the tlog server ``` trillian_log_server -http_endpoint=localhost:8090 -rpc_endpoint=localhost:8091 --logtostderr ... -I0606 12:21:47.030302 93568 quota_provider.go:48] Using MySQL QuotaManager -I0606 12:21:47.030642 93568 main.go:150] RPC server starting on localhost:8090 -I0606 12:21:47.030696 93568 main.go:134] HTTP server starting on localhost:8091 -I0606 12:21:47.031021 93568 main.go:159] Deleted tree GC started ``` -## Create t-log (note the return value, you need this for `tlog_id`) - -``` -./createtree --admin_server=localhost:8091 > logid -cat logid -2587331608088442751 -``` - -### Start the tlog server +### Start the tlog signer ``` -trillian_log_server -http_endpoint=localhost:8090 -rpc_endpoint=localhost:8091 --logtostderr ... +trillian_log_signer --logtostderr --force_master --http_endpoint=localhost:8190 -rpc_endpoint=localhost:8191 --batch_size=1000 --sequencer_guard_window=0 --sequencer_interval=200ms ``` -### Start the tlog signer +## Create a tree (note the return value, you need this for the "tlog_id" flag) ``` -trillian_log_signer --logtostderr --force_master --http_endpoint=localhost:8190 -rpc_endpoint=localhost:8191 --batch_size=1000 --sequencer_guard_window=0 --sequencer_interval=200ms +./createtree --admin_server=localhost:8091 > logid +cat logid +2587331608088442751 ``` ### Make an entry: -- GitLab