* updated hooks-entry-points-check * added hooks-trivial-cbak * updated hooks-hash-buf-len: nonce => etxn_nonce + ledger_nonce
437 B
437 B
hooks-trivial-cbak
A Hook may implement and export a cbak function.
But the function is optional, and defining it so that it doesn't do anything besides returning a constant value is unnecessary (except for some debugging scenarios) and just increases the hook size. This check warns about such implementations.