Modifying constructor for certificate structures.
(change-certificate x [:author <author>] [:round <round>] [:transactions <transactions>] [:previous <previous>] [:endorsers <endorsers>])
This is an often useful alternative to make-certificate.
We construct a new certificate structure that is a copy of
This is an ordinary
Macro:
(defmacro change-certificate (x &rest args) (std::change-aggregate 'certificate x args '((:author . certificate->author) (:round . certificate->round) (:transactions . certificate->transactions) (:previous . certificate->previous) (:endorsers . certificate->endorsers)) 'change-certificate 'nil))