Package net.osslabz.lnd.dto
Class LnrpcPolicyUpdateRequest
java.lang.Object
net.osslabz.lnd.dto.LnrpcPolicyUpdateRequest
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2023-06-07T12:03:34.958542131Z[Etc/UTC]")
public class LnrpcPolicyUpdateRequest
extends Object
LnrpcPolicyUpdateRequest
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbaseFeeMsat(String baseFeeMsat) chanPoint(LnrpcChannelPoint chanPoint) booleanfeeRatePpm(Long feeRatePpm) The base fee charged regardless of the number of milli-satoshis sent.Get chanPointThe effective fee rate in milli-satoshis.The effective fee rate in micro-satoshis (parts per million).If set, then this update applies to all currently active channels.If set, the maximum HTLC size in milli-satoshis.The minimum HTLC size in milli-satoshis.If true, min_htlc_msat is applied.The required timelock delta for HTLCs forwarded over the channel.inthashCode()maxHtlcMsat(String maxHtlcMsat) minHtlcMsat(String minHtlcMsat) minHtlcMsatSpecified(Boolean minHtlcMsatSpecified) voidsetBaseFeeMsat(String baseFeeMsat) voidsetChanPoint(LnrpcChannelPoint chanPoint) voidsetFeeRate(Double feeRate) voidsetFeeRatePpm(Long feeRatePpm) voidvoidsetMaxHtlcMsat(String maxHtlcMsat) voidsetMinHtlcMsat(String minHtlcMsat) voidsetMinHtlcMsatSpecified(Boolean minHtlcMsatSpecified) voidsetTimeLockDelta(Long timeLockDelta) timeLockDelta(Long timeLockDelta) toString()
-
Field Details
-
SERIALIZED_NAME_GLOBAL
- See Also:
-
SERIALIZED_NAME_CHAN_POINT
- See Also:
-
SERIALIZED_NAME_BASE_FEE_MSAT
- See Also:
-
SERIALIZED_NAME_FEE_RATE
- See Also:
-
SERIALIZED_NAME_FEE_RATE_PPM
- See Also:
-
SERIALIZED_NAME_TIME_LOCK_DELTA
- See Also:
-
SERIALIZED_NAME_MAX_HTLC_MSAT
- See Also:
-
SERIALIZED_NAME_MIN_HTLC_MSAT
- See Also:
-
SERIALIZED_NAME_MIN_HTLC_MSAT_SPECIFIED
- See Also:
-
-
Constructor Details
-
LnrpcPolicyUpdateRequest
public LnrpcPolicyUpdateRequest()
-
-
Method Details
-
global
-
getGlobal
If set, then this update applies to all currently active channels.- Returns:
- global
-
setGlobal
-
chanPoint
-
getChanPoint
Get chanPoint- Returns:
- chanPoint
-
setChanPoint
-
baseFeeMsat
-
getBaseFeeMsat
The base fee charged regardless of the number of milli-satoshis sent.- Returns:
- baseFeeMsat
-
setBaseFeeMsat
-
feeRate
-
getFeeRate
The effective fee rate in milli-satoshis. The precision of this value goes up to 6 decimal places, so 1e-6.- Returns:
- feeRate
-
setFeeRate
-
feeRatePpm
-
getFeeRatePpm
The effective fee rate in micro-satoshis (parts per million).- Returns:
- feeRatePpm
-
setFeeRatePpm
-
timeLockDelta
-
getTimeLockDelta
The required timelock delta for HTLCs forwarded over the channel.- Returns:
- timeLockDelta
-
setTimeLockDelta
-
maxHtlcMsat
-
getMaxHtlcMsat
If set, the maximum HTLC size in milli-satoshis. If unset, the maximum HTLC will be unchanged.- Returns:
- maxHtlcMsat
-
setMaxHtlcMsat
-
minHtlcMsat
-
getMinHtlcMsat
The minimum HTLC size in milli-satoshis. Only applied if min_htlc_msat_specified is true.- Returns:
- minHtlcMsat
-
setMinHtlcMsat
-
minHtlcMsatSpecified
-
getMinHtlcMsatSpecified
If true, min_htlc_msat is applied.- Returns:
- minHtlcMsatSpecified
-
setMinHtlcMsatSpecified
-
equals
-
hashCode
public int hashCode() -
toString
-