mirror of
https://github.com/fluencelabs/tendermint
synced 2025-04-24 22:32:15 +00:00
* switch from fork (tendermint/btcd) to orig package (btcsuite/btcd); also
- remove obsolete check in test `size != -1` is always true
- WIP as the serialization still needs to be wrapped
* WIP: wrap signature & privkey, pubkey needs to be wrapped as well
* wrap pubkey too
* use "github.com/ethereum/go-ethereum/crypto/secp256k1" if cgo is
available, else use "github.com/btcsuite/btcd/btcec" and take care of
lower-S when verifying
Annoyingly, had to disable pruning when importing
github.com/ethereum/go-ethereum/ :-/
* update comment
* update comment
* emulate signature_nocgo.go for additional benchmarks:
592bf6a59c/crypto/signature_nocgo.go (L60-L76)
* use our format (r || s) in lower-s form when in the non-cgo case
* remove comment about using the C library directly
* vendor github.com/btcsuite/btcd too
* Add test for the !cgo case
* update changelog pending
Closes #3162 #3163
Refs #1958, #2091, tendermint/btcd#1
123 lines
2.8 KiB
TOML
123 lines
2.8 KiB
TOML
# Gopkg.toml example
|
|
#
|
|
# Refer to https://github.com/golang/dep/blob/master/docs/Gopkg.toml.md
|
|
# for detailed Gopkg.toml documentation.
|
|
#
|
|
# required = ["github.com/user/thing/cmd/thing"]
|
|
# ignored = ["github.com/user/project/pkgX", "bitbucket.org/user/project/pkgA/pkgY"]
|
|
#
|
|
# [[constraint]]
|
|
# name = "github.com/user/project"
|
|
# version = "1.0.0"
|
|
#
|
|
# [[override]]
|
|
# name = "github.com/x/y"
|
|
# version = "2.4.0"
|
|
#
|
|
# [prune]
|
|
# non-go = false
|
|
# go-tests = true
|
|
# unused-packages = true
|
|
#
|
|
###########################################################
|
|
|
|
# Allow only patch releases for serialization libraries
|
|
[[constraint]]
|
|
name = "github.com/tendermint/go-amino"
|
|
version = "~0.14.1"
|
|
|
|
[[constraint]]
|
|
name = "github.com/gogo/protobuf"
|
|
version = "~1.1.1"
|
|
|
|
[[constraint]]
|
|
name = "github.com/golang/protobuf"
|
|
version = "~1.1.0"
|
|
|
|
# Allow only minor releases for other libraries
|
|
[[constraint]]
|
|
name = "github.com/go-kit/kit"
|
|
version = "^0.6.0"
|
|
|
|
[[constraint]]
|
|
name = "github.com/gorilla/websocket"
|
|
version = "^1.2.0"
|
|
|
|
[[constraint]]
|
|
name = "github.com/rs/cors"
|
|
version = "^1.6.0"
|
|
|
|
[[constraint]]
|
|
name = "github.com/pkg/errors"
|
|
version = "^0.8.0"
|
|
|
|
[[constraint]]
|
|
name = "github.com/spf13/cobra"
|
|
version = "^0.0.1"
|
|
|
|
[[constraint]]
|
|
name = "github.com/spf13/viper"
|
|
version = "^1.0.0"
|
|
|
|
[[constraint]]
|
|
name = "github.com/stretchr/testify"
|
|
version = "^1.2.1"
|
|
|
|
[[constraint]]
|
|
name = "google.golang.org/grpc"
|
|
version = "^1.13.0"
|
|
|
|
[[constraint]]
|
|
name = "github.com/fortytw2/leaktest"
|
|
version = "^1.2.0"
|
|
|
|
[[constraint]]
|
|
name = "github.com/prometheus/client_golang"
|
|
version = "^0.9.1"
|
|
|
|
# we use the secp256k1 implementation:
|
|
[[constraint]]
|
|
name = "github.com/ethereum/go-ethereum"
|
|
version = "^v1.8.21"
|
|
|
|
# Prevent dep from pruning build scripts and codegen templates
|
|
# note: this leaves the whole go-ethereum package in vendor
|
|
# can be removed when https://github.com/golang/dep/issues/1847 is resolved
|
|
[[prune.project]]
|
|
name = "github.com/ethereum/go-ethereum"
|
|
unused-packages = false
|
|
|
|
###################################
|
|
## Some repos dont have releases.
|
|
## Pin to revision
|
|
|
|
[[constraint]]
|
|
name = "github.com/btcsuite/btcd"
|
|
revision = "ed77733ec07dfc8a513741138419b8d9d3de9d2d"
|
|
|
|
[[constraint]]
|
|
name = "golang.org/x/crypto"
|
|
revision = "505ab145d0a99da450461ae2c1a9f6cd10d1f447"
|
|
|
|
[[override]]
|
|
name = "github.com/jmhodges/levigo"
|
|
revision = "c42d9e0ca023e2198120196f842701bb4c55d7b9"
|
|
|
|
# last revision used by go-crypto
|
|
[[constraint]]
|
|
name = "github.com/btcsuite/btcutil"
|
|
revision = "d4cc87b860166d00d6b5b9e0d3b3d71d6088d4d4"
|
|
|
|
|
|
[[constraint]]
|
|
name = "github.com/rcrowley/go-metrics"
|
|
revision = "e2704e165165ec55d062f5919b4b29494e9fa790"
|
|
|
|
[[constraint]]
|
|
name = "golang.org/x/net"
|
|
revision = "292b43bbf7cb8d35ddf40f8d5100ef3837cced3f"
|
|
|
|
[prune]
|
|
go-tests = true
|
|
unused-packages = true
|