922 Commits

Author SHA1 Message Date
Paul
d3ca71f4ee _archive/: Fix links to non archived resources (#438) 2022-08-30 09:14:16 +02:00
Max Inden
50220a1413 pubsub/gossipsub: Update rust-libp2p supporting v1.1 (#435) 2022-08-29 07:22:28 +02:00
Max Inden
e30b5bfa80 README.md: Update protocol section (#437)
Update protocol section, listing autonat, mdns, noise and dcutr.
2022-08-28 08:26:08 +02:00
João Oliveira
7efeea451e ROADMAP.md: Update hole-punching long term link to the upstream one (#436) 2022-08-26 04:42:59 +02:00
Leo Arias
098dab3403 Roadmap.md: Fix typo (#431)
it's speaks -> it speaks
2022-07-20 05:09:47 +02:00
Max Inden
e1a5ef694f connections/hole-punching: Update with WebRTC and WebTransport (#422)
First off this pull requests changes the text based format to a table based
format. In addition it references the recent WebTransport effort. Lastly it
updates outdated information in regards to WebRTC, based on the recent
discussions in https://github.com/libp2p/specs/pull/412.
2022-06-26 15:02:17 +02:00
vyzo
6e109312b3 Merge pull request #383 from Menduist/unsubbackoff
Gossipsub: Unsubscribe backoff
2022-06-03 08:01:25 +03:00
Kevin
0c40ec8856 *: Set PlantUML background color to white (#419)
Night owls had a hard time reading the diagrams included in these specs.
A white background ensures that all text is readable in dark mode as well.
2022-05-29 16:17:52 +02:00
Max Inden
4c4532a0c7 ROADMAP.md: Add stream migration protocol (#416) 2022-05-26 18:16:27 +02:00
Marco Munizaga
2123499cbc Merge pull request #420 from 6d7a/patch-2
typo(specs): Fix broken link and typo
2022-05-25 09:02:57 -07:00
Kevin
8cb3684d02 typo(Identify): Fix compound adjective 2022-05-25 16:25:06 +02:00
Kevin
261ea7b679 typo(Kad-DHT): Fix broken link
Fix broken link to replication parameter k
2022-05-25 16:19:14 +02:00
Max Inden
7c930adcb1 ROADMAP.md: Add isolated item for WebRTC (#414)
- Adds an _evolve_ section roadmap item for WebRTC.
- Removes mention of WebRTC from other items to not double track.
2022-05-24 17:09:47 +02:00
Max Inden
85fa69a5e5 ROADMAP.md: Mark hole punching on TCP and QUIC as done (#415)
- Introduce "Done" section.
- Reduce scope of "Unprecedented global connectivity" to hole punching on QUIC
  and TCP.
- Move item down to "Done" section.
2022-05-24 16:55:24 +02:00
Kevin
7d934fbd73 Add missing tcp port in example address (#418) 2022-05-23 08:46:34 -07:00
Marten Seemann
f6f7f7ae6c add the WebTransport effort to the roadmap (#407) 2022-05-23 07:39:15 -07:00
pierreboc
147abdfff3 fix typo in roadmap table of contents (#410)
Fixing a small typo ;-)

Signed-off-by: pierreboc <31745588+pierreboc@users.noreply.github.com>
2022-05-10 12:59:59 -07:00
Max Inden
8613284991 ROADMAP.md: Mark global connectivity and testing as in progress (#405)
Mark two main work items on Roadmap as "in progress".
2022-04-16 16:56:35 +02:00
Marten Seemann
10712c55ab add our metrics effort to the short-term roadmap (#403)
* add our metrics effort to the short-term roadmap

* remove resource manager metrics

Co-authored-by: Max Inden <mail@max-inden.de>

Co-authored-by: Max Inden <mail@max-inden.de>
2022-03-21 02:27:31 -07:00
Max Inden
7d7099ddf8 connection/README: Recommend yamux over mplex (#402)
The mplex multiplexer does not provide backpressure on a stream. Yamux does.
Given that this is a fundamental feature of a stream multiplexer, this commit
changes the spec to recommend yamux over mplex.

While yamux is not ideal, e.g. lacks backpressure on the connection level and
the number of streams, it is superior in all cases to mplex.
2022-03-18 15:17:39 +01:00
vyzo
6fd699a129 Merge pull request #400 from libp2p/wemeetagain-patch-1
pubsub: use single topic in Message protobuf
2022-03-07 19:31:28 +02:00
Cayman
16598789a6 pubsub: use single topic in Message protobuf
Align the Message protobuf with the rust-libp2p definition
2022-03-07 11:23:19 -06:00
vyzo
52bb2c17d2 Merge pull request #397 from jtraglia/fix-case-inconsistencies
Make gossip score vars start with uppercase letter
2022-03-05 08:03:08 +02:00
vyzo
206450b140 Merge pull request #396 from jtraglia/fix-minor-gossipsub-issues
Fix two minor gossipsub v1.1 spec problems
2022-03-05 08:02:19 +02:00
Justin Traglia
5337e6aa92 Make gossip score vars start with uppercase letter 2022-03-04 16:25:51 -06:00
Justin Traglia
a8211b170f Revert BehaviourPenaltyDecay change
I'm not confident about this change anymore.
2022-03-04 16:01:28 -06:00
Justin Traglia
f07ff66074 Fix a few spec inconsistencies 2022-03-04 15:50:22 -06:00
Max Inden
65f9923a40 kad-dht/README: Document client mode (#392)
This commit documents the DHT client mode, keeping routing tables clear
of clients (laptops), while still allowing clients to utilize the
functionality of the DHT.
2022-02-15 15:12:06 +01:00
Aleksei
f433ad5952 Delete the outdated link in peer-ids.md (#393)
* Fixing the typo in peer-ids.md

* Delete the link
2022-02-13 23:23:40 -08:00
sreekanth bandi
261bc5e605 00-framework-02-document-header.md: Fix typo (#390) 2022-02-03 10:17:47 +01:00
Aleksei
76f1904bd4 identify fixing typo in README.md (#388) 2022-01-15 09:32:28 -08:00
Marten Seemann
8895aa0f8b Add a spec for autonat protocol (#362)
How we detect if we're behind a NAT.

Co-authored-by: Max Inden <mail@max-inden.de>
2022-01-14 10:17:25 +01:00
Max Inden
70d7fda47d relay/circuit-v2: Make Reservation::expire as required (#384)
The Go implementation of the circuit relay v2 implementation treats the
`Reservation::expire` field as `required`:

``` Golang
result := &Reservation{}
result.Expiration = time.Unix(int64(rsvp.GetExpire()), 0)
if result.Expiration.Before(time.Now()) {
	return nil, fmt.Errorf("received reservation with expiration date in the past: %s", result.Expiration)
}
```

bfee9f5935/p2p/protocol/circuitv2/client/reservation.go (L88-L92)

Where `rsvp.GetExpire` returns `0` when `Reservation::expire` is not set:

``` Golang
func (m *Reservation) GetExpire() uint64 {
	if m != nil && m.Expire != nil {
		return *m.Expire
	}
	return 0
}
```

bfee9f5935/p2p/protocol/circuitv2/pb/circuit.pb.go (L414-L419)

While inexplicable to me why Go treats the non-set case equal to the default
value (`0`), we unfortunately have to take the go implementation as the source
of truth, given that it is already released.

With the above in mind and to prevent confusion for other implementations in
languages which do not treat the non-set case equal to the default value (`0`),
this commit marks the `Reservation::expire` field as `required`.
2021-12-19 15:30:26 +01:00
Tanguy
cbf7478824 Address comments 2021-12-15 17:14:14 +01:00
Tanguy
e24755d015 Unsubscribe backoff 2021-12-14 11:20:02 +01:00
Max Inden
efac6aceda ROADMAP: Prioritize global connectivity over connection handshake (#380) 2021-12-09 19:40:33 +01:00
Max Inden
58d171692b ROADMAP: Add section on "Automated compatibility testing" (#379)
Co-authored-by: Marten Seemann <martenseemann@gmail.com>
2021-12-09 19:35:51 +01:00
Thomas Eizinger
6f049f9c09 relay/circuit-v2: Do minor fixes (#382) 2021-12-09 10:12:10 +01:00
vyzo
e0eddfa08d Merge pull request #381 from gitaaron/master
Spelling (#378)
2021-12-08 19:17:43 +02:00
Aaron Surty
5e693a7ed1 Spelling (#378)
r/two many/too many
2021-12-08 12:05:33 -05:00
Marcin Rataj
6d5b84f1a0 chore: typo 2021-12-03 16:24:00 +01:00
Max Inden
ef4c029568 relay/DCUtR: Make message type field required (#375)
The `type` field of the DCUtR message definition should not be
`optional`, as a message without a `Type` is useless. Instead it should
be `required`.

See also circuit relay v2 specification using `required` for `type`.

```protobuf
message HopMessage {
  enum Type {
    RESERVE = 0;
    CONNECT = 1;
    STATUS = 2;
  }

  required Type type = 1;
```

```protobuf
message StopMessage {
  enum Type {
    CONNECT = 0;
    STATUS = 1;
  }

  required Type type = 1;
```
2021-11-22 21:18:31 +01:00
vyzo
6c2b0bd002 Merge pull request #376 from nazar-pc/patch-1
Fix typos in parameter names
2021-11-22 17:36:42 +02:00
Nazar Mokrynskyi
a8999d581a Fix typos in parameter names 2021-11-22 14:51:05 +02:00
Max Inden
9c12531745 kad-dht/README: Document key on Message during PUT_VALUE (#373)
On PUT_VALUE the Golang implementation expects `key` on `Message` to
equal `key` on `Record` when handling a request (see [go-1]). This patch
updates the specification accordingly.

[go-1]: 7724838e46/handlers.go (L151-L164)
2021-11-16 18:11:13 +01:00
Mark Riise
500a7906dd Spelling (#372)
words
2021-10-17 02:52:19 -07:00
Marten Seemann
cd75aea095 bump mDNS spec version (#371) 2021-10-12 06:41:34 -07:00
Marten Seemann
9cb161cc44 Merge pull request #368 from libp2p/mdns-random-peer-name
use a random string as peer-name in mDNS
2021-10-12 14:05:45 +01:00
Marten Seemann
08b9a70f60 use a random string as peer-name in mDNS 2021-10-12 14:52:18 +02:00
Marten Seemann
9a3324209c Merge pull request #366 from r-zig/patch-1
Update circuit-v2.md
2021-09-30 15:21:20 +01:00