diff --git a/bond/bond_info.go b/bond/bond_info.go index 5294732..331d145 100644 --- a/bond/bond_info.go +++ b/bond/bond_info.go @@ -7,7 +7,7 @@ import ( "sync/atomic" "time" - protocolsPb "github.com/martonp/tatanka-mesh/protocols/pb" + protocolsPb "github.com/bisoncraft/mesh/protocols/pb" ) const ( diff --git a/client/client.go b/client/client.go index 7ef4ce0..795f309 100644 --- a/client/client.go +++ b/client/client.go @@ -11,9 +11,9 @@ import ( "github.com/libp2p/go-libp2p/core/crypto" "github.com/libp2p/go-libp2p/core/host" "github.com/libp2p/go-libp2p/core/peer" - "github.com/martonp/tatanka-mesh/bond" + "github.com/bisoncraft/mesh/bond" - protocolsPb "github.com/martonp/tatanka-mesh/protocols/pb" + protocolsPb "github.com/bisoncraft/mesh/protocols/pb" ma "github.com/multiformats/go-multiaddr" ) diff --git a/client/client_test.go b/client/client_test.go index c50a3bb..1e5a616 100644 --- a/client/client_test.go +++ b/client/client_test.go @@ -12,7 +12,7 @@ import ( "github.com/decred/slog" "github.com/libp2p/go-libp2p/core/peer" - protocolsPb "github.com/martonp/tatanka-mesh/protocols/pb" + protocolsPb "github.com/bisoncraft/mesh/protocols/pb" ) type relayMessageParams struct { diff --git a/client/harness_test.go b/client/harness_test.go index f55ba25..84a8aa2 100644 --- a/client/harness_test.go +++ b/client/harness_test.go @@ -18,7 +18,7 @@ import ( "github.com/decred/slog" "github.com/libp2p/go-libp2p/core/crypto" - "github.com/martonp/tatanka-mesh/bond" + "github.com/bisoncraft/mesh/bond" ) func TestMain(m *testing.M) { diff --git a/client/mesh_connection.go b/client/mesh_connection.go index 54c3002..684abd1 100644 --- a/client/mesh_connection.go +++ b/client/mesh_connection.go @@ -11,10 +11,10 @@ import ( "github.com/libp2p/go-libp2p/core/host" "github.com/libp2p/go-libp2p/core/network" "github.com/libp2p/go-libp2p/core/peer" - "github.com/martonp/tatanka-mesh/bond" - "github.com/martonp/tatanka-mesh/codec" - "github.com/martonp/tatanka-mesh/protocols" - protocolsPb "github.com/martonp/tatanka-mesh/protocols/pb" + "github.com/bisoncraft/mesh/bond" + "github.com/bisoncraft/mesh/codec" + "github.com/bisoncraft/mesh/protocols" + protocolsPb "github.com/bisoncraft/mesh/protocols/pb" ma "github.com/multiformats/go-multiaddr" "google.golang.org/protobuf/proto" ) diff --git a/client/mesh_connection_test.go b/client/mesh_connection_test.go index bfe41f6..9a48790 100644 --- a/client/mesh_connection_test.go +++ b/client/mesh_connection_test.go @@ -19,10 +19,10 @@ import ( "github.com/libp2p/go-libp2p/core/host" "github.com/libp2p/go-libp2p/core/network" "github.com/libp2p/go-libp2p/core/peer" - "github.com/martonp/tatanka-mesh/bond" - "github.com/martonp/tatanka-mesh/codec" - "github.com/martonp/tatanka-mesh/protocols" - protocolsPb "github.com/martonp/tatanka-mesh/protocols/pb" + "github.com/bisoncraft/mesh/bond" + "github.com/bisoncraft/mesh/codec" + "github.com/bisoncraft/mesh/protocols" + protocolsPb "github.com/bisoncraft/mesh/protocols/pb" ma "github.com/multiformats/go-multiaddr" "google.golang.org/protobuf/proto" ) diff --git a/cmd/tatanka/main.go b/cmd/tatanka/main.go index 5e825cd..b0ab9dc 100644 --- a/cmd/tatanka/main.go +++ b/cmd/tatanka/main.go @@ -12,7 +12,7 @@ import ( "github.com/decred/slog" "github.com/jessevdk/go-flags" "github.com/jrick/logrotate/rotator" - "github.com/martonp/tatanka-mesh/tatanka" + "github.com/bisoncraft/mesh/tatanka" ) var log slog.Logger diff --git a/cmd/tatankactl/main.go b/cmd/tatankactl/main.go index b1a9355..26bdcd7 100644 --- a/cmd/tatankactl/main.go +++ b/cmd/tatankactl/main.go @@ -14,7 +14,7 @@ import ( "github.com/gorilla/websocket" "github.com/jessevdk/go-flags" - "github.com/martonp/tatanka-mesh/tatanka/admin" + "github.com/bisoncraft/mesh/tatanka/admin" ) // Command definitions diff --git a/cmd/testclient/main.go b/cmd/testclient/main.go index f926046..6178b9f 100644 --- a/cmd/testclient/main.go +++ b/cmd/testclient/main.go @@ -14,8 +14,8 @@ import ( "github.com/jessevdk/go-flags" "github.com/jrick/logrotate/rotator" "github.com/libp2p/go-libp2p/core/crypto" - "github.com/martonp/tatanka-mesh/bond" - "github.com/martonp/tatanka-mesh/testing/client" + "github.com/bisoncraft/mesh/bond" + "github.com/bisoncraft/mesh/testing/client" ) // bondParamsFlag wraps bond.BondParams to implement the flag.Value interface. diff --git a/codec/codec_test.go b/codec/codec_test.go index 4713b53..420fab1 100644 --- a/codec/codec_test.go +++ b/codec/codec_test.go @@ -13,10 +13,10 @@ import ( "github.com/libp2p/go-libp2p/core/host" "github.com/libp2p/go-libp2p/core/network" "github.com/libp2p/go-libp2p/core/peer" - "github.com/martonp/tatanka-mesh/protocols" + "github.com/bisoncraft/mesh/protocols" "google.golang.org/protobuf/proto" - protocolsPb "github.com/martonp/tatanka-mesh/protocols/pb" + protocolsPb "github.com/bisoncraft/mesh/protocols/pb" ma "github.com/multiformats/go-multiaddr" ) diff --git a/go.mod b/go.mod index 7d92e36..ce5872c 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/martonp/tatanka-mesh +module github.com/bisoncraft/mesh go 1.24.9 diff --git a/oracle/diviner.go b/oracle/diviner.go index c0fbb7f..173f4c8 100644 --- a/oracle/diviner.go +++ b/oracle/diviner.go @@ -9,7 +9,7 @@ import ( "github.com/decred/slog" - "github.com/martonp/tatanka-mesh/tatanka/pb" + "github.com/bisoncraft/mesh/tatanka/pb" ) // fetcher returns either a list of price updates or a list of fee rate updates. diff --git a/oracle/diviner_test.go b/oracle/diviner_test.go index c1e9e74..ae9f163 100644 --- a/oracle/diviner_test.go +++ b/oracle/diviner_test.go @@ -12,7 +12,7 @@ import ( "github.com/decred/slog" - "github.com/martonp/tatanka-mesh/tatanka/pb" + "github.com/bisoncraft/mesh/tatanka/pb" ) func TestDivinerFetchUpdates(t *testing.T) { diff --git a/oracle/oracle.go b/oracle/oracle.go index 9fc4c9c..269fb56 100644 --- a/oracle/oracle.go +++ b/oracle/oracle.go @@ -9,7 +9,7 @@ import ( "time" "github.com/decred/slog" - "github.com/martonp/tatanka-mesh/tatanka/pb" + "github.com/bisoncraft/mesh/tatanka/pb" ) const ( diff --git a/oracle/oracle_test.go b/oracle/oracle_test.go index c9efd1d..841f6c4 100644 --- a/oracle/oracle_test.go +++ b/oracle/oracle_test.go @@ -10,7 +10,7 @@ import ( "time" "github.com/decred/slog" - "github.com/martonp/tatanka-mesh/tatanka/pb" + "github.com/bisoncraft/mesh/tatanka/pb" ) diff --git a/protocols/pb/protocols.pb.go b/protocols/pb/protocols.pb.go index 8b3b970..07d3a01 100644 --- a/protocols/pb/protocols.pb.go +++ b/protocols/pb/protocols.pb.go @@ -1719,7 +1719,7 @@ const file_protocols_proto_rawDesc = "" + "\x12ClientOracleUpdate\x12:\n" + "\fprice_update\x18\x01 \x01(\v2\x15.pb.ClientPriceUpdateH\x00R\vpriceUpdate\x12A\n" + "\x0ffee_rate_update\x18\x02 \x01(\v2\x17.pb.ClientFeeRateUpdateH\x00R\rfeeRateUpdateB\b\n" + - "\x06updateB.Z,github.com/martonp/tatanka-mesh/protocols/pbb\x06proto3" + "\x06updateB.Z,github.com/bisoncraft/mesh/protocols/pbb\x06proto3" var ( file_protocols_proto_rawDescOnce sync.Once diff --git a/protocols/pb/protocols.proto b/protocols/pb/protocols.proto index 5f86337..f7c4ab1 100644 --- a/protocols/pb/protocols.proto +++ b/protocols/pb/protocols.proto @@ -2,7 +2,7 @@ syntax = "proto3"; package pb; -option go_package = "github.com/martonp/tatanka-mesh/protocols/pb"; +option go_package = "github.com/bisoncraft/mesh/protocols/pb"; message Response { oneof response { diff --git a/tatanka/bond_storage.go b/tatanka/bond_storage.go index d73a6b2..ce47c92 100644 --- a/tatanka/bond_storage.go +++ b/tatanka/bond_storage.go @@ -5,7 +5,7 @@ import ( "time" "github.com/libp2p/go-libp2p/core/peer" - "github.com/martonp/tatanka-mesh/bond" + "github.com/bisoncraft/mesh/bond" ) type bondStorage interface { diff --git a/tatanka/bond_storage_test.go b/tatanka/bond_storage_test.go index 22ef99d..2865865 100644 --- a/tatanka/bond_storage_test.go +++ b/tatanka/bond_storage_test.go @@ -5,7 +5,7 @@ import ( "time" "github.com/libp2p/go-libp2p/core/peer" - "github.com/martonp/tatanka-mesh/bond" + "github.com/bisoncraft/mesh/bond" ) func TestMemoryBondStorage(t *testing.T) { diff --git a/tatanka/gossipsub.go b/tatanka/gossipsub.go index 33c5dc7..0178cfb 100644 --- a/tatanka/gossipsub.go +++ b/tatanka/gossipsub.go @@ -10,8 +10,8 @@ import ( pubsub "github.com/libp2p/go-libp2p-pubsub" "github.com/libp2p/go-libp2p/core/host" "github.com/libp2p/go-libp2p/core/peer" - protocolsPb "github.com/martonp/tatanka-mesh/protocols/pb" - pb "github.com/martonp/tatanka-mesh/tatanka/pb" + protocolsPb "github.com/bisoncraft/mesh/protocols/pb" + pb "github.com/bisoncraft/mesh/tatanka/pb" "golang.org/x/sync/errgroup" "google.golang.org/protobuf/proto" ) diff --git a/tatanka/gossipsub_test.go b/tatanka/gossipsub_test.go index 9aafe3a..8bc9f47 100644 --- a/tatanka/gossipsub_test.go +++ b/tatanka/gossipsub_test.go @@ -7,7 +7,7 @@ import ( "github.com/libp2p/go-libp2p/core/crypto" "github.com/libp2p/go-libp2p/core/peer" - pb "github.com/martonp/tatanka-mesh/tatanka/pb" + pb "github.com/bisoncraft/mesh/tatanka/pb" ) func TestClientConnectionUpdateRoundTrip(t *testing.T) { diff --git a/tatanka/handler_permissions.go b/tatanka/handler_permissions.go index 60d8ac5..46805a6 100644 --- a/tatanka/handler_permissions.go +++ b/tatanka/handler_permissions.go @@ -5,7 +5,7 @@ import ( "github.com/libp2p/go-libp2p/core/network" "github.com/libp2p/go-libp2p/core/protocol" - "github.com/martonp/tatanka-mesh/codec" + "github.com/bisoncraft/mesh/codec" ) var errUnauthorized = errors.New("unauthorized") diff --git a/tatanka/handler_permissions_test.go b/tatanka/handler_permissions_test.go index 2a70fb1..ae7da91 100644 --- a/tatanka/handler_permissions_test.go +++ b/tatanka/handler_permissions_test.go @@ -7,9 +7,9 @@ import ( "github.com/libp2p/go-libp2p/core/peer" mocknet "github.com/libp2p/go-libp2p/p2p/net/mock" - "github.com/martonp/tatanka-mesh/codec" - "github.com/martonp/tatanka-mesh/protocols" - protocolsPb "github.com/martonp/tatanka-mesh/protocols/pb" + "github.com/bisoncraft/mesh/codec" + "github.com/bisoncraft/mesh/protocols" + protocolsPb "github.com/bisoncraft/mesh/protocols/pb" ) // TestPushPermissions tests the permissions for the push protocol. diff --git a/tatanka/handlers.go b/tatanka/handlers.go index 1f25093..a3f517e 100644 --- a/tatanka/handlers.go +++ b/tatanka/handlers.go @@ -9,12 +9,12 @@ import ( "github.com/libp2p/go-libp2p/core/network" "github.com/libp2p/go-libp2p/core/peer" - "github.com/martonp/tatanka-mesh/bond" - "github.com/martonp/tatanka-mesh/codec" - "github.com/martonp/tatanka-mesh/oracle" - "github.com/martonp/tatanka-mesh/protocols" - protocolsPb "github.com/martonp/tatanka-mesh/protocols/pb" - "github.com/martonp/tatanka-mesh/tatanka/pb" + "github.com/bisoncraft/mesh/bond" + "github.com/bisoncraft/mesh/codec" + "github.com/bisoncraft/mesh/oracle" + "github.com/bisoncraft/mesh/protocols" + protocolsPb "github.com/bisoncraft/mesh/protocols/pb" + "github.com/bisoncraft/mesh/tatanka/pb" ma "github.com/multiformats/go-multiaddr" "google.golang.org/protobuf/proto" ) diff --git a/tatanka/handlers_test.go b/tatanka/handlers_test.go index c4bab6d..f671c55 100644 --- a/tatanka/handlers_test.go +++ b/tatanka/handlers_test.go @@ -5,7 +5,7 @@ import ( "github.com/libp2p/go-libp2p/core/crypto" "github.com/libp2p/go-libp2p/core/peer" - protocolsPb "github.com/martonp/tatanka-mesh/protocols/pb" + protocolsPb "github.com/bisoncraft/mesh/protocols/pb" ma "github.com/multiformats/go-multiaddr" ) diff --git a/tatanka/mesh_connection_manager.go b/tatanka/mesh_connection_manager.go index d4d8996..bc9c7a4 100644 --- a/tatanka/mesh_connection_manager.go +++ b/tatanka/mesh_connection_manager.go @@ -15,8 +15,8 @@ import ( "github.com/libp2p/go-libp2p/core/network" "github.com/libp2p/go-libp2p/core/peer" "github.com/libp2p/go-libp2p/core/peerstore" - "github.com/martonp/tatanka-mesh/codec" - pb "github.com/martonp/tatanka-mesh/tatanka/pb" + "github.com/bisoncraft/mesh/codec" + pb "github.com/bisoncraft/mesh/tatanka/pb" ma "github.com/multiformats/go-multiaddr" ) diff --git a/tatanka/pb/messages.pb.go b/tatanka/pb/messages.pb.go index dac6ae0..cc855a1 100644 --- a/tatanka/pb/messages.pb.go +++ b/tatanka/pb/messages.pb.go @@ -1123,7 +1123,7 @@ const file_messages_proto_rawDesc = "" + "\x10NodeOracleUpdate\x12;\n" + "\fprice_update\x18\x01 \x01(\v2\x16.pb.SourcedPriceUpdateH\x00R\vpriceUpdate\x12B\n" + "\x0ffee_rate_update\x18\x02 \x01(\v2\x18.pb.SourcedFeeRateUpdateH\x00R\rfeeRateUpdateB\b\n" + - "\x06updateB,Z*github.com/martonp/tatanka-mesh/tatanka/pbb\x06proto3" + "\x06updateB,Z*github.com/bisoncraft/mesh/tatanka/pbb\x06proto3" var ( file_messages_proto_rawDescOnce sync.Once diff --git a/tatanka/pb/messages.proto b/tatanka/pb/messages.proto index 7650009..51472c6 100644 --- a/tatanka/pb/messages.proto +++ b/tatanka/pb/messages.proto @@ -2,7 +2,7 @@ syntax = "proto3"; package pb; -option go_package = "github.com/martonp/tatanka-mesh/tatanka/pb"; +option go_package = "github.com/bisoncraft/mesh/tatanka/pb"; // ClientConnectionMsg is used internally by tatanka nodes to share client connection information. message ClientConnectionMsg { diff --git a/tatanka/push_stream_manager.go b/tatanka/push_stream_manager.go index 3d68f27..5ccace6 100644 --- a/tatanka/push_stream_manager.go +++ b/tatanka/push_stream_manager.go @@ -9,8 +9,8 @@ import ( "github.com/decred/slog" "github.com/libp2p/go-libp2p/core/network" "github.com/libp2p/go-libp2p/core/peer" - "github.com/martonp/tatanka-mesh/codec" - protocolsPb "github.com/martonp/tatanka-mesh/protocols/pb" + "github.com/bisoncraft/mesh/codec" + protocolsPb "github.com/bisoncraft/mesh/protocols/pb" ) const ( diff --git a/tatanka/tatanka.go b/tatanka/tatanka.go index b61d175..9f6c900 100644 --- a/tatanka/tatanka.go +++ b/tatanka/tatanka.go @@ -19,10 +19,10 @@ import ( "github.com/libp2p/go-libp2p/core/crypto" "github.com/libp2p/go-libp2p/core/host" "github.com/libp2p/go-libp2p/core/peer" - "github.com/martonp/tatanka-mesh/oracle" - "github.com/martonp/tatanka-mesh/protocols" - protocolsPb "github.com/martonp/tatanka-mesh/protocols/pb" - "github.com/martonp/tatanka-mesh/tatanka/admin" + "github.com/bisoncraft/mesh/oracle" + "github.com/bisoncraft/mesh/protocols" + protocolsPb "github.com/bisoncraft/mesh/protocols/pb" + "github.com/bisoncraft/mesh/tatanka/admin" "github.com/prometheus/client_golang/prometheus/promhttp" ) diff --git a/tatanka/tatanka_test.go b/tatanka/tatanka_test.go index c9435b5..93f34ff 100644 --- a/tatanka/tatanka_test.go +++ b/tatanka/tatanka_test.go @@ -20,12 +20,12 @@ import ( "github.com/libp2p/go-libp2p/core/network" "github.com/libp2p/go-libp2p/core/peer" mocknet "github.com/libp2p/go-libp2p/p2p/net/mock" - "github.com/martonp/tatanka-mesh/bond" - "github.com/martonp/tatanka-mesh/codec" - "github.com/martonp/tatanka-mesh/oracle" - "github.com/martonp/tatanka-mesh/protocols" - protocolsPb "github.com/martonp/tatanka-mesh/protocols/pb" - "github.com/martonp/tatanka-mesh/tatanka/pb" + "github.com/bisoncraft/mesh/bond" + "github.com/bisoncraft/mesh/codec" + "github.com/bisoncraft/mesh/oracle" + "github.com/bisoncraft/mesh/protocols" + protocolsPb "github.com/bisoncraft/mesh/protocols/pb" + "github.com/bisoncraft/mesh/tatanka/pb" "google.golang.org/protobuf/proto" ) diff --git a/testing/client/client.go b/testing/client/client.go index 9999186..c7b46f2 100644 --- a/testing/client/client.go +++ b/testing/client/client.go @@ -18,10 +18,10 @@ import ( "github.com/go-chi/chi/v5" "github.com/go-chi/cors" "github.com/libp2p/go-libp2p/core/crypto" - "github.com/martonp/tatanka-mesh/bond" - tmc "github.com/martonp/tatanka-mesh/client" - "github.com/martonp/tatanka-mesh/oracle" - protocolsPb "github.com/martonp/tatanka-mesh/protocols/pb" + "github.com/bisoncraft/mesh/bond" + tmc "github.com/bisoncraft/mesh/client" + "github.com/bisoncraft/mesh/oracle" + protocolsPb "github.com/bisoncraft/mesh/protocols/pb" "google.golang.org/protobuf/proto" )