Commit dde3032
committed
Merge branch 'main' into feat/observed-addr-manager
Resolve conflict in libp2p/host/basic_host.py by combining libp2p#1268's
announce_addrs static override with libp2p#1284's ObservedAddrManager.
When announce_addrs is set it is treated as a static AddrsFactory
(mirrors go-libp2p's applyAddrsFactory) and observed addresses are
still recorded but not advertised. When announce_addrs is None the
transport addresses are augmented with confirmed observed addresses
before the /p2p/<peer_id> suffix is applied.
Made-with: Cursor75 files changed
Lines changed: 6190 additions & 401 deletions
File tree
- .github/workflows
- artifacts/filecoin
- docs
- filecoin
- examples
- announce_addrs
- doc-examples
- filecoin
- websocket
- interop
- transport
- libp2p
- filecoin
- host
- pubsub
- pb
- security/noise
- newsfragments
- tests
- core
- filecoin
- host
- pubsub
- records
- security/noise
- utils
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
46 | 51 | | |
47 | 52 | | |
48 | 53 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
| 6 | + | |
5 | 7 | | |
6 | 8 | | |
7 | 9 | | |
| |||
0 commit comments