From c2bf5a22aaf9fab894d89910adc0725fba983733 Mon Sep 17 00:00:00 2001 From: gagliardetto Date: Tue, 5 Sep 2023 23:07:11 +0200 Subject: [PATCH] Better example --- bucketteer/example/main.go | 2 ++ go.mod | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/bucketteer/example/main.go b/bucketteer/example/main.go index ab44c4aa..f6afffcf 100644 --- a/bucketteer/example/main.go +++ b/bucketteer/example/main.go @@ -7,6 +7,7 @@ import ( "os" "time" + "github.com/davecgh/go-spew/spew" "github.com/dustin/go-humanize" "github.com/rpcpool/yellowstone-faithful/bucketteer" "golang.org/x/exp/mmap" @@ -75,6 +76,7 @@ func main() { if err != nil { panic(err) } + spew.Dump(buRd.Meta()) if len(samples) > 0 { fmt.Println("testing search with samples from the inserted signatures...") tookBatch := time.Duration(0) diff --git a/go.mod b/go.mod index 57ac75c5..14b77441 100644 --- a/go.mod +++ b/go.mod @@ -12,7 +12,7 @@ require ( github.com/gagliardetto/binary v0.7.8 github.com/gagliardetto/solana-go v1.8.3-0.20230302093440-c6043ec381e3 github.com/gin-gonic/gin v1.9.0 // indirect - github.com/golang/protobuf v1.5.3 + github.com/golang/protobuf v1.5.3 // indirect github.com/google/uuid v1.3.0 github.com/hannahhoward/go-pubsub v1.0.0 // indirect github.com/ipfs/go-blockservice v0.5.0 // indirect