Constructor macro for honsed block-headerp structures.
Syntax:
(make-honsed-block-header [:parent-hash <parent-hash>] [:ommers-hash <ommers-hash>] [:beneficiary <beneficiary>] [:state-root <state-root>] [:transactions-root <transactions-root>] [:receipts-root <receipts-root>] [:logs-bloom <logs-bloom>] [:difficulty <difficulty>] [:number <number>] [:gas-limit <gas-limit>] [:gas-used <gas-used>] [:timestamp <timestamp>] [:extra-data <extra-data>] [:mix-hash <mix-hash>] [:nonce <nonce>])
This is identical to make-block-header, except that we hons the structure we are creating.
This is an ordinary honsing
Macro:
(defmacro make-honsed-block-header (&rest args) (std::make-aggregate 'block-header args '((:parent-hash) (:ommers-hash) (:beneficiary) (:state-root) (:transactions-root) (:receipts-root) (:logs-bloom) (:difficulty) (:number) (:gas-limit) (:gas-used) (:timestamp) (:extra-data) (:mix-hash) (:nonce)) 'make-honsed-block-header t))