Skip to content

Commit 6d7c6d5

Browse files
authored
refactor: rename to dingo (#251)
Signed-off-by: Chris Gianelloni <[email protected]>
1 parent 58a8dfe commit 6d7c6d5

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+112
-102
lines changed

.dockerignore

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1+
.dingo/
12
.github/
2-
.node/
3+
dingo
34
Dockerfile
4-
node
55
README.md
66.4 KB
Loading
80.2 KB
Loading
71 KB
Loading

.github/workflows/ci-docker.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
paths: ['Dockerfile','cmd/**','docs/**','internal/**','go.*','.github/workflows/ci-docker.yml']
77

88
env:
9-
GHCR_IMAGE_NAME: ghcr.io/blinklabs-io/node
9+
GHCR_IMAGE_NAME: ghcr.io/blinklabs-io/dingo
1010

1111
jobs:
1212
docker:

.github/workflows/publish.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -56,13 +56,13 @@ jobs:
5656
- name: Upload release asset
5757
if: startsWith(github.ref, 'refs/tags/')
5858
run: |
59-
_filename=node-${{ env.RELEASE_TAG }}-${{ matrix.os }}-${{ matrix.arch }}
60-
mv node ${_filename}
59+
_filename=dingo-${{ env.RELEASE_TAG }}-${{ matrix.os }}-${{ matrix.arch }}
60+
mv dingo ${_filename}
6161
curl \
6262
-H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \
6363
-H "Content-Type: application/octet-stream" \
6464
--data-binary @${_filename} \
65-
https://uploads.github.com/repos/${{ github.repository_owner }}/node/releases/${{ needs.create-draft-release.outputs.RELEASE_ID }}/assets?name=${_filename}
65+
https://uploads.github.com/repos/${{ github.repository_owner }}/dingo/releases/${{ needs.create-draft-release.outputs.RELEASE_ID }}/assets?name=${_filename}
6666
6767
build-images:
6868
runs-on: ubuntu-latest
@@ -89,7 +89,7 @@ jobs:
8989
uses: docker/metadata-action@v5
9090
with:
9191
images: |
92-
blinklabs/node
92+
blinklabs/dingo
9393
ghcr.io/${{ github.repository }}
9494
tags: |
9595
# Only version, no revision
@@ -111,9 +111,9 @@ jobs:
111111
with:
112112
username: blinklabs
113113
password: ${{ secrets.DOCKER_PASSWORD }}
114-
repository: blinklabs/node
114+
repository: blinklabs/dingo
115115
readme-filepath: ./README.md
116-
short-description: "Cardano Blockchain Node"
116+
short-description: "Dingo is a Cardano blockchain data node"
117117

118118
finalize-release:
119119
runs-on: ubuntu-latest

.gitignore

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
go.work
2222

2323
# Program binary
24-
/node
24+
/dingo
2525

2626
# Local data directory
27-
/.node
27+
/.dingo

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@ RUN go mod download
66
COPY . .
77
RUN make build
88

9-
FROM debian:bookworm-slim AS node
10-
COPY --from=build /code/node /bin/
9+
FROM debian:bookworm-slim AS dingo
10+
COPY --from=build /code/dingo /bin/
1111
COPY ./configs/cardano /opt/cardano/config
1212
ENV CARDANO_CONFIG=/opt/cardano/config/preview/config.json
1313
# Create database dir owned by container user
1414
VOLUME /data/db
1515
ENV CARDANO_DATABASE_PATH=/data/db
16-
ENTRYPOINT ["node"]
16+
ENTRYPOINT ["dingo"]

README.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,13 @@
1-
# node
1+
# Dingo
2+
3+
<div align="center">
4+
<img src="./.github/assets/dingo-logo-with-text-horizontal.png" alt="Dingo Logo" width="640">
5+
<br>
6+
<img alt="GitHub" src="https://img.shields.io/github/license/blinklabs-io/dingo">
7+
<a href="https://goreportcard.com/report/github.com/blinklabs-io/dingo"><img src="https://goreportcard.com/badge/github.com/blinklabs-io/dingo" alt="Go Report Card"></a>
8+
<a href="https://pkg.go.dev/github.com/blinklabs-io/dingo"><img src="https://pkg.go.dev/badge/github.com/blinklabs-io/dingo.svg" alt="Go Reference"></a>
9+
<a href="https://discord.gg/5fPRZnX4qW"><img src="https://img.shields.io/badge/Discord-7289DA?style=flat&logo=discord&logoColor=white" alt="Discord"></a>
10+
</div>
211

312
This is a work in progress and is currently under heavy development
413

blockfetch.go

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,20 +12,21 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15-
package node
15+
package dingo
1616

1717
import (
1818
"encoding/hex"
1919
"fmt"
2020
"time"
2121

22+
"github.com/blinklabs-io/dingo/event"
23+
"github.com/blinklabs-io/dingo/state"
24+
2225
ouroboros "github.com/blinklabs-io/gouroboros"
2326
"github.com/blinklabs-io/gouroboros/ledger"
2427
"github.com/blinklabs-io/gouroboros/protocol/blockfetch"
2528
oblockfetch "github.com/blinklabs-io/gouroboros/protocol/blockfetch"
2629
ocommon "github.com/blinklabs-io/gouroboros/protocol/common"
27-
"github.com/blinklabs-io/node/event"
28-
"github.com/blinklabs-io/node/state"
2930
)
3031

3132
func (n *Node) blockfetchServerConnOpts() []oblockfetch.BlockFetchOptionFunc {

0 commit comments

Comments
 (0)