tlog/

directory
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 4, 2021 License: ISC

README

trillian test platform

tserver and tclient provide a test platform for google trillian https://github.com/google/trillian

trillian quick setup

Setup MySQL with an empty root password. This is obviously only for testing!

mkdir $GOPATH/src/github.com/google/
cd $GOPATH/src/github.com/google/
git clone git@github.com:google/trillian.git
cd trillian
go get -t -u -v ./...

Reset the test database

./scripts/resetdb.sh

Launch log server

trillian_log_server --logtostderr ...

Launch log signer daemom

trillian_log_signer --logtostderr --force_master --http_endpoint=localhost:8092 --rpc_endpoint=localhost:8093 --batch_size=1000 --sequencer_guard_window=0 --sequencer_interval=200ms

tserver

Launch tserver

tserver --testnet

tclient

tclient is used to interact with the tserver API.

Commands:
  list                list all records
  publickey           retrieve the tserver public signing key and save it
  recordnew           create a new record
  recordappend        append a record
  recordget           retrieve a record
  recordentriesget    retrieve the entries for a record
  fsck                run fsck on a record

You must retrieve the tserver identity before you can submit a record.

tclient --testnet publickey

Submit a new record.

tclient --testnet recrodnew README.md

Directories

Path Synopsis
api
v1

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL