go-libp2p-examples
go-libp2p-examples copied to clipboard
Example libp2p applications
I'm using protocol buffers to transfer a file through inet.Stream. Any files < 9mb are successfully being sent and received on the other end. If I send a file >...
Compiling and running the binaries **works** fine. However, when I try to **debug** the code I get a panic on the server side, immediately after the client connects. Panic: ```...
# Background I started 4 `chat-with-rendezvous` locally with port 3000, 4000, 5000, 6000 respectively. ``` ./chat -listen /ip4/127.0.0.1/tcp/3000 ``` My forked example repo: https://github.com/lzl124631x/go-libp2p-examples/commit/adb0eb38bef472749742ada537c431490c019005 # Question 1 Sometimes I saw...
unsure if we want to have this as `chat-with-tor` or replace the old `chat` but given recent conversations about having a dead simple peer discovery example, it may make sense...
After the host with its `[]ma.Multiaddr` addresses were `kadDht.Provide` provided and `kadDht.FindProviders` found again by the same host the addresses were lost
The default `rendezvousString` did not work well for me. Instead, I use a UUID as `rendezvousString` and it did work better. But, after a restart, I get errors concerning the...
go run host.go happen the error
The code below is in chat.go: ``` // If debug is enabled, use a constant random source to generate the peer ID. Only useful for debugging, // off by default....