From 03820d091f3292ed9a2dd22f5b2fd3c6a449d458 Mon Sep 17 00:00:00 2001 From: pk910 Date: Thu, 21 Sep 2023 17:58:38 +0200 Subject: [PATCH] rename explorer --- .github/workflows/build-master.yml | 12 ++++++------ .github/workflows/build-release.yml | 8 ++++---- .github/workflows/release-docker.yml | 8 ++++---- Dockerfile | 2 +- Makefile | 8 ++++---- README.md | 8 ++++---- cache/redis_cache.go | 2 +- cache/tiered_cache.go | 2 +- cmd/explorer/main.go | 12 ++++++------ db/db.go | 6 +++--- go.mod | 2 +- handlers/404.go | 2 +- handlers/clients.go | 8 ++++---- handlers/epoch.go | 8 ++++---- handlers/epochs.go | 8 ++++---- handlers/index.go | 12 ++++++------ handlers/pageData.go | 4 ++-- handlers/search.go | 12 ++++++------ handlers/slot.go | 16 ++++++++-------- handlers/slots.go | 8 ++++---- handlers/slots_filtered.go | 10 +++++----- handlers/validator.go | 12 ++++++------ handlers/validator_slots.go | 10 +++++----- handlers/validators.go | 10 +++++----- indexer/blobstore.go | 10 +++++----- indexer/cache.go | 6 +++--- indexer/cache_block.go | 6 +++--- indexer/cache_logic.go | 8 ++++---- indexer/client.go | 6 +++--- indexer/epoch_stats.go | 8 ++++---- indexer/indexer.go | 10 +++++----- indexer/synchronizer.go | 8 ++++---- indexer/votes.go | 2 +- indexer/write_db.go | 6 +++--- rpc/beaconapi.go | 4 ++-- rpc/beaconstream.go | 6 +++--- services/beaconservice.go | 10 +++++----- services/frontendcache.go | 4 ++-- services/validatornames.go | 8 ++++---- templates/_layout/footer.html | 2 +- templates/templates.go | 2 +- types/models/search.go | 2 +- types/models/slot.go | 2 +- utils/config.go | 4 ++-- utils/format.go | 2 +- 45 files changed, 153 insertions(+), 153 deletions(-) diff --git a/.github/workflows/build-master.yml b/.github/workflows/build-master.yml index ef54ee2c..4cda2628 100644 --- a/.github/workflows/build-master.yml +++ b/.github/workflows/build-master.yml @@ -88,14 +88,14 @@ jobs: ## Latest automatically built executables. (Unstable development snapshot) Built from master branch (commit: ${{ github.sha }}) - Please read the [wiki](https://github.com/pk910/light-beaconchain-explorer/wiki) for setup / configuration instructions. + Please read the [wiki](https://github.com/pk910/dora-the-explorer/wiki) for setup / configuration instructions. ### Release Artifacts | Release File | Description | | ------------- | ------------- | - | [explorer_windows_amd64.exe](https://github.com/pk910/light-beaconchain-explorer/releases/download/snapshot/explorer_windows_amd64.exe) | explorer executable for windows (64bit) | - | [explorer_linux_amd64](https://github.com/pk910/light-beaconchain-explorer/releases/download/snapshot/explorer_linux_amd64) | explorer executable for linux (64bit) | - | [explorer_darwin_amd64](https://github.com/pk910/light-beaconchain-explorer/releases/download/snapshot/explorer_darwin_amd64) | explorer executable for macos (64bit) | + | [explorer_windows_amd64.exe](https://github.com/pk910/dora-the-explorer/releases/download/snapshot/explorer_windows_amd64.exe) | explorer executable for windows (64bit) | + | [explorer_linux_amd64](https://github.com/pk910/dora-the-explorer/releases/download/snapshot/explorer_linux_amd64) | explorer executable for linux (64bit) | + | [explorer_darwin_amd64](https://github.com/pk910/dora-the-explorer/releases/download/snapshot/explorer_darwin_amd64) | explorer executable for macos (64bit) | env: GITHUB_TOKEN: ${{ github.token }} @@ -143,6 +143,6 @@ jobs: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} - name: Build unstable docker image - run: docker build . --build-arg release=snapshot --file Dockerfile --tag pk910/light-beaconchain-explorer:unstable + run: docker build . --build-arg release=snapshot --file Dockerfile --tag pk910/dora-the-explorer:unstable - name: Push unstable docker image - run: docker push pk910/light-beaconchain-explorer:unstable \ No newline at end of file + run: docker push pk910/dora-the-explorer:unstable \ No newline at end of file diff --git a/.github/workflows/build-release.yml b/.github/workflows/build-release.yml index 714fb04d..2f221164 100644 --- a/.github/workflows/build-release.yml +++ b/.github/workflows/build-release.yml @@ -38,12 +38,12 @@ jobs: ... ### Release Artifacts - Please read through the [wiki](https://github.com/pk910/light-beaconchain-explorer/wiki) for setup & configuration instructions. + Please read through the [wiki](https://github.com/pk910/dora-the-explorer/wiki) for setup & configuration instructions. | Release File | Description | | ------------- | ------------- | - | [explorer_windows_amd64.exe](https://github.com/pk910/light-beaconchain-explorer/releases/download/v${{ inputs.version }}/explorer_windows_amd64.exe) | explorer executable for windows (64bit) | - | [explorer_linux_amd64](https://github.com/pk910/light-beaconchain-explorer/releases/download/v${{ inputs.version }}/explorer_linux_amd64) | explorer executable for linux (64bit) | - | [explorer_darwin_amd64](https://github.com/pk910/light-beaconchain-explorer/releases/download/v${{ inputs.version }}/explorer_darwin_amd64) | explorer executable for macos (64bit) | + | [explorer_windows_amd64.exe](https://github.com/pk910/dora-the-explorer/releases/download/v${{ inputs.version }}/explorer_windows_amd64.exe) | explorer executable for windows (64bit) | + | [explorer_linux_amd64](https://github.com/pk910/dora-the-explorer/releases/download/v${{ inputs.version }}/explorer_linux_amd64) | explorer executable for linux (64bit) | + | [explorer_darwin_amd64](https://github.com/pk910/dora-the-explorer/releases/download/v${{ inputs.version }}/explorer_darwin_amd64) | explorer executable for macos (64bit) | env: GITHUB_TOKEN: ${{ github.token }} diff --git a/.github/workflows/release-docker.yml b/.github/workflows/release-docker.yml index b585253a..220a9a4e 100644 --- a/.github/workflows/release-docker.yml +++ b/.github/workflows/release-docker.yml @@ -23,10 +23,10 @@ jobs: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} - name: Build version specific docker image - run: docker build . --build-arg release=${{ github.event.release.tag_name }} --file Dockerfile --tag pk910/light-beaconchain-explorer:${{ github.event.release.tag_name }} + run: docker build . --build-arg release=${{ github.event.release.tag_name }} --file Dockerfile --tag pk910/dora-the-explorer:${{ github.event.release.tag_name }} - name: Push version specific docker image - run: docker push pk910/light-beaconchain-explorer:${{ github.event.release.tag_name }} + run: docker push pk910/dora-the-explorer:${{ github.event.release.tag_name }} - name: Build latest docker image - run: docker build . --build-arg release=${{ github.event.release.tag_name }} --file Dockerfile --tag pk910/light-beaconchain-explorer:latest + run: docker build . --build-arg release=${{ github.event.release.tag_name }} --file Dockerfile --tag pk910/dora-the-explorer:latest - name: Push latest docker image - run: docker push pk910/light-beaconchain-explorer:latest + run: docker push pk910/dora-the-explorer:latest diff --git a/Dockerfile b/Dockerfile index 0dd566f5..80e7a98d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,7 +11,7 @@ RUN <
- Powered by pk910/light-beaconchain-explorer | {{ .Version }} + Powered by pk910/dora-the-explorer | {{ .Version }}
diff --git a/templates/templates.go b/templates/templates.go index 07584390..ceda9f0b 100644 --- a/templates/templates.go +++ b/templates/templates.go @@ -16,7 +16,7 @@ import ( "github.com/sirupsen/logrus" "github.com/tdewolff/minify" - "github.com/pk910/light-beaconchain-explorer/utils" + "github.com/pk910/dora-the-explorer/utils" ) var logger = logrus.New().WithField("module", "templates") diff --git a/types/models/search.go b/types/models/search.go index 85dcfae0..4cbb3205 100644 --- a/types/models/search.go +++ b/types/models/search.go @@ -1,6 +1,6 @@ package models -import "github.com/pk910/light-beaconchain-explorer/rpctypes" +import "github.com/pk910/dora-the-explorer/rpctypes" // SearchBlockResult is a struct to hold the search block result with a given graffiti type SearchBlockResult struct { diff --git a/types/models/slot.go b/types/models/slot.go index 0252fd3d..21f4efe6 100644 --- a/types/models/slot.go +++ b/types/models/slot.go @@ -3,7 +3,7 @@ package models import ( "time" - "github.com/pk910/light-beaconchain-explorer/types" + "github.com/pk910/dora-the-explorer/types" ) // SlotPageData is a struct to hold info for the slot details page diff --git a/utils/config.go b/utils/config.go index 31b6e5b8..97363856 100644 --- a/utils/config.go +++ b/utils/config.go @@ -14,8 +14,8 @@ import ( log "github.com/sirupsen/logrus" "gopkg.in/yaml.v3" - "github.com/pk910/light-beaconchain-explorer/config" - "github.com/pk910/light-beaconchain-explorer/types" + "github.com/pk910/dora-the-explorer/config" + "github.com/pk910/dora-the-explorer/types" ) // Config is the globally accessible configuration diff --git a/utils/format.go b/utils/format.go index 39342b8c..7dfc6879 100644 --- a/utils/format.go +++ b/utils/format.go @@ -13,7 +13,7 @@ import ( "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/common/hexutil" - "github.com/pk910/light-beaconchain-explorer/types" + "github.com/pk910/dora-the-explorer/types" "github.com/prysmaticlabs/go-bitfield" "golang.org/x/text/language" "golang.org/x/text/message"