You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 12, 2021. It is now read-only.
h1, err := libp2p.New(context.Background(), libp2p.EnableRelay(circuit.OptDiscovery)) error is circuit.OptDiscovery is now a no-op: dialing peers with a random relay is no longer supported
relayaddr, err := ma.NewMultiaddr("/p2p-circuit/p2p/"+ h3.ID().Pretty()) report an't dial a p2p-circuit without specifying a relay: /p2p-circuit/p2p/QmPTjoYNMLSR8wzeRToMCwokMqCjz1TwBTdbJq7nX4TsWN
so how to use the libp2p-circuit ? or any other examples?
final i get these fixed by set relayaddr, err := ma.NewMultiaddr("/p2p/"+h2.ID().Pretty()+"/p2p-circuit/p2p/"+ h3.ID().Pretty())
The text was updated successfully, but these errors were encountered:
but when i write my own relay code and run it in 3 terminal i got error like this length greater than remaining number of bytes in buffer
i dont know how to fix it ,
which raw code is in https://github.com/multiformats/multihash
when i run relay example in https://github.com/libp2p/go-libp2p-examples/tree/master/relay i get two errors
h1, err := libp2p.New(context.Background(), libp2p.EnableRelay(circuit.OptDiscovery))
error iscircuit.OptDiscovery is now a no-op: dialing peers with a random relay is no longer supported
relayaddr, err := ma.NewMultiaddr("/p2p-circuit/p2p/"+ h3.ID().Pretty())
reportan't dial a p2p-circuit without specifying a relay: /p2p-circuit/p2p/QmPTjoYNMLSR8wzeRToMCwokMqCjz1TwBTdbJq7nX4TsWN
so how to use the libp2p-circuit ? or any other examples?
final i get these fixed by set
relayaddr, err := ma.NewMultiaddr("/p2p/"+h2.ID().Pretty()+"/p2p-circuit/p2p/"+ h3.ID().Pretty())
The text was updated successfully, but these errors were encountered: