- /**
- * Outputs below a certain value will not be added to on-chain transactions. The dust value is
- * required to always be higher than this value so this only applies to HTLC outputs (and
- * potentially to-self outputs before any payments have been made).
- * Thus, HTLCs below this amount plus HTLC transaction fees are not enforceable on-chain.
- * This setting allows you to set a minimum dust limit for their commitment transactions,
- * reflecting the reality that tiny outputs are not considered standard transactions and will
- * not propagate through the Bitcoin network.
- *
- * Default value: 546, the current dust limit on the Bitcoin network.
- */
- public long get_min_dust_limit_satoshis() {
- long ret = bindings.ChannelHandshakeLimits_get_min_dust_limit_satoshis(this.ptr);
- return ret;
- }
-
- /**
- * Outputs below a certain value will not be added to on-chain transactions. The dust value is
- * required to always be higher than this value so this only applies to HTLC outputs (and
- * potentially to-self outputs before any payments have been made).
- * Thus, HTLCs below this amount plus HTLC transaction fees are not enforceable on-chain.
- * This setting allows you to set a minimum dust limit for their commitment transactions,
- * reflecting the reality that tiny outputs are not considered standard transactions and will
- * not propagate through the Bitcoin network.
- *
- * Default value: 546, the current dust limit on the Bitcoin network.
- */
- public void set_min_dust_limit_satoshis(long val) {
- bindings.ChannelHandshakeLimits_set_min_dust_limit_satoshis(this.ptr, val);
- }
-
- /**
- * Maximum allowed threshold above which outputs will not be generated in their commitment
- * transactions.
- * HTLCs below this amount plus HTLC transaction fees are not enforceable on-chain.
- *
- * Default value: u64::max_value.
- */
- public long get_max_dust_limit_satoshis() {
- long ret = bindings.ChannelHandshakeLimits_get_max_dust_limit_satoshis(this.ptr);
- return ret;
- }
-
- /**
- * Maximum allowed threshold above which outputs will not be generated in their commitment
- * transactions.
- * HTLCs below this amount plus HTLC transaction fees are not enforceable on-chain.
- *
- * Default value: u64::max_value.
- */
- public void set_max_dust_limit_satoshis(long val) {
- bindings.ChannelHandshakeLimits_set_max_dust_limit_satoshis(this.ptr, val);
- }
-