Commit Graph

9 Commits

Author SHA1 Message Date
VM
8e341f7936 docs: fix some comments (#2391)
Co-authored-by: DylanYong <dylan.y@nodereal.io>
2023-06-28 10:12:31 -07:00
Daniel Vernall
164ccd7958 examples: use circuitv2 in relay example (#1795)
* Updated relay example to use circuit-v2

* fixed incorrect import

* updated test fixture

* upgrade dependencies

* merged upstream

* Implemented suggested changes in upstream PR

* Implemented suggested changes in upstream PR
2022-10-09 20:32:46 +03:00
Marten Seemann
e6ac836f87 examples: update go-libp2p to v0.23.x (#1803) 2022-10-06 13:04:44 -07:00
Marten Seemann
058284b630 chore: update examples to go-libp2p v0.20.0 (#1557) 2022-05-28 02:24:51 -07:00
vyzo
d1e26810a0 Add standalone implementation of v1 Relay (#1186)
* add circuitv1 protobuf

* add implementation of v1 circuit relay

Intended to be used by standalone daemons and tests

* remove references to go-libp2p-circuit from production code

* update tests to use the in-tree v1 Relay

* use go-log/v2 in relay v1 impl

* use in-tree v1 relay in relay example

* remove go-libp2p-circuit dep from examples go.mod, go mod tidy
2021-09-20 00:29:42 -07:00
Marten Seemann
b7bee3855c remove the context from the libp2p and from the Host contructor 2021-09-18 14:06:56 +02:00
vyzo
79d995404c Use circuitv2 code (#1183)
* move circuitv2 to p2p/protocol

* update circuitv2 imports

* RIP circuit v2; use circuitv2

* fix autorelay test

* fix holepunch test

* fix relay example
2021-09-10 02:43:58 -07:00
Ian Davis
0343b56ad5 chore: add tests for examples 2021-05-07 14:52:47 +01:00
Ian Davis
d340059a80 chore: bring examples back into repository 2021-05-05 10:57:48 +01:00