pkg/block: move from types/

This commit is contained in:
Aleksandr Bezobchuk
2021-08-06 18:01:11 -04:00
parent e922016121
commit e5ffe132ae
43 changed files with 44 additions and 43 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
package types
package block
import (
"bytes"
@@ -1,4 +1,4 @@
package types
package block
import (
"bytes"
@@ -1,4 +1,4 @@
package types
package block
import (
"testing"
@@ -1,4 +1,4 @@
package types
package block
import (
// it is ok to use math/rand here: we do not need a cryptographically secure random
@@ -1,4 +1,4 @@
package types
package block
import (
"time"
@@ -1,4 +1,4 @@
package types
package block
import (
"reflect"
@@ -1,4 +1,4 @@
package types
package block
import (
gogotypes "github.com/gogo/protobuf/types"
+1 -1
View File
@@ -1,4 +1,4 @@
package types
package block
import "fmt"
@@ -1,4 +1,4 @@
package types
package block
import (
"context"
@@ -1,4 +1,4 @@
package types
package block
import (
"context"
+1 -1
View File
@@ -1,4 +1,4 @@
package types
package block
import (
"fmt"
@@ -1,4 +1,4 @@
package types
package block
import (
"fmt"
+1 -1
View File
@@ -1,4 +1,4 @@
package types
package block
import (
"bytes"
@@ -1,4 +1,4 @@
package types
package block
import (
"context"
+1 -1
View File
@@ -1,4 +1,4 @@
package types
package block
import (
"bytes"
@@ -1,4 +1,4 @@
package types
package block
import (
"io/ioutil"
+1 -1
View File
@@ -1,4 +1,4 @@
package types
package block
import (
"bytes"
@@ -1,4 +1,4 @@
package types
package block
import (
"math"
+1 -1
View File
@@ -1,4 +1,4 @@
package types
package block
import (
"errors"
@@ -1,4 +1,4 @@
package types
package block
import (
"bytes"
+1 -1
View File
@@ -1,4 +1,4 @@
package types
package block
import (
"bytes"
@@ -1,4 +1,4 @@
package types
package block
import (
"io/ioutil"
@@ -1,4 +1,4 @@
package types
package block
import (
"bytes"
+1 -1
View File
@@ -1,4 +1,4 @@
package types
package block
import (
"errors"
@@ -1,4 +1,4 @@
package types
package block
import (
"context"
+1 -1
View File
@@ -1,4 +1,4 @@
package types
package block
import (
abci "github.com/tendermint/tendermint/abci/types"
@@ -1,4 +1,4 @@
package types
package block
import (
"testing"
+1 -1
View File
@@ -1,4 +1,4 @@
package types
package block
import (
"github.com/tendermint/tendermint/crypto/ed25519"
@@ -1,4 +1,4 @@
package types
package block
import tmproto "github.com/tendermint/tendermint/proto/tendermint/types"
@@ -1,4 +1,4 @@
package types
package block
import (
"context"
+1 -1
View File
@@ -1,4 +1,4 @@
package types
package block
import (
"bytes"
+1 -1
View File
@@ -1,4 +1,4 @@
package types
package block
import (
"bytes"
+1 -1
View File
@@ -1,4 +1,4 @@
package types
package block
import "reflect"
@@ -1,4 +1,4 @@
package types
package block
import (
"errors"
@@ -1,4 +1,4 @@
package types
package block
import (
"context"
@@ -1,4 +1,4 @@
package types
package block
import (
"bytes"
@@ -1,4 +1,4 @@
package types
package block
import (
"bytes"
@@ -1,4 +1,4 @@
package types
package block
import (
"bytes"
@@ -1,4 +1,4 @@
package types
package block
import (
"context"
@@ -7,6 +7,7 @@ import (
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
"github.com/tendermint/tendermint/crypto"
)
+1 -1
View File
@@ -1,4 +1,4 @@
package types
package block
import (
"bytes"
+1 -1
View File
@@ -1,4 +1,4 @@
package types
package block
import (
"bytes"
@@ -1,4 +1,4 @@
package types
package block
import (
"bytes"
@@ -1,4 +1,4 @@
package types
package block
import (
"context"