Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Avail bootnodes #72

Merged
merged 2 commits into from
Jul 2, 2024
Merged

Update Avail bootnodes #72

merged 2 commits into from
Jul 2, 2024

Conversation

cortze
Copy link
Collaborator

@cortze cortze commented Jul 1, 2024

Description

Since the Avail Goldberg testnet has been deprecated, the bootnodes listed in `./config/bootstrap.go are outdated.

This PR aims to remove the deprecated bootnodes in favour of the new ones for the Avail Turin testnet ones.

Works fine locally:

$ nebula --dry-run crawl --network AVAIL_TURIN --limit 100
INFO[0000] Starting Nebula crawler...                   
INFO[0000] Queried 0 bootstrap peers                     limit=10
2024/07/01 15:56:40 failed to sufficiently increase receive buffer size (was: 208 kiB, wanted: 2048 kiB, got: 416 kiB). See https://github.com/quic-go/quic-go/wiki/UDP-Receive-Buffer-Size for details.
INFO[0000] Handled worker result                         crawlerID=crawler-04 duration=640.132682ms inflight=8 isDialable=true processed=1 queued=188 remoteID="<peer.ID 12*iqUJ6F>"
INFO[0000] Handled worker result                         crawlErr=stream_reset crawlerID=crawler-03 duration=744.947531ms inflight=195 isDialable=false processed=2 queued=165 remoteID="<peer.ID 12*k5cttK>"
INFO[0000] Handled worker result                         crawlErr=stream_reset crawlerID=crawler-24 duration=745.060788ms inflight=194 isDialable=false processed=3 queued=298 remoteID="<peer.ID 12*K2XoAh>"
INFO[0000] Handled worker result                         crawlerID=crawler-06 duration=807.585077ms inflight=491 isDialable=true processed=4 queued=110 remoteID="<peer.ID 12*xTQQAq>"
...
...
INFO[0002]                                              
INFO[0002] Finished crawl                                crawlDuration=2.020140179s crawledPeers=100 dialablePeers=93 undialablePeers=7
INFO[0002] Stopped Nebula crawler.

config/bootstrap.go Show resolved Hide resolved
config/bootstrap.go Outdated Show resolved Hide resolved
config/config.go Outdated Show resolved Hide resolved
libp2p/driver_crawler.go Outdated Show resolved Hide resolved
@cortze
Copy link
Collaborator Author

cortze commented Jul 2, 2024

Thanks @guillaumemichel for the pointer to the LC!

The changes are addressed and the Turing light-client network works (although there is only one peer)

nebula --dry-run crawl --network AVAIL_TURING_LC --limit 100
INFO[0000] Starting Nebula crawler...                   
INFO[0000] Queried 0 bootstrap peers                     limit=10
2024/07/02 15:59:25 failed to sufficiently increase receive buffer size (was: 208 kiB, wanted: 2048 kiB, got: 416 kiB). See https://github.com/quic-go/quic-go/wiki/UDP-Receive-Buffer-Size for details.
INFO[0000] Handled worker result                         crawlErr=protocol_not_supported crawlerID=crawler-03 duration=749.894635ms inflight=0 isDialable=false processed=1 queued=0 remoteID="<peer.ID 12*9ArGRT>"
INFO[0000] Closing driver...                            
INFO[0000] Crawl summary:                               
INFO[0000]                                              
INFO[0000]                                              
INFO[0000] Crawl Error                                   count=1 value=protocol_not_supported
INFO[0000]                                              
INFO[0000] Agent                                         count=1 value=avail-light-client/rust-client/server
INFO[0000]                                              
INFO[0000] Protocol                                      count=1 value=/avail_kad/id/1.0.0-d3d2f3
INFO[0000] Protocol                                      count=1 value=/libp2p/autonat/1.0.0
INFO[0000] Protocol                                      count=1 value=/ipfs/id/push/1.0.0
INFO[0000] Protocol                                      count=1 value=/ipfs/id/1.0.0
INFO[0000] Protocol                                      count=1 value=/ipfs/ping/1.0.0
INFO[0000]                                              
INFO[0000] Finished crawl                                crawlDuration=798.632741ms crawledPeers=1 dialablePeers=1 undialablePeers=0
INFO[0000] Stopped Nebula crawler.

@cortze cortze merged commit 999684d into main Jul 2, 2024
1 check passed
@cortze cortze deleted the fix/avail-bootnodes branch July 2, 2024 15:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants