Raw constructor for block$-p structures.
Syntax:
(block$ header transations ommer-headers)
This is the lowest-level constructor for block$-p structures. It simply conses together a structure with the specified fields.
Note: It's generally better to use macros like make-block$ or change-block$ instead. These macros lead to more readable and robust code, because you don't have to remember the order of the fields.
The block$-p structures we create here are just constructed with ordinary cons. If you want to create honsed structures, see honsed-block$ instead.
This is an ordinary constructor function introduced by std::defaggregate.
Function:
(defun block$ (header transations ommer-headers) (declare (xargs :guard (and (block-headerp header) (all-transactionp transations) (all-block-headerp ommer-headers)))) (cons (cons 'header header) (cons (cons 'transations transations) (cons (cons 'ommer-headers ommer-headers) nil))))