mirror of
https://github.com/fluencelabs/tendermint
synced 2025-04-25 06:42:16 +00:00
tendermint2
This commit is contained in:
parent
e6c352dba0
commit
60f166e823
@ -5,7 +5,7 @@ import (
|
||||
"fmt"
|
||||
"io"
|
||||
|
||||
"github.com/tendermint/tendermint/binary"
|
||||
"github.com/tendermint/tendermint2/binary"
|
||||
)
|
||||
|
||||
// Signable is an interface for all signable things.
|
||||
|
@ -2,7 +2,7 @@ package account
|
||||
|
||||
import (
|
||||
"github.com/tendermint/ed25519"
|
||||
. "github.com/tendermint/tendermint/common"
|
||||
. "github.com/tendermint/tendermint2/common"
|
||||
)
|
||||
|
||||
type PrivAccount struct {
|
||||
|
@ -2,8 +2,8 @@ package account
|
||||
|
||||
import (
|
||||
"github.com/tendermint/ed25519"
|
||||
"github.com/tendermint/tendermint/binary"
|
||||
. "github.com/tendermint/tendermint/common"
|
||||
"github.com/tendermint/tendermint2/binary"
|
||||
. "github.com/tendermint/tendermint2/common"
|
||||
)
|
||||
|
||||
// PrivKey is part of PrivAccount and state.PrivValidator.
|
||||
|
@ -4,8 +4,8 @@ import (
|
||||
"errors"
|
||||
|
||||
"github.com/tendermint/ed25519"
|
||||
"github.com/tendermint/tendermint/binary"
|
||||
. "github.com/tendermint/tendermint/common"
|
||||
"github.com/tendermint/tendermint2/binary"
|
||||
. "github.com/tendermint/tendermint2/common"
|
||||
)
|
||||
|
||||
// PubKey is part of Account and Validator.
|
||||
|
@ -3,8 +3,8 @@ package account
|
||||
import (
|
||||
"fmt"
|
||||
|
||||
"github.com/tendermint/tendermint/binary"
|
||||
. "github.com/tendermint/tendermint/common"
|
||||
"github.com/tendermint/tendermint2/binary"
|
||||
. "github.com/tendermint/tendermint2/common"
|
||||
)
|
||||
|
||||
// Signature is a part of Txs and consensus Votes.
|
||||
|
@ -5,8 +5,8 @@ import (
|
||||
"testing"
|
||||
|
||||
"github.com/tendermint/ed25519"
|
||||
"github.com/tendermint/tendermint/binary"
|
||||
. "github.com/tendermint/tendermint/common"
|
||||
"github.com/tendermint/tendermint2/binary"
|
||||
. "github.com/tendermint/tendermint2/common"
|
||||
)
|
||||
|
||||
func TestSignAndValidate(t *testing.T) {
|
||||
|
@ -5,7 +5,7 @@ import (
|
||||
"time"
|
||||
|
||||
"github.com/sfreiberg/gotwilio"
|
||||
"github.com/tendermint/tendermint/config"
|
||||
"github.com/tendermint/tendermint2/config"
|
||||
)
|
||||
|
||||
var lastAlertUnix int64 = 0
|
||||
|
@ -13,7 +13,7 @@ import (
|
||||
"regexp"
|
||||
"strings"
|
||||
|
||||
"github.com/tendermint/tendermint/config"
|
||||
"github.com/tendermint/tendermint2/config"
|
||||
)
|
||||
|
||||
// Convenience function
|
||||
|
@ -1,7 +1,7 @@
|
||||
package alert
|
||||
|
||||
import (
|
||||
"github.com/tendermint/tendermint/logger"
|
||||
"github.com/tendermint/tendermint2/logger"
|
||||
)
|
||||
|
||||
var log = logger.New("module", "alert")
|
||||
|
@ -2,7 +2,7 @@ package binary
|
||||
|
||||
import (
|
||||
"github.com/tendermint/log15"
|
||||
"github.com/tendermint/tendermint/logger"
|
||||
"github.com/tendermint/tendermint2/logger"
|
||||
)
|
||||
|
||||
var log = logger.New("module", "binary")
|
||||
|
@ -9,7 +9,7 @@ import (
|
||||
"sync"
|
||||
"time"
|
||||
|
||||
. "github.com/tendermint/tendermint/common"
|
||||
. "github.com/tendermint/tendermint2/common"
|
||||
)
|
||||
|
||||
type TypeInfo struct {
|
||||
|
@ -1,7 +1,7 @@
|
||||
package blockchain
|
||||
|
||||
import (
|
||||
"github.com/tendermint/tendermint/logger"
|
||||
"github.com/tendermint/tendermint2/logger"
|
||||
)
|
||||
|
||||
var log = logger.New("module", "blockchain")
|
||||
|
@ -5,8 +5,8 @@ import (
|
||||
"sync/atomic"
|
||||
"time"
|
||||
|
||||
. "github.com/tendermint/tendermint/common"
|
||||
"github.com/tendermint/tendermint/types"
|
||||
. "github.com/tendermint/tendermint2/common"
|
||||
"github.com/tendermint/tendermint2/types"
|
||||
)
|
||||
|
||||
const (
|
||||
|
@ -5,8 +5,8 @@ import (
|
||||
"testing"
|
||||
"time"
|
||||
|
||||
. "github.com/tendermint/tendermint/common"
|
||||
"github.com/tendermint/tendermint/types"
|
||||
. "github.com/tendermint/tendermint2/common"
|
||||
"github.com/tendermint/tendermint2/types"
|
||||
)
|
||||
|
||||
type testPeer struct {
|
||||
|
@ -7,11 +7,11 @@ import (
|
||||
"sync/atomic"
|
||||
"time"
|
||||
|
||||
"github.com/tendermint/tendermint/binary"
|
||||
. "github.com/tendermint/tendermint/common"
|
||||
"github.com/tendermint/tendermint/p2p"
|
||||
sm "github.com/tendermint/tendermint/state"
|
||||
"github.com/tendermint/tendermint/types"
|
||||
"github.com/tendermint/tendermint2/binary"
|
||||
. "github.com/tendermint/tendermint2/common"
|
||||
"github.com/tendermint/tendermint2/p2p"
|
||||
sm "github.com/tendermint/tendermint2/state"
|
||||
"github.com/tendermint/tendermint2/types"
|
||||
)
|
||||
|
||||
const (
|
||||
|
@ -6,10 +6,10 @@ import (
|
||||
"fmt"
|
||||
"io"
|
||||
|
||||
"github.com/tendermint/tendermint/binary"
|
||||
. "github.com/tendermint/tendermint/common"
|
||||
dbm "github.com/tendermint/tendermint/db"
|
||||
"github.com/tendermint/tendermint/types"
|
||||
"github.com/tendermint/tendermint2/binary"
|
||||
. "github.com/tendermint/tendermint2/common"
|
||||
dbm "github.com/tendermint/tendermint2/db"
|
||||
"github.com/tendermint/tendermint2/types"
|
||||
)
|
||||
|
||||
/*
|
||||
|
@ -3,8 +3,8 @@ package main
|
||||
import (
|
||||
"fmt"
|
||||
|
||||
"github.com/tendermint/tendermint/account"
|
||||
"github.com/tendermint/tendermint/binary"
|
||||
"github.com/tendermint/tendermint2/account"
|
||||
"github.com/tendermint/tendermint2/binary"
|
||||
)
|
||||
|
||||
func gen_account() {
|
||||
|
@ -8,12 +8,12 @@ import (
|
||||
"os"
|
||||
"strconv"
|
||||
|
||||
"github.com/tendermint/tendermint/account"
|
||||
"github.com/tendermint/tendermint/binary"
|
||||
. "github.com/tendermint/tendermint/common"
|
||||
dbm "github.com/tendermint/tendermint/db"
|
||||
sm "github.com/tendermint/tendermint/state"
|
||||
"github.com/tendermint/tendermint/types"
|
||||
"github.com/tendermint/tendermint2/account"
|
||||
"github.com/tendermint/tendermint2/binary"
|
||||
. "github.com/tendermint/tendermint2/common"
|
||||
dbm "github.com/tendermint/tendermint2/db"
|
||||
sm "github.com/tendermint/tendermint2/state"
|
||||
"github.com/tendermint/tendermint2/types"
|
||||
)
|
||||
|
||||
func getString(prompt string) string {
|
||||
|
@ -3,9 +3,9 @@ package main
|
||||
import (
|
||||
"fmt"
|
||||
|
||||
"github.com/tendermint/tendermint/binary"
|
||||
"github.com/tendermint/tendermint/config"
|
||||
sm "github.com/tendermint/tendermint/state"
|
||||
"github.com/tendermint/tendermint2/binary"
|
||||
"github.com/tendermint/tendermint2/config"
|
||||
sm "github.com/tendermint/tendermint2/state"
|
||||
)
|
||||
|
||||
func gen_validator() {
|
||||
|
@ -1,7 +1,7 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"github.com/tendermint/tendermint/logger"
|
||||
"github.com/tendermint/tendermint2/logger"
|
||||
)
|
||||
|
||||
var log = logger.New("module", "main")
|
||||
|
@ -4,8 +4,8 @@ import (
|
||||
"fmt"
|
||||
"os"
|
||||
|
||||
"github.com/tendermint/tendermint/config"
|
||||
"github.com/tendermint/tendermint/daemon"
|
||||
"github.com/tendermint/tendermint2/config"
|
||||
"github.com/tendermint/tendermint2/daemon"
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
@ -4,7 +4,7 @@ import (
|
||||
"encoding/json"
|
||||
"fmt"
|
||||
|
||||
"github.com/tendermint/tendermint/p2p/upnp"
|
||||
"github.com/tendermint/tendermint2/p2p/upnp"
|
||||
)
|
||||
|
||||
func probe_upnp() {
|
||||
|
@ -1,7 +1,7 @@
|
||||
package config
|
||||
|
||||
import (
|
||||
// We can't use github.com/tendermint/tendermint/logger
|
||||
// We can't use github.com/tendermint/tendermint2/logger
|
||||
// because that would create a dependency cycle.
|
||||
"github.com/tendermint/log15"
|
||||
)
|
||||
|
@ -1,7 +1,7 @@
|
||||
package consensus
|
||||
|
||||
import (
|
||||
"github.com/tendermint/tendermint/logger"
|
||||
"github.com/tendermint/tendermint2/logger"
|
||||
)
|
||||
|
||||
var log = logger.New("module", "consensus")
|
||||
|
@ -3,11 +3,11 @@ package consensus
|
||||
import (
|
||||
"fmt"
|
||||
|
||||
"github.com/tendermint/tendermint/account"
|
||||
"github.com/tendermint/tendermint/binary"
|
||||
. "github.com/tendermint/tendermint/common"
|
||||
sm "github.com/tendermint/tendermint/state"
|
||||
"github.com/tendermint/tendermint/types"
|
||||
"github.com/tendermint/tendermint2/account"
|
||||
"github.com/tendermint/tendermint2/binary"
|
||||
. "github.com/tendermint/tendermint2/common"
|
||||
sm "github.com/tendermint/tendermint2/state"
|
||||
"github.com/tendermint/tendermint2/types"
|
||||
)
|
||||
|
||||
// Each signature of a POL (proof-of-lock, see whitepaper) is
|
||||
|
@ -1,10 +1,10 @@
|
||||
package consensus
|
||||
|
||||
import (
|
||||
"github.com/tendermint/tendermint/binary"
|
||||
. "github.com/tendermint/tendermint/common"
|
||||
sm "github.com/tendermint/tendermint/state"
|
||||
"github.com/tendermint/tendermint/types"
|
||||
"github.com/tendermint/tendermint2/binary"
|
||||
. "github.com/tendermint/tendermint2/common"
|
||||
sm "github.com/tendermint/tendermint2/state"
|
||||
"github.com/tendermint/tendermint2/types"
|
||||
|
||||
"bytes"
|
||||
"testing"
|
||||
|
@ -8,13 +8,13 @@ import (
|
||||
"sync/atomic"
|
||||
"time"
|
||||
|
||||
"github.com/tendermint/tendermint/binary"
|
||||
bc "github.com/tendermint/tendermint/blockchain"
|
||||
. "github.com/tendermint/tendermint/common"
|
||||
. "github.com/tendermint/tendermint/consensus/types"
|
||||
"github.com/tendermint/tendermint/p2p"
|
||||
sm "github.com/tendermint/tendermint/state"
|
||||
"github.com/tendermint/tendermint/types"
|
||||
"github.com/tendermint/tendermint2/binary"
|
||||
bc "github.com/tendermint/tendermint2/blockchain"
|
||||
. "github.com/tendermint/tendermint2/common"
|
||||
. "github.com/tendermint/tendermint2/consensus/types"
|
||||
"github.com/tendermint/tendermint2/p2p"
|
||||
sm "github.com/tendermint/tendermint2/state"
|
||||
"github.com/tendermint/tendermint2/types"
|
||||
)
|
||||
|
||||
const (
|
||||
|
@ -60,15 +60,15 @@ import (
|
||||
"sync/atomic"
|
||||
"time"
|
||||
|
||||
"github.com/tendermint/tendermint/account"
|
||||
"github.com/tendermint/tendermint/binary"
|
||||
bc "github.com/tendermint/tendermint/blockchain"
|
||||
. "github.com/tendermint/tendermint/common"
|
||||
"github.com/tendermint/tendermint/config"
|
||||
. "github.com/tendermint/tendermint/consensus/types"
|
||||
mempl "github.com/tendermint/tendermint/mempool"
|
||||
sm "github.com/tendermint/tendermint/state"
|
||||
"github.com/tendermint/tendermint/types"
|
||||
"github.com/tendermint/tendermint2/account"
|
||||
"github.com/tendermint/tendermint2/binary"
|
||||
bc "github.com/tendermint/tendermint2/blockchain"
|
||||
. "github.com/tendermint/tendermint2/common"
|
||||
"github.com/tendermint/tendermint2/config"
|
||||
. "github.com/tendermint/tendermint2/consensus/types"
|
||||
mempl "github.com/tendermint/tendermint2/mempool"
|
||||
sm "github.com/tendermint/tendermint2/state"
|
||||
"github.com/tendermint/tendermint2/types"
|
||||
)
|
||||
|
||||
const (
|
||||
|
@ -4,7 +4,7 @@ import (
|
||||
"bytes"
|
||||
"testing"
|
||||
|
||||
"github.com/tendermint/tendermint/types"
|
||||
"github.com/tendermint/tendermint2/types"
|
||||
)
|
||||
|
||||
func TestSetupRound(t *testing.T) {
|
||||
|
@ -3,10 +3,10 @@ package consensus
|
||||
import (
|
||||
"sort"
|
||||
|
||||
bc "github.com/tendermint/tendermint/blockchain"
|
||||
dbm "github.com/tendermint/tendermint/db"
|
||||
mempl "github.com/tendermint/tendermint/mempool"
|
||||
sm "github.com/tendermint/tendermint/state"
|
||||
bc "github.com/tendermint/tendermint2/blockchain"
|
||||
dbm "github.com/tendermint/tendermint2/db"
|
||||
mempl "github.com/tendermint/tendermint2/mempool"
|
||||
sm "github.com/tendermint/tendermint2/state"
|
||||
)
|
||||
|
||||
func randConsensusState() (*ConsensusState, []*sm.PrivValidator) {
|
||||
|
@ -5,9 +5,9 @@ import (
|
||||
"fmt"
|
||||
"io"
|
||||
|
||||
"github.com/tendermint/tendermint/account"
|
||||
"github.com/tendermint/tendermint/binary"
|
||||
"github.com/tendermint/tendermint/types"
|
||||
"github.com/tendermint/tendermint2/account"
|
||||
"github.com/tendermint/tendermint2/binary"
|
||||
"github.com/tendermint/tendermint2/types"
|
||||
)
|
||||
|
||||
var (
|
||||
|
@ -6,11 +6,11 @@ import (
|
||||
"strings"
|
||||
"sync"
|
||||
|
||||
"github.com/tendermint/tendermint/account"
|
||||
"github.com/tendermint/tendermint/binary"
|
||||
. "github.com/tendermint/tendermint/common"
|
||||
sm "github.com/tendermint/tendermint/state"
|
||||
"github.com/tendermint/tendermint/types"
|
||||
"github.com/tendermint/tendermint2/account"
|
||||
"github.com/tendermint/tendermint2/binary"
|
||||
. "github.com/tendermint/tendermint2/common"
|
||||
sm "github.com/tendermint/tendermint2/state"
|
||||
"github.com/tendermint/tendermint2/types"
|
||||
)
|
||||
|
||||
// VoteSet helps collect signatures from validators at each height+round
|
||||
|
@ -3,10 +3,10 @@ package consensus
|
||||
import (
|
||||
"bytes"
|
||||
|
||||
. "github.com/tendermint/tendermint/common"
|
||||
. "github.com/tendermint/tendermint/common/test"
|
||||
sm "github.com/tendermint/tendermint/state"
|
||||
"github.com/tendermint/tendermint/types"
|
||||
. "github.com/tendermint/tendermint2/common"
|
||||
. "github.com/tendermint/tendermint2/common/test"
|
||||
sm "github.com/tendermint/tendermint2/state"
|
||||
"github.com/tendermint/tendermint2/types"
|
||||
|
||||
"testing"
|
||||
)
|
||||
|
@ -4,16 +4,16 @@ import (
|
||||
"os"
|
||||
"os/signal"
|
||||
|
||||
bc "github.com/tendermint/tendermint/blockchain"
|
||||
. "github.com/tendermint/tendermint/common"
|
||||
"github.com/tendermint/tendermint/config"
|
||||
"github.com/tendermint/tendermint/consensus"
|
||||
dbm "github.com/tendermint/tendermint/db"
|
||||
mempl "github.com/tendermint/tendermint/mempool"
|
||||
"github.com/tendermint/tendermint/p2p"
|
||||
"github.com/tendermint/tendermint/rpc"
|
||||
"github.com/tendermint/tendermint/rpc/core"
|
||||
sm "github.com/tendermint/tendermint/state"
|
||||
bc "github.com/tendermint/tendermint2/blockchain"
|
||||
. "github.com/tendermint/tendermint2/common"
|
||||
"github.com/tendermint/tendermint2/config"
|
||||
"github.com/tendermint/tendermint2/consensus"
|
||||
dbm "github.com/tendermint/tendermint2/db"
|
||||
mempl "github.com/tendermint/tendermint2/mempool"
|
||||
"github.com/tendermint/tendermint2/p2p"
|
||||
"github.com/tendermint/tendermint2/rpc"
|
||||
"github.com/tendermint/tendermint2/rpc/core"
|
||||
sm "github.com/tendermint/tendermint2/state"
|
||||
)
|
||||
|
||||
type Node struct {
|
||||
|
@ -1,7 +1,7 @@
|
||||
package daemon
|
||||
|
||||
import (
|
||||
"github.com/tendermint/tendermint/logger"
|
||||
"github.com/tendermint/tendermint2/logger"
|
||||
)
|
||||
|
||||
var log = logger.New("module", "daemon")
|
||||
|
4
db/db.go
4
db/db.go
@ -3,8 +3,8 @@ package db
|
||||
import (
|
||||
"path"
|
||||
|
||||
. "github.com/tendermint/tendermint/common"
|
||||
"github.com/tendermint/tendermint/config"
|
||||
. "github.com/tendermint/tendermint2/common"
|
||||
"github.com/tendermint/tendermint2/config"
|
||||
)
|
||||
|
||||
type DB interface {
|
||||
|
@ -5,8 +5,8 @@ import (
|
||||
"os"
|
||||
|
||||
"github.com/tendermint/log15"
|
||||
. "github.com/tendermint/tendermint/common"
|
||||
"github.com/tendermint/tendermint/config"
|
||||
. "github.com/tendermint/tendermint2/common"
|
||||
"github.com/tendermint/tendermint2/config"
|
||||
)
|
||||
|
||||
var rootHandler log15.Handler
|
||||
|
@ -1,7 +1,7 @@
|
||||
package mempool
|
||||
|
||||
import (
|
||||
"github.com/tendermint/tendermint/logger"
|
||||
"github.com/tendermint/tendermint2/logger"
|
||||
)
|
||||
|
||||
var log = logger.New("module", "mempool")
|
||||
|
@ -11,9 +11,9 @@ package mempool
|
||||
import (
|
||||
"sync"
|
||||
|
||||
"github.com/tendermint/tendermint/binary"
|
||||
sm "github.com/tendermint/tendermint/state"
|
||||
"github.com/tendermint/tendermint/types"
|
||||
"github.com/tendermint/tendermint2/binary"
|
||||
sm "github.com/tendermint/tendermint2/state"
|
||||
"github.com/tendermint/tendermint2/types"
|
||||
)
|
||||
|
||||
type Mempool struct {
|
||||
|
@ -5,9 +5,9 @@ import (
|
||||
"fmt"
|
||||
"sync/atomic"
|
||||
|
||||
"github.com/tendermint/tendermint/binary"
|
||||
"github.com/tendermint/tendermint/p2p"
|
||||
"github.com/tendermint/tendermint/types"
|
||||
"github.com/tendermint/tendermint2/binary"
|
||||
"github.com/tendermint/tendermint2/p2p"
|
||||
"github.com/tendermint/tendermint2/types"
|
||||
)
|
||||
|
||||
var (
|
||||
|
@ -4,7 +4,7 @@ import (
|
||||
"crypto/sha256"
|
||||
"io"
|
||||
|
||||
"github.com/tendermint/tendermint/binary"
|
||||
"github.com/tendermint/tendermint2/binary"
|
||||
)
|
||||
|
||||
// Node
|
||||
|
@ -4,9 +4,9 @@ import (
|
||||
"bytes"
|
||||
"fmt"
|
||||
|
||||
"github.com/tendermint/tendermint/binary"
|
||||
. "github.com/tendermint/tendermint/common"
|
||||
"github.com/tendermint/tendermint/db"
|
||||
"github.com/tendermint/tendermint2/binary"
|
||||
. "github.com/tendermint/tendermint2/common"
|
||||
"github.com/tendermint/tendermint2/db"
|
||||
|
||||
"runtime"
|
||||
"testing"
|
||||
|
@ -5,9 +5,9 @@ import (
|
||||
"container/list"
|
||||
"sync"
|
||||
|
||||
"github.com/tendermint/tendermint/binary"
|
||||
. "github.com/tendermint/tendermint/common"
|
||||
dbm "github.com/tendermint/tendermint/db"
|
||||
"github.com/tendermint/tendermint2/binary"
|
||||
. "github.com/tendermint/tendermint2/common"
|
||||
dbm "github.com/tendermint/tendermint2/db"
|
||||
)
|
||||
|
||||
/*
|
||||
|
@ -28,7 +28,7 @@ import (
|
||||
"bytes"
|
||||
"crypto/sha256"
|
||||
|
||||
"github.com/tendermint/tendermint/binary"
|
||||
"github.com/tendermint/tendermint2/binary"
|
||||
)
|
||||
|
||||
func HashFromTwoHashes(left []byte, right []byte) []byte {
|
||||
|
@ -1,7 +1,7 @@
|
||||
package merkle
|
||||
|
||||
import (
|
||||
. "github.com/tendermint/tendermint/common"
|
||||
. "github.com/tendermint/tendermint2/common"
|
||||
|
||||
"bytes"
|
||||
"testing"
|
||||
|
@ -15,7 +15,7 @@ import (
|
||||
"sync/atomic"
|
||||
"time"
|
||||
|
||||
. "github.com/tendermint/tendermint/common"
|
||||
. "github.com/tendermint/tendermint2/common"
|
||||
)
|
||||
|
||||
const (
|
||||
|
@ -12,8 +12,8 @@ import (
|
||||
|
||||
flow "code.google.com/p/mxk/go1/flowcontrol"
|
||||
"github.com/tendermint/log15"
|
||||
"github.com/tendermint/tendermint/binary"
|
||||
. "github.com/tendermint/tendermint/common"
|
||||
"github.com/tendermint/tendermint2/binary"
|
||||
. "github.com/tendermint/tendermint2/common"
|
||||
)
|
||||
|
||||
const (
|
||||
|
@ -6,8 +6,8 @@ import (
|
||||
"strconv"
|
||||
"sync/atomic"
|
||||
|
||||
. "github.com/tendermint/tendermint/common"
|
||||
"github.com/tendermint/tendermint/p2p/upnp"
|
||||
. "github.com/tendermint/tendermint2/common"
|
||||
"github.com/tendermint/tendermint2/p2p/upnp"
|
||||
)
|
||||
|
||||
type Listener interface {
|
||||
|
@ -1,7 +1,7 @@
|
||||
package p2p
|
||||
|
||||
import (
|
||||
"github.com/tendermint/tendermint/logger"
|
||||
"github.com/tendermint/tendermint2/logger"
|
||||
)
|
||||
|
||||
var log = logger.New("module", "p2p")
|
||||
|
@ -6,8 +6,8 @@ import (
|
||||
"net"
|
||||
"sync/atomic"
|
||||
|
||||
"github.com/tendermint/tendermint/binary"
|
||||
. "github.com/tendermint/tendermint/common"
|
||||
"github.com/tendermint/tendermint2/binary"
|
||||
. "github.com/tendermint/tendermint2/common"
|
||||
)
|
||||
|
||||
type Peer struct {
|
||||
|
@ -4,7 +4,7 @@ import (
|
||||
"math/rand"
|
||||
"testing"
|
||||
|
||||
. "github.com/tendermint/tendermint/common"
|
||||
. "github.com/tendermint/tendermint2/common"
|
||||
)
|
||||
|
||||
// Returns an empty dummy peer
|
||||
|
@ -7,8 +7,8 @@ import (
|
||||
"sync/atomic"
|
||||
"time"
|
||||
|
||||
"github.com/tendermint/tendermint/binary"
|
||||
. "github.com/tendermint/tendermint/common"
|
||||
"github.com/tendermint/tendermint2/binary"
|
||||
. "github.com/tendermint/tendermint2/common"
|
||||
)
|
||||
|
||||
var pexErrInvalidMessage = errors.New("Invalid PEX message")
|
||||
|
@ -6,7 +6,7 @@ import (
|
||||
"net"
|
||||
"time"
|
||||
|
||||
. "github.com/tendermint/tendermint/common"
|
||||
. "github.com/tendermint/tendermint2/common"
|
||||
)
|
||||
|
||||
type Reactor interface {
|
||||
|
@ -6,8 +6,8 @@ import (
|
||||
"testing"
|
||||
"time"
|
||||
|
||||
"github.com/tendermint/tendermint/binary"
|
||||
. "github.com/tendermint/tendermint/common"
|
||||
"github.com/tendermint/tendermint2/binary"
|
||||
. "github.com/tendermint/tendermint2/common"
|
||||
)
|
||||
|
||||
type PeerMessage struct {
|
||||
|
@ -1,7 +1,7 @@
|
||||
package upnp
|
||||
|
||||
import (
|
||||
"github.com/tendermint/tendermint/logger"
|
||||
"github.com/tendermint/tendermint2/logger"
|
||||
)
|
||||
|
||||
var log = logger.New("module", "upnp")
|
||||
|
@ -6,7 +6,7 @@ import (
|
||||
"net"
|
||||
"time"
|
||||
|
||||
. "github.com/tendermint/tendermint/common"
|
||||
. "github.com/tendermint/tendermint2/common"
|
||||
)
|
||||
|
||||
type UPNPCapabilities struct {
|
||||
|
@ -1,7 +1,7 @@
|
||||
package core
|
||||
|
||||
import (
|
||||
"github.com/tendermint/tendermint/account"
|
||||
"github.com/tendermint/tendermint2/account"
|
||||
)
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
|
@ -2,8 +2,8 @@ package core
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
. "github.com/tendermint/tendermint/common"
|
||||
"github.com/tendermint/tendermint/types"
|
||||
. "github.com/tendermint/tendermint2/common"
|
||||
"github.com/tendermint/tendermint2/types"
|
||||
)
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
|
@ -2,9 +2,9 @@ package core
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
. "github.com/tendermint/tendermint/common"
|
||||
"github.com/tendermint/tendermint/state"
|
||||
"github.com/tendermint/tendermint/types"
|
||||
. "github.com/tendermint/tendermint2/common"
|
||||
"github.com/tendermint/tendermint2/state"
|
||||
"github.com/tendermint/tendermint2/types"
|
||||
)
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
|
@ -1,10 +1,10 @@
|
||||
package core
|
||||
|
||||
import (
|
||||
"github.com/tendermint/tendermint/config"
|
||||
dbm "github.com/tendermint/tendermint/db"
|
||||
sm "github.com/tendermint/tendermint/state"
|
||||
"github.com/tendermint/tendermint/types"
|
||||
"github.com/tendermint/tendermint2/config"
|
||||
dbm "github.com/tendermint/tendermint2/db"
|
||||
sm "github.com/tendermint/tendermint2/state"
|
||||
"github.com/tendermint/tendermint2/types"
|
||||
)
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
|
@ -1,10 +1,10 @@
|
||||
package core
|
||||
|
||||
import (
|
||||
bc "github.com/tendermint/tendermint/blockchain"
|
||||
"github.com/tendermint/tendermint/consensus"
|
||||
mempl "github.com/tendermint/tendermint/mempool"
|
||||
"github.com/tendermint/tendermint/p2p"
|
||||
bc "github.com/tendermint/tendermint2/blockchain"
|
||||
"github.com/tendermint/tendermint2/consensus"
|
||||
mempl "github.com/tendermint/tendermint2/mempool"
|
||||
"github.com/tendermint/tendermint2/p2p"
|
||||
)
|
||||
|
||||
var blockStore *bc.BlockStore
|
||||
|
@ -1,9 +1,9 @@
|
||||
package core
|
||||
|
||||
import (
|
||||
"github.com/tendermint/tendermint/account"
|
||||
sm "github.com/tendermint/tendermint/state"
|
||||
"github.com/tendermint/tendermint/types"
|
||||
"github.com/tendermint/tendermint2/account"
|
||||
sm "github.com/tendermint/tendermint2/state"
|
||||
"github.com/tendermint/tendermint2/types"
|
||||
)
|
||||
|
||||
type ResponseGenPrivAccount struct {
|
||||
|
@ -2,8 +2,8 @@ package core
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"github.com/tendermint/tendermint/account"
|
||||
"github.com/tendermint/tendermint/types"
|
||||
"github.com/tendermint/tendermint2/account"
|
||||
"github.com/tendermint/tendermint2/types"
|
||||
)
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
|
@ -1,7 +1,7 @@
|
||||
package core
|
||||
|
||||
import (
|
||||
sm "github.com/tendermint/tendermint/state"
|
||||
sm "github.com/tendermint/tendermint2/state"
|
||||
)
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
|
@ -7,8 +7,8 @@ TODO: support Call && GetStorage.
|
||||
import (
|
||||
"encoding/json"
|
||||
"fmt"
|
||||
"github.com/tendermint/tendermint/binary"
|
||||
"github.com/tendermint/tendermint/rpc/core"
|
||||
"github.com/tendermint/tendermint2/binary"
|
||||
"github.com/tendermint/tendermint2/rpc/core"
|
||||
"io/ioutil"
|
||||
"net/http"
|
||||
"reflect"
|
||||
|
@ -6,7 +6,7 @@ import (
|
||||
"regexp"
|
||||
"strconv"
|
||||
|
||||
. "github.com/tendermint/tendermint/common"
|
||||
. "github.com/tendermint/tendermint2/common"
|
||||
)
|
||||
|
||||
var (
|
||||
|
@ -8,10 +8,10 @@ import (
|
||||
"runtime/debug"
|
||||
"time"
|
||||
|
||||
"github.com/tendermint/tendermint/alert"
|
||||
"github.com/tendermint/tendermint/binary"
|
||||
. "github.com/tendermint/tendermint/common"
|
||||
"github.com/tendermint/tendermint/config"
|
||||
"github.com/tendermint/tendermint2/alert"
|
||||
"github.com/tendermint/tendermint2/binary"
|
||||
. "github.com/tendermint/tendermint2/common"
|
||||
"github.com/tendermint/tendermint2/config"
|
||||
)
|
||||
|
||||
func StartHTTPServer() {
|
||||
|
@ -5,11 +5,11 @@ import (
|
||||
"encoding/hex"
|
||||
"encoding/json"
|
||||
"fmt"
|
||||
"github.com/tendermint/tendermint/binary"
|
||||
"github.com/tendermint/tendermint/config"
|
||||
"github.com/tendermint/tendermint/merkle"
|
||||
"github.com/tendermint/tendermint/rpc/core"
|
||||
"github.com/tendermint/tendermint/types"
|
||||
"github.com/tendermint/tendermint2/binary"
|
||||
"github.com/tendermint/tendermint2/config"
|
||||
"github.com/tendermint/tendermint2/merkle"
|
||||
"github.com/tendermint/tendermint2/rpc/core"
|
||||
"github.com/tendermint/tendermint2/types"
|
||||
"io/ioutil"
|
||||
"net/http"
|
||||
"net/url"
|
||||
|
@ -5,12 +5,12 @@ import (
|
||||
"encoding/hex"
|
||||
"encoding/json"
|
||||
"fmt"
|
||||
"github.com/tendermint/tendermint/binary"
|
||||
. "github.com/tendermint/tendermint/common"
|
||||
"github.com/tendermint/tendermint/config"
|
||||
"github.com/tendermint/tendermint/rpc"
|
||||
"github.com/tendermint/tendermint/rpc/core"
|
||||
"github.com/tendermint/tendermint/types"
|
||||
"github.com/tendermint/tendermint2/binary"
|
||||
. "github.com/tendermint/tendermint2/common"
|
||||
"github.com/tendermint/tendermint2/config"
|
||||
"github.com/tendermint/tendermint2/rpc"
|
||||
"github.com/tendermint/tendermint2/rpc/core"
|
||||
"github.com/tendermint/tendermint2/types"
|
||||
"io/ioutil"
|
||||
"net/http"
|
||||
"net/url"
|
||||
|
@ -4,15 +4,15 @@ import (
|
||||
"bytes"
|
||||
"encoding/hex"
|
||||
"encoding/json"
|
||||
"github.com/tendermint/tendermint/account"
|
||||
"github.com/tendermint/tendermint/binary"
|
||||
"github.com/tendermint/tendermint/config"
|
||||
"github.com/tendermint/tendermint/daemon"
|
||||
"github.com/tendermint/tendermint/logger"
|
||||
"github.com/tendermint/tendermint/p2p"
|
||||
"github.com/tendermint/tendermint/rpc"
|
||||
"github.com/tendermint/tendermint/rpc/core"
|
||||
"github.com/tendermint/tendermint/types"
|
||||
"github.com/tendermint/tendermint2/account"
|
||||
"github.com/tendermint/tendermint2/binary"
|
||||
"github.com/tendermint/tendermint2/config"
|
||||
"github.com/tendermint/tendermint2/daemon"
|
||||
"github.com/tendermint/tendermint2/logger"
|
||||
"github.com/tendermint/tendermint2/p2p"
|
||||
"github.com/tendermint/tendermint2/rpc"
|
||||
"github.com/tendermint/tendermint2/rpc/core"
|
||||
"github.com/tendermint/tendermint2/types"
|
||||
"io/ioutil"
|
||||
"net/http"
|
||||
"net/url"
|
||||
|
@ -4,11 +4,11 @@ import (
|
||||
"bytes"
|
||||
"sort"
|
||||
|
||||
ac "github.com/tendermint/tendermint/account"
|
||||
"github.com/tendermint/tendermint/binary"
|
||||
. "github.com/tendermint/tendermint/common"
|
||||
dbm "github.com/tendermint/tendermint/db"
|
||||
"github.com/tendermint/tendermint/merkle"
|
||||
ac "github.com/tendermint/tendermint2/account"
|
||||
"github.com/tendermint/tendermint2/binary"
|
||||
. "github.com/tendermint/tendermint2/common"
|
||||
dbm "github.com/tendermint/tendermint2/db"
|
||||
"github.com/tendermint/tendermint2/merkle"
|
||||
)
|
||||
|
||||
func makeStorage(db dbm.DB, root []byte) merkle.Tree {
|
||||
|
@ -1,9 +1,9 @@
|
||||
package state
|
||||
|
||||
import (
|
||||
ac "github.com/tendermint/tendermint/account"
|
||||
. "github.com/tendermint/tendermint/common"
|
||||
"github.com/tendermint/tendermint/vm"
|
||||
ac "github.com/tendermint/tendermint2/account"
|
||||
. "github.com/tendermint/tendermint2/common"
|
||||
"github.com/tendermint/tendermint2/vm"
|
||||
)
|
||||
|
||||
type AccountGetter interface {
|
||||
|
@ -4,10 +4,10 @@ import (
|
||||
"bytes"
|
||||
"errors"
|
||||
|
||||
"github.com/tendermint/tendermint/account"
|
||||
. "github.com/tendermint/tendermint/common"
|
||||
"github.com/tendermint/tendermint/types"
|
||||
"github.com/tendermint/tendermint/vm"
|
||||
"github.com/tendermint/tendermint2/account"
|
||||
. "github.com/tendermint/tendermint2/common"
|
||||
"github.com/tendermint/tendermint2/types"
|
||||
"github.com/tendermint/tendermint2/vm"
|
||||
)
|
||||
|
||||
// NOTE: If an error occurs during block execution, state will be left
|
||||
|
@ -4,12 +4,12 @@ import (
|
||||
"io/ioutil"
|
||||
"time"
|
||||
|
||||
"github.com/tendermint/tendermint/account"
|
||||
"github.com/tendermint/tendermint/binary"
|
||||
. "github.com/tendermint/tendermint/common"
|
||||
dbm "github.com/tendermint/tendermint/db"
|
||||
"github.com/tendermint/tendermint/merkle"
|
||||
"github.com/tendermint/tendermint/types"
|
||||
"github.com/tendermint/tendermint2/account"
|
||||
"github.com/tendermint/tendermint2/binary"
|
||||
. "github.com/tendermint/tendermint2/common"
|
||||
dbm "github.com/tendermint/tendermint2/db"
|
||||
"github.com/tendermint/tendermint2/merkle"
|
||||
"github.com/tendermint/tendermint2/types"
|
||||
)
|
||||
|
||||
type GenesisAccount struct {
|
||||
|
@ -1,7 +1,7 @@
|
||||
package state
|
||||
|
||||
import (
|
||||
"github.com/tendermint/tendermint/logger"
|
||||
"github.com/tendermint/tendermint2/logger"
|
||||
)
|
||||
|
||||
var log = logger.New("module", "state")
|
||||
|
@ -9,12 +9,12 @@ import (
|
||||
"math"
|
||||
"sync"
|
||||
|
||||
"github.com/tendermint/tendermint/account"
|
||||
"github.com/tendermint/tendermint/binary"
|
||||
. "github.com/tendermint/tendermint/common"
|
||||
"github.com/tendermint/tendermint/config"
|
||||
. "github.com/tendermint/tendermint/consensus/types"
|
||||
"github.com/tendermint/tendermint/types"
|
||||
"github.com/tendermint/tendermint2/account"
|
||||
"github.com/tendermint/tendermint2/binary"
|
||||
. "github.com/tendermint/tendermint2/common"
|
||||
"github.com/tendermint/tendermint2/config"
|
||||
. "github.com/tendermint/tendermint2/consensus/types"
|
||||
"github.com/tendermint/tendermint2/types"
|
||||
|
||||
"github.com/tendermint/ed25519"
|
||||
)
|
||||
|
@ -5,11 +5,11 @@ import (
|
||||
"fmt"
|
||||
"time"
|
||||
|
||||
"github.com/tendermint/tendermint/account"
|
||||
"github.com/tendermint/tendermint/binary"
|
||||
dbm "github.com/tendermint/tendermint/db"
|
||||
"github.com/tendermint/tendermint/merkle"
|
||||
"github.com/tendermint/tendermint/types"
|
||||
"github.com/tendermint/tendermint2/account"
|
||||
"github.com/tendermint/tendermint2/binary"
|
||||
dbm "github.com/tendermint/tendermint2/db"
|
||||
"github.com/tendermint/tendermint2/merkle"
|
||||
"github.com/tendermint/tendermint2/types"
|
||||
)
|
||||
|
||||
var (
|
||||
|
@ -1,9 +1,9 @@
|
||||
package state
|
||||
|
||||
import (
|
||||
"github.com/tendermint/tendermint/account"
|
||||
"github.com/tendermint/tendermint/config"
|
||||
"github.com/tendermint/tendermint/types"
|
||||
"github.com/tendermint/tendermint2/account"
|
||||
"github.com/tendermint/tendermint2/config"
|
||||
"github.com/tendermint/tendermint2/types"
|
||||
|
||||
"bytes"
|
||||
"testing"
|
||||
|
@ -4,10 +4,10 @@ import (
|
||||
"bytes"
|
||||
"sort"
|
||||
|
||||
"github.com/tendermint/tendermint/account"
|
||||
. "github.com/tendermint/tendermint/common"
|
||||
dbm "github.com/tendermint/tendermint/db"
|
||||
"github.com/tendermint/tendermint/types"
|
||||
"github.com/tendermint/tendermint2/account"
|
||||
. "github.com/tendermint/tendermint2/common"
|
||||
dbm "github.com/tendermint/tendermint2/db"
|
||||
"github.com/tendermint/tendermint2/types"
|
||||
|
||||
"io/ioutil"
|
||||
"os"
|
||||
|
@ -1,10 +1,10 @@
|
||||
package state
|
||||
|
||||
import (
|
||||
ac "github.com/tendermint/tendermint/account"
|
||||
. "github.com/tendermint/tendermint/common"
|
||||
"github.com/tendermint/tendermint/vm"
|
||||
"github.com/tendermint/tendermint/vm/sha3"
|
||||
ac "github.com/tendermint/tendermint2/account"
|
||||
. "github.com/tendermint/tendermint2/common"
|
||||
"github.com/tendermint/tendermint2/vm"
|
||||
"github.com/tendermint/tendermint2/vm/sha3"
|
||||
)
|
||||
|
||||
type TxCache struct {
|
||||
|
@ -5,9 +5,9 @@ import (
|
||||
"fmt"
|
||||
"io"
|
||||
|
||||
"github.com/tendermint/tendermint/account"
|
||||
"github.com/tendermint/tendermint/binary"
|
||||
"github.com/tendermint/tendermint/types"
|
||||
"github.com/tendermint/tendermint2/account"
|
||||
"github.com/tendermint/tendermint2/binary"
|
||||
"github.com/tendermint/tendermint2/types"
|
||||
)
|
||||
|
||||
// Persistent (mostly) static data for each Validator
|
||||
|
@ -7,10 +7,10 @@ import (
|
||||
"sort"
|
||||
"strings"
|
||||
|
||||
"github.com/tendermint/tendermint/account"
|
||||
. "github.com/tendermint/tendermint/common"
|
||||
"github.com/tendermint/tendermint/merkle"
|
||||
"github.com/tendermint/tendermint/types"
|
||||
"github.com/tendermint/tendermint2/account"
|
||||
. "github.com/tendermint/tendermint2/common"
|
||||
"github.com/tendermint/tendermint2/merkle"
|
||||
"github.com/tendermint/tendermint2/types"
|
||||
)
|
||||
|
||||
// ValidatorSet represent a set of *Validator at a given height.
|
||||
|
@ -1,8 +1,8 @@
|
||||
package state
|
||||
|
||||
import (
|
||||
"github.com/tendermint/tendermint/account"
|
||||
. "github.com/tendermint/tendermint/common"
|
||||
"github.com/tendermint/tendermint2/account"
|
||||
. "github.com/tendermint/tendermint2/common"
|
||||
|
||||
"bytes"
|
||||
"testing"
|
||||
|
@ -8,11 +8,11 @@ import (
|
||||
"strings"
|
||||
"time"
|
||||
|
||||
"github.com/tendermint/tendermint/account"
|
||||
"github.com/tendermint/tendermint/binary"
|
||||
. "github.com/tendermint/tendermint/common"
|
||||
"github.com/tendermint/tendermint/config"
|
||||
"github.com/tendermint/tendermint/merkle"
|
||||
"github.com/tendermint/tendermint2/account"
|
||||
"github.com/tendermint/tendermint2/binary"
|
||||
. "github.com/tendermint/tendermint2/common"
|
||||
"github.com/tendermint/tendermint2/config"
|
||||
"github.com/tendermint/tendermint2/merkle"
|
||||
)
|
||||
|
||||
type Block struct {
|
||||
|
@ -1,7 +1,7 @@
|
||||
package types
|
||||
|
||||
import (
|
||||
"github.com/tendermint/tendermint/logger"
|
||||
"github.com/tendermint/tendermint2/logger"
|
||||
)
|
||||
|
||||
var log = logger.New("module", "types")
|
||||
|
@ -9,8 +9,8 @@ import (
|
||||
"strings"
|
||||
"sync"
|
||||
|
||||
. "github.com/tendermint/tendermint/common"
|
||||
"github.com/tendermint/tendermint/merkle"
|
||||
. "github.com/tendermint/tendermint2/common"
|
||||
"github.com/tendermint/tendermint2/merkle"
|
||||
)
|
||||
|
||||
const (
|
||||
|
@ -5,7 +5,7 @@ import (
|
||||
"io/ioutil"
|
||||
"testing"
|
||||
|
||||
. "github.com/tendermint/tendermint/common"
|
||||
. "github.com/tendermint/tendermint2/common"
|
||||
)
|
||||
|
||||
func TestBasicPartSet(t *testing.T) {
|
||||
|
@ -4,9 +4,9 @@ import (
|
||||
"errors"
|
||||
"io"
|
||||
|
||||
"github.com/tendermint/tendermint/account"
|
||||
"github.com/tendermint/tendermint/binary"
|
||||
. "github.com/tendermint/tendermint/common"
|
||||
"github.com/tendermint/tendermint2/account"
|
||||
"github.com/tendermint/tendermint2/binary"
|
||||
. "github.com/tendermint/tendermint2/common"
|
||||
)
|
||||
|
||||
var (
|
||||
|
@ -5,9 +5,9 @@ import (
|
||||
"fmt"
|
||||
"io"
|
||||
|
||||
"github.com/tendermint/tendermint/account"
|
||||
"github.com/tendermint/tendermint/binary"
|
||||
. "github.com/tendermint/tendermint/common"
|
||||
"github.com/tendermint/tendermint2/account"
|
||||
"github.com/tendermint/tendermint2/binary"
|
||||
. "github.com/tendermint/tendermint2/common"
|
||||
)
|
||||
|
||||
var (
|
||||
|
@ -1,7 +1,7 @@
|
||||
package vm
|
||||
|
||||
import (
|
||||
"github.com/tendermint/tendermint/logger"
|
||||
"github.com/tendermint/tendermint2/logger"
|
||||
)
|
||||
|
||||
var log = logger.New("module", "vm")
|
||||
|
@ -3,9 +3,9 @@ package vm
|
||||
import (
|
||||
"code.google.com/p/go.crypto/ripemd160"
|
||||
"crypto/sha256"
|
||||
. "github.com/tendermint/tendermint/common"
|
||||
"github.com/tendermint/tendermint/vm/secp256k1"
|
||||
"github.com/tendermint/tendermint/vm/sha3"
|
||||
. "github.com/tendermint/tendermint2/common"
|
||||
"github.com/tendermint/tendermint2/vm/secp256k1"
|
||||
"github.com/tendermint/tendermint2/vm/sha3"
|
||||
)
|
||||
|
||||
var nativeContracts = make(map[Word256]NativeContract)
|
||||
|
@ -2,7 +2,7 @@ package vm
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
. "github.com/tendermint/tendermint/common"
|
||||
. "github.com/tendermint/tendermint2/common"
|
||||
)
|
||||
|
||||
// Not goroutine safe
|
||||
|
@ -1,9 +1,9 @@
|
||||
package vm
|
||||
|
||||
import (
|
||||
. "github.com/tendermint/tendermint/common"
|
||||
. "github.com/tendermint/tendermint/vm"
|
||||
"github.com/tendermint/tendermint/vm/sha3"
|
||||
. "github.com/tendermint/tendermint2/common"
|
||||
. "github.com/tendermint/tendermint2/vm"
|
||||
"github.com/tendermint/tendermint2/vm/sha3"
|
||||
)
|
||||
|
||||
type FakeAppState struct {
|
||||
|
@ -8,8 +8,8 @@ import (
|
||||
"testing"
|
||||
"time"
|
||||
|
||||
. "github.com/tendermint/tendermint/common"
|
||||
. "github.com/tendermint/tendermint/vm"
|
||||
. "github.com/tendermint/tendermint2/common"
|
||||
. "github.com/tendermint/tendermint2/vm"
|
||||
)
|
||||
|
||||
func newAppState() *FakeAppState {
|
||||
|
@ -1,7 +1,7 @@
|
||||
package vm
|
||||
|
||||
import (
|
||||
. "github.com/tendermint/tendermint/common"
|
||||
. "github.com/tendermint/tendermint2/common"
|
||||
)
|
||||
|
||||
const (
|
||||
|
Loading…
x
Reference in New Issue
Block a user