Module flags

Module flags 

Source

Constants§

COST_CONDITIONS
This flag controls whether or not we add a flat cost to conditions when processing them in in chik_rs. It is set to activate after hard fork 2.
DONT_VALIDATE_SIGNATURE
By default, run_block_generator() and run_block_generator2() validates the signatures of any AGG_SIG / condition. By passing in this flag, the signatures are not validated (saving / time). This is useful when we’ve already validated a block but we need to / re-run it to compute additions and removals.
MEMPOOL_MODE
A combination of flags suitable for mempool-mode, with stricter checking
NO_UNKNOWN_CONDS
unknown condition codes are disallowed. This is meant for mempool-mode
STRICT_ARGS_COUNT
Conditions will require the exact number of arguments currently supported for those conditions. This is meant for mempool-mode