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