-
Notifications
You must be signed in to change notification settings - Fork 441
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into BIDS-2428/fixEmailChange
# Conflicts: # Makefile
- Loading branch information
Showing
166 changed files
with
11,849 additions
and
5,461 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
name: Publish Docker dencun images | ||
|
||
on: | ||
# Trigger the workflow on push or pull request, | ||
# but only for the staging branch | ||
push: | ||
branches: | ||
- dencun | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@master | ||
- name: Publish to Dockerhub Registry | ||
uses: elgohr/Publish-Docker-Github-Action@master | ||
with: | ||
name: gobitfly/eth2-beaconchain-explorer | ||
username: ${{ secrets.DOCKER_USERNAME }} | ||
password: ${{ secrets.DOCKER_PASSWORD }} | ||
tags: "dencun" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
package main | ||
|
||
import ( | ||
"eth2-exporter/exporter" | ||
"eth2-exporter/types" | ||
"eth2-exporter/utils" | ||
"eth2-exporter/version" | ||
"flag" | ||
"fmt" | ||
|
||
"github.com/sirupsen/logrus" | ||
) | ||
|
||
func main() { | ||
configFlag := flag.String("config", "config.yml", "path to config") | ||
versionFlag := flag.Bool("version", false, "print version and exit") | ||
flag.Parse() | ||
if *versionFlag { | ||
fmt.Println(version.Version) | ||
return | ||
} | ||
utils.Config = &types.Config{} | ||
err := utils.ReadConfig(utils.Config, *configFlag) | ||
if err != nil { | ||
logrus.Fatal(err) | ||
} | ||
blobIndexer, err := exporter.NewBlobIndexer() | ||
if err != nil { | ||
logrus.Fatal(err) | ||
} | ||
go blobIndexer.Start() | ||
utils.WaitForCtrlC() | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.