Contains information about electrum & lightwallet_d servers for coins being used in Electrum or Light mode.
Parameter
Type
Required
Default
Description
required_confirmations
integer
–
Confirmations to wait for steps in swap. Defaults to value in the coins file if not set.
requires_notarization
boolean
–
false
For dPoW protected coins, a true value will wait for transactions to be notarised when doing swaps. Overrides value if set in coins file.
mode
object
–
QTUM, UTXO & ZHTLC coins only. A standard ActivationMode object.
zcash_params_path
string
–
ZHTLC coins only. Path to folder containing Zcash parameters. Defaults to standard location as defined in this guide
scan_blocks_per_iteration
integer
–
1000
ZHTLC coins only. Sets the number of scanned blocks per iteration during BuildingWalletDb state.
scan_interval_ms
integer
–
0
ZHTLC coins only. Sets the interval in milliseconds between iterations of BuildingWalletDb state.
tx_history
boolean
–
Enable transaction history scanning. When active, the Komodo DeFi Framework API will collect transaction history data for local storage, and allow use of the my_tx_history (v2) method.
min_addresses_number
integer
–
HD wallets only. Number of addresses to generate. If not specified, addresses will be generated up to path_to_address::address_index.
scan_policy
string
–
scan_if_new_wallet
HD wallets only. Whether or not to scan for new addresses. Select from do_not_scan, scan_if_new_wallet or scan. Note that scan will result in multple requests to the Komodo DeFi API and may take some time to complete.
gap_limit
integer
–
20
HD wallets only. The max number of empty addresses in a row. Transactions sent to an address outside the gap_limit, will not be identified when scanning.
The ActivationParams object defines additional parameters used for activation. These params may vary depending on the coin type.
Parameter
Type
Required
Default
Description
required_confirmations
integer
–
Confirmations to wait for steps in swap. Defaults to value in the coins file if not set.
requires_notarization
boolean
–
false
For dPoW protected coins, a true value will wait for transactions to be notarised when doing swaps. Overrides value if set in coins file.
mode
object
–
QTUM, UTXO & ZHTLC coins only. A standard ActivationMode object.
zcash_params_path
string
–
ZHTLC coins only. Path to folder containing Zcash parameters. Defaults to standard location as defined in this guide
scan_blocks_per_iteration
integer
–
1000
ZHTLC coins only. Sets the number of scanned blocks per iteration during BuildingWalletDb state.
scan_interval_ms
integer
–
0
ZHTLC coins only. Sets the interval in milliseconds between iterations of BuildingWalletDb state.
tx_history
boolean
–
Enable transaction history scanning. When active, the Komodo DeFi Framework API will collect transaction history data for local storage, and allow use of the my_tx_history (v2) method.
min_addresses_number
integer
–
HD wallets only. Number of addresses to generate. If not specified, addresses will be generated up to path_to_address::address_index.
scan_policy
string
–
scan_if_new_wallet
HD wallets only. Whether or not to scan for new addresses. Select from do_not_scan, scan_if_new_wallet or scan. Note that scan will result in multple requests to the Komodo DeFi API and may take some time to complete.
gap_limit
integer
–
20
HD wallets only. The max number of empty addresses in a row. Transactions sent to an address outside the gap_limit, will not be identified when scanning.
The UtxoMergeParams object defines how often and at which thresholds to merge UTXOs. This is useful for wallets which have been used for a long time, and have many small UTXOs from mining activity.
Parameter
Type
Required
Description
merge_at
integer
✓
Mamimum UTXO count before merge loop is initiated.
check_every
integer
✓
How frequently (in blocks) the wallet UTXO count is evaluated.
max_merge_at_once
integer
✓
The maximum nouber of UTXOs to inlude as inputs for a merge transaction. Note that more input UTXOs means a larger transaction and greater fees, and that each blockchain has a limit to the maximum size of a transaction.