Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 3 additions & 11 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,11 @@ module github.com/LumeraProtocol/supernode

go 1.24.0

replace (
github.com/LumeraProtocol/lumera => ../lumera
github.com/LumeraProtocol/rq-service => ../rq-service/gen
github.com/LumeraProtocol/supernode => .
)

require (
cosmossdk.io/api v0.7.6
github.com/LumeraProtocol/dd-service v0.0.0-20250226082440-ebf419254f36
github.com/LumeraProtocol/lumera v0.4.1
github.com/LumeraProtocol/rq-service v0.0.0-00010101000000-000000000000
github.com/LumeraProtocol/dd-service/gen v0.0.0-20250305185425-22977769a449
github.com/LumeraProtocol/lumera v0.4.2
github.com/LumeraProtocol/rq-service/gen v0.0.0-20250305185258-cf252902b897
github.com/btcsuite/btcutil v1.0.3-0.20201208143702-a53e38424cce
github.com/cenkalti/backoff/v4 v4.3.0
github.com/cosmos/btcutil v1.0.5
Expand Down Expand Up @@ -178,5 +172,3 @@ require (
pgregory.net/rapid v1.1.0 // indirect
sigs.k8s.io/yaml v1.4.0 // indirect
)

replace github.com/LumeraProtocol/dd-service => ../dd-service/gen
6 changes: 6 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,12 @@ github.com/DataDog/datadog-go v3.2.0+incompatible/go.mod h1:LButxg5PwREeZtORoXG3
github.com/DataDog/zstd v1.5.5 h1:oWf5W7GtOLgp6bciQYDmhHHjdhYkALu6S/5Ni9ZgSvQ=
github.com/DataDog/zstd v1.5.5/go.mod h1:g4AWEaM3yOg3HYfnJ3YIawPnVdXJh9QME85blwSAmyw=
github.com/Knetic/govaluate v3.0.1-0.20171022003610-9aa49832a739+incompatible/go.mod h1:r7JcOSlj0wfOMncg0iLm8Leh48TZaKVeNIfJntJ2wa0=
github.com/LumeraProtocol/dd-service/gen v0.0.0-20250305185425-22977769a449 h1:VwXwh/bNCNmj8OgIyM+LfqMCqqSGjRtQv983HiYCKcE=
github.com/LumeraProtocol/dd-service/gen v0.0.0-20250305185425-22977769a449/go.mod h1:/ieXOhfSDyTbcyB1GFmKr4t2b0YGYn0O8ikMNBMnOMA=
github.com/LumeraProtocol/lumera v0.4.2 h1:yW7mwoYiBCcFLFNs9AgmaLc0DVkir95NGFtR2j/VYsw=
github.com/LumeraProtocol/lumera v0.4.2/go.mod h1:MRqVY+f8edEBkDvpr4z2nJpglp3Qj1OUvjeWvrvIUSM=
github.com/LumeraProtocol/rq-service/gen v0.0.0-20250305185258-cf252902b897 h1:sxqhMpcQm8KjDFvhs6yg3Vyv9gt9uxBnfpZRewxAFos=
github.com/LumeraProtocol/rq-service/gen v0.0.0-20250305185258-cf252902b897/go.mod h1:+b6pn5XADYaATzzaKRZtCeIyYW2845v34gZ8NaPtPgI=
github.com/OneOfOne/xxhash v1.2.2 h1:KMrpdQIwFcEqXDklaen+P1axHaj9BSKzvpUUfnHldSE=
github.com/OneOfOne/xxhash v1.2.2/go.mod h1:HSdplMjZKSmBqAxg5vPj2TmRDmfkzw+cTzAElWljhcU=
github.com/Shopify/sarama v1.19.0/go.mod h1:FVkBWblsNy7DGZRfXLU0O9RCGt5g3g3yEuWXgklEdEo=
Expand Down
2 changes: 1 addition & 1 deletion pkg/dd/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"context"
"fmt"

ddService "github.com/LumeraProtocol/dd-service"
ddService "github.com/LumeraProtocol/dd-service/gen"
"google.golang.org/grpc"
)

Expand Down
2 changes: 1 addition & 1 deletion pkg/dd/image_rareness.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"context"
"fmt"

ddService "github.com/LumeraProtocol/dd-service"
ddService "github.com/LumeraProtocol/dd-service/gen"
"github.com/LumeraProtocol/supernode/pkg/logtrace"
"github.com/LumeraProtocol/supernode/pkg/net"
)
Expand Down
2 changes: 1 addition & 1 deletion pkg/dd/status.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"context"
"fmt"

ddService "github.com/LumeraProtocol/dd-service"
ddService "github.com/LumeraProtocol/dd-service/gen"
"github.com/LumeraProtocol/supernode/pkg/logtrace"
"github.com/LumeraProtocol/supernode/pkg/net"
)
Expand Down
2 changes: 1 addition & 1 deletion pkg/lumera/supernode/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ type Client struct {

type Service interface {
GetTopSNsByBlockHeight(ctx context.Context, r GetTopSupernodesForBlockRequest) (GetTopSupernodesForBlockResponse, error)
GetSupernodeByAddress(ctx context.Context, r GetSupernodeRequest) (SuperNode, error)
GetSupernodeByAddress(ctx context.Context, r GetSupernodeRequest) (lumerasn.SuperNode, error)
}

func NewClient(serverAddr string) (Service, error) {
Expand Down
2 changes: 1 addition & 1 deletion pkg/raptorq/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"fmt"
"google.golang.org/grpc"

rq "github.com/LumeraProtocol/rq-service"
rq "github.com/LumeraProtocol/rq-service/gen"
)

type Client struct {
Expand Down
2 changes: 1 addition & 1 deletion pkg/raptorq/decode.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"context"
"fmt"

rq "github.com/LumeraProtocol/rq-service"
rq "github.com/LumeraProtocol/rq-service/gen"
"github.com/LumeraProtocol/supernode/pkg/logtrace"
"github.com/LumeraProtocol/supernode/pkg/net"
)
Expand Down
2 changes: 1 addition & 1 deletion pkg/raptorq/encode.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"context"
"fmt"

rq "github.com/LumeraProtocol/rq-service"
rq "github.com/LumeraProtocol/rq-service/gen"
"github.com/LumeraProtocol/supernode/pkg/logtrace"
"github.com/LumeraProtocol/supernode/pkg/net"
)
Expand Down
2 changes: 1 addition & 1 deletion pkg/raptorq/encode_metadata.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package raptorq
import (
"context"

rq "github.com/LumeraProtocol/rq-service"
rq "github.com/LumeraProtocol/rq-service/gen"
"github.com/LumeraProtocol/supernode/pkg/logtrace"
"github.com/LumeraProtocol/supernode/pkg/net"
)
Expand Down