├── .env.template ├── .github ├── ISSUE_TEMPLATE │ ├── bug_report.md │ └── feature-request-or-epic.md ├── PULL_REQUEST_TEMPLATE.md ├── dependabot.yml └── workflows │ ├── build-deploy-prod.yml │ ├── release.yml │ └── tests.yml ├── .gitignore ├── .golangci.yml ├── CHANGELOG.md ├── Dockerfile ├── LICENSE ├── Makefile ├── README.md ├── cmd ├── config │ └── config.dev.yaml └── main.go ├── copyright.txt ├── crawler ├── crawl │ ├── crawl.go │ ├── service.go │ └── udpv5.go ├── p2p │ └── host.go ├── rpc │ ├── methods │ │ └── status.go │ └── request │ │ ├── buf_limit_read.go │ │ ├── compression.go │ │ ├── encode.go │ │ ├── handle_request.go │ │ ├── handle_response.go │ │ ├── request.go │ │ ├── request_test.go │ │ └── rpc_method.go ├── service.go └── util │ ├── util.go │ └── util_test.go ├── docker-compose.yaml ├── go.mod ├── go.sum ├── gqlgen.yml ├── graph ├── generated │ └── generated.go ├── model │ ├── helpers.go │ └── models_gen.go ├── resolver.go ├── schema.graphqls └── schema.resolvers.go ├── infra └── aws-ecs │ └── task_definition_PROD.json ├── models ├── data.go ├── history.go ├── marshallable_epoch.go └── peer.go ├── resolver ├── ipdata │ └── ipdata.go ├── ipgeolocation │ └── ipgeolocation.go └── resolver.go ├── store ├── peerstore │ ├── error.go │ ├── mongo │ │ └── mongo.go │ └── store.go └── record │ ├── mongo │ └── mongo.go │ └── store.go └── utils ├── config └── config.go └── server └── server.go /.env.template: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChainSafe/nodewatch-api/HEAD/.env.template -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/bug_report.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChainSafe/nodewatch-api/HEAD/.github/ISSUE_TEMPLATE/bug_report.md -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/feature-request-or-epic.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChainSafe/nodewatch-api/HEAD/.github/ISSUE_TEMPLATE/feature-request-or-epic.md -------------------------------------------------------------------------------- /.github/PULL_REQUEST_TEMPLATE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChainSafe/nodewatch-api/HEAD/.github/PULL_REQUEST_TEMPLATE.md -------------------------------------------------------------------------------- /.github/dependabot.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChainSafe/nodewatch-api/HEAD/.github/dependabot.yml -------------------------------------------------------------------------------- /.github/workflows/build-deploy-prod.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChainSafe/nodewatch-api/HEAD/.github/workflows/build-deploy-prod.yml -------------------------------------------------------------------------------- /.github/workflows/release.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChainSafe/nodewatch-api/HEAD/.github/workflows/release.yml -------------------------------------------------------------------------------- /.github/workflows/tests.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChainSafe/nodewatch-api/HEAD/.github/workflows/tests.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChainSafe/nodewatch-api/HEAD/.gitignore -------------------------------------------------------------------------------- /.golangci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChainSafe/nodewatch-api/HEAD/.golangci.yml -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChainSafe/nodewatch-api/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChainSafe/nodewatch-api/HEAD/Dockerfile -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChainSafe/nodewatch-api/HEAD/LICENSE -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChainSafe/nodewatch-api/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChainSafe/nodewatch-api/HEAD/README.md -------------------------------------------------------------------------------- /cmd/config/config.dev.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChainSafe/nodewatch-api/HEAD/cmd/config/config.dev.yaml -------------------------------------------------------------------------------- /cmd/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChainSafe/nodewatch-api/HEAD/cmd/main.go -------------------------------------------------------------------------------- /copyright.txt: -------------------------------------------------------------------------------- 1 | Copyright 2021 ChainSafe Systems 2 | SPDX-License-Identifier: LGPL-3.0-only 3 | -------------------------------------------------------------------------------- /crawler/crawl/crawl.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChainSafe/nodewatch-api/HEAD/crawler/crawl/crawl.go -------------------------------------------------------------------------------- /crawler/crawl/service.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChainSafe/nodewatch-api/HEAD/crawler/crawl/service.go -------------------------------------------------------------------------------- /crawler/crawl/udpv5.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChainSafe/nodewatch-api/HEAD/crawler/crawl/udpv5.go -------------------------------------------------------------------------------- /crawler/p2p/host.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChainSafe/nodewatch-api/HEAD/crawler/p2p/host.go -------------------------------------------------------------------------------- /crawler/rpc/methods/status.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChainSafe/nodewatch-api/HEAD/crawler/rpc/methods/status.go -------------------------------------------------------------------------------- /crawler/rpc/request/buf_limit_read.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChainSafe/nodewatch-api/HEAD/crawler/rpc/request/buf_limit_read.go -------------------------------------------------------------------------------- /crawler/rpc/request/compression.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChainSafe/nodewatch-api/HEAD/crawler/rpc/request/compression.go -------------------------------------------------------------------------------- /crawler/rpc/request/encode.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChainSafe/nodewatch-api/HEAD/crawler/rpc/request/encode.go -------------------------------------------------------------------------------- /crawler/rpc/request/handle_request.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChainSafe/nodewatch-api/HEAD/crawler/rpc/request/handle_request.go -------------------------------------------------------------------------------- /crawler/rpc/request/handle_response.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChainSafe/nodewatch-api/HEAD/crawler/rpc/request/handle_response.go -------------------------------------------------------------------------------- /crawler/rpc/request/request.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChainSafe/nodewatch-api/HEAD/crawler/rpc/request/request.go -------------------------------------------------------------------------------- /crawler/rpc/request/request_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChainSafe/nodewatch-api/HEAD/crawler/rpc/request/request_test.go -------------------------------------------------------------------------------- /crawler/rpc/request/rpc_method.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChainSafe/nodewatch-api/HEAD/crawler/rpc/request/rpc_method.go -------------------------------------------------------------------------------- /crawler/service.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChainSafe/nodewatch-api/HEAD/crawler/service.go -------------------------------------------------------------------------------- /crawler/util/util.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChainSafe/nodewatch-api/HEAD/crawler/util/util.go -------------------------------------------------------------------------------- /crawler/util/util_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChainSafe/nodewatch-api/HEAD/crawler/util/util_test.go -------------------------------------------------------------------------------- /docker-compose.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChainSafe/nodewatch-api/HEAD/docker-compose.yaml -------------------------------------------------------------------------------- /go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChainSafe/nodewatch-api/HEAD/go.mod -------------------------------------------------------------------------------- /go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChainSafe/nodewatch-api/HEAD/go.sum -------------------------------------------------------------------------------- /gqlgen.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChainSafe/nodewatch-api/HEAD/gqlgen.yml -------------------------------------------------------------------------------- /graph/generated/generated.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChainSafe/nodewatch-api/HEAD/graph/generated/generated.go -------------------------------------------------------------------------------- /graph/model/helpers.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChainSafe/nodewatch-api/HEAD/graph/model/helpers.go -------------------------------------------------------------------------------- /graph/model/models_gen.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChainSafe/nodewatch-api/HEAD/graph/model/models_gen.go -------------------------------------------------------------------------------- /graph/resolver.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChainSafe/nodewatch-api/HEAD/graph/resolver.go -------------------------------------------------------------------------------- /graph/schema.graphqls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChainSafe/nodewatch-api/HEAD/graph/schema.graphqls -------------------------------------------------------------------------------- /graph/schema.resolvers.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChainSafe/nodewatch-api/HEAD/graph/schema.resolvers.go -------------------------------------------------------------------------------- /infra/aws-ecs/task_definition_PROD.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChainSafe/nodewatch-api/HEAD/infra/aws-ecs/task_definition_PROD.json -------------------------------------------------------------------------------- /models/data.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChainSafe/nodewatch-api/HEAD/models/data.go -------------------------------------------------------------------------------- /models/history.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChainSafe/nodewatch-api/HEAD/models/history.go -------------------------------------------------------------------------------- /models/marshallable_epoch.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChainSafe/nodewatch-api/HEAD/models/marshallable_epoch.go -------------------------------------------------------------------------------- /models/peer.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChainSafe/nodewatch-api/HEAD/models/peer.go -------------------------------------------------------------------------------- /resolver/ipdata/ipdata.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChainSafe/nodewatch-api/HEAD/resolver/ipdata/ipdata.go -------------------------------------------------------------------------------- /resolver/ipgeolocation/ipgeolocation.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChainSafe/nodewatch-api/HEAD/resolver/ipgeolocation/ipgeolocation.go -------------------------------------------------------------------------------- /resolver/resolver.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChainSafe/nodewatch-api/HEAD/resolver/resolver.go -------------------------------------------------------------------------------- /store/peerstore/error.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChainSafe/nodewatch-api/HEAD/store/peerstore/error.go -------------------------------------------------------------------------------- /store/peerstore/mongo/mongo.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChainSafe/nodewatch-api/HEAD/store/peerstore/mongo/mongo.go -------------------------------------------------------------------------------- /store/peerstore/store.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChainSafe/nodewatch-api/HEAD/store/peerstore/store.go -------------------------------------------------------------------------------- /store/record/mongo/mongo.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChainSafe/nodewatch-api/HEAD/store/record/mongo/mongo.go -------------------------------------------------------------------------------- /store/record/store.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChainSafe/nodewatch-api/HEAD/store/record/store.go -------------------------------------------------------------------------------- /utils/config/config.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChainSafe/nodewatch-api/HEAD/utils/config/config.go -------------------------------------------------------------------------------- /utils/server/server.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChainSafe/nodewatch-api/HEAD/utils/server/server.go --------------------------------------------------------------------------------