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.

30 lines
341 B

  1. package types
  2. import (
  3. "time"
  4. )
  5. type Submission struct {
  6. Type string
  7. Nonce []byte
  8. KeyProof []byte
  9. Package []byte
  10. Timestamp time.Time
  11. }
  12. type Batch struct {
  13. Type string
  14. Nullifiers [][]byte
  15. URL string
  16. TXID string
  17. Nonce []byte
  18. Signature string
  19. }
  20. type Packet struct {
  21. PID int
  22. Nullifier []byte
  23. Vote []byte
  24. Franchise []byte
  25. }