mirror of
https://github.com/libp2p/go-libp2p-core.git
synced 2024-12-26 23:30:27 +08:00
Interfaces and abstractions that make up go-libp2p
ef6e277df7
* fix: make timestamps strictly increasing On Linux, this is almost always the case. Windows, however, doesn't have nanosecond accuracy. We make the timestamp sequence numbers strictly increasing by returning the last timestamp + 1 where necessary. * apply code review Co-authored-by: Marten Seemann <martenseemann@gmail.com> * use a lock Co-authored-by: Marten Seemann <martenseemann@gmail.com> |
||
---|---|---|
.github/workflows | ||
connmgr | ||
control | ||
crypto | ||
discovery | ||
event | ||
helpers | ||
host | ||
introspection | ||
metrics | ||
mux | ||
network | ||
peer | ||
peerstore | ||
pnet | ||
protocol | ||
record | ||
routing | ||
sec | ||
test | ||
transport | ||
.gitignore | ||
alias.go | ||
go.mod | ||
go.sum | ||
LICENSE | ||
LICENSE-APACHE | ||
LICENSE-MIT | ||
README.md |
go-libp2p-core
Home to the interfaces and abstractions that make up go-libp2p.
Install
go get github.com/libp2p/go-libp2p-core
Usage
Check out the GoDocs.
Testing
To test instantiations of interfaces and abstractions, you can use the test suite.
License
Dual-licensed under MIT and ASLv2, by way of the Permissive License Stack.