mirror of https://github.com/certusone/aiakos.git
Remove Consensus Hearbeat
This commit is contained in:
parent
4395c53661
commit
bdfc9308de
|
@ -97,21 +97,11 @@
|
||||||
packages = ["btcec"]
|
packages = ["btcec"]
|
||||||
revision = "e5840949ff4fff0c56f9b6a541e22b63581ea9df"
|
revision = "e5840949ff4fff0c56f9b6a541e22b63581ea9df"
|
||||||
|
|
||||||
[[projects]]
|
|
||||||
branch = "master"
|
|
||||||
name = "github.com/tendermint/ed25519"
|
|
||||||
packages = [
|
|
||||||
".",
|
|
||||||
"edwards25519",
|
|
||||||
"extra25519"
|
|
||||||
]
|
|
||||||
revision = "d8387025d2b9d158cf4efb07e7ebf814bcce2057"
|
|
||||||
|
|
||||||
[[projects]]
|
[[projects]]
|
||||||
name = "github.com/tendermint/go-amino"
|
name = "github.com/tendermint/go-amino"
|
||||||
packages = ["."]
|
packages = ["."]
|
||||||
revision = "faa6e731944e2b7b6a46ad202902851e8ce85bee"
|
revision = "dc14acf9ef15f85828bfbc561ed9dd9d2a284885"
|
||||||
version = "v0.12.0"
|
version = "v0.14.1"
|
||||||
|
|
||||||
[[projects]]
|
[[projects]]
|
||||||
name = "github.com/tendermint/tendermint"
|
name = "github.com/tendermint/tendermint"
|
||||||
|
@ -130,22 +120,28 @@
|
||||||
"libs/pubsub",
|
"libs/pubsub",
|
||||||
"libs/pubsub/query",
|
"libs/pubsub/query",
|
||||||
"types",
|
"types",
|
||||||
"types/time"
|
"types/time",
|
||||||
|
"version"
|
||||||
]
|
]
|
||||||
revision = "d419fffe18531317c28c29a292ad7d253f6cafdf"
|
revision = "44b769b1acd0b2aaa8c199b0885bc2811191fb2e"
|
||||||
version = "v0.24.0"
|
version = "v0.27.0-dev1"
|
||||||
|
|
||||||
[[projects]]
|
[[projects]]
|
||||||
branch = "master"
|
|
||||||
name = "golang.org/x/crypto"
|
name = "golang.org/x/crypto"
|
||||||
packages = [
|
packages = [
|
||||||
|
"chacha20poly1305",
|
||||||
|
"ed25519",
|
||||||
|
"ed25519/internal/edwards25519",
|
||||||
|
"internal/chacha20",
|
||||||
|
"internal/subtle",
|
||||||
"pbkdf2",
|
"pbkdf2",
|
||||||
|
"poly1305",
|
||||||
"ripemd160"
|
"ripemd160"
|
||||||
]
|
]
|
||||||
revision = "0c41d7ab0a0ee717d4590a44bcb987dfd9e183eb"
|
revision = "3764759f34a542a3aef74d6b02e35be7ab893bba"
|
||||||
|
source = "https://github.com/tendermint/crypto"
|
||||||
|
|
||||||
[[projects]]
|
[[projects]]
|
||||||
branch = "release-branch.go1.11"
|
|
||||||
name = "golang.org/x/net"
|
name = "golang.org/x/net"
|
||||||
packages = [
|
packages = [
|
||||||
"context",
|
"context",
|
||||||
|
@ -156,7 +152,13 @@
|
||||||
"internal/timeseries",
|
"internal/timeseries",
|
||||||
"trace"
|
"trace"
|
||||||
]
|
]
|
||||||
revision = "c39426892332e1bb5ec0a434a079bf82f5d30c54"
|
revision = "292b43bbf7cb8d35ddf40f8d5100ef3837cced3f"
|
||||||
|
|
||||||
|
[[projects]]
|
||||||
|
branch = "master"
|
||||||
|
name = "golang.org/x/sys"
|
||||||
|
packages = ["cpu"]
|
||||||
|
revision = "4ed8d59d0b35e1e29334a206d1b3f38b1e5dfb31"
|
||||||
|
|
||||||
[[projects]]
|
[[projects]]
|
||||||
name = "golang.org/x/text"
|
name = "golang.org/x/text"
|
||||||
|
@ -220,6 +222,6 @@
|
||||||
[solve-meta]
|
[solve-meta]
|
||||||
analyzer-name = "dep"
|
analyzer-name = "dep"
|
||||||
analyzer-version = 1
|
analyzer-version = 1
|
||||||
inputs-digest = "67414e714c2545c1a8679288655315fa603e148f48459c727d031bbf164c4d4e"
|
inputs-digest = "51fee76b7596b9a521095252ebf593e08b2b4c3e5584d696d79d290d2dda05d2"
|
||||||
solver-name = "gps-cdcl"
|
solver-name = "gps-cdcl"
|
||||||
solver-version = 1
|
solver-version = 1
|
||||||
|
|
|
@ -26,11 +26,12 @@
|
||||||
|
|
||||||
[[constraint]]
|
[[constraint]]
|
||||||
name = "github.com/tendermint/tendermint"
|
name = "github.com/tendermint/tendermint"
|
||||||
version = "^v0.24.0"
|
version = "^v0.27.0-dev1"
|
||||||
|
|
||||||
[[override]]
|
[[override]]
|
||||||
name = "golang.org/x/net"
|
name = "golang.org/x/crypto"
|
||||||
branch = "release-branch.go1.11"
|
source = "https://github.com/tendermint/crypto"
|
||||||
|
revision = "3764759f34a542a3aef74d6b02e35be7ab893bba"
|
||||||
|
|
||||||
[[constraint]]
|
[[constraint]]
|
||||||
name = "github.com/certusone/yubihsm-go"
|
name = "github.com/certusone/yubihsm-go"
|
||||||
|
|
13
hsm.go
13
hsm.go
|
@ -135,19 +135,6 @@ func (a *AiakosPV) SignProposal(chainID string, proposal *types.Proposal) error
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
// SignHeartbeat signs a canonical representation of the heartbeat, along with the chainID.
|
|
||||||
// Implements PrivValidator.
|
|
||||||
func (a *AiakosPV) SignHeartbeat(chainID string, heartbeat *types.Heartbeat) error {
|
|
||||||
signature, err := a.signBytes(heartbeat.SignBytes(chainID))
|
|
||||||
if err != nil {
|
|
||||||
return err
|
|
||||||
}
|
|
||||||
|
|
||||||
heartbeat.Signature = signature
|
|
||||||
|
|
||||||
return nil
|
|
||||||
}
|
|
||||||
|
|
||||||
// ImportKey imports a Eddsa private key to the specified key slot on the HSM.
|
// ImportKey imports a Eddsa private key to the specified key slot on the HSM.
|
||||||
// This fails if the key slot already contains a key.
|
// This fails if the key slot already contains a key.
|
||||||
// This should be used for testing purposes only. Wrap and import keys in production.
|
// This should be used for testing purposes only. Wrap and import keys in production.
|
||||||
|
|
Loading…
Reference in New Issue