You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

23 lines
339 B

package accounts
import (
. "github.com/tendermint/tendermint/binary"
)
type Account struct {
Name String
PubKey ByteSlice
}
func (self *Account) Verify(msg ByteSlice, sig ByteSlice) bool {
return false
}
type MyAccount struct {
Account
PrivKey ByteSlice
}
func (self *MyAccount) Sign(msg ByteSlice) ByteSlice {
return nil
}