refactored debora/barak. about to add cli for debora

This commit is contained in:
Jae Kwon
2015-04-15 14:49:21 -07:00
parent e5d34befde
commit 618cd18f8b
7 changed files with 103 additions and 20 deletions

View File

@ -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