mirror of
https://github.com/logos-storage/logos-storage-nim-validator.git
synced 2026-01-03 05:53:06 +00:00
16 lines
322 B
Nim
16 lines
322 B
Nim
from pkg/mysticeti import CommitteeMember, `==`
|
|
import ../basics
|
|
import ../transaction
|
|
import ../hashing
|
|
import ./blockid
|
|
|
|
export mysticeti.CommitteeMember
|
|
export mysticeti.`==`
|
|
|
|
type Block* = ref object
|
|
author*: CommitteeMember
|
|
round*: uint64
|
|
parents*: seq[BlockId]
|
|
transactions*: seq[Transaction]
|
|
hash*: ?Hash
|