Add validate_domain option to ElectrumConfig

This commit is contained in:
Steve Myers
2023-01-03 09:47:23 -06:00
committed by thunderbiscuit
parent cdde26a8ea
commit f399b799e4
6 changed files with 13 additions and 6 deletions

View File

@@ -120,6 +120,7 @@ data class SledDbConfiguration(
* @property retry Request retry count.
* @property timeout Request timeout (seconds).
* @property stopGap Stop searching addresses for transactions after finding an unused gap of this length.
* @property validateDomain Validate the domain when using SSL.
*
* @sample org.bitcoindevkit.electrumBlockchainConfigSample
*/
@@ -128,7 +129,8 @@ data class ElectrumConfig(
var socks5: String?,
var retry: UByte,
var timeout: UByte?,
var stopGap: ULong
var stopGap: ULong,
var validateDomain: Boolean
)
/**