You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+22-5Lines changed: 22 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -65,12 +65,29 @@ Numbers of the Ethereum Consensus Layer do not match existing numbers from other
65
65
66
66
## Install
67
67
68
-
### From source
68
+
### Go Version
69
+
70
+
Nebula has a hard dependency on Go 1.19 because Nebula requires go-libp2p
71
+
`<0.30`. With version `0.30` go-libp2p dropped support for the `quic` transport
72
+
and only continues to support `quic-v1` ([release notes](https://github.com/libp2p/go-libp2p/releases/tag/v0.30.0)). However, many peers in the IPFS Amino
73
+
DHT still only listen on `quic` addresses (as opposed to `quic-v1`). Many of them
74
+
also listen over `tcp` but from experiments I saw that they often refuse
75
+
connections over tcp. As of 2023-12-02 this results in a significant increase of
76
+
undialable peers that Nebula was previously able to connect to and identify.
77
+
78
+
Until the error incurred by dropping the `quic` transport is negligible or some
79
+
new go-libp2p feature justifies and update, Nebula will stick to the old
80
+
go-libp2p version.
69
81
70
-
To compile it yourself run:
82
+
Because go-libp2p has a dependency on quic-go and specific versions of quic-go
83
+
can only be compiled with specific versions of Go. I'm currently sticking to
84
+
Go 1.19 but it might be possible to update to Go 1.20 - I just haven't had the
85
+
time to test this yet.
86
+
87
+
### From source
71
88
72
89
```shell
73
-
go install github.com/dennis-tra/nebula-crawler/cmd/nebula@latest # Go 1.19 or higher is required (may work with a lower version too)
90
+
go install github.com/dennis-tra/nebula-crawler/cmd/nebula@2.1.2
74
91
```
75
92
76
93
Make sure the `$GOPATH/bin` is in your PATH variable to access the installed `nebula` executable.
@@ -103,7 +120,7 @@ nebula networks
103
120
To store crawl results as JSON files provide the `--json-out` command line flag like so:
104
121
105
122
```shell
106
-
nebula crawl --json-out ./results/
123
+
nebula --json-out ./results/ crawl
107
124
```
108
125
109
126
After the crawl has finished, you will find the JSON files in the `./results/` subdirectory.
@@ -322,7 +339,7 @@ To run the tests you need a running test database instance:
0 commit comments