Skip to content

autocombinerewards

Pubfred edited this page Sep 19, 2019 · 1 revision

autocombinerewards enable ( threshold ) ( frequency )

Wallet will automatically monitor for UTXOs with values below the threshold amount, and combine them into transactions sized to the threshold amount, if they reside with the same ZEON address.

A threshold value of "0" will combine all the UTXOs, up to the maximum possible within the maximum transaction size of a block.

A frequency value of "0" will run the combine once, on the next available block, and once again on each wallet startup.

When autocombinerewards runs it will create a transaction, and therefore will be subject to transaction fees. Transactions will be limited to a full combine of the threshold amount unless the transaction fees are zero.

Arguments:

  1. enable (boolean, required) Enable auto combine (true) or disable (false).
  2. threshold (numeric, optional) (required for enable) target total ZEON to combine into one UTXO.
  3. frequency (numeric, optional) Frequency (in blocks) for autocombine to run (default: 15)

Result:

  1. enabled (string) The feature turned "on" or "off".
  2. threshold (numeric) If enabled on, returns autocombine threshold.
  3. frequency (variable) If enabled, returns frequency in blocks, or "nextblock" if one time.

Examples:

zeon-cli autocombinerewards true 500 15

Clone this wiki locally