Interfaces and abstractions that make up go-libp2p
Go to file
Steven Allen ef6e277df7
fix: make timestamps strictly increasing (#201)
* 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>
2021-07-16 15:02:22 -07:00
.github/workflows ci: use github-actions for compatibility testing (#200) 2021-07-12 21:38:08 -07:00
connmgr fix staticcheck errors (#191) 2021-03-30 16:13:36 -07:00
control add connection gating interfaces and types. (#139) 2020-05-13 13:15:38 +01:00
crypto fix benchmark of key verifications (#190) 2021-03-30 16:14:00 -07:00
discovery Absorb go-libp2p abstractions and core types into this module (#1) 2019-05-22 18:31:11 +01:00
event Event for user's NAT Device Type: Tell user if the node is behind an Easy or Hard NAT (#173) 2021-02-18 14:17:27 +05:30
helpers add CloseRead/CloseWrite on streams (#166) 2020-09-01 17:29:54 -07:00
host experimental introspection support (#159) 2020-06-05 12:24:56 +01:00
introspection experimental introspection support (#159) 2020-06-05 12:24:56 +01:00
metrics sync: update CI config files (#189) 2021-07-12 17:25:09 -07:00
mux more docs for stream fncs (#183) 2021-02-16 12:08:51 -08:00
network mind the dot. 2021-02-19 12:32:44 +02:00
peer fix: make timestamps strictly increasing (#201) 2021-07-16 15:02:22 -07:00
peerstore changes as per review 2020-05-11 13:00:05 +05:30
pnet remove the Protector interface, introduce a PSK type (#118) 2020-03-06 17:18:20 -08:00
protocol eventbus abstraction + initial events (#17) 2019-06-20 15:59:53 +01:00
record fix staticcheck errors (#191) 2021-03-30 16:13:36 -07:00
routing fix staticcheck errors (#191) 2021-03-30 16:13:36 -07:00
sec Secure Muxer Interface (#180) 2021-02-14 17:45:11 +05:30
test Signed envelopes & routing records (#73) 2020-02-10 14:53:24 -05:00
transport reduce default timeouts to 15s (#192) 2021-04-05 12:45:14 -07:00
.gitignore deps: move tools to a sub-module (#130) 2020-03-09 19:57:19 -07:00
alias.go Fix typo in docs (#163) 2020-08-08 14:40:23 +03:00
go.mod sync: update CI config files (#189) 2021-07-12 17:25:09 -07:00
go.sum fix staticcheck errors (#191) 2021-03-30 16:13:36 -07:00
LICENSE chore(license): fix license detection 2020-02-11 10:34:23 -08:00
LICENSE-APACHE Add license files (#24) 2019-06-24 18:25:52 +01:00
LICENSE-MIT Add license files (#24) 2019-06-24 18:25:52 +01:00
README.md remove minimum Go version from README (#199) 2021-07-07 11:46:25 -07:00

go-libp2p-core

GoDoc Coverage Status Build Status Discourse posts

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.