mirror of
https://github.com/fluencelabs/tendermint
synced 2025-06-19 08:01:22 +00:00
refactored debora/barak. about to add cli for debora
This commit is contained in:
@ -1,11 +1,9 @@
|
||||
package main
|
||||
|
||||
import acm "github.com/tendermint/tendermint/account"
|
||||
|
||||
type Validator struct {
|
||||
VotingPower uint64
|
||||
PubKey acm.PubKey
|
||||
}
|
||||
import (
|
||||
acm "github.com/tendermint/tendermint/account"
|
||||
. "github.com/tendermint/tendermint/cmd/barak/types"
|
||||
)
|
||||
|
||||
func validate(signBytes []byte, validators []Validator, signatures []acm.Signature) bool {
|
||||
var signedPower uint64
|
||||
|
Reference in New Issue
Block a user