• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
      • Apt
      • Zfc
      • Acre
      • Milawa
      • Smtlink
      • Abnf
      • Vwsim
      • Isar
      • Wp-gen
      • Dimacs-reader
      • Pfcs
      • Legacy-defrstobj
      • Proof-checker-array
      • Soft
      • C
      • Farray
      • Rp-rewriter
      • Instant-runoff-voting
      • Imp-language
      • Sidekick
      • Leftist-trees
      • Java
      • Taspi
      • Bitcoin
      • Riscv
      • Des
      • Ethereum
      • X86isa
      • Sha-2
      • Yul
      • Zcash
      • Proof-checker-itp13
      • Regex
      • ACL2-programming-language
      • Json
      • Jfkr
      • Equational
      • Cryptography
      • Poseidon
      • Where-do-i-place-my-book
      • Axe
      • Bigmems
      • Builtins
      • Execloader
      • Aleo
        • Aleobft
          • Aleobft-static
          • Aleobft-stake2
          • Aleobft-dynamic
          • Aleobft-stake
          • Aleobft-proposals
            • Correctness
            • Definition
              • Initialization
              • Transitions
              • States
                • Committees
                • System-states
                • Certificates
                • Transactions
                • Proposals
                • Messages
                • Validator-states
                • Blocks
                  • Blocks-last-round
                  • Blocks-orderedp
                  • Block
                    • Block-fix
                    • Block-equiv
                    • Make-block
                    • Block->transactions
                    • Change-block
                    • Block->round
                    • Blockp
                  • Block-list
                • Addresses
              • Events
              • Reachability
          • Library-extensions
        • Leo
      • Solidity
      • Paco
      • Concurrent-programs
      • Bls12-377-curves
    • Debugging
    • Std
    • Proof-automation
    • Macro-libraries
    • ACL2
    • Interfacing-tools
    • Hardware-verification
    • Software-verification
    • Math
    • Testing-utilities
  • Blocks

Block

Fixtype of blocks.

This is a product type introduced by fty::defprod.

Fields
transactions — transaction-list
round — posp
Additional Requirements

The following invariant is enforced on the fields:

(evenp round)

We model a block as consisting of a list of transactions and a round number. The round number is always even, since blocks are only produced at even rounds.

Subtopics

Block-fix
Fixing function for block structures.
Block-equiv
Basic equivalence relation for block structures.
Make-block
Basic constructor macro for block structures.
Block->transactions
Get the transactions field from a block.
Change-block
Modifying constructor for block structures.
Block->round
Get the round field from a block.
Blockp
Recognizer for block structures.