Skip to content

Commit

Permalink
Merge pull request #216 from ElrondNetwork/feat/rename-elrond-go
Browse files Browse the repository at this point in the history
renamed repo to elrond-go
  • Loading branch information
iulianpascalau committed Jun 19, 2019
2 parents e113f43 + 98037e3 commit 04d9701
Show file tree
Hide file tree
Showing 553 changed files with 2,135 additions and 2,135 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Elrond go sandbox
# Elrond go

The go implementation for the Elrond Network testnet

Expand Down
4 changes: 2 additions & 2 deletions api/address/routes.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import (
"math/big"
"net/http"

"github.com/ElrondNetwork/elrond-go-sandbox/api/errors"
"github.com/ElrondNetwork/elrond-go-sandbox/data/state"
"github.com/ElrondNetwork/elrond-go/api/errors"
"github.com/ElrondNetwork/elrond-go/data/state"
"github.com/gin-gonic/gin"
)

Expand Down
10 changes: 5 additions & 5 deletions api/address/routes_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ import (
"strings"
"testing"

"github.com/ElrondNetwork/elrond-go-sandbox/api/address"
errors2 "github.com/ElrondNetwork/elrond-go-sandbox/api/errors"
"github.com/ElrondNetwork/elrond-go-sandbox/api/middleware"
"github.com/ElrondNetwork/elrond-go-sandbox/api/mock"
"github.com/ElrondNetwork/elrond-go-sandbox/data/state"
"github.com/ElrondNetwork/elrond-go/api/address"
errors2 "github.com/ElrondNetwork/elrond-go/api/errors"
"github.com/ElrondNetwork/elrond-go/api/middleware"
"github.com/ElrondNetwork/elrond-go/api/mock"
"github.com/ElrondNetwork/elrond-go/data/state"
"github.com/gin-contrib/cors"
"github.com/gin-gonic/gin"
"github.com/stretchr/testify/assert"
Expand Down
8 changes: 4 additions & 4 deletions api/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ import (
"github.com/gin-gonic/gin/binding"
"gopkg.in/go-playground/validator.v8"

"github.com/ElrondNetwork/elrond-go-sandbox/api/address"
"github.com/ElrondNetwork/elrond-go-sandbox/api/middleware"
"github.com/ElrondNetwork/elrond-go-sandbox/api/node"
"github.com/ElrondNetwork/elrond-go-sandbox/api/transaction"
"github.com/ElrondNetwork/elrond-go/api/address"
"github.com/ElrondNetwork/elrond-go/api/middleware"
"github.com/ElrondNetwork/elrond-go/api/node"
"github.com/ElrondNetwork/elrond-go/api/transaction"
)

type validatorInput struct {
Expand Down
4 changes: 2 additions & 2 deletions api/block/routes.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import (
"net/http"
"strings"

"github.com/ElrondNetwork/elrond-go-sandbox/api/errors"
"github.com/ElrondNetwork/elrond-go-sandbox/node/external"
"github.com/ElrondNetwork/elrond-go/api/errors"
"github.com/ElrondNetwork/elrond-go/node/external"
"github.com/gin-gonic/gin"
)

Expand Down
10 changes: 5 additions & 5 deletions api/block/routes_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ import (
"net/http/httptest"
"testing"

"github.com/ElrondNetwork/elrond-go-sandbox/api/block"
apiErrors "github.com/ElrondNetwork/elrond-go-sandbox/api/errors"
"github.com/ElrondNetwork/elrond-go-sandbox/api/mock"
"github.com/ElrondNetwork/elrond-go-sandbox/api/node"
"github.com/ElrondNetwork/elrond-go-sandbox/node/external"
"github.com/ElrondNetwork/elrond-go/api/block"
apiErrors "github.com/ElrondNetwork/elrond-go/api/errors"
"github.com/ElrondNetwork/elrond-go/api/mock"
"github.com/ElrondNetwork/elrond-go/api/node"
"github.com/ElrondNetwork/elrond-go/node/external"
"github.com/gin-contrib/cors"
"github.com/gin-gonic/gin"
"github.com/stretchr/testify/assert"
Expand Down
10 changes: 5 additions & 5 deletions api/mock/facade.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ import (
"errors"
"math/big"

"github.com/ElrondNetwork/elrond-go-sandbox/core/statistics"
"github.com/ElrondNetwork/elrond-go-sandbox/data/state"
"github.com/ElrondNetwork/elrond-go-sandbox/data/transaction"
"github.com/ElrondNetwork/elrond-go-sandbox/node/external"
"github.com/ElrondNetwork/elrond-go-sandbox/node/heartbeat"
"github.com/ElrondNetwork/elrond-go/core/statistics"
"github.com/ElrondNetwork/elrond-go/data/state"
"github.com/ElrondNetwork/elrond-go/data/transaction"
"github.com/ElrondNetwork/elrond-go/node/external"
"github.com/ElrondNetwork/elrond-go/node/heartbeat"
)

// Facade is the mock implementation of a node router handler
Expand Down
6 changes: 3 additions & 3 deletions api/node/routes.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ import (
"net/http"
"net/url"

"github.com/ElrondNetwork/elrond-go-sandbox/api/errors"
"github.com/ElrondNetwork/elrond-go-sandbox/core/statistics"
"github.com/ElrondNetwork/elrond-go-sandbox/node/heartbeat"
"github.com/ElrondNetwork/elrond-go/api/errors"
"github.com/ElrondNetwork/elrond-go/core/statistics"
"github.com/ElrondNetwork/elrond-go/node/heartbeat"
"github.com/gin-gonic/gin"
)

Expand Down
10 changes: 5 additions & 5 deletions api/node/routes_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@ import (
"net/http/httptest"
"testing"

"github.com/ElrondNetwork/elrond-go-sandbox/api/errors"
"github.com/ElrondNetwork/elrond-go-sandbox/core/statistics"
"github.com/ElrondNetwork/elrond-go-sandbox/node/heartbeat"
"github.com/ElrondNetwork/elrond-go/api/errors"
"github.com/ElrondNetwork/elrond-go/core/statistics"
"github.com/ElrondNetwork/elrond-go/node/heartbeat"
"github.com/gin-contrib/cors"
"github.com/gin-gonic/gin"
"github.com/stretchr/testify/assert"

"github.com/ElrondNetwork/elrond-go-sandbox/api/mock"
"github.com/ElrondNetwork/elrond-go-sandbox/api/node"
"github.com/ElrondNetwork/elrond-go/api/mock"
"github.com/ElrondNetwork/elrond-go/api/node"
)

type GeneralResponse struct {
Expand Down
4 changes: 2 additions & 2 deletions api/transaction/routes.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import (
"math/big"
"net/http"

"github.com/ElrondNetwork/elrond-go-sandbox/api/errors"
"github.com/ElrondNetwork/elrond-go-sandbox/data/transaction"
"github.com/ElrondNetwork/elrond-go/api/errors"
"github.com/ElrondNetwork/elrond-go/data/transaction"
"github.com/gin-gonic/gin"
)

Expand Down
10 changes: 5 additions & 5 deletions api/transaction/routes_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ import (
"net/http/httptest"
"testing"

errors2 "github.com/ElrondNetwork/elrond-go-sandbox/api/errors"
"github.com/ElrondNetwork/elrond-go-sandbox/api/middleware"
"github.com/ElrondNetwork/elrond-go-sandbox/api/mock"
"github.com/ElrondNetwork/elrond-go-sandbox/api/transaction"
tr "github.com/ElrondNetwork/elrond-go-sandbox/data/transaction"
errors2 "github.com/ElrondNetwork/elrond-go/api/errors"
"github.com/ElrondNetwork/elrond-go/api/middleware"
"github.com/ElrondNetwork/elrond-go/api/mock"
"github.com/ElrondNetwork/elrond-go/api/transaction"
tr "github.com/ElrondNetwork/elrond-go/data/transaction"
"github.com/gin-contrib/cors"
"github.com/gin-gonic/gin"
"github.com/stretchr/testify/assert"
Expand Down
2 changes: 1 addition & 1 deletion benchmark-broadcast/bits/bits_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"reflect"
"testing"

"github.com/ElrondNetwork/elrond-go-sandbox/benchmark-broadcast/bits"
"github.com/ElrondNetwork/elrond-go/benchmark-broadcast/bits"
)

func TestXORBytes(t *testing.T) {
Expand Down
6 changes: 3 additions & 3 deletions benchmark-broadcast/broadcast/broadcast.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ import (

"sync"

"github.com/ElrondNetwork/elrond-go-sandbox/benchmark-broadcast/bits"
"github.com/ElrondNetwork/elrond-go-sandbox/benchmark-broadcast/copy"
"github.com/ElrondNetwork/elrond-go-sandbox/benchmark-broadcast/types"
"github.com/ElrondNetwork/elrond-go/benchmark-broadcast/bits"
"github.com/ElrondNetwork/elrond-go/benchmark-broadcast/copy"
"github.com/ElrondNetwork/elrond-go/benchmark-broadcast/types"
"github.com/satori/go.uuid"
)

Expand Down
2 changes: 1 addition & 1 deletion benchmark-broadcast/copy/copy_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package copy_test
import (
"testing"

"github.com/ElrondNetwork/elrond-go-sandbox/benchmark-broadcast/copy"
"github.com/ElrondNetwork/elrond-go/benchmark-broadcast/copy"
"github.com/satori/go.uuid"
)

Expand Down
2 changes: 1 addition & 1 deletion benchmark-broadcast/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"strconv"

"github.com/360EntSecGroup-Skylar/excelize"
"github.com/ElrondNetwork/elrond-go-sandbox/benchmark-broadcast/broadcast"
"github.com/ElrondNetwork/elrond-go/benchmark-broadcast/broadcast"
)

func main() {
Expand Down
8 changes: 4 additions & 4 deletions cmd/keygenerator/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ import (
"fmt"
"os"

"github.com/ElrondNetwork/elrond-go-sandbox/core"
"github.com/ElrondNetwork/elrond-go-sandbox/crypto"
"github.com/ElrondNetwork/elrond-go-sandbox/crypto/signing"
"github.com/ElrondNetwork/elrond-go-sandbox/crypto/signing/kyber"
"github.com/ElrondNetwork/elrond-go/core"
"github.com/ElrondNetwork/elrond-go/crypto"
"github.com/ElrondNetwork/elrond-go/crypto/signing"
"github.com/ElrondNetwork/elrond-go/crypto/signing/kyber"
"github.com/urfave/cli"
)

Expand Down
106 changes: 53 additions & 53 deletions cmd/node/factory/structs.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,59 +12,59 @@ import (
"path/filepath"
"time"

"github.com/ElrondNetwork/elrond-go-sandbox/config"
"github.com/ElrondNetwork/elrond-go-sandbox/consensus"
"github.com/ElrondNetwork/elrond-go-sandbox/consensus/round"
"github.com/ElrondNetwork/elrond-go-sandbox/core"
"github.com/ElrondNetwork/elrond-go-sandbox/core/genesis"
"github.com/ElrondNetwork/elrond-go-sandbox/core/logger"
"github.com/ElrondNetwork/elrond-go-sandbox/core/partitioning"
"github.com/ElrondNetwork/elrond-go-sandbox/core/serviceContainer"
"github.com/ElrondNetwork/elrond-go-sandbox/crypto"
"github.com/ElrondNetwork/elrond-go-sandbox/crypto/signing"
"github.com/ElrondNetwork/elrond-go-sandbox/crypto/signing/kyber"
blsMultiSig "github.com/ElrondNetwork/elrond-go-sandbox/crypto/signing/kyber/multisig"
"github.com/ElrondNetwork/elrond-go-sandbox/crypto/signing/kyber/singlesig"
"github.com/ElrondNetwork/elrond-go-sandbox/crypto/signing/multisig"
"github.com/ElrondNetwork/elrond-go-sandbox/data"
"github.com/ElrondNetwork/elrond-go-sandbox/data/blockchain"
"github.com/ElrondNetwork/elrond-go-sandbox/data/state"
"github.com/ElrondNetwork/elrond-go-sandbox/data/state/addressConverters"
factoryState "github.com/ElrondNetwork/elrond-go-sandbox/data/state/factory"
"github.com/ElrondNetwork/elrond-go-sandbox/data/trie"
"github.com/ElrondNetwork/elrond-go-sandbox/data/typeConverters"
"github.com/ElrondNetwork/elrond-go-sandbox/data/typeConverters/uint64ByteSlice"
"github.com/ElrondNetwork/elrond-go-sandbox/dataRetriever"
"github.com/ElrondNetwork/elrond-go-sandbox/dataRetriever/dataPool"
"github.com/ElrondNetwork/elrond-go-sandbox/dataRetriever/factory/containers"
metafactoryDataRetriever "github.com/ElrondNetwork/elrond-go-sandbox/dataRetriever/factory/metachain"
shardfactoryDataRetriever "github.com/ElrondNetwork/elrond-go-sandbox/dataRetriever/factory/shard"
"github.com/ElrondNetwork/elrond-go-sandbox/dataRetriever/requestHandlers"
"github.com/ElrondNetwork/elrond-go-sandbox/dataRetriever/shardedData"
"github.com/ElrondNetwork/elrond-go-sandbox/hashing"
"github.com/ElrondNetwork/elrond-go-sandbox/hashing/blake2b"
"github.com/ElrondNetwork/elrond-go-sandbox/hashing/sha256"
"github.com/ElrondNetwork/elrond-go-sandbox/marshal"
"github.com/ElrondNetwork/elrond-go-sandbox/ntp"
"github.com/ElrondNetwork/elrond-go-sandbox/p2p"
"github.com/ElrondNetwork/elrond-go-sandbox/p2p/libp2p"
factoryP2P "github.com/ElrondNetwork/elrond-go-sandbox/p2p/libp2p/factory"
"github.com/ElrondNetwork/elrond-go-sandbox/p2p/loadBalancer"
"github.com/ElrondNetwork/elrond-go-sandbox/process"
"github.com/ElrondNetwork/elrond-go-sandbox/process/block"
"github.com/ElrondNetwork/elrond-go-sandbox/process/factory"
"github.com/ElrondNetwork/elrond-go-sandbox/process/factory/metachain"
"github.com/ElrondNetwork/elrond-go-sandbox/process/factory/shard"
"github.com/ElrondNetwork/elrond-go-sandbox/process/mock"
"github.com/ElrondNetwork/elrond-go-sandbox/process/smartContract"
"github.com/ElrondNetwork/elrond-go-sandbox/process/smartContract/hooks"
processSync "github.com/ElrondNetwork/elrond-go-sandbox/process/sync"
"github.com/ElrondNetwork/elrond-go-sandbox/process/track"
"github.com/ElrondNetwork/elrond-go-sandbox/process/transaction"
"github.com/ElrondNetwork/elrond-go-sandbox/sharding"
"github.com/ElrondNetwork/elrond-go-sandbox/storage"
"github.com/ElrondNetwork/elrond-go-sandbox/storage/memorydb"
"github.com/ElrondNetwork/elrond-go-sandbox/storage/storageUnit"
"github.com/ElrondNetwork/elrond-go/config"
"github.com/ElrondNetwork/elrond-go/consensus"
"github.com/ElrondNetwork/elrond-go/consensus/round"
"github.com/ElrondNetwork/elrond-go/core"
"github.com/ElrondNetwork/elrond-go/core/genesis"
"github.com/ElrondNetwork/elrond-go/core/logger"
"github.com/ElrondNetwork/elrond-go/core/partitioning"
"github.com/ElrondNetwork/elrond-go/core/serviceContainer"
"github.com/ElrondNetwork/elrond-go/crypto"
"github.com/ElrondNetwork/elrond-go/crypto/signing"
"github.com/ElrondNetwork/elrond-go/crypto/signing/kyber"
blsMultiSig "github.com/ElrondNetwork/elrond-go/crypto/signing/kyber/multisig"
"github.com/ElrondNetwork/elrond-go/crypto/signing/kyber/singlesig"
"github.com/ElrondNetwork/elrond-go/crypto/signing/multisig"
"github.com/ElrondNetwork/elrond-go/data"
"github.com/ElrondNetwork/elrond-go/data/blockchain"
"github.com/ElrondNetwork/elrond-go/data/state"
"github.com/ElrondNetwork/elrond-go/data/state/addressConverters"
factoryState "github.com/ElrondNetwork/elrond-go/data/state/factory"
"github.com/ElrondNetwork/elrond-go/data/trie"
"github.com/ElrondNetwork/elrond-go/data/typeConverters"
"github.com/ElrondNetwork/elrond-go/data/typeConverters/uint64ByteSlice"
"github.com/ElrondNetwork/elrond-go/dataRetriever"
"github.com/ElrondNetwork/elrond-go/dataRetriever/dataPool"
"github.com/ElrondNetwork/elrond-go/dataRetriever/factory/containers"
metafactoryDataRetriever "github.com/ElrondNetwork/elrond-go/dataRetriever/factory/metachain"
shardfactoryDataRetriever "github.com/ElrondNetwork/elrond-go/dataRetriever/factory/shard"
"github.com/ElrondNetwork/elrond-go/dataRetriever/requestHandlers"
"github.com/ElrondNetwork/elrond-go/dataRetriever/shardedData"
"github.com/ElrondNetwork/elrond-go/hashing"
"github.com/ElrondNetwork/elrond-go/hashing/blake2b"
"github.com/ElrondNetwork/elrond-go/hashing/sha256"
"github.com/ElrondNetwork/elrond-go/marshal"
"github.com/ElrondNetwork/elrond-go/ntp"
"github.com/ElrondNetwork/elrond-go/p2p"
"github.com/ElrondNetwork/elrond-go/p2p/libp2p"
factoryP2P "github.com/ElrondNetwork/elrond-go/p2p/libp2p/factory"
"github.com/ElrondNetwork/elrond-go/p2p/loadBalancer"
"github.com/ElrondNetwork/elrond-go/process"
"github.com/ElrondNetwork/elrond-go/process/block"
"github.com/ElrondNetwork/elrond-go/process/factory"
"github.com/ElrondNetwork/elrond-go/process/factory/metachain"
"github.com/ElrondNetwork/elrond-go/process/factory/shard"
"github.com/ElrondNetwork/elrond-go/process/mock"
"github.com/ElrondNetwork/elrond-go/process/smartContract"
"github.com/ElrondNetwork/elrond-go/process/smartContract/hooks"
processSync "github.com/ElrondNetwork/elrond-go/process/sync"
"github.com/ElrondNetwork/elrond-go/process/track"
"github.com/ElrondNetwork/elrond-go/process/transaction"
"github.com/ElrondNetwork/elrond-go/sharding"
"github.com/ElrondNetwork/elrond-go/storage"
"github.com/ElrondNetwork/elrond-go/storage/memorydb"
"github.com/ElrondNetwork/elrond-go/storage/storageUnit"
"github.com/btcsuite/btcd/btcec"
libp2pCrypto "github.com/libp2p/go-libp2p-core/crypto"
"github.com/urfave/cli"
Expand Down
32 changes: 16 additions & 16 deletions cmd/node/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,22 +14,22 @@ import (
"syscall"
"time"

"github.com/ElrondNetwork/elrond-go-sandbox/cmd/node/factory"
"github.com/ElrondNetwork/elrond-go-sandbox/config"
"github.com/ElrondNetwork/elrond-go-sandbox/core"
"github.com/ElrondNetwork/elrond-go-sandbox/core/indexer"
"github.com/ElrondNetwork/elrond-go-sandbox/core/logger"
"github.com/ElrondNetwork/elrond-go-sandbox/core/serviceContainer"
"github.com/ElrondNetwork/elrond-go-sandbox/core/statistics"
"github.com/ElrondNetwork/elrond-go-sandbox/crypto"
"github.com/ElrondNetwork/elrond-go-sandbox/crypto/signing/kyber"
"github.com/ElrondNetwork/elrond-go-sandbox/facade"
"github.com/ElrondNetwork/elrond-go-sandbox/hashing"
"github.com/ElrondNetwork/elrond-go-sandbox/marshal"
"github.com/ElrondNetwork/elrond-go-sandbox/node"
"github.com/ElrondNetwork/elrond-go-sandbox/node/external"
"github.com/ElrondNetwork/elrond-go-sandbox/ntp"
"github.com/ElrondNetwork/elrond-go-sandbox/sharding"
"github.com/ElrondNetwork/elrond-go/cmd/node/factory"
"github.com/ElrondNetwork/elrond-go/config"
"github.com/ElrondNetwork/elrond-go/core"
"github.com/ElrondNetwork/elrond-go/core/indexer"
"github.com/ElrondNetwork/elrond-go/core/logger"
"github.com/ElrondNetwork/elrond-go/core/serviceContainer"
"github.com/ElrondNetwork/elrond-go/core/statistics"
"github.com/ElrondNetwork/elrond-go/crypto"
"github.com/ElrondNetwork/elrond-go/crypto/signing/kyber"
"github.com/ElrondNetwork/elrond-go/facade"
"github.com/ElrondNetwork/elrond-go/hashing"
"github.com/ElrondNetwork/elrond-go/marshal"
"github.com/ElrondNetwork/elrond-go/node"
"github.com/ElrondNetwork/elrond-go/node/external"
"github.com/ElrondNetwork/elrond-go/ntp"
"github.com/ElrondNetwork/elrond-go/sharding"
"github.com/google/gops/agent"
"github.com/pkg/profile"
"github.com/urfave/cli"
Expand Down
18 changes: 9 additions & 9 deletions cmd/seednode/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@ import (
"syscall"
"time"

"github.com/ElrondNetwork/elrond-go-sandbox/config"
"github.com/ElrondNetwork/elrond-go-sandbox/core"
"github.com/ElrondNetwork/elrond-go-sandbox/display"
"github.com/ElrondNetwork/elrond-go-sandbox/hashing/sha256"
"github.com/ElrondNetwork/elrond-go-sandbox/p2p"
"github.com/ElrondNetwork/elrond-go-sandbox/p2p/libp2p"
"github.com/ElrondNetwork/elrond-go-sandbox/p2p/libp2p/discovery"
factoryP2P "github.com/ElrondNetwork/elrond-go-sandbox/p2p/libp2p/factory"
"github.com/ElrondNetwork/elrond-go-sandbox/p2p/loadBalancer"
"github.com/ElrondNetwork/elrond-go/config"
"github.com/ElrondNetwork/elrond-go/core"
"github.com/ElrondNetwork/elrond-go/display"
"github.com/ElrondNetwork/elrond-go/hashing/sha256"
"github.com/ElrondNetwork/elrond-go/p2p"
"github.com/ElrondNetwork/elrond-go/p2p/libp2p"
"github.com/ElrondNetwork/elrond-go/p2p/libp2p/discovery"
factoryP2P "github.com/ElrondNetwork/elrond-go/p2p/libp2p/factory"
"github.com/ElrondNetwork/elrond-go/p2p/loadBalancer"
"github.com/btcsuite/btcd/btcec"
libp2pCrypto "github.com/libp2p/go-libp2p-core/crypto"
"github.com/urfave/cli"
Expand Down

0 comments on commit 04d9701

Please sign in to comment.