gx publish 0.9.31
This commit is contained in:
parent
1abb0209ce
commit
0827f5e955
|
@ -1 +1 @@
|
||||||
0.9.30: Qmch44z24hut8iN2snohMNLiX63E3QfZLMQKoe14iZ3FhQ
|
0.9.31: QmUK4h113Hh7bR2gPpsMcbUEbbzc7hspocmPi91Bmi69nH
|
||||||
|
|
6
comm.go
6
comm.go
|
@ -7,9 +7,9 @@ import (
|
||||||
|
|
||||||
pb "github.com/libp2p/go-floodsub/pb"
|
pb "github.com/libp2p/go-floodsub/pb"
|
||||||
|
|
||||||
inet "gx/ipfs/QmQdLcvoy3JuSqhV6iwQ9T6Cv7hWLAdzob4jUZRPqFL67Z/go-libp2p-net"
|
ggio "github.com/gogo/protobuf/io"
|
||||||
ggio "gx/ipfs/QmdxUuburamoF6zF9qjeQC4WYcWGbWuRmdLacMEsW8ioD8/gogo-protobuf/io"
|
proto "github.com/gogo/protobuf/proto"
|
||||||
proto "gx/ipfs/QmdxUuburamoF6zF9qjeQC4WYcWGbWuRmdLacMEsW8ioD8/gogo-protobuf/proto"
|
inet "github.com/libp2p/go-libp2p-net"
|
||||||
)
|
)
|
||||||
|
|
||||||
// get the initial RPC containing all of our subscriptions to send to new peers
|
// get the initial RPC containing all of our subscriptions to send to new peers
|
||||||
|
|
|
@ -5,9 +5,9 @@ import (
|
||||||
|
|
||||||
pb "github.com/libp2p/go-floodsub/pb"
|
pb "github.com/libp2p/go-floodsub/pb"
|
||||||
|
|
||||||
host "gx/ipfs/QmX9pw5dSUZ2FozbppcSDJiS7eEh1RFwJNwrbmyLoUMS9x/go-libp2p-host"
|
host "github.com/libp2p/go-libp2p-host"
|
||||||
protocol "gx/ipfs/QmZNkThpqfVXs9GNbexPrfBbXSLNYeKrE7jwFM2oqHbyqN/go-libp2p-protocol"
|
peer "github.com/libp2p/go-libp2p-peer"
|
||||||
peer "gx/ipfs/QmbNepETomvmXfz1X5pHNFD2QuPqnqi47dTd94QJWSorQ3/go-libp2p-peer"
|
protocol "github.com/libp2p/go-libp2p-protocol"
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
|
|
|
@ -10,12 +10,12 @@ import (
|
||||||
"testing"
|
"testing"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
host "gx/ipfs/QmX9pw5dSUZ2FozbppcSDJiS7eEh1RFwJNwrbmyLoUMS9x/go-libp2p-host"
|
host "github.com/libp2p/go-libp2p-host"
|
||||||
peer "gx/ipfs/QmbNepETomvmXfz1X5pHNFD2QuPqnqi47dTd94QJWSorQ3/go-libp2p-peer"
|
peer "github.com/libp2p/go-libp2p-peer"
|
||||||
swarmt "gx/ipfs/QmcyQj1V6Ht8uSrRqj865UXGUo5Sc8GxNA4U8bLQxCSmfX/go-libp2p-swarm/testing"
|
swarmt "github.com/libp2p/go-libp2p-swarm/testing"
|
||||||
//bhost "github.com/libp2p/go-libp2p/p2p/host/basic"
|
//bhost "github.com/libp2p/go-libp2p/p2p/host/basic"
|
||||||
bhost "gx/ipfs/QmSG4P432Eomm1s8rkgUuBk9Nzp8YjY35RUcJTGT2Huwki/go-libp2p-blankhost"
|
bhost "github.com/libp2p/go-libp2p-blankhost"
|
||||||
"gx/ipfs/QmZNkThpqfVXs9GNbexPrfBbXSLNYeKrE7jwFM2oqHbyqN/go-libp2p-protocol"
|
"github.com/libp2p/go-libp2p-protocol"
|
||||||
)
|
)
|
||||||
|
|
||||||
func checkMessageRouting(t *testing.T, topic string, pubs []*PubSub, subs []*Subscription) {
|
func checkMessageRouting(t *testing.T, topic string, pubs []*PubSub, subs []*Subscription) {
|
||||||
|
|
|
@ -7,9 +7,9 @@ import (
|
||||||
|
|
||||||
pb "github.com/libp2p/go-floodsub/pb"
|
pb "github.com/libp2p/go-floodsub/pb"
|
||||||
|
|
||||||
host "gx/ipfs/QmX9pw5dSUZ2FozbppcSDJiS7eEh1RFwJNwrbmyLoUMS9x/go-libp2p-host"
|
host "github.com/libp2p/go-libp2p-host"
|
||||||
protocol "gx/ipfs/QmZNkThpqfVXs9GNbexPrfBbXSLNYeKrE7jwFM2oqHbyqN/go-libp2p-protocol"
|
peer "github.com/libp2p/go-libp2p-peer"
|
||||||
peer "gx/ipfs/QmbNepETomvmXfz1X5pHNFD2QuPqnqi47dTd94QJWSorQ3/go-libp2p-peer"
|
protocol "github.com/libp2p/go-libp2p-protocol"
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
|
|
|
@ -8,7 +8,7 @@ import (
|
||||||
"testing"
|
"testing"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
host "gx/ipfs/QmX9pw5dSUZ2FozbppcSDJiS7eEh1RFwJNwrbmyLoUMS9x/go-libp2p-host"
|
host "github.com/libp2p/go-libp2p-host"
|
||||||
)
|
)
|
||||||
|
|
||||||
func getGossipsubs(ctx context.Context, hs []host.Host, opts ...Option) []*PubSub {
|
func getGossipsubs(ctx context.Context, hs []host.Host, opts ...Option) []*PubSub {
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
package floodsub
|
package floodsub
|
||||||
|
|
||||||
import (
|
import (
|
||||||
inet "gx/ipfs/QmQdLcvoy3JuSqhV6iwQ9T6Cv7hWLAdzob4jUZRPqFL67Z/go-libp2p-net"
|
inet "github.com/libp2p/go-libp2p-net"
|
||||||
ma "gx/ipfs/QmYmsdtJ3HsodkePE3eU3TsCaP2YvPZJ4LoXnNkDE5Tpt7/go-multiaddr"
|
ma "github.com/multiformats/go-multiaddr"
|
||||||
)
|
)
|
||||||
|
|
||||||
var _ inet.Notifiee = (*PubSubNotif)(nil)
|
var _ inet.Notifiee = (*PubSubNotif)(nil)
|
||||||
|
|
|
@ -56,9 +56,9 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"author": "whyrusleeping",
|
"author": "whyrusleeping",
|
||||||
"hash": "QmcyQj1V6Ht8uSrRqj865UXGUo5Sc8GxNA4U8bLQxCSmfX",
|
"hash": "QmcALnLPFXgLLaZkXzGv99yt8xPfiWqFTumiXpWBJbU9cY",
|
||||||
"name": "go-libp2p-swarm",
|
"name": "go-libp2p-swarm",
|
||||||
"version": "3.0.14"
|
"version": "3.0.15"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"author": "whyrusleeping",
|
"author": "whyrusleeping",
|
||||||
|
@ -72,6 +72,6 @@
|
||||||
"license": "",
|
"license": "",
|
||||||
"name": "go-libp2p-floodsub",
|
"name": "go-libp2p-floodsub",
|
||||||
"releaseCmd": "git commit -a -m \"gx publish $VERSION\"",
|
"releaseCmd": "git commit -a -m \"gx publish $VERSION\"",
|
||||||
"version": "0.9.30"
|
"version": "0.9.31"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
|
|
||||||
package floodsub_pb
|
package floodsub_pb
|
||||||
|
|
||||||
import proto "gx/ipfs/QmdxUuburamoF6zF9qjeQC4WYcWGbWuRmdLacMEsW8ioD8/gogo-protobuf/proto"
|
import proto "github.com/gogo/protobuf/proto"
|
||||||
import fmt "fmt"
|
import fmt "fmt"
|
||||||
import math "math"
|
import math "math"
|
||||||
|
|
||||||
|
|
12
pubsub.go
12
pubsub.go
|
@ -10,12 +10,12 @@ import (
|
||||||
|
|
||||||
pb "github.com/libp2p/go-floodsub/pb"
|
pb "github.com/libp2p/go-floodsub/pb"
|
||||||
|
|
||||||
inet "gx/ipfs/QmQdLcvoy3JuSqhV6iwQ9T6Cv7hWLAdzob4jUZRPqFL67Z/go-libp2p-net"
|
logging "github.com/ipfs/go-log"
|
||||||
host "gx/ipfs/QmX9pw5dSUZ2FozbppcSDJiS7eEh1RFwJNwrbmyLoUMS9x/go-libp2p-host"
|
host "github.com/libp2p/go-libp2p-host"
|
||||||
timecache "gx/ipfs/QmYftoT56eEfUBTD3erR6heXuPSUhGRezSmhSU8LeczP8b/timecache"
|
inet "github.com/libp2p/go-libp2p-net"
|
||||||
logging "gx/ipfs/QmZChCsSt8DctjceaL56Eibc29CVQq4dGKRXC5JRZ6Ppae/go-log"
|
peer "github.com/libp2p/go-libp2p-peer"
|
||||||
protocol "gx/ipfs/QmZNkThpqfVXs9GNbexPrfBbXSLNYeKrE7jwFM2oqHbyqN/go-libp2p-protocol"
|
protocol "github.com/libp2p/go-libp2p-protocol"
|
||||||
peer "gx/ipfs/QmbNepETomvmXfz1X5pHNFD2QuPqnqi47dTd94QJWSorQ3/go-libp2p-peer"
|
timecache "github.com/whyrusleeping/timecache"
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
|
|
Loading…
Reference in New Issue