A copying macro that lets you create new transactionp structures, based on existing structures.
Syntax:
(change-transaction x [:nonce <nonce>] [:gas-price <gas-price>] [:gas-limit <gas-limit>] [:to <to>] [:value <value>] [:sig-v <sig-v>] [:sig-r <sig-r>] [:sig-s <sig-s>] [:init-or-data <init-or-data>])
This is a sometimes useful alternative to make-transaction.
It constructs a new transactionp structure that is a copy of
This is an ordinary
Macro:
(defmacro change-transaction (x &rest args) (std::change-aggregate 'transaction x args '((:nonce . transaction->nonce) (:gas-price . transaction->gas-price) (:gas-limit . transaction->gas-limit) (:to . transaction->to) (:value . transaction->value) (:sig-v . transaction->sig-v) (:sig-r . transaction->sig-r) (:sig-s . transaction->sig-s) (:init-or-data . transaction->init-or-data)) 'change-transaction 'nil))