chore: change project org

This commit is contained in:
Richard Ramos 2022-10-27 09:04:46 -04:00
parent 069eee20a3
commit 2f43d5f6c7
No known key found for this signature in database
GPG Key ID: BD36D48BC9FFC88C
7 changed files with 16 additions and 15 deletions

View File

@ -25,7 +25,7 @@ import (
"github.com/ethereum/go-ethereum/p2p/enode" "github.com/ethereum/go-ethereum/p2p/enode"
"github.com/ethereum/go-ethereum/p2p/enr" "github.com/ethereum/go-ethereum/p2p/enr"
"github.com/ethereum/go-ethereum/p2p/netutil" "github.com/ethereum/go-ethereum/p2p/netutil"
"github.com/status-im/go-discover/discover/v5wire" "github.com/waku-org/go-discover/discover/v5wire"
) )
// UDPConn is a network connection on which discovery can operate. // UDPConn is a network connection on which discovery can operate.
@ -46,12 +46,13 @@ type Config struct {
PrivateKey *ecdsa.PrivateKey PrivateKey *ecdsa.PrivateKey
// These settings are optional: // These settings are optional:
NetRestrict *netutil.Netlist // list of allowed IP networks NetRestrict *netutil.Netlist // list of allowed IP networks
Bootnodes []*enode.Node // list of bootstrap nodes Bootnodes []*enode.Node // list of bootstrap nodes
Unhandled chan<- ReadPacket // unhandled packets are sent on this channel Unhandled chan<- ReadPacket // unhandled packets are sent on this channel
Log log.Logger // if set, log messages go here Log log.Logger // if set, log messages go here
ValidSchemes enr.IdentityScheme // allowed identity schemes ValidSchemes enr.IdentityScheme // allowed identity schemes
V5Config V5Config // DiscV5 settings V5Config V5Config // DiscV5 settings
ValidNodeFn func(enode.Node) bool // function to validate a node before it's added to routing tables
Clock mclock.Clock Clock mclock.Clock
} }

View File

@ -26,7 +26,7 @@ import (
"github.com/ethereum/go-ethereum/crypto" "github.com/ethereum/go-ethereum/crypto"
"github.com/ethereum/go-ethereum/p2p/enode" "github.com/ethereum/go-ethereum/p2p/enode"
"github.com/ethereum/go-ethereum/p2p/enr" "github.com/ethereum/go-ethereum/p2p/enr"
"github.com/status-im/go-discover/discover/v4wire" "github.com/waku-org/go-discover/discover/v4wire"
) )
func TestUDPv4_Lookup(t *testing.T) { func TestUDPv4_Lookup(t *testing.T) {

View File

@ -33,7 +33,7 @@ import (
"github.com/ethereum/go-ethereum/log" "github.com/ethereum/go-ethereum/log"
"github.com/ethereum/go-ethereum/p2p/enode" "github.com/ethereum/go-ethereum/p2p/enode"
"github.com/ethereum/go-ethereum/p2p/netutil" "github.com/ethereum/go-ethereum/p2p/netutil"
"github.com/status-im/go-discover/discover/v4wire" "github.com/waku-org/go-discover/discover/v4wire"
) )
// Errors // Errors

View File

@ -34,8 +34,8 @@ import (
"github.com/ethereum/go-ethereum/log" "github.com/ethereum/go-ethereum/log"
"github.com/ethereum/go-ethereum/p2p/enode" "github.com/ethereum/go-ethereum/p2p/enode"
"github.com/ethereum/go-ethereum/p2p/enr" "github.com/ethereum/go-ethereum/p2p/enr"
"github.com/status-im/go-discover/discover/v4wire" "github.com/waku-org/go-discover/discover/v4wire"
"github.com/status-im/go-discover/internal/testlog" "github.com/waku-org/go-discover/internal/testlog"
) )
// shared test variables // shared test variables

View File

@ -34,7 +34,7 @@ import (
"github.com/ethereum/go-ethereum/p2p/enode" "github.com/ethereum/go-ethereum/p2p/enode"
"github.com/ethereum/go-ethereum/p2p/enr" "github.com/ethereum/go-ethereum/p2p/enr"
"github.com/ethereum/go-ethereum/p2p/netutil" "github.com/ethereum/go-ethereum/p2p/netutil"
"github.com/status-im/go-discover/discover/v5wire" "github.com/waku-org/go-discover/discover/v5wire"
) )
const ( const (

View File

@ -32,8 +32,8 @@ import (
"github.com/ethereum/go-ethereum/p2p/enode" "github.com/ethereum/go-ethereum/p2p/enode"
"github.com/ethereum/go-ethereum/p2p/enr" "github.com/ethereum/go-ethereum/p2p/enr"
"github.com/ethereum/go-ethereum/rlp" "github.com/ethereum/go-ethereum/rlp"
"github.com/status-im/go-discover/discover/v5wire" "github.com/waku-org/go-discover/discover/v5wire"
"github.com/status-im/go-discover/internal/testlog" "github.com/waku-org/go-discover/internal/testlog"
) )
// Real sockets, real crypto: this test checks end-to-end connectivity for UDPv5. // Real sockets, real crypto: this test checks end-to-end connectivity for UDPv5.

2
go.mod
View File

@ -1,4 +1,4 @@
module github.com/status-im/go-discover module github.com/waku-org/go-discover
go 1.15 go 1.15