-
Notifications
You must be signed in to change notification settings - Fork 3
autocombinerewards
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:
- enable (boolean, required) Enable auto combine (true) or disable (false).
- threshold (numeric, optional) (required for enable) target total ZEON to combine into one UTXO.
- frequency (numeric, optional) Frequency (in blocks) for autocombine to run (default: 15)
Result:
- enabled (string) The feature turned "on" or "off".
- threshold (numeric) If enabled on, returns autocombine threshold.
- frequency (variable) If enabled, returns frequency in blocks, or "nextblock" if one time.
Examples:
zeon-cli autocombinerewards true 500 15