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
2021-03-30 16:13:36 -07:00
2021-02-16 12:08:51 -08:00
2021-02-19 12:32:44 +02:00
2020-05-11 13:00:05 +05:30
2021-03-30 16:13:36 -07:00
2021-03-30 16:13:36 -07:00
2021-02-14 17:45:11 +05:30
2020-08-08 14:40:23 +03:00
2021-07-12 17:25:09 -07:00
2021-03-30 16:13:36 -07:00
2020-02-11 10:34:23 -08:00
2019-06-24 18:25:52 +01:00
2019-06-24 18:25:52 +01: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.

Description
Interfaces and abstractions that make up go-libp2p
Readme 1.3 MiB
Languages
Go 100%