Class RoutingInfo
- Namespace
- NLightning.Bolts.BOLT11.Types
- Assembly
- NLightning.Bolts.dll
Represents routing information for a payment
public sealed class RoutingInfo
- Inheritance
-
RoutingInfo
- Inherited Members
Constructors
RoutingInfo(PubKey, ShortChannelId, int, int, short)
Represents routing information for a payment
public RoutingInfo(PubKey pubKey, ShortChannelId shortChannelId, int feeBaseMsat, int feeProportionalMillionths, short cltvExpiryDelta)
Parameters
pubKey
PubKeyThe public key of the node
shortChannelId
ShortChannelIdThe short channel id of the channel
feeBaseMsat
intThe base fee in millisatoshis
feeProportionalMillionths
intThe proportional fee in millionths
cltvExpiryDelta
shortThe CLTV expiry delta
Properties
CltvExpiryDelta
The CLTV expiry delta
public short CltvExpiryDelta { get; }
Property Value
FeeBaseMsat
The base fee in millisatoshis
public int FeeBaseMsat { get; }
Property Value
FeeProportionalMillionths
The proportional fee in millionths
public int FeeProportionalMillionths { get; }
Property Value
PubKey
The public key of the node
public PubKey PubKey { get; }
Property Value
- PubKey
ShortChannelId
The short channel id of the channel
public ShortChannelId ShortChannelId { get; }