diff --git a/README.md b/README.md index 01d12f91669bbaba81a595b245014fa9c6ec598d..b60293f0d99b8b68b8c17382da6cde2e18a9e7cf 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: