Skip to content

Commit 3d7922a

Browse files
authored
Remove the inmemory Merkle tree, use external one (#2725)
1 parent 5d551c6 commit 3d7922a

File tree

8 files changed

+6
-542
lines changed

8 files changed

+6
-542
lines changed

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ require (
2929
github.com/pseudomuto/protoc-gen-doc v1.5.1
3030
github.com/spf13/cobra v1.4.0 // indirect
3131
github.com/stretchr/testify v1.7.1 // indirect
32-
github.com/transparency-dev/merkle v0.0.0-20220425113829-c120179f55ad
32+
github.com/transparency-dev/merkle v0.0.0-20220427153749-09877c5f5967
3333
github.com/urfave/cli v1.22.7 // indirect
3434
go.etcd.io/etcd/client/v3 v3.5.4
3535
go.etcd.io/etcd/etcdctl/v3 v3.5.4

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -813,8 +813,8 @@ github.com/tmc/grpc-websocket-proxy v0.0.0-20200427203606-3cfed13b9966/go.mod h1
813813
github.com/tmc/grpc-websocket-proxy v0.0.0-20201229170055-e5319fda7802 h1:uruHq4dN7GR16kFc5fp3d1RIYzJW5onx8Ybykw2YQFA=
814814
github.com/tmc/grpc-websocket-proxy v0.0.0-20201229170055-e5319fda7802/go.mod h1:ncp9v5uamzpCO7NfCPTXjqaC+bZgJeR0sMTm6dMHP7U=
815815
github.com/tomasen/realip v0.0.0-20180522021738-f0c99a92ddce/go.mod h1:o8v6yHRoik09Xen7gje4m9ERNah1d1PPsVq1VEx9vE4=
816-
github.com/transparency-dev/merkle v0.0.0-20220425113829-c120179f55ad h1:82yvTO+VijfWulMsMQvqQSZ0zNEAgmEUeBG+ArrO9Js=
817-
github.com/transparency-dev/merkle v0.0.0-20220425113829-c120179f55ad/go.mod h1:B8FIw5LTq6DaULoHsVFRzYIUDkl8yuSwCdZnOZGKL/A=
816+
github.com/transparency-dev/merkle v0.0.0-20220427153749-09877c5f5967 h1:0HykT2IlbcP8a0VlH5XsX+a2OCtB+MUVth/SjAK3E2w=
817+
github.com/transparency-dev/merkle v0.0.0-20220427153749-09877c5f5967/go.mod h1:B8FIw5LTq6DaULoHsVFRzYIUDkl8yuSwCdZnOZGKL/A=
818818
github.com/ugorji/go v1.1.4/go.mod h1:uQMGLiO92mf5W77hV/PUCpI3pbzQx3CRekS0kk+RGrc=
819819
github.com/ugorji/go/codec v0.0.0-20181204163529-d75b2dcb6bc8/go.mod h1:VFNgLljTbGfSG7qAOspJ7OScBnGdDN/yBr0sguwnwf0=
820820
github.com/ulikunitz/xz v0.5.6/go.mod h1:2bypXElzHzzJZwzH67Y6wb67pO62Rzfn7BSiF4ABRW8=

integration/log.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,11 @@ import (
2727
"github.com/golang/glog"
2828
"github.com/google/trillian"
2929
"github.com/google/trillian/client/backoff"
30-
"github.com/google/trillian/internal/merkle/inmemory"
3130
"github.com/google/trillian/types"
3231
"github.com/transparency-dev/merkle/compact"
3332
"github.com/transparency-dev/merkle/proof"
3433
"github.com/transparency-dev/merkle/rfc6962"
34+
inmemory "github.com/transparency-dev/merkle/testonly"
3535
)
3636

3737
// TestParameters bundles up all the settings for a test run

internal/merkle/inmemory/reference_test.go

Lines changed: 0 additions & 206 deletions
This file was deleted.

internal/merkle/inmemory/tree.go

Lines changed: 0 additions & 125 deletions
This file was deleted.

0 commit comments

Comments
 (0)