diff --git a/README.md b/README.md index 421634cd1..4f44705d1 100644 --- a/README.md +++ b/README.md @@ -205,12 +205,12 @@ A production setup is also provided in the `docker` folder. It launches `powd` c - _Prometheus_, which is the backend for metrics processing. - _Grafana_, for metrics dashboard. - _cAdvisor_, for container metrics. -- _Lotus_, node running on the current Testnet. +- _Lotus_, node running on the current mainnet. - _IPFS_, node running to back Powergate FFS. - _Powergate_, wired with all of above components. Depending on which network you want to connect to, you have to run different commands: -- `make up`, to connect to `testnet`. +- `make up`, to connect to `mainnet`. Remember that you should wait for _Lotus_ to be fully-synced which might take a long time; you can check your current node sync status running `lotus sync status` inside the Lotus container. We also provide automatically generated Dockerhub images of Powergate server, see [textile/powergate](https://hub.docker.com/r/textile/powergate). @@ -230,7 +230,7 @@ It will auto-download any necessary dependencies and run all tests. ## Benchmark There's a dedicated binary to run benchmarks against a Powergate server. For more information see the [specific README](cmd/powbench/README.md). -Soon we'll add benchmark results against real miners in the Testnet network, so stay tuned. ⌛ +Soon we'll add benchmark results against real miners in mainnet, so stay tuned. ⌛ ## Contributing diff --git a/docker/Makefile b/docker/Makefile index 1ba33196c..12abcc424 100644 --- a/docker/Makefile +++ b/docker/Makefile @@ -18,7 +18,7 @@ localnet: up: down LOTUS_IMAGE_TAG=v0.10.2 \ docker-compose \ - -p testnet \ + -p mainnet \ -f docker-compose.yaml \ -f ipfs-image.yaml \ -f powergate-build-context.yaml \ @@ -28,7 +28,7 @@ up: down down: LOTUS_IMAGE_TAG=v0.10.2 \ docker-compose \ - -p testnet \ + -p mainnet \ -f docker-compose.yaml \ -f ipfs-image.yaml \ -f powergate-build-context.yaml \ diff --git a/fchost/config.go b/fchost/config.go index 6c132c09c..dd9736fcb 100644 --- a/fchost/config.go +++ b/fchost/config.go @@ -11,22 +11,6 @@ import ( var ( networkBootstrappers = map[string][]string{ - "testnetnet": { - "/dns4/bootstrap-0.testnet.fildev.network/tcp/1347/p2p/12D3KooWJTUBUjtzWJGWU1XSiY21CwmHaCNLNYn2E7jqHEHyZaP7", - "/dns4/bootstrap-1.testnet.fildev.network/tcp/1347/p2p/12D3KooW9yeKXha4hdrJKq74zEo99T8DhriQdWNoojWnnQbsgB3v", - "/dns4/bootstrap-2.testnet.fildev.network/tcp/1347/p2p/12D3KooWCrx8yVG9U9Kf7w8KLN3Edkj5ZKDhgCaeMqQbcQUoB6CT", - "/dns4/bootstrap-4.testnet.fildev.network/tcp/1347/p2p/12D3KooWPkL9LrKRQgHtq7kn9ecNhGU9QaziG8R5tX8v9v7t3h34", - "/dns4/bootstrap-3.testnet.fildev.network/tcp/1347/p2p/12D3KooWKYSsbpgZ3HAjax5M1BXCwXLa6gVkUARciz7uN3FNtr7T", - "/dns4/bootstrap-5.testnet.fildev.network/tcp/1347/p2p/12D3KooWQYzqnLASJAabyMpPb1GcWZvNSe7JDcRuhdRqonFoiK9W", - }, - "ignition": { - "/dns4/bootstrap-0.testnet.fildev.network/tcp/1347/p2p/12D3KooWJTUBUjtzWJGWU1XSiY21CwmHaCNLNYn2E7jqHEHyZaP7", - "/dns4/bootstrap-1.testnet.fildev.network/tcp/1347/p2p/12D3KooW9yeKXha4hdrJKq74zEo99T8DhriQdWNoojWnnQbsgB3v", - "/dns4/bootstrap-2.testnet.fildev.network/tcp/1347/p2p/12D3KooWCrx8yVG9U9Kf7w8KLN3Edkj5ZKDhgCaeMqQbcQUoB6CT", - "/dns4/bootstrap-4.testnet.fildev.network/tcp/1347/p2p/12D3KooWPkL9LrKRQgHtq7kn9ecNhGU9QaziG8R5tX8v9v7t3h34", - "/dns4/bootstrap-3.testnet.fildev.network/tcp/1347/p2p/12D3KooWKYSsbpgZ3HAjax5M1BXCwXLa6gVkUARciz7uN3FNtr7T", - "/dns4/bootstrap-5.testnet.fildev.network/tcp/1347/p2p/12D3KooWQYzqnLASJAabyMpPb1GcWZvNSe7JDcRuhdRqonFoiK9W", - }, "mainnet": { "/dns4/bootstrap-0.testnet.fildev.network/tcp/1347/p2p/12D3KooWJTUBUjtzWJGWU1XSiY21CwmHaCNLNYn2E7jqHEHyZaP7", "/dns4/bootstrap-1.testnet.fildev.network/tcp/1347/p2p/12D3KooW9yeKXha4hdrJKq74zEo99T8DhriQdWNoojWnnQbsgB3v", diff --git a/fchost/fchost_test.go b/fchost/fchost_test.go index 98a3c020a..5e4e0e9be 100644 --- a/fchost/fchost_test.go +++ b/fchost/fchost_test.go @@ -12,12 +12,12 @@ func TestPingBootstrapers(t *testing.T) { // a lot and boostrap peers change very frequently. // We can re-enable this when the network becomes stable again. t.SkipNow() - h, err := New("testnet", false) + h, err := New("mainnet", false) require.NoError(t, err) err = h.Bootstrap() require.NoError(t, err) - bsPeers, err := getBootstrapPeers("testnet") + bsPeers, err := getBootstrapPeers("mainnet") require.NoError(t, err) for _, addr := range bsPeers { pong := h.Ping(context.Background(), addr.ID)