mirror of
https://source.quilibrium.com/quilibrium/ceremonyclient.git
synced 2024-11-14 20:25:17 +00:00
induce direct peering
This commit is contained in:
parent
1d493f96d7
commit
9faad17443
@ -215,7 +215,16 @@ func NewBlossomSub(
|
||||
blossomOpts := []blossomsub.Option{}
|
||||
|
||||
if isBootstrapPeer {
|
||||
peerInfo, err := peer.AddrInfoFromString("/ip4/185.209.178.191/udp/8336/quic-v1/p2p/QmcKQjpQmLpbDsiif2MuakhHFyxWvqYauPsJDaXnLav7PJ")
|
||||
if err != nil {
|
||||
panic(err)
|
||||
}
|
||||
blossomOpts = append(blossomOpts, blossomsub.WithValidateQueueSize(1024))
|
||||
blossomOpts = append(blossomOpts, blossomsub.WithDirectPeers(
|
||||
[]peer.AddrInfo{
|
||||
*peerInfo,
|
||||
},
|
||||
))
|
||||
}
|
||||
if tracer != nil {
|
||||
blossomOpts = append(blossomOpts, blossomsub.WithEventTracer(tracer))
|
||||
|
Loading…
Reference in New Issue
Block a user