Skip to content

Commit dde3032

Browse files
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: Cursor
2 parents 22b95b3 + 0e88584 commit dde3032

75 files changed

Lines changed: 6190 additions & 401 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/tox.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,11 @@ jobs:
4343
with:
4444
version: "latest"
4545

46+
- name: Install GMP headers
47+
run: |
48+
sudo apt-get update
49+
sudo apt-get install -y libgmp-dev
50+
4651
- name: Install Nim for interop testing
4752
if: matrix.toxenv == 'interop'
4853
run: |

.readthedocs.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ version: 2
22

33
build:
44
os: ubuntu-22.04
5+
apt_packages:
6+
- libgmp-dev
57
tools:
68
python: "3.10"
79
jobs:

0 commit comments

Comments
 (0)