Skip to content

Commit

Permalink
Move to iotaledger repo
Browse files Browse the repository at this point in the history
  • Loading branch information
muXxer committed Aug 2, 2023
1 parent cd2d1cd commit a8d506c
Show file tree
Hide file tree
Showing 162 changed files with 592 additions and 590 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/snyk-monitor-golang.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@ jobs:
env:
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
with:
args: --org=gohornet
args: --org=iotaledger
command: monitor
4 changes: 2 additions & 2 deletions .github/workflows/snyk-test-golang.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
branches: [legacy, develop-legacy]
jobs:
security:
# Only run on push events or PRs from gohornet/hornet, skip on PRs from forks
# Only run on push events or PRs from iotaledger/hornet, skip on PRs from forks
# Secret variables cannot be exposed to PRs from forks
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name == github.repository
runs-on: ubuntu-latest
Expand All @@ -18,4 +18,4 @@ jobs:
env:
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
with:
args: --org=gohornet
args: --org=iotaledger
16 changes: 8 additions & 8 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ builds:
- id: hornet-legacy-linux-amd64
binary: hornet-legacy
ldflags:
- -s -w -X github.com/gohornet/hornet/plugins/cli.AppVersion={{.Version}}
- -s -w -X github.com/iotaledger/hornet/plugins/cli.AppVersion={{.Version}}
flags:
- -tags=pow_avx
main: main.go
Expand All @@ -28,7 +28,7 @@ builds:
- CGO_ENABLED=1
- CC=aarch64-linux-musl-gcc
ldflags:
- -s -w -X github.com/gohornet/hornet/plugins/cli.AppVersion={{.Version}}
- -s -w -X github.com/iotaledger/hornet/plugins/cli.AppVersion={{.Version}}
- -w -extldflags "-static"
flags:
- -tags=pow_arm_c128
Expand All @@ -45,7 +45,7 @@ builds:
- CC=x86_64-w64-mingw32-gcc
- CXX=x86_64-w64-mingw32-g++
ldflags:
- -s -w -X github.com/gohornet/hornet/plugins/cli.AppVersion={{.Version}}
- -s -w -X github.com/iotaledger/hornet/plugins/cli.AppVersion={{.Version}}
flags:
- -tags=pow_avx
main: main.go
Expand All @@ -59,7 +59,7 @@ builds:
env:
- CGO_ENABLED=0
ldflags:
- -s -w -X github.com/gohornet/hornet/plugins/cli.AppVersion={{.Version}}
- -s -w -X github.com/iotaledger/hornet/plugins/cli.AppVersion={{.Version}}
main: main.go
goos:
- darwin
Expand All @@ -72,8 +72,8 @@ dockers:
- goos: linux
goarch: amd64
image_templates:
- "gohornet/hornet:legacy-latest"
- "gohornet/hornet:legacy-{{ .Tag }}"
- "iotaledger/hornet:legacy-latest"
- "iotaledger/hornet:legacy-{{ .Tag }}"
binaries:
- hornet-legacy
dockerfile: docker/Dockerfile.goreleaser
Expand Down Expand Up @@ -109,7 +109,7 @@ nfpms:
vendor: GoReleaser
license: Apache 2.0
maintainer: GoHORNET
homepage: https://github.com/gohornet/hornet
homepage: https://github.com/iotaledger/hornet
description: HORNET is a powerful IOTA fullnode software. This is the legacy veriosn.
formats:
- deb
Expand Down Expand Up @@ -160,5 +160,5 @@ release:
prerelease: auto
name_template: "{{.ProjectName}}-{{.Version}}"
github:
owner: gohornet
owner: iotaledger
name: hornet
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# HORNET - The IOTA community node

![GitHub Workflow Status](https://img.shields.io/github/workflow/status/gohornet/hornet/Build?style=for-the-badge) ![GitHub release (latest by date)](https://img.shields.io/github/v/release/gohornet/hornet?style=for-the-badge) ![GitHub go.mod Go version](https://img.shields.io/github/go-mod/go-version/gohornet/hornet?style=for-the-badge) ![GitHub](https://img.shields.io/github/license/gohornet/hornet?style=for-the-badge)
![GitHub Workflow Status](https://img.shields.io/github/workflow/status/iotaledger/hornet/Build?style=for-the-badge) ![GitHub release (latest by date)](https://img.shields.io/github/v/release/iotaledger/hornet?style=for-the-badge) ![GitHub go.mod Go version](https://img.shields.io/github/go-mod/go-version/iotaledger/hornet?style=for-the-badge) ![GitHub](https://img.shields.io/github/license/iotaledger/hornet?style=for-the-badge)

<p><img src="https://raw.githubusercontent.com/gohornet/logo/master/HORNET_logo.svg?sanitize=true"></p>

Expand All @@ -11,7 +11,7 @@ It is easy to install and runs on low-end devices like the Raspberry Pi 4.

## Notes

- **Please open a [new issue](https://github.com/gohornet/hornet/issues/new) if you detect an error or crash (or submit a PR if you have already fixed it).**
- **Please open a [new issue](https://github.com/iotaledger/hornet/issues/new) if you detect an error or crash (or submit a PR if you have already fixed it).**
- **The issue section is not a support section, if you have questions about HORNET please post them in the `#hornet` channel ([official iota discord server](https://discord.iota.org/)).**

---
Expand All @@ -30,7 +30,7 @@ _Table of contents_

## Documentation

Please have a look into our [HORNET wiki](https://github.com/gohornet/hornet/wiki)
Please have a look into our [HORNET wiki](https://github.com/iotaledger/hornet/wiki)

## Autopeering

Expand All @@ -54,7 +54,7 @@ If you want to disable autopeering, you can do so by adding it to the `disablePl

### Binary

- Download the [latest release](https://github.com/gohornet/hornet/releases/latest) for your system (e.g. `HORNET-x.x.x_Linux_ARM64.tar.gz` for the Raspberry Pi 4)
- Download the [latest release](https://github.com/iotaledger/hornet/releases/latest) for your system (e.g. `HORNET-x.x.x_Linux_ARM64.tar.gz` for the Raspberry Pi 4)
- Extract the files in a folder of your choice
- Add neighbors to the `peering.json` file (optional)
- Run HORNET: `./hornet -c config`
Expand All @@ -68,21 +68,21 @@ sudo apt update
sudo apt install hornet
```

[Tutorial: Install HORNET with APT](https://github.com/gohornet/hornet/wiki/Tutorials%3A-Linux%3A-Install-HORNET)
[Tutorial: Install HORNET with APT](https://github.com/iotaledger/hornet/wiki/Tutorials%3A-Linux%3A-Install-HORNET)

---

## Plugins

HORNETs functionality is extended by plugins. Available plugins are listed [here](https://github.com/gohornet/hornet/wiki/Plugins).
HORNETs functionality is extended by plugins. Available plugins are listed [here](https://github.com/iotaledger/hornet/wiki/Plugins).

---

## Docker

![Docker Pulls](https://img.shields.io/docker/pulls/gohornet/hornet?style=for-the-badge)
![Docker Pulls](https://img.shields.io/docker/pulls/iotaledger/hornet?style=for-the-badge)

Pull HORNET from [Docker Hub](https://hub.docker.com/r/gohornet/hornet)
Pull HORNET from [Docker Hub](https://hub.docker.com/r/iotaledger/hornet)

**Build a Docker image**

Expand Down
8 changes: 4 additions & 4 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
FROM alpine:latest

ARG REPO="gohornet/hornet"
ARG REPO="iotaledger/hornet"
ARG TAG=latest
ARG ARCH=x86_64
ARG OS=Linux

LABEL org.label-schema.description="HORNET - The IOTA community node"
LABEL org.label-schema.name="gohornet/hornet"
LABEL org.label-schema.name="iotaledger/hornet"
LABEL org.label-schema.schema-version="1.0"
LABEL org.label-schema.vcs-url="https://github.com/gohornet/hornet"
LABEL org.label-schema.usage="https://github.com/gohornet/hornet/blob/master/DOCKER.md"
LABEL org.label-schema.vcs-url="https://github.com/iotaledger/hornet"
LABEL org.label-schema.usage="https://github.com/iotaledger/hornet/blob/master/DOCKER.md"

WORKDIR /app

Expand Down
8 changes: 4 additions & 4 deletions docker/Dockerfile.arm64
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
FROM alpine:latest

ARG REPO="gohornet/hornet"
ARG REPO="iotaledger/hornet"
ARG TAG=latest
ARG ARCH=ARM64
ARG OS=Linux

LABEL org.label-schema.description="HORNET - The IOTA community node"
LABEL org.label-schema.name="gohornet/hornet"
LABEL org.label-schema.name="iotaledger/hornet"
LABEL org.label-schema.schema-version="1.0"
LABEL org.label-schema.vcs-url="https://github.com/gohornet/hornet"
LABEL org.label-schema.usage="https://github.com/gohornet/hornet/blob/master/DOCKER.md"
LABEL org.label-schema.vcs-url="https://github.com/iotaledger/hornet"
LABEL org.label-schema.usage="https://github.com/iotaledger/hornet/blob/master/DOCKER.md"

WORKDIR /app

Expand Down
6 changes: 3 additions & 3 deletions docker/Dockerfile.goreleaser
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ FROM alpine:latest
WORKDIR /app

LABEL org.label-schema.description="HORNET - The IOTA community node"
LABEL org.label-schema.name="gohornet/hornet"
LABEL org.label-schema.name="iotaledger/hornet"
LABEL org.label-schema.schema-version="1.0"
LABEL org.label-schema.vcs-url="https://github.com/gohornet/hornet"
LABEL org.label-schema.usage="https://github.com/gohornet/hornet/blob/master/DOCKER.md"
LABEL org.label-schema.vcs-url="https://github.com/iotaledger/hornet"
LABEL org.label-schema.usage="https://github.com/iotaledger/hornet/blob/master/DOCKER.md"

COPY ["hornet-legacy", "/app/"]
RUN apk --no-cache add ca-certificates gnupg wget tini\
Expand Down
4 changes: 2 additions & 2 deletions docker/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ _Table of contents_
Clone the repository

```sh
git clone https://github.com/gohornet/hornet && cd hornet
git clone https://github.com/iotaledger/hornet && cd hornet
```

The rest of the document assumes you are executing commands from the root directory of the repository.
Expand Down Expand Up @@ -81,7 +81,7 @@ docker build -f docker/Dockerfile -t hornet:latest .
Or pull it from dockerhub (only available for amd64/x86_64):

```sh
docker pull gohornet/hornet:latest && docker tag gohornet/hornet:latest hornet:latest
docker pull iotaledger/hornet:latest && docker tag iotaledger/hornet:latest hornet:latest
```

Note: for architectures other than amd64/x86_64 pass the corresponding Dockerfile, e.g.:
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/gohornet/hornet
module github.com/iotaledger/hornet

go 1.15

Expand Down
2 changes: 1 addition & 1 deletion integration-tests/tester/framework/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"strings"

"github.com/docker/go-connections/nat"
"github.com/gohornet/hornet/pkg/config"
"github.com/iotaledger/hornet/pkg/config"
)

const (
Expand Down
4 changes: 2 additions & 2 deletions integration-tests/tester/framework/debug_web_api_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ import (
"io/ioutil"
"net/http"

"github.com/gohornet/hornet/pkg/peering/peer"
"github.com/gohornet/hornet/plugins/webapi"
"github.com/iotaledger/hornet/pkg/peering/peer"
"github.com/iotaledger/hornet/plugins/webapi"
)

var (
Expand Down
2 changes: 1 addition & 1 deletion integration-tests/tester/framework/node.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import (
"sync/atomic"
"time"

"github.com/gohornet/hornet/pkg/peering/peer"
"github.com/iotaledger/hive.go/identity"
"github.com/iotaledger/hornet/pkg/peering/peer"
"github.com/iotaledger/iota.go/api"
"github.com/iotaledger/iota.go/bundle"
"github.com/iotaledger/iota.go/checksum"
Expand Down
8 changes: 4 additions & 4 deletions integration-tests/tester/framework/profiling.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ import (
"time"

"github.com/go-echarts/go-echarts/charts"
"github.com/gohornet/hornet/pkg/tipselect"
"github.com/gohornet/hornet/plugins/dashboard"
"github.com/gohornet/hornet/plugins/metrics"
tangleplugin "github.com/gohornet/hornet/plugins/tangle"
"github.com/gorilla/websocket"
"github.com/iotaledger/hive.go/websockethub"
"github.com/iotaledger/hornet/pkg/tipselect"
"github.com/iotaledger/hornet/plugins/dashboard"
"github.com/iotaledger/hornet/plugins/metrics"
tangleplugin "github.com/iotaledger/hornet/plugins/tangle"
)

const (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"testing"
"time"

"github.com/gohornet/hornet/integration-tests/tester/framework"
"github.com/iotaledger/hornet/integration-tests/tester/framework"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
)
Expand Down
2 changes: 1 addition & 1 deletion integration-tests/tester/tests/autopeering/main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"os"
"testing"

"github.com/gohornet/hornet/integration-tests/tester/framework"
"github.com/iotaledger/hornet/integration-tests/tester/framework"
)

var f *framework.Framework
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"testing"
"time"

"github.com/gohornet/hornet/integration-tests/tester/framework"
"github.com/iotaledger/hornet/integration-tests/tester/framework"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
)
Expand Down
2 changes: 1 addition & 1 deletion integration-tests/tester/tests/benchmark/benchmark_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"testing"
"time"

"github.com/gohornet/hornet/integration-tests/tester/framework"
"github.com/iotaledger/hornet/integration-tests/tester/framework"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
)
Expand Down
2 changes: 1 addition & 1 deletion integration-tests/tester/tests/benchmark/main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"os"
"testing"

"github.com/gohornet/hornet/integration-tests/tester/framework"
"github.com/iotaledger/hornet/integration-tests/tester/framework"
)

var f *framework.Framework
Expand Down
2 changes: 1 addition & 1 deletion integration-tests/tester/tests/common/common_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"testing"
"time"

"github.com/gohornet/hornet/integration-tests/tester/framework"
"github.com/iotaledger/hornet/integration-tests/tester/framework"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
)
Expand Down
2 changes: 1 addition & 1 deletion integration-tests/tester/tests/common/main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"os"
"testing"

"github.com/gohornet/hornet/integration-tests/tester/framework"
"github.com/iotaledger/hornet/integration-tests/tester/framework"
)

var f *framework.Framework
Expand Down
44 changes: 22 additions & 22 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,28 +3,28 @@ package main
import (
"github.com/iotaledger/hive.go/node"

"github.com/gohornet/hornet/pkg/config"
"github.com/gohornet/hornet/pkg/toolset"
"github.com/gohornet/hornet/plugins/autopeering"
"github.com/gohornet/hornet/plugins/cli"
"github.com/gohornet/hornet/plugins/coordinator"
"github.com/gohornet/hornet/plugins/curl"
"github.com/gohornet/hornet/plugins/dashboard"
"github.com/gohornet/hornet/plugins/database"
"github.com/gohornet/hornet/plugins/gossip"
"github.com/gohornet/hornet/plugins/gracefulshutdown"
"github.com/gohornet/hornet/plugins/metrics"
"github.com/gohornet/hornet/plugins/mqtt"
"github.com/gohornet/hornet/plugins/peering"
"github.com/gohornet/hornet/plugins/pow"
"github.com/gohornet/hornet/plugins/profiling"
"github.com/gohornet/hornet/plugins/prometheus"
"github.com/gohornet/hornet/plugins/snapshot"
"github.com/gohornet/hornet/plugins/tangle"
"github.com/gohornet/hornet/plugins/urts"
"github.com/gohornet/hornet/plugins/warpsync"
"github.com/gohornet/hornet/plugins/webapi"
"github.com/gohornet/hornet/plugins/zmq"
"github.com/iotaledger/hornet/pkg/config"
"github.com/iotaledger/hornet/pkg/toolset"
"github.com/iotaledger/hornet/plugins/autopeering"
"github.com/iotaledger/hornet/plugins/cli"
"github.com/iotaledger/hornet/plugins/coordinator"
"github.com/iotaledger/hornet/plugins/curl"
"github.com/iotaledger/hornet/plugins/dashboard"
"github.com/iotaledger/hornet/plugins/database"
"github.com/iotaledger/hornet/plugins/gossip"
"github.com/iotaledger/hornet/plugins/gracefulshutdown"
"github.com/iotaledger/hornet/plugins/metrics"
"github.com/iotaledger/hornet/plugins/mqtt"
"github.com/iotaledger/hornet/plugins/peering"
"github.com/iotaledger/hornet/plugins/pow"
"github.com/iotaledger/hornet/plugins/profiling"
"github.com/iotaledger/hornet/plugins/prometheus"
"github.com/iotaledger/hornet/plugins/snapshot"
"github.com/iotaledger/hornet/plugins/tangle"
"github.com/iotaledger/hornet/plugins/urts"
"github.com/iotaledger/hornet/plugins/warpsync"
"github.com/iotaledger/hornet/plugins/webapi"
"github.com/iotaledger/hornet/plugins/zmq"
)

func main() {
Expand Down
2 changes: 1 addition & 1 deletion pkg/autopeering/services/services.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"fmt"
"sync"

"github.com/gohornet/hornet/pkg/config"
"github.com/iotaledger/hive.go/autopeering/peer/service"
"github.com/iotaledger/hornet/pkg/config"
)

var gossipServiceKey service.Key
Expand Down
Loading

0 comments on commit a8d506c

Please sign in to comment.