mirror of
https://github.com/logos-storage/nim-mysticeti.git
synced 2026-01-04 06:33:11 +00:00
- refuse proposals with unknown parent blocks - store signed blocks in slots - allow retrieval of signed blocks - make indirect decision rule test more similar to scenario from the paper
56 lines
1.1 KiB
Nim
56 lines
1.1 KiB
Nim
import ./mysticeti/validator
|
|
|
|
export validator.Validator
|
|
export validator.SlotStatus
|
|
export validator.new
|
|
export validator.identifier
|
|
export validator.membership
|
|
export validator.round
|
|
export validator.nextRound
|
|
export validator.propose
|
|
export validator.check
|
|
export validator.receive
|
|
export validator.getBlock
|
|
export validator.status
|
|
export validator.committed
|
|
export validator.BlockCheck
|
|
export validator.BlockVerdict
|
|
export validator.verdict
|
|
export validator.reason
|
|
export validator.missing
|
|
export validator.blck
|
|
|
|
import ./mysticeti/committee
|
|
|
|
export committee.Committee
|
|
export committee.Stake
|
|
export committee.new
|
|
export committee.CommitteeMember
|
|
export committee.`==`
|
|
export committee.`$`
|
|
|
|
import ./mysticeti/blocks
|
|
|
|
export blocks.Transaction
|
|
export blocks.Block
|
|
export blocks.BlockId
|
|
export blocks.author
|
|
export blocks.round
|
|
export blocks.parents
|
|
export blocks.id
|
|
export blocks.SignedBlock
|
|
export blocks.blck
|
|
export blocks.signer
|
|
|
|
import ./mysticeti/signing
|
|
|
|
export signing.Identity
|
|
export signing.Identifier
|
|
export signing.init
|
|
export signing.identifier
|
|
export signing.`$`
|
|
|
|
import ./mysticeti/hashing
|
|
|
|
export hashing.`$`
|