go-libp2p-daemon
go-libp2p-daemon copied to clipboard
a libp2p-backed daemon wrapping the functionalities of go-libp2p for use in other languages
`p2pd -version` now prints a generic help, but it's impossible to know what version of the source code it was built from - preferably git hash + tagged release or...
We talked about this in Devcon4 workshops to add version support to IPC protocol.
Error with `v0.2.3` and go version 1.12: ``` build github.com/libp2p/go-libp2p-daemon/p2p-keygen: cannot find module for path crypto/ed25519 ``` Per readme, 1.12 should be supported. Worked with go1.13
This change also introduces a very naive metricsModules map that collects, by name, all of the modules present in the daemon. Sorry for the confusion here, @vyzo. @anacrolix and @lanzafame...
Failure during `go get ./...` in HEAD, on AppVeyor - https://ci.appveyor.com/project/nimbus/nim-libp2p/builds/27746839/job/dnpugbq12b2t298q#L579 : ```text # github.com/prometheus/client_golang/prometheus ..\goblin\pkg\mod\github.com\prometheus\[email protected]\prometheus\process_collector_windows.go:78:9: assignment mismatch: 2 variables but "golang.org/x/sys/windows".GetCurrentProcess returns 1 values ``` Upstream issue: https://github.com/prometheus/client_golang/issues/642
Is it possible to reset a stream which we get from `STREAM_OPEN` or `STREAM_HANDLER`? I scanned the codebase and couldn't find it out. It seems we can only `close` the...
Are there instructions / examples? Brief search did not get results (I did not try to build it though).
For debugging the state of the daemon, it could be useful to add a hook to catch `SIGUSR2` (as we plan to use `SIGUSR1` for config reload) that prints statistics/diagnostics...
This adds a subset of commands to interact with the Peerstore. - `ADD_PROTOCOLS`, `GET_PROTOCOLS`, `GET_PEER_INFO` Resolves https://github.com/libp2p/go-libp2p-daemon/issues/89
Expose the Peerstore to allow daemon clients to access that information, such as known protocols a peer supports. ~~I'm proposing an addition of protos to the PeerInfo protobuf. This would...