Skip to content

Commit

Permalink
Replacement of dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
EIYARO committed Apr 10, 2024
1 parent b478dad commit dc971c4
Show file tree
Hide file tree
Showing 280 changed files with 1,045 additions and 1,042 deletions.
17 changes: 10 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,6 @@ In the current state `eiyaro` is able to:
- Manage key, account as well as asset
- Send transactions, i.e., issue, spend and retire asset

## Installing with Homebrew

```console
$ brew tap eiyaro/eiyaro && brew install eiyaro
```

## Building from source

Expand Down Expand Up @@ -172,13 +167,21 @@ Ensure your [Docker](https://www.docker.com/) version is 17.05 or higher.
$ docker build -t eiyaro .
```

For the usage please refer to [running-in-docker-wiki](https://github.com/EIYARO/ey/wiki/Running-in-Docker).
For the usage please refer to [running-in-docker-wiki](https://github.com/EIYARO-Project/core/wiki/Running-in-Docker).


## Installing with Homebrew

```console
$ brew tap eiyaro/eiyaro && brew install eiyaro
```


## Contributing

Thank you for considering helping out with the source code! Any contributions are highly appreciated, and we are grateful for even the smallest of fixes!

If you run into an issue, feel free to [eiyaro issues](https://github.com/EIYARO/ey/issues/) in this repository. We are glad to help!
If you run into an issue, feel free to [eiyaro issues](https://github.com/EIYARO-Project/core/issues/) in this repository. We are glad to help!

## License

Expand Down
6 changes: 3 additions & 3 deletions accesstoken/accesstoken.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ import (
"strings"
"time"

"ey/crypto/sha3pool"
dbm "ey/database/leveldb"
"ey/errors"
"core/crypto/sha3pool"
dbm "core/database/leveldb"
"core/errors"
)

const tokenSize = 32
Expand Down
4 changes: 2 additions & 2 deletions accesstoken/accesstoken_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import (
"strings"
"testing"

dbm "ey/database/leveldb"
"ey/errors"
dbm "core/database/leveldb"
"core/errors"
)

func TestCreate(t *testing.T) {
Expand Down
26 changes: 13 additions & 13 deletions account/accounts.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,19 +11,19 @@ import (
"github.com/golang/groupcache/lru"
log "github.com/sirupsen/logrus"

"ey/blockchain/signers"
"ey/blockchain/txbuilder"
"ey/common"
"ey/consensus"
"ey/consensus/segwit"
"ey/crypto"
"ey/crypto/ed25519/chainkd"
"ey/crypto/sha3pool"
dbm "ey/database/leveldb"
"ey/errors"
"ey/protocol"
"ey/protocol/bc"
"ey/protocol/vm/vmutil"
"core/blockchain/signers"
"core/blockchain/txbuilder"
"core/common"
"core/consensus"
"core/consensus/segwit"
"core/crypto"
"core/crypto/ed25519/chainkd"
"core/crypto/sha3pool"
dbm "core/database/leveldb"
"core/errors"
"core/protocol"
"core/protocol/bc"
"core/protocol/vm/vmutil"
)

const (
Expand Down
18 changes: 9 additions & 9 deletions account/accounts_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@ import (
"strings"
"testing"

"ey/blockchain/pseudohsm"
"ey/blockchain/signers"
"ey/crypto/ed25519/chainkd"
"ey/database"
dbm "ey/database/leveldb"
"ey/errors"
"ey/event"
"ey/protocol"
"ey/testutil"
"core/blockchain/pseudohsm"
"core/blockchain/signers"
"core/crypto/ed25519/chainkd"
"core/database"
dbm "core/database/leveldb"
"core/errors"
"core/event"
"core/protocol"
"core/testutil"
)

func TestCreateAccountWithUppercase(t *testing.T) {
Expand Down
18 changes: 9 additions & 9 deletions account/builder.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@ import (
"context"
"encoding/json"

"ey/blockchain/signers"
"ey/blockchain/txbuilder"
"ey/common"
"ey/consensus"
"ey/crypto/ed25519/chainkd"
"ey/errors"
"ey/protocol/bc"
"ey/protocol/bc/types"
"ey/protocol/vm/vmutil"
"core/blockchain/signers"
"core/blockchain/txbuilder"
"core/common"
"core/consensus"
"core/crypto/ed25519/chainkd"
"core/errors"
"core/protocol/bc"
"core/protocol/bc/types"
"core/protocol/vm/vmutil"
)

//DecodeSpendAction unmarshal JSON-encoded data of spend action
Expand Down
12 changes: 6 additions & 6 deletions account/builder_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ import (
"testing"
"time"

"ey/blockchain/signers"
"ey/blockchain/txbuilder"
"ey/consensus"
"ey/crypto/ed25519/chainkd"
"ey/protocol/bc"
"ey/testutil"
"core/blockchain/signers"
"core/blockchain/txbuilder"
"core/consensus"
"core/crypto/ed25519/chainkd"
"core/protocol/bc"
"core/testutil"
)

func TestReserveEyUtxoChain(t *testing.T) {
Expand Down
4 changes: 2 additions & 2 deletions account/indexer.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package account

import (
"ey/blockchain/query"
"ey/protocol/bc"
"core/blockchain/query"
"core/protocol/bc"
)

const (
Expand Down
6 changes: 3 additions & 3 deletions account/utxo_keeper.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ import (

log "github.com/sirupsen/logrus"

dbm "ey/database/leveldb"
"ey/errors"
"ey/protocol/bc"
dbm "core/database/leveldb"
"core/errors"
"core/protocol/bc"
)

const desireUtxoCount = 5
Expand Down
6 changes: 3 additions & 3 deletions account/utxo_keeper_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ import (
"testing"
"time"

dbm "ey/database/leveldb"
"ey/protocol/bc"
"ey/testutil"
dbm "core/database/leveldb"
"core/protocol/bc"
"core/testutil"
)

func TestAddUnconfirmedUtxo(t *testing.T) {
Expand Down
12 changes: 6 additions & 6 deletions api/accounts.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ import (

log "github.com/sirupsen/logrus"

"ey/account"
"ey/blockchain/signers"
"ey/common"
"ey/consensus"
"ey/crypto/ed25519/chainkd"
"ey/protocol/vm/vmutil"
"core/account"
"core/blockchain/signers"
"core/common"
"core/consensus"
"core/crypto/ed25519/chainkd"
"core/protocol/vm/vmutil"
)

// POST /create-account
Expand Down
36 changes: 18 additions & 18 deletions api/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,24 +11,24 @@ import (
log "github.com/sirupsen/logrus"
cmn "github.com/tendermint/tmlibs/common"

"ey/accesstoken"
"ey/blockchain/txfeed"
cfg "ey/config"
"ey/dashboard/dashboard"
"ey/dashboard/equity"
"ey/errors"
"ey/event"
"ey/mining/cpuminer"
"ey/mining/miningpool"
"ey/net/http/authn"
"ey/net/http/gzip"
"ey/net/http/httpjson"
"ey/net/http/static"
"ey/net/websocket"
"ey/netsync"
"ey/p2p"
"ey/protocol"
"ey/wallet"
"core/accesstoken"
"core/blockchain/txfeed"
cfg "core/config"
"core/dashboard/dashboard"
"core/dashboard/equity"
"core/errors"
"core/event"
"core/mining/cpuminer"
"core/mining/miningpool"
"core/net/http/authn"
"core/net/http/gzip"
"core/net/http/httpjson"
"core/net/http/static"
"core/net/websocket"
"core/netsync"
"core/p2p"
"core/protocol"
"core/wallet"
)

var (
Expand Down
8 changes: 4 additions & 4 deletions api/api_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ import (
"os"
"testing"

"ey/accesstoken"
"ey/blockchain/rpc"
dbm "ey/database/leveldb"
"ey/testutil"
"core/accesstoken"
"core/blockchain/rpc"
dbm "core/database/leveldb"
"core/testutil"
)

func TestAPIHandler(t *testing.T) {
Expand Down
6 changes: 3 additions & 3 deletions api/assets.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ import (
"context"
"strings"

"ey/asset"
"ey/crypto/ed25519/chainkd"
chainjson "ey/encoding/json"
"core/asset"
"core/crypto/ed25519/chainkd"
chainjson "core/encoding/json"

log "github.com/sirupsen/logrus"
)
Expand Down
12 changes: 6 additions & 6 deletions api/block_retrieve.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ import (

"gopkg.in/fatih/set.v0"

"ey/blockchain/query"
"ey/consensus/difficulty"
chainjson "ey/encoding/json"
"ey/errors"
"ey/protocol/bc"
"ey/protocol/bc/types"
"core/blockchain/query"
"core/consensus/difficulty"
chainjson "core/encoding/json"
"core/errors"
"core/protocol/bc"
"core/protocol/bc/types"
)

// return best block hash
Expand Down
8 changes: 4 additions & 4 deletions api/compile.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ package api
import (
"strings"

chainjson "ey/encoding/json"
"ey/equity/compiler"
"ey/errors"
"ey/protocol/vm"
chainjson "core/encoding/json"
"core/equity/compiler"
"core/errors"
"core/protocol/vm"
)

// pre-define contract error types
Expand Down
22 changes: 11 additions & 11 deletions api/errors.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,17 @@ package api
import (
"context"

"ey/account"
"ey/asset"
"ey/blockchain/pseudohsm"
"ey/blockchain/rpc"
"ey/blockchain/signers"
"ey/blockchain/txbuilder"
"ey/errors"
"ey/net/http/httperror"
"ey/net/http/httpjson"
"ey/protocol/validation"
"ey/protocol/vm"
"core/account"
"core/asset"
"core/blockchain/pseudohsm"
"core/blockchain/rpc"
"core/blockchain/signers"
"core/blockchain/txbuilder"
"core/errors"
"core/net/http/httperror"
"core/net/http/httpjson"
"core/protocol/validation"
"core/protocol/vm"
)

var (
Expand Down
4 changes: 2 additions & 2 deletions api/hsm.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import (

log "github.com/sirupsen/logrus"

"ey/blockchain/txbuilder"
"ey/crypto/ed25519/chainkd"
"core/blockchain/txbuilder"
"core/crypto/ed25519/chainkd"
)

type createKeyResp struct {
Expand Down
14 changes: 7 additions & 7 deletions api/message.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ import (
"encoding/hex"
"strings"

"ey/blockchain/signers"
"ey/common"
"ey/consensus"
"ey/crypto"
"ey/crypto/ed25519"
"ey/crypto/ed25519/chainkd"
chainjson "ey/encoding/json"
"core/blockchain/signers"
"core/common"
"core/consensus"
"core/crypto"
"core/crypto/ed25519"
"core/crypto/ed25519/chainkd"
chainjson "core/encoding/json"
)

// SignMsgResp is response for sign message
Expand Down
Loading

0 comments on commit dc971c4

Please sign in to comment.