Fix internal imports: github.com -> git.marketally.com
This commit is contained in:
parent
fb604ad460
commit
2dba25e993
|
|
@ -7,10 +7,10 @@ import (
|
||||||
"testing"
|
"testing"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/tutus-one/tutus-consensus"
|
"git.marketally.com/tutus-one/tutus-consensus"
|
||||||
"github.com/tutus-one/tutus-consensus/internal/consensus"
|
"git.marketally.com/tutus-one/tutus-consensus/internal/consensus"
|
||||||
"github.com/tutus-one/tutus-consensus/internal/crypto"
|
"git.marketally.com/tutus-one/tutus-consensus/internal/crypto"
|
||||||
"github.com/tutus-one/tutus-consensus/timer"
|
"git.marketally.com/tutus-one/tutus-consensus/timer"
|
||||||
"github.com/stretchr/testify/require"
|
"github.com/stretchr/testify/require"
|
||||||
"go.uber.org/zap"
|
"go.uber.org/zap"
|
||||||
)
|
)
|
||||||
|
|
|
||||||
|
|
@ -6,9 +6,9 @@ import (
|
||||||
"encoding/gob"
|
"encoding/gob"
|
||||||
"math"
|
"math"
|
||||||
|
|
||||||
"github.com/tutus-one/tutus-consensus"
|
"git.marketally.com/tutus-one/tutus-consensus"
|
||||||
"github.com/tutus-one/tutus-consensus/internal/crypto"
|
"git.marketally.com/tutus-one/tutus-consensus/internal/crypto"
|
||||||
"github.com/tutus-one/tutus-consensus/internal/merkle"
|
"git.marketally.com/tutus-one/tutus-consensus/internal/merkle"
|
||||||
)
|
)
|
||||||
|
|
||||||
type amevBlock struct {
|
type amevBlock struct {
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@ package consensus
|
||||||
import (
|
import (
|
||||||
"encoding/gob"
|
"encoding/gob"
|
||||||
|
|
||||||
"github.com/tutus-one/tutus-consensus"
|
"git.marketally.com/tutus-one/tutus-consensus"
|
||||||
)
|
)
|
||||||
|
|
||||||
type (
|
type (
|
||||||
|
|
|
||||||
|
|
@ -4,9 +4,9 @@ import (
|
||||||
"encoding/binary"
|
"encoding/binary"
|
||||||
"errors"
|
"errors"
|
||||||
|
|
||||||
"github.com/tutus-one/tutus-consensus"
|
"git.marketally.com/tutus-one/tutus-consensus"
|
||||||
"github.com/tutus-one/tutus-consensus/internal/crypto"
|
"git.marketally.com/tutus-one/tutus-consensus/internal/crypto"
|
||||||
"github.com/tutus-one/tutus-consensus/internal/merkle"
|
"git.marketally.com/tutus-one/tutus-consensus/internal/merkle"
|
||||||
)
|
)
|
||||||
|
|
||||||
type preBlock struct {
|
type preBlock struct {
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@ import (
|
||||||
"encoding/binary"
|
"encoding/binary"
|
||||||
"encoding/gob"
|
"encoding/gob"
|
||||||
|
|
||||||
"github.com/tutus-one/tutus-consensus"
|
"git.marketally.com/tutus-one/tutus-consensus"
|
||||||
)
|
)
|
||||||
|
|
||||||
type (
|
type (
|
||||||
|
|
|
||||||
|
|
@ -4,9 +4,9 @@ import (
|
||||||
"bytes"
|
"bytes"
|
||||||
"encoding/gob"
|
"encoding/gob"
|
||||||
|
|
||||||
"github.com/tutus-one/tutus-consensus"
|
"git.marketally.com/tutus-one/tutus-consensus"
|
||||||
"github.com/tutus-one/tutus-consensus/internal/crypto"
|
"git.marketally.com/tutus-one/tutus-consensus/internal/crypto"
|
||||||
"github.com/tutus-one/tutus-consensus/internal/merkle"
|
"git.marketally.com/tutus-one/tutus-consensus/internal/merkle"
|
||||||
)
|
)
|
||||||
|
|
||||||
type (
|
type (
|
||||||
|
|
|
||||||
|
|
@ -8,8 +8,8 @@ import (
|
||||||
"errors"
|
"errors"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/tutus-one/tutus-consensus"
|
"git.marketally.com/tutus-one/tutus-consensus"
|
||||||
"github.com/tutus-one/tutus-consensus/internal/crypto"
|
"git.marketally.com/tutus-one/tutus-consensus/internal/crypto"
|
||||||
"github.com/stretchr/testify/assert"
|
"github.com/stretchr/testify/assert"
|
||||||
"github.com/stretchr/testify/require"
|
"github.com/stretchr/testify/require"
|
||||||
)
|
)
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@ package consensus
|
||||||
import (
|
import (
|
||||||
"encoding/gob"
|
"encoding/gob"
|
||||||
|
|
||||||
"github.com/tutus-one/tutus-consensus"
|
"git.marketally.com/tutus-one/tutus-consensus"
|
||||||
)
|
)
|
||||||
|
|
||||||
type (
|
type (
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@ package consensus
|
||||||
import (
|
import (
|
||||||
"encoding/gob"
|
"encoding/gob"
|
||||||
|
|
||||||
"github.com/tutus-one/tutus-consensus"
|
"git.marketally.com/tutus-one/tutus-consensus"
|
||||||
)
|
)
|
||||||
|
|
||||||
type (
|
type (
|
||||||
|
|
|
||||||
|
|
@ -3,9 +3,9 @@ package consensus
|
||||||
import (
|
import (
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/tutus-one/tutus-consensus"
|
"git.marketally.com/tutus-one/tutus-consensus"
|
||||||
"github.com/tutus-one/tutus-consensus/internal/crypto"
|
"git.marketally.com/tutus-one/tutus-consensus/internal/crypto"
|
||||||
"github.com/tutus-one/tutus-consensus/timer"
|
"git.marketally.com/tutus-one/tutus-consensus/timer"
|
||||||
"go.uber.org/zap"
|
"go.uber.org/zap"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -5,8 +5,8 @@ import (
|
||||||
"encoding/gob"
|
"encoding/gob"
|
||||||
"fmt"
|
"fmt"
|
||||||
|
|
||||||
"github.com/tutus-one/tutus-consensus"
|
"git.marketally.com/tutus-one/tutus-consensus"
|
||||||
"github.com/tutus-one/tutus-consensus/internal/crypto"
|
"git.marketally.com/tutus-one/tutus-consensus/internal/crypto"
|
||||||
)
|
)
|
||||||
|
|
||||||
type (
|
type (
|
||||||
|
|
|
||||||
|
|
@ -3,8 +3,8 @@ package consensus
|
||||||
import (
|
import (
|
||||||
"encoding/binary"
|
"encoding/binary"
|
||||||
|
|
||||||
"github.com/tutus-one/tutus-consensus"
|
"git.marketally.com/tutus-one/tutus-consensus"
|
||||||
"github.com/tutus-one/tutus-consensus/internal/crypto"
|
"git.marketally.com/tutus-one/tutus-consensus/internal/crypto"
|
||||||
)
|
)
|
||||||
|
|
||||||
// NewConsensusPayload returns minimal ConsensusPayload implementation.
|
// NewConsensusPayload returns minimal ConsensusPayload implementation.
|
||||||
|
|
|
||||||
|
|
@ -4,8 +4,8 @@ import (
|
||||||
"bytes"
|
"bytes"
|
||||||
"encoding/gob"
|
"encoding/gob"
|
||||||
|
|
||||||
"github.com/tutus-one/tutus-consensus"
|
"git.marketally.com/tutus-one/tutus-consensus"
|
||||||
"github.com/tutus-one/tutus-consensus/internal/crypto"
|
"git.marketally.com/tutus-one/tutus-consensus/internal/crypto"
|
||||||
)
|
)
|
||||||
|
|
||||||
type (
|
type (
|
||||||
|
|
|
||||||
|
|
@ -6,8 +6,8 @@ import (
|
||||||
"encoding/gob"
|
"encoding/gob"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/tutus-one/tutus-consensus"
|
"git.marketally.com/tutus-one/tutus-consensus"
|
||||||
"github.com/tutus-one/tutus-consensus/internal/crypto"
|
"git.marketally.com/tutus-one/tutus-consensus/internal/crypto"
|
||||||
"github.com/stretchr/testify/assert"
|
"github.com/stretchr/testify/assert"
|
||||||
"github.com/stretchr/testify/require"
|
"github.com/stretchr/testify/require"
|
||||||
)
|
)
|
||||||
|
|
|
||||||
|
|
@ -3,8 +3,8 @@ package consensus
|
||||||
import (
|
import (
|
||||||
"encoding/gob"
|
"encoding/gob"
|
||||||
|
|
||||||
"github.com/tutus-one/tutus-consensus"
|
"git.marketally.com/tutus-one/tutus-consensus"
|
||||||
"github.com/tutus-one/tutus-consensus/internal/crypto"
|
"git.marketally.com/tutus-one/tutus-consensus/internal/crypto"
|
||||||
)
|
)
|
||||||
|
|
||||||
type (
|
type (
|
||||||
|
|
|
||||||
|
|
@ -3,8 +3,8 @@ package consensus
|
||||||
import (
|
import (
|
||||||
"encoding/gob"
|
"encoding/gob"
|
||||||
|
|
||||||
"github.com/tutus-one/tutus-consensus"
|
"git.marketally.com/tutus-one/tutus-consensus"
|
||||||
"github.com/tutus-one/tutus-consensus/internal/crypto"
|
"git.marketally.com/tutus-one/tutus-consensus/internal/crypto"
|
||||||
)
|
)
|
||||||
|
|
||||||
type (
|
type (
|
||||||
|
|
|
||||||
|
|
@ -5,8 +5,8 @@ import (
|
||||||
"encoding/gob"
|
"encoding/gob"
|
||||||
"errors"
|
"errors"
|
||||||
|
|
||||||
"github.com/tutus-one/tutus-consensus"
|
"git.marketally.com/tutus-one/tutus-consensus"
|
||||||
"github.com/tutus-one/tutus-consensus/internal/crypto"
|
"git.marketally.com/tutus-one/tutus-consensus/internal/crypto"
|
||||||
)
|
)
|
||||||
|
|
||||||
type (
|
type (
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@ package consensus
|
||||||
import (
|
import (
|
||||||
"encoding/gob"
|
"encoding/gob"
|
||||||
|
|
||||||
"github.com/tutus-one/tutus-consensus"
|
"git.marketally.com/tutus-one/tutus-consensus"
|
||||||
)
|
)
|
||||||
|
|
||||||
type (
|
type (
|
||||||
|
|
|
||||||
|
|
@ -4,8 +4,8 @@ import (
|
||||||
"encoding/binary"
|
"encoding/binary"
|
||||||
"errors"
|
"errors"
|
||||||
|
|
||||||
"github.com/tutus-one/tutus-consensus"
|
"git.marketally.com/tutus-one/tutus-consensus"
|
||||||
"github.com/tutus-one/tutus-consensus/internal/crypto"
|
"git.marketally.com/tutus-one/tutus-consensus/internal/crypto"
|
||||||
)
|
)
|
||||||
|
|
||||||
// =============================
|
// =============================
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@ package crypto
|
||||||
import (
|
import (
|
||||||
"io"
|
"io"
|
||||||
|
|
||||||
"github.com/tutus-one/tutus-consensus"
|
"git.marketally.com/tutus-one/tutus-consensus"
|
||||||
)
|
)
|
||||||
|
|
||||||
type suiteType byte
|
type suiteType byte
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,7 @@ import (
|
||||||
"io"
|
"io"
|
||||||
"math/big"
|
"math/big"
|
||||||
|
|
||||||
"github.com/tutus-one/tutus-consensus"
|
"git.marketally.com/tutus-one/tutus-consensus"
|
||||||
)
|
)
|
||||||
|
|
||||||
type (
|
type (
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
package merkle
|
package merkle
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/tutus-one/tutus-consensus/internal/crypto"
|
"git.marketally.com/tutus-one/tutus-consensus/internal/crypto"
|
||||||
)
|
)
|
||||||
|
|
||||||
type (
|
type (
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@ import (
|
||||||
"encoding/hex"
|
"encoding/hex"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/tutus-one/tutus-consensus/internal/crypto"
|
"git.marketally.com/tutus-one/tutus-consensus/internal/crypto"
|
||||||
"github.com/stretchr/testify/require"
|
"github.com/stretchr/testify/require"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -14,9 +14,9 @@ import (
|
||||||
"syscall"
|
"syscall"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/tutus-one/tutus-consensus"
|
"git.marketally.com/tutus-one/tutus-consensus"
|
||||||
"github.com/tutus-one/tutus-consensus/internal/consensus"
|
"git.marketally.com/tutus-one/tutus-consensus/internal/consensus"
|
||||||
"github.com/tutus-one/tutus-consensus/internal/crypto"
|
"git.marketally.com/tutus-one/tutus-consensus/internal/crypto"
|
||||||
"go.uber.org/zap"
|
"go.uber.org/zap"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue