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

  1. package accounts
  2. import (
  3. . "github.com/tendermint/tendermint/binary"
  4. )
  5. type Account struct {
  6. Name String
  7. PubKey ByteSlice
  8. }
  9. func (self *Account) Verify(msg ByteSlice, sig ByteSlice) bool {
  10. return false
  11. }
  12. type MyAccount struct {
  13. Account
  14. PrivKey ByteSlice
  15. }
  16. func (self *MyAccount) Sign(msg ByteSlice) ByteSlice {
  17. return nil
  18. }