• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
      • Apt
      • Zfc
      • Acre
      • Milawa
      • Smtlink
      • Abnf
      • Vwsim
      • Isar
      • Pfcs
      • Wp-gen
      • Dimacs-reader
      • Legacy-defrstobj
      • Proof-checker-array
      • Soft
      • C
      • Farray
      • Rp-rewriter
      • Riscv
      • Instant-runoff-voting
      • Imp-language
      • Sidekick
      • Leftist-trees
      • Java
      • Taspi
      • Bitcoin
      • 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
      • Aleo
        • Aleobft
          • Correctness
          • Definition
            • Initialization
            • Transitions
            • States
              • Committees
              • System-states
              • Certificates
              • Messages
              • Transactions
              • Proposals
              • 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
        • Aleovm
        • Leo
      • Bigmems
      • Builtins
      • Execloader
      • Solidity
      • Paco
      • Concurrent-programs
      • Bls12-377-curves
    • Debugging
    • Std
    • Community
    • 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.