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.

44 lines
598 B

package types
import (
"time"
)
type Message struct {
Topic string
Data []byte
Address string
TimeStamp time.Time
}
type Connection struct {
Topic string
Key string
Kind string
Address string
}
type Ballot struct {
Type string
PID string
Nullifier []byte
Vote []byte
Franchise []byte
}
type Envelope struct {
Type string
Nonce uint64
KeyProof []byte
Ballot []byte
Timestamp time.Time
}
type Batch struct {
Type string
Nullifiers []string
URL string
TXID string
Nonce []byte
Signature string
}