[C#] Run tests against release library in determinism CI run
[ldk-java] / ts / structs / ProbabilisticScoringFeeParameters.mts
1 import { TxOut } from '../structs/TxOut.mjs';
2 import { TxIn } from '../structs/TxIn.mjs';
3 import { BigEndianScalar } from '../structs/BigEndianScalar.mjs';
4 import { WitnessProgram } from '../structs/WitnessProgram.mjs';
5 import { BlindedFailure } from '../enums/BlindedFailure.mjs';
6 import { Bolt11SemanticError } from '../enums/Bolt11SemanticError.mjs';
7 import { Bolt12SemanticError } from '../enums/Bolt12SemanticError.mjs';
8 import { COption_NoneZ } from '../enums/COption_NoneZ.mjs';
9 import { ChannelMonitorUpdateStatus } from '../enums/ChannelMonitorUpdateStatus.mjs';
10 import { ChannelShutdownState } from '../enums/ChannelShutdownState.mjs';
11 import { ConfirmationTarget } from '../enums/ConfirmationTarget.mjs';
12 import { CreationError } from '../enums/CreationError.mjs';
13 import { Currency } from '../enums/Currency.mjs';
14 import { Direction } from '../enums/Direction.mjs';
15 import { HTLCClaim } from '../enums/HTLCClaim.mjs';
16 import { IOError } from '../enums/IOError.mjs';
17 import { Level } from '../enums/Level.mjs';
18 import { Network } from '../enums/Network.mjs';
19 import { PaymentFailureReason } from '../enums/PaymentFailureReason.mjs';
20 import { Recipient } from '../enums/Recipient.mjs';
21 import { RetryableSendFailure } from '../enums/RetryableSendFailure.mjs';
22 import { Secp256k1Error } from '../enums/Secp256k1Error.mjs';
23 import { ShortChannelIdError } from '../enums/ShortChannelIdError.mjs';
24 import { SiPrefix } from '../enums/SiPrefix.mjs';
25 import { SocketAddressParseError } from '../enums/SocketAddressParseError.mjs';
26 import { UtxoLookupError } from '../enums/UtxoLookupError.mjs';
27 import { Bech32Error } from '../structs/Bech32Error.mjs';
28 import { RefundMaybeWithDerivedMetadataBuilder } from '../structs/RefundMaybeWithDerivedMetadataBuilder.mjs';
29 import { Result_RefundMaybeWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_RefundMaybeWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs';
30 import { Refund } from '../structs/Refund.mjs';
31 import { Result_RefundBolt12SemanticErrorZ } from '../structs/Result_RefundBolt12SemanticErrorZ.mjs';
32 import { Option_u64Z } from '../structs/Option_u64Z.mjs';
33 import { BlindedPath } from '../structs/BlindedPath.mjs';
34 import { Bolt12ParseError } from '../structs/Bolt12ParseError.mjs';
35 import { Result_RefundBolt12ParseErrorZ } from '../structs/Result_RefundBolt12ParseErrorZ.mjs';
36 import { Retry } from '../structs/Retry.mjs';
37 import { DecodeError } from '../structs/DecodeError.mjs';
38 import { Result_RetryDecodeErrorZ } from '../structs/Result_RetryDecodeErrorZ.mjs';
39 import { ShutdownScript } from '../structs/ShutdownScript.mjs';
40 import { APIError } from '../structs/APIError.mjs';
41 import { Result_NoneAPIErrorZ } from '../structs/Result_NoneAPIErrorZ.mjs';
42 import { Option_ThirtyTwoBytesZ } from '../structs/Option_ThirtyTwoBytesZ.mjs';
43 import { Option_CVec_u8ZZ } from '../structs/Option_CVec_u8ZZ.mjs';
44 import { RecipientOnionFields } from '../structs/RecipientOnionFields.mjs';
45 import { Result_RecipientOnionFieldsDecodeErrorZ } from '../structs/Result_RecipientOnionFieldsDecodeErrorZ.mjs';
46 import { TwoTuple_u64CVec_u8ZZ } from '../structs/TwoTuple_u64CVec_u8ZZ.mjs';
47 import { Result_RecipientOnionFieldsNoneZ } from '../structs/Result_RecipientOnionFieldsNoneZ.mjs';
48 import { UnsignedBolt12Invoice } from '../structs/UnsignedBolt12Invoice.mjs';
49 import { Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_UnsignedBolt12InvoiceBolt12SemanticErrorZ.mjs';
50 import { Bolt12Invoice } from '../structs/Bolt12Invoice.mjs';
51 import { Result_Bolt12InvoiceBolt12SemanticErrorZ } from '../structs/Result_Bolt12InvoiceBolt12SemanticErrorZ.mjs';
52 import { Result_SchnorrSignatureNoneZ } from '../structs/Result_SchnorrSignatureNoneZ.mjs';
53 import { Option_CVec_ThirtyTwoBytesZZ } from '../structs/Option_CVec_ThirtyTwoBytesZZ.mjs';
54 import { Amount } from '../structs/Amount.mjs';
55 import { Option_AmountZ } from '../structs/Option_AmountZ.mjs';
56 import { Quantity } from '../structs/Quantity.mjs';
57 import { Option_QuantityZ } from '../structs/Option_QuantityZ.mjs';
58 import { Result_ThirtyTwoBytesNoneZ } from '../structs/Result_ThirtyTwoBytesNoneZ.mjs';
59 import { BlindedPayInfo } from '../structs/BlindedPayInfo.mjs';
60 import { Result_BlindedPayInfoDecodeErrorZ } from '../structs/Result_BlindedPayInfoDecodeErrorZ.mjs';
61 import { DelayedPaymentOutputDescriptor } from '../structs/DelayedPaymentOutputDescriptor.mjs';
62 import { Result_DelayedPaymentOutputDescriptorDecodeErrorZ } from '../structs/Result_DelayedPaymentOutputDescriptorDecodeErrorZ.mjs';
63 import { StaticPaymentOutputDescriptor } from '../structs/StaticPaymentOutputDescriptor.mjs';
64 import { Result_StaticPaymentOutputDescriptorDecodeErrorZ } from '../structs/Result_StaticPaymentOutputDescriptorDecodeErrorZ.mjs';
65 import { OutPoint } from '../structs/OutPoint.mjs';
66 import { SpendableOutputDescriptor } from '../structs/SpendableOutputDescriptor.mjs';
67 import { Result_SpendableOutputDescriptorDecodeErrorZ } from '../structs/Result_SpendableOutputDescriptorDecodeErrorZ.mjs';
68 import { Option_u32Z } from '../structs/Option_u32Z.mjs';
69 import { TwoTuple_CVec_u8Zu64Z } from '../structs/TwoTuple_CVec_u8Zu64Z.mjs';
70 import { Result_C2Tuple_CVec_u8Zu64ZNoneZ } from '../structs/Result_C2Tuple_CVec_u8Zu64ZNoneZ.mjs';
71 import { ChannelDerivationParameters } from '../structs/ChannelDerivationParameters.mjs';
72 import { Result_ChannelDerivationParametersDecodeErrorZ } from '../structs/Result_ChannelDerivationParametersDecodeErrorZ.mjs';
73 import { HTLCDescriptor } from '../structs/HTLCDescriptor.mjs';
74 import { Result_HTLCDescriptorDecodeErrorZ } from '../structs/Result_HTLCDescriptorDecodeErrorZ.mjs';
75 import { Result_NoneNoneZ } from '../structs/Result_NoneNoneZ.mjs';
76 import { Result_PublicKeyNoneZ } from '../structs/Result_PublicKeyNoneZ.mjs';
77 import { Option_BigEndianScalarZ } from '../structs/Option_BigEndianScalarZ.mjs';
78 import { Result_RecoverableSignatureNoneZ } from '../structs/Result_RecoverableSignatureNoneZ.mjs';
79 import { Result_ECDSASignatureNoneZ } from '../structs/Result_ECDSASignatureNoneZ.mjs';
80 import { Result_TransactionNoneZ } from '../structs/Result_TransactionNoneZ.mjs';
81 import { TwoTuple_ECDSASignatureCVec_ECDSASignatureZZ } from '../structs/TwoTuple_ECDSASignatureCVec_ECDSASignatureZZ.mjs';
82 import { Result_C2Tuple_ECDSASignatureCVec_ECDSASignatureZZNoneZ } from '../structs/Result_C2Tuple_ECDSASignatureCVec_ECDSASignatureZZNoneZ.mjs';
83 import { CommitmentTransaction } from '../structs/CommitmentTransaction.mjs';
84 import { HolderCommitmentTransaction } from '../structs/HolderCommitmentTransaction.mjs';
85 import { HTLCOutputInCommitment } from '../structs/HTLCOutputInCommitment.mjs';
86 import { ClosingTransaction } from '../structs/ClosingTransaction.mjs';
87 import { UnsignedChannelAnnouncement } from '../structs/UnsignedChannelAnnouncement.mjs';
88 import { ChannelPublicKeys } from '../structs/ChannelPublicKeys.mjs';
89 import { ChannelTransactionParameters } from '../structs/ChannelTransactionParameters.mjs';
90 import { ChannelSigner, ChannelSignerInterface } from '../structs/ChannelSigner.mjs';
91 import { EcdsaChannelSigner, EcdsaChannelSignerInterface } from '../structs/EcdsaChannelSigner.mjs';
92 import { WriteableEcdsaChannelSigner, WriteableEcdsaChannelSignerInterface } from '../structs/WriteableEcdsaChannelSigner.mjs';
93 import { Result_WriteableEcdsaChannelSignerDecodeErrorZ } from '../structs/Result_WriteableEcdsaChannelSignerDecodeErrorZ.mjs';
94 import { Result_CVec_u8ZNoneZ } from '../structs/Result_CVec_u8ZNoneZ.mjs';
95 import { Result_ShutdownScriptNoneZ } from '../structs/Result_ShutdownScriptNoneZ.mjs';
96 import { Option_u16Z } from '../structs/Option_u16Z.mjs';
97 import { Option_boolZ } from '../structs/Option_boolZ.mjs';
98 import { Result_WitnessNoneZ } from '../structs/Result_WitnessNoneZ.mjs';
99 import { InMemorySigner } from '../structs/InMemorySigner.mjs';
100 import { Result_InMemorySignerDecodeErrorZ } from '../structs/Result_InMemorySignerDecodeErrorZ.mjs';
101 import { ChannelDetails } from '../structs/ChannelDetails.mjs';
102 import { Route } from '../structs/Route.mjs';
103 import { LightningError } from '../structs/LightningError.mjs';
104 import { Result_RouteLightningErrorZ } from '../structs/Result_RouteLightningErrorZ.mjs';
105 import { TwoTuple_BlindedPayInfoBlindedPathZ } from '../structs/TwoTuple_BlindedPayInfoBlindedPathZ.mjs';
106 import { Result_CVec_C2Tuple_BlindedPayInfoBlindedPathZZNoneZ } from '../structs/Result_CVec_C2Tuple_BlindedPayInfoBlindedPathZZNoneZ.mjs';
107 import { OnionMessagePath } from '../structs/OnionMessagePath.mjs';
108 import { Result_OnionMessagePathNoneZ } from '../structs/Result_OnionMessagePathNoneZ.mjs';
109 import { Result_CVec_BlindedPathZNoneZ } from '../structs/Result_CVec_BlindedPathZNoneZ.mjs';
110 import { InFlightHtlcs } from '../structs/InFlightHtlcs.mjs';
111 import { Result_InFlightHtlcsDecodeErrorZ } from '../structs/Result_InFlightHtlcsDecodeErrorZ.mjs';
112 import { RouteHop } from '../structs/RouteHop.mjs';
113 import { Result_RouteHopDecodeErrorZ } from '../structs/Result_RouteHopDecodeErrorZ.mjs';
114 import { BlindedHop } from '../structs/BlindedHop.mjs';
115 import { BlindedTail } from '../structs/BlindedTail.mjs';
116 import { Result_BlindedTailDecodeErrorZ } from '../structs/Result_BlindedTailDecodeErrorZ.mjs';
117 import { Path } from '../structs/Path.mjs';
118 import { Result_RouteDecodeErrorZ } from '../structs/Result_RouteDecodeErrorZ.mjs';
119 import { RouteParameters } from '../structs/RouteParameters.mjs';
120 import { Result_RouteParametersDecodeErrorZ } from '../structs/Result_RouteParametersDecodeErrorZ.mjs';
121 import { PaymentParameters } from '../structs/PaymentParameters.mjs';
122 import { Result_PaymentParametersDecodeErrorZ } from '../structs/Result_PaymentParametersDecodeErrorZ.mjs';
123 import { RouteHint } from '../structs/RouteHint.mjs';
124 import { RouteHintHop } from '../structs/RouteHintHop.mjs';
125 import { Result_RouteHintDecodeErrorZ } from '../structs/Result_RouteHintDecodeErrorZ.mjs';
126 import { Result_RouteHintHopDecodeErrorZ } from '../structs/Result_RouteHintHopDecodeErrorZ.mjs';
127 import { FixedPenaltyScorer } from '../structs/FixedPenaltyScorer.mjs';
128 import { Result_FixedPenaltyScorerDecodeErrorZ } from '../structs/Result_FixedPenaltyScorerDecodeErrorZ.mjs';
129 import { NodeId } from '../structs/NodeId.mjs';
130 import { TwoTuple_u64u64Z } from '../structs/TwoTuple_u64u64Z.mjs';
131 import { Option_C2Tuple_u64u64ZZ } from '../structs/Option_C2Tuple_u64u64ZZ.mjs';
132 import { TwoTuple_Z } from '../structs/TwoTuple_Z.mjs';
133 import { TwoTuple__u1632_u1632Z } from '../structs/TwoTuple__u1632_u1632Z.mjs';
134 import { Option_C2Tuple_ThirtyTwoU16sThirtyTwoU16sZZ } from '../structs/Option_C2Tuple_ThirtyTwoU16sThirtyTwoU16sZZ.mjs';
135 import { Option_f64Z } from '../structs/Option_f64Z.mjs';
136 import { Record } from '../structs/Record.mjs';
137 import { Logger, LoggerInterface } from '../structs/Logger.mjs';
138 import { NetworkGraph } from '../structs/NetworkGraph.mjs';
139 import { ProbabilisticScorer } from '../structs/ProbabilisticScorer.mjs';
140 import { Result_ProbabilisticScorerDecodeErrorZ } from '../structs/Result_ProbabilisticScorerDecodeErrorZ.mjs';
141 import { BestBlock } from '../structs/BestBlock.mjs';
142 import { Result_BestBlockDecodeErrorZ } from '../structs/Result_BestBlockDecodeErrorZ.mjs';
143 import { TwoTuple_usizeTransactionZ } from '../structs/TwoTuple_usizeTransactionZ.mjs';
144 import { ThreeTuple_ThirtyTwoBytesu32COption_ThirtyTwoBytesZZ } from '../structs/ThreeTuple_ThirtyTwoBytesu32COption_ThirtyTwoBytesZZ.mjs';
145 import { Result_ChannelMonitorUpdateStatusNoneZ } from '../structs/Result_ChannelMonitorUpdateStatusNoneZ.mjs';
146 import { HTLCUpdate } from '../structs/HTLCUpdate.mjs';
147 import { UntrustedString } from '../structs/UntrustedString.mjs';
148 import { ClosureReason } from '../structs/ClosureReason.mjs';
149 import { ChannelId } from '../structs/ChannelId.mjs';
150 import { MonitorEvent } from '../structs/MonitorEvent.mjs';
151 import { FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ } from '../structs/FourTuple_OutPointChannelIdCVec_MonitorEventZPublicKeyZ.mjs';
152 import { InitFeatures } from '../structs/InitFeatures.mjs';
153 import { Result_InitFeaturesDecodeErrorZ } from '../structs/Result_InitFeaturesDecodeErrorZ.mjs';
154 import { ChannelFeatures } from '../structs/ChannelFeatures.mjs';
155 import { Result_ChannelFeaturesDecodeErrorZ } from '../structs/Result_ChannelFeaturesDecodeErrorZ.mjs';
156 import { NodeFeatures } from '../structs/NodeFeatures.mjs';
157 import { Result_NodeFeaturesDecodeErrorZ } from '../structs/Result_NodeFeaturesDecodeErrorZ.mjs';
158 import { Bolt11InvoiceFeatures } from '../structs/Bolt11InvoiceFeatures.mjs';
159 import { Result_Bolt11InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt11InvoiceFeaturesDecodeErrorZ.mjs';
160 import { Bolt12InvoiceFeatures } from '../structs/Bolt12InvoiceFeatures.mjs';
161 import { Result_Bolt12InvoiceFeaturesDecodeErrorZ } from '../structs/Result_Bolt12InvoiceFeaturesDecodeErrorZ.mjs';
162 import { BlindedHopFeatures } from '../structs/BlindedHopFeatures.mjs';
163 import { Result_BlindedHopFeaturesDecodeErrorZ } from '../structs/Result_BlindedHopFeaturesDecodeErrorZ.mjs';
164 import { ChannelTypeFeatures } from '../structs/ChannelTypeFeatures.mjs';
165 import { Result_ChannelTypeFeaturesDecodeErrorZ } from '../structs/Result_ChannelTypeFeaturesDecodeErrorZ.mjs';
166 import { OfferId } from '../structs/OfferId.mjs';
167 import { Result_OfferIdDecodeErrorZ } from '../structs/Result_OfferIdDecodeErrorZ.mjs';
168 import { Result_NoneBolt12SemanticErrorZ } from '../structs/Result_NoneBolt12SemanticErrorZ.mjs';
169 import { Offer } from '../structs/Offer.mjs';
170 import { Result_OfferBolt12SemanticErrorZ } from '../structs/Result_OfferBolt12SemanticErrorZ.mjs';
171 import { InvoiceRequestWithDerivedPayerIdBuilder } from '../structs/InvoiceRequestWithDerivedPayerIdBuilder.mjs';
172 import { Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithDerivedPayerIdBuilderBolt12SemanticErrorZ.mjs';
173 import { InvoiceRequestWithExplicitPayerIdBuilder } from '../structs/InvoiceRequestWithExplicitPayerIdBuilder.mjs';
174 import { Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestWithExplicitPayerIdBuilderBolt12SemanticErrorZ.mjs';
175 import { Result_OfferBolt12ParseErrorZ } from '../structs/Result_OfferBolt12ParseErrorZ.mjs';
176 import { Result_NodeIdDecodeErrorZ } from '../structs/Result_NodeIdDecodeErrorZ.mjs';
177 import { Result_PublicKeySecp256k1ErrorZ } from '../structs/Result_PublicKeySecp256k1ErrorZ.mjs';
178 import { ChannelUpdate } from '../structs/ChannelUpdate.mjs';
179 import { NetworkUpdate } from '../structs/NetworkUpdate.mjs';
180 import { Option_NetworkUpdateZ } from '../structs/Option_NetworkUpdateZ.mjs';
181 import { Result_COption_NetworkUpdateZDecodeErrorZ } from '../structs/Result_COption_NetworkUpdateZDecodeErrorZ.mjs';
182 import { Result_TxOutUtxoLookupErrorZ } from '../structs/Result_TxOutUtxoLookupErrorZ.mjs';
183 import { UtxoFuture } from '../structs/UtxoFuture.mjs';
184 import { UtxoResult } from '../structs/UtxoResult.mjs';
185 import { UtxoLookup, UtxoLookupInterface } from '../structs/UtxoLookup.mjs';
186 import { Option_UtxoLookupZ } from '../structs/Option_UtxoLookupZ.mjs';
187 import { Result_NoneLightningErrorZ } from '../structs/Result_NoneLightningErrorZ.mjs';
188 import { Result_boolLightningErrorZ } from '../structs/Result_boolLightningErrorZ.mjs';
189 import { ChannelAnnouncement } from '../structs/ChannelAnnouncement.mjs';
190 import { ThreeTuple_ChannelAnnouncementChannelUpdateChannelUpdateZ } from '../structs/ThreeTuple_ChannelAnnouncementChannelUpdateChannelUpdateZ.mjs';
191 import { Option_C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZZ } from '../structs/Option_C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZZ.mjs';
192 import { AcceptChannel } from '../structs/AcceptChannel.mjs';
193 import { AcceptChannelV2 } from '../structs/AcceptChannelV2.mjs';
194 import { OpenChannel } from '../structs/OpenChannel.mjs';
195 import { OpenChannelV2 } from '../structs/OpenChannelV2.mjs';
196 import { FundingCreated } from '../structs/FundingCreated.mjs';
197 import { FundingSigned } from '../structs/FundingSigned.mjs';
198 import { Stfu } from '../structs/Stfu.mjs';
199 import { Splice } from '../structs/Splice.mjs';
200 import { SpliceAck } from '../structs/SpliceAck.mjs';
201 import { SpliceLocked } from '../structs/SpliceLocked.mjs';
202 import { TxAddInput } from '../structs/TxAddInput.mjs';
203 import { TxAddOutput } from '../structs/TxAddOutput.mjs';
204 import { TxRemoveInput } from '../structs/TxRemoveInput.mjs';
205 import { TxRemoveOutput } from '../structs/TxRemoveOutput.mjs';
206 import { TxComplete } from '../structs/TxComplete.mjs';
207 import { TxSignatures } from '../structs/TxSignatures.mjs';
208 import { TxInitRbf } from '../structs/TxInitRbf.mjs';
209 import { TxAckRbf } from '../structs/TxAckRbf.mjs';
210 import { TxAbort } from '../structs/TxAbort.mjs';
211 import { ChannelReady } from '../structs/ChannelReady.mjs';
212 import { AnnouncementSignatures } from '../structs/AnnouncementSignatures.mjs';
213 import { CommitmentUpdate } from '../structs/CommitmentUpdate.mjs';
214 import { RevokeAndACK } from '../structs/RevokeAndACK.mjs';
215 import { ClosingSigned } from '../structs/ClosingSigned.mjs';
216 import { Shutdown } from '../structs/Shutdown.mjs';
217 import { ChannelReestablish } from '../structs/ChannelReestablish.mjs';
218 import { NodeAnnouncement } from '../structs/NodeAnnouncement.mjs';
219 import { ErrorMessage } from '../structs/ErrorMessage.mjs';
220 import { WarningMessage } from '../structs/WarningMessage.mjs';
221 import { ErrorAction } from '../structs/ErrorAction.mjs';
222 import { QueryChannelRange } from '../structs/QueryChannelRange.mjs';
223 import { QueryShortChannelIds } from '../structs/QueryShortChannelIds.mjs';
224 import { ReplyChannelRange } from '../structs/ReplyChannelRange.mjs';
225 import { GossipTimestampFilter } from '../structs/GossipTimestampFilter.mjs';
226 import { MessageSendEvent } from '../structs/MessageSendEvent.mjs';
227 import { ChannelUpdateInfo } from '../structs/ChannelUpdateInfo.mjs';
228 import { Result_ChannelUpdateInfoDecodeErrorZ } from '../structs/Result_ChannelUpdateInfoDecodeErrorZ.mjs';
229 import { ChannelInfo } from '../structs/ChannelInfo.mjs';
230 import { Result_ChannelInfoDecodeErrorZ } from '../structs/Result_ChannelInfoDecodeErrorZ.mjs';
231 import { RoutingFees } from '../structs/RoutingFees.mjs';
232 import { Result_RoutingFeesDecodeErrorZ } from '../structs/Result_RoutingFeesDecodeErrorZ.mjs';
233 import { Hostname } from '../structs/Hostname.mjs';
234 import { SocketAddress } from '../structs/SocketAddress.mjs';
235 import { NodeAnnouncementInfo } from '../structs/NodeAnnouncementInfo.mjs';
236 import { Result_NodeAnnouncementInfoDecodeErrorZ } from '../structs/Result_NodeAnnouncementInfoDecodeErrorZ.mjs';
237 import { NodeAlias } from '../structs/NodeAlias.mjs';
238 import { Result_NodeAliasDecodeErrorZ } from '../structs/Result_NodeAliasDecodeErrorZ.mjs';
239 import { NodeInfo } from '../structs/NodeInfo.mjs';
240 import { Result_NodeInfoDecodeErrorZ } from '../structs/Result_NodeInfoDecodeErrorZ.mjs';
241 import { Result_NetworkGraphDecodeErrorZ } from '../structs/Result_NetworkGraphDecodeErrorZ.mjs';
242 import { Option_CVec_SocketAddressZZ } from '../structs/Option_CVec_SocketAddressZZ.mjs';
243 import { Result_u64ShortChannelIdErrorZ } from '../structs/Result_u64ShortChannelIdErrorZ.mjs';
244 import { PendingHTLCInfo } from '../structs/PendingHTLCInfo.mjs';
245 import { InboundHTLCErr } from '../structs/InboundHTLCErr.mjs';
246 import { Result_PendingHTLCInfoInboundHTLCErrZ } from '../structs/Result_PendingHTLCInfoInboundHTLCErrZ.mjs';
247 import { Utxo } from '../structs/Utxo.mjs';
248 import { Option_TxOutZ } from '../structs/Option_TxOutZ.mjs';
249 import { Input } from '../structs/Input.mjs';
250 import { CoinSelection } from '../structs/CoinSelection.mjs';
251 import { Result_CoinSelectionNoneZ } from '../structs/Result_CoinSelectionNoneZ.mjs';
252 import { Result_CVec_UtxoZNoneZ } from '../structs/Result_CVec_UtxoZNoneZ.mjs';
253 import { UnknownPaymentContext } from '../structs/UnknownPaymentContext.mjs';
254 import { Bolt12OfferContext } from '../structs/Bolt12OfferContext.mjs';
255 import { Bolt12RefundContext } from '../structs/Bolt12RefundContext.mjs';
256 import { PaymentContext } from '../structs/PaymentContext.mjs';
257 import { Option_PaymentContextZ } from '../structs/Option_PaymentContextZ.mjs';
258 import { TwoTuple_u64u16Z } from '../structs/TwoTuple_u64u16Z.mjs';
259 import { Option_C2Tuple_u64u16ZZ } from '../structs/Option_C2Tuple_u64u16ZZ.mjs';
260 import { Option_ChannelShutdownStateZ } from '../structs/Option_ChannelShutdownStateZ.mjs';
261 import { Result_ChannelIdAPIErrorZ } from '../structs/Result_ChannelIdAPIErrorZ.mjs';
262 import { RecentPaymentDetails } from '../structs/RecentPaymentDetails.mjs';
263 import { PaymentSendFailure } from '../structs/PaymentSendFailure.mjs';
264 import { Result_NonePaymentSendFailureZ } from '../structs/Result_NonePaymentSendFailureZ.mjs';
265 import { Result_NoneRetryableSendFailureZ } from '../structs/Result_NoneRetryableSendFailureZ.mjs';
266 import { Result_ThirtyTwoBytesPaymentSendFailureZ } from '../structs/Result_ThirtyTwoBytesPaymentSendFailureZ.mjs';
267 import { Result_ThirtyTwoBytesRetryableSendFailureZ } from '../structs/Result_ThirtyTwoBytesRetryableSendFailureZ.mjs';
268 import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs';
269 import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZPaymentSendFailureZ.mjs';
270 import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs';
271 import { Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZZProbeSendFailureZ.mjs';
272 import { TwoTuple_ChannelIdPublicKeyZ } from '../structs/TwoTuple_ChannelIdPublicKeyZ.mjs';
273 import { OfferWithDerivedMetadataBuilder } from '../structs/OfferWithDerivedMetadataBuilder.mjs';
274 import { Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ } from '../structs/Result_OfferWithDerivedMetadataBuilderBolt12SemanticErrorZ.mjs';
275 import { Option_StrZ } from '../structs/Option_StrZ.mjs';
276 import { Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.mjs';
277 import { Result_ThirtyTwoBytesAPIErrorZ } from '../structs/Result_ThirtyTwoBytesAPIErrorZ.mjs';
278 import { InvoiceRequest } from '../structs/InvoiceRequest.mjs';
279 import { InvoiceError } from '../structs/InvoiceError.mjs';
280 import { OffersMessage } from '../structs/OffersMessage.mjs';
281 import { Option_OffersMessageZ } from '../structs/Option_OffersMessageZ.mjs';
282 import { Destination } from '../structs/Destination.mjs';
283 import { ThreeTuple_OffersMessageDestinationBlindedPathZ } from '../structs/ThreeTuple_OffersMessageDestinationBlindedPathZ.mjs';
284 import { CounterpartyForwardingInfo } from '../structs/CounterpartyForwardingInfo.mjs';
285 import { Result_CounterpartyForwardingInfoDecodeErrorZ } from '../structs/Result_CounterpartyForwardingInfoDecodeErrorZ.mjs';
286 import { ChannelCounterparty } from '../structs/ChannelCounterparty.mjs';
287 import { Result_ChannelCounterpartyDecodeErrorZ } from '../structs/Result_ChannelCounterpartyDecodeErrorZ.mjs';
288 import { Result_ChannelDetailsDecodeErrorZ } from '../structs/Result_ChannelDetailsDecodeErrorZ.mjs';
289 import { PhantomRouteHints } from '../structs/PhantomRouteHints.mjs';
290 import { Result_PhantomRouteHintsDecodeErrorZ } from '../structs/Result_PhantomRouteHintsDecodeErrorZ.mjs';
291 import { BlindedForward } from '../structs/BlindedForward.mjs';
292 import { Result_BlindedForwardDecodeErrorZ } from '../structs/Result_BlindedForwardDecodeErrorZ.mjs';
293 import { OnionPacket } from '../structs/OnionPacket.mjs';
294 import { FinalOnionHopData } from '../structs/FinalOnionHopData.mjs';
295 import { PendingHTLCRouting } from '../structs/PendingHTLCRouting.mjs';
296 import { Result_PendingHTLCRoutingDecodeErrorZ } from '../structs/Result_PendingHTLCRoutingDecodeErrorZ.mjs';
297 import { Result_PendingHTLCInfoDecodeErrorZ } from '../structs/Result_PendingHTLCInfoDecodeErrorZ.mjs';
298 import { Result_BlindedFailureDecodeErrorZ } from '../structs/Result_BlindedFailureDecodeErrorZ.mjs';
299 import { Result_ChannelShutdownStateDecodeErrorZ } from '../structs/Result_ChannelShutdownStateDecodeErrorZ.mjs';
300 import { ChannelMonitor } from '../structs/ChannelMonitor.mjs';
301 import { ChannelMonitorUpdate } from '../structs/ChannelMonitorUpdate.mjs';
302 import { Watch, WatchInterface } from '../structs/Watch.mjs';
303 import { BroadcasterInterface, BroadcasterInterfaceInterface } from '../structs/BroadcasterInterface.mjs';
304 import { EntropySource, EntropySourceInterface } from '../structs/EntropySource.mjs';
305 import { UnsignedInvoiceRequest } from '../structs/UnsignedInvoiceRequest.mjs';
306 import { UnsignedChannelUpdate } from '../structs/UnsignedChannelUpdate.mjs';
307 import { UnsignedNodeAnnouncement } from '../structs/UnsignedNodeAnnouncement.mjs';
308 import { UnsignedGossipMessage } from '../structs/UnsignedGossipMessage.mjs';
309 import { NodeSigner, NodeSignerInterface } from '../structs/NodeSigner.mjs';
310 import { SignerProvider, SignerProviderInterface } from '../structs/SignerProvider.mjs';
311 import { FeeEstimator, FeeEstimatorInterface } from '../structs/FeeEstimator.mjs';
312 import { ReceiveTlvs } from '../structs/ReceiveTlvs.mjs';
313 import { MessageRouter, MessageRouterInterface } from '../structs/MessageRouter.mjs';
314 import { Router, RouterInterface } from '../structs/Router.mjs';
315 import { ChannelManager } from '../structs/ChannelManager.mjs';
316 import { TwoTuple_ThirtyTwoBytesChannelManagerZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelManagerZ.mjs';
317 import { Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ.mjs';
318 import { MaxDustHTLCExposure } from '../structs/MaxDustHTLCExposure.mjs';
319 import { Result_MaxDustHTLCExposureDecodeErrorZ } from '../structs/Result_MaxDustHTLCExposureDecodeErrorZ.mjs';
320 import { ChannelConfig } from '../structs/ChannelConfig.mjs';
321 import { Result_ChannelConfigDecodeErrorZ } from '../structs/Result_ChannelConfigDecodeErrorZ.mjs';
322 import { Option_MaxDustHTLCExposureZ } from '../structs/Option_MaxDustHTLCExposureZ.mjs';
323 import { Option_APIErrorZ } from '../structs/Option_APIErrorZ.mjs';
324 import { Result_COption_APIErrorZDecodeErrorZ } from '../structs/Result_COption_APIErrorZDecodeErrorZ.mjs';
325 import { Result_ChannelMonitorUpdateDecodeErrorZ } from '../structs/Result_ChannelMonitorUpdateDecodeErrorZ.mjs';
326 import { Option_MonitorEventZ } from '../structs/Option_MonitorEventZ.mjs';
327 import { Result_COption_MonitorEventZDecodeErrorZ } from '../structs/Result_COption_MonitorEventZDecodeErrorZ.mjs';
328 import { Result_HTLCUpdateDecodeErrorZ } from '../structs/Result_HTLCUpdateDecodeErrorZ.mjs';
329 import { TwoTuple_OutPointCVec_u8ZZ } from '../structs/TwoTuple_OutPointCVec_u8ZZ.mjs';
330 import { TwoTuple_u32CVec_u8ZZ } from '../structs/TwoTuple_u32CVec_u8ZZ.mjs';
331 import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32CVec_u8ZZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32CVec_u8ZZZZ.mjs';
332 import { TwoTuple_u32TxOutZ } from '../structs/TwoTuple_u32TxOutZ.mjs';
333 import { TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ } from '../structs/TwoTuple_ThirtyTwoBytesCVec_C2Tuple_u32TxOutZZZ.mjs';
334 import { Balance } from '../structs/Balance.mjs';
335 import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs';
336 import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ.mjs';
337 import { Type, TypeInterface } from '../structs/Type.mjs';
338 import { TwoTuple_PublicKeyTypeZ } from '../structs/TwoTuple_PublicKeyTypeZ.mjs';
339 import { TwoTuple_PublicKeyCVec_SocketAddressZZ } from '../structs/TwoTuple_PublicKeyCVec_SocketAddressZZ.mjs';
340 import { OnionMessageContents, OnionMessageContentsInterface } from '../structs/OnionMessageContents.mjs';
341 import { Option_OnionMessageContentsZ } from '../structs/Option_OnionMessageContentsZ.mjs';
342 import { Result_COption_OnionMessageContentsZDecodeErrorZ } from '../structs/Result_COption_OnionMessageContentsZDecodeErrorZ.mjs';
343 import { ThreeTuple_OnionMessageContentsDestinationBlindedPathZ } from '../structs/ThreeTuple_OnionMessageContentsDestinationBlindedPathZ.mjs';
344 import { Option_TypeZ } from '../structs/Option_TypeZ.mjs';
345 import { Result_COption_TypeZDecodeErrorZ } from '../structs/Result_COption_TypeZDecodeErrorZ.mjs';
346 import { Option_SocketAddressZ } from '../structs/Option_SocketAddressZ.mjs';
347 import { PeerDetails } from '../structs/PeerDetails.mjs';
348 import { PeerHandleError } from '../structs/PeerHandleError.mjs';
349 import { Result_CVec_u8ZPeerHandleErrorZ } from '../structs/Result_CVec_u8ZPeerHandleErrorZ.mjs';
350 import { Result_NonePeerHandleErrorZ } from '../structs/Result_NonePeerHandleErrorZ.mjs';
351 import { Result_boolPeerHandleErrorZ } from '../structs/Result_boolPeerHandleErrorZ.mjs';
352 import { GraphSyncError } from '../structs/GraphSyncError.mjs';
353 import { Result_u32GraphSyncErrorZ } from '../structs/Result_u32GraphSyncErrorZ.mjs';
354 import { Result_CVec_u8ZIOErrorZ } from '../structs/Result_CVec_u8ZIOErrorZ.mjs';
355 import { Result_NoneIOErrorZ } from '../structs/Result_NoneIOErrorZ.mjs';
356 import { Result_CVec_StrZIOErrorZ } from '../structs/Result_CVec_StrZIOErrorZ.mjs';
357 import { Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ } from '../structs/Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ.mjs';
358 import { Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ } from '../structs/Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ.mjs';
359 import { Result_UnsignedInvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_UnsignedInvoiceRequestBolt12SemanticErrorZ.mjs';
360 import { Result_InvoiceRequestBolt12SemanticErrorZ } from '../structs/Result_InvoiceRequestBolt12SemanticErrorZ.mjs';
361 import { Option_SecretKeyZ } from '../structs/Option_SecretKeyZ.mjs';
362 import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs';
363 import { Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ.mjs';
364 import { VerifiedInvoiceRequest } from '../structs/VerifiedInvoiceRequest.mjs';
365 import { Result_VerifiedInvoiceRequestNoneZ } from '../structs/Result_VerifiedInvoiceRequestNoneZ.mjs';
366 import { InvoiceWithDerivedSigningPubkeyBuilder } from '../structs/InvoiceWithDerivedSigningPubkeyBuilder.mjs';
367 import { Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ } from '../structs/Result_InvoiceWithDerivedSigningPubkeyBuilderBolt12SemanticErrorZ.mjs';
368 import { InvoiceRequestFields } from '../structs/InvoiceRequestFields.mjs';
369 import { Result_InvoiceRequestFieldsDecodeErrorZ } from '../structs/Result_InvoiceRequestFieldsDecodeErrorZ.mjs';
370 import { Option_ECDSASignatureZ } from '../structs/Option_ECDSASignatureZ.mjs';
371 import { Option_i64Z } from '../structs/Option_i64Z.mjs';
372 import { Result_SocketAddressDecodeErrorZ } from '../structs/Result_SocketAddressDecodeErrorZ.mjs';
373 import { Result_SocketAddressSocketAddressParseErrorZ } from '../structs/Result_SocketAddressSocketAddressParseErrorZ.mjs';
374 import { UpdateAddHTLC } from '../structs/UpdateAddHTLC.mjs';
375 import { UpdateFulfillHTLC } from '../structs/UpdateFulfillHTLC.mjs';
376 import { UpdateFailHTLC } from '../structs/UpdateFailHTLC.mjs';
377 import { UpdateFailMalformedHTLC } from '../structs/UpdateFailMalformedHTLC.mjs';
378 import { Result_AcceptChannelDecodeErrorZ } from '../structs/Result_AcceptChannelDecodeErrorZ.mjs';
379 import { Result_AcceptChannelV2DecodeErrorZ } from '../structs/Result_AcceptChannelV2DecodeErrorZ.mjs';
380 import { Result_StfuDecodeErrorZ } from '../structs/Result_StfuDecodeErrorZ.mjs';
381 import { Result_SpliceDecodeErrorZ } from '../structs/Result_SpliceDecodeErrorZ.mjs';
382 import { Result_SpliceAckDecodeErrorZ } from '../structs/Result_SpliceAckDecodeErrorZ.mjs';
383 import { Result_SpliceLockedDecodeErrorZ } from '../structs/Result_SpliceLockedDecodeErrorZ.mjs';
384 import { Result_TxAddInputDecodeErrorZ } from '../structs/Result_TxAddInputDecodeErrorZ.mjs';
385 import { Result_TxAddOutputDecodeErrorZ } from '../structs/Result_TxAddOutputDecodeErrorZ.mjs';
386 import { Result_TxRemoveInputDecodeErrorZ } from '../structs/Result_TxRemoveInputDecodeErrorZ.mjs';
387 import { Result_TxRemoveOutputDecodeErrorZ } from '../structs/Result_TxRemoveOutputDecodeErrorZ.mjs';
388 import { Result_TxCompleteDecodeErrorZ } from '../structs/Result_TxCompleteDecodeErrorZ.mjs';
389 import { Result_TxSignaturesDecodeErrorZ } from '../structs/Result_TxSignaturesDecodeErrorZ.mjs';
390 import { Result_TxInitRbfDecodeErrorZ } from '../structs/Result_TxInitRbfDecodeErrorZ.mjs';
391 import { Result_TxAckRbfDecodeErrorZ } from '../structs/Result_TxAckRbfDecodeErrorZ.mjs';
392 import { Result_TxAbortDecodeErrorZ } from '../structs/Result_TxAbortDecodeErrorZ.mjs';
393 import { Result_AnnouncementSignaturesDecodeErrorZ } from '../structs/Result_AnnouncementSignaturesDecodeErrorZ.mjs';
394 import { Result_ChannelReestablishDecodeErrorZ } from '../structs/Result_ChannelReestablishDecodeErrorZ.mjs';
395 import { Result_ClosingSignedDecodeErrorZ } from '../structs/Result_ClosingSignedDecodeErrorZ.mjs';
396 import { ClosingSignedFeeRange } from '../structs/ClosingSignedFeeRange.mjs';
397 import { Result_ClosingSignedFeeRangeDecodeErrorZ } from '../structs/Result_ClosingSignedFeeRangeDecodeErrorZ.mjs';
398 import { CommitmentSigned } from '../structs/CommitmentSigned.mjs';
399 import { Result_CommitmentSignedDecodeErrorZ } from '../structs/Result_CommitmentSignedDecodeErrorZ.mjs';
400 import { Result_FundingCreatedDecodeErrorZ } from '../structs/Result_FundingCreatedDecodeErrorZ.mjs';
401 import { Result_FundingSignedDecodeErrorZ } from '../structs/Result_FundingSignedDecodeErrorZ.mjs';
402 import { Result_ChannelReadyDecodeErrorZ } from '../structs/Result_ChannelReadyDecodeErrorZ.mjs';
403 import { Init } from '../structs/Init.mjs';
404 import { Result_InitDecodeErrorZ } from '../structs/Result_InitDecodeErrorZ.mjs';
405 import { Result_OpenChannelDecodeErrorZ } from '../structs/Result_OpenChannelDecodeErrorZ.mjs';
406 import { Result_OpenChannelV2DecodeErrorZ } from '../structs/Result_OpenChannelV2DecodeErrorZ.mjs';
407 import { Result_RevokeAndACKDecodeErrorZ } from '../structs/Result_RevokeAndACKDecodeErrorZ.mjs';
408 import { Result_ShutdownDecodeErrorZ } from '../structs/Result_ShutdownDecodeErrorZ.mjs';
409 import { Result_UpdateFailHTLCDecodeErrorZ } from '../structs/Result_UpdateFailHTLCDecodeErrorZ.mjs';
410 import { Result_UpdateFailMalformedHTLCDecodeErrorZ } from '../structs/Result_UpdateFailMalformedHTLCDecodeErrorZ.mjs';
411 import { UpdateFee } from '../structs/UpdateFee.mjs';
412 import { Result_UpdateFeeDecodeErrorZ } from '../structs/Result_UpdateFeeDecodeErrorZ.mjs';
413 import { Result_UpdateFulfillHTLCDecodeErrorZ } from '../structs/Result_UpdateFulfillHTLCDecodeErrorZ.mjs';
414 import { Result_OnionPacketDecodeErrorZ } from '../structs/Result_OnionPacketDecodeErrorZ.mjs';
415 import { Result_UpdateAddHTLCDecodeErrorZ } from '../structs/Result_UpdateAddHTLCDecodeErrorZ.mjs';
416 import { OnionMessage } from '../structs/OnionMessage.mjs';
417 import { Result_OnionMessageDecodeErrorZ } from '../structs/Result_OnionMessageDecodeErrorZ.mjs';
418 import { Result_FinalOnionHopDataDecodeErrorZ } from '../structs/Result_FinalOnionHopDataDecodeErrorZ.mjs';
419 import { Ping } from '../structs/Ping.mjs';
420 import { Result_PingDecodeErrorZ } from '../structs/Result_PingDecodeErrorZ.mjs';
421 import { Pong } from '../structs/Pong.mjs';
422 import { Result_PongDecodeErrorZ } from '../structs/Result_PongDecodeErrorZ.mjs';
423 import { Result_UnsignedChannelAnnouncementDecodeErrorZ } from '../structs/Result_UnsignedChannelAnnouncementDecodeErrorZ.mjs';
424 import { Result_ChannelAnnouncementDecodeErrorZ } from '../structs/Result_ChannelAnnouncementDecodeErrorZ.mjs';
425 import { Result_UnsignedChannelUpdateDecodeErrorZ } from '../structs/Result_UnsignedChannelUpdateDecodeErrorZ.mjs';
426 import { Result_ChannelUpdateDecodeErrorZ } from '../structs/Result_ChannelUpdateDecodeErrorZ.mjs';
427 import { Result_ErrorMessageDecodeErrorZ } from '../structs/Result_ErrorMessageDecodeErrorZ.mjs';
428 import { Result_WarningMessageDecodeErrorZ } from '../structs/Result_WarningMessageDecodeErrorZ.mjs';
429 import { Result_UnsignedNodeAnnouncementDecodeErrorZ } from '../structs/Result_UnsignedNodeAnnouncementDecodeErrorZ.mjs';
430 import { Result_NodeAnnouncementDecodeErrorZ } from '../structs/Result_NodeAnnouncementDecodeErrorZ.mjs';
431 import { Result_QueryShortChannelIdsDecodeErrorZ } from '../structs/Result_QueryShortChannelIdsDecodeErrorZ.mjs';
432 import { ReplyShortChannelIdsEnd } from '../structs/ReplyShortChannelIdsEnd.mjs';
433 import { Result_ReplyShortChannelIdsEndDecodeErrorZ } from '../structs/Result_ReplyShortChannelIdsEndDecodeErrorZ.mjs';
434 import { Result_QueryChannelRangeDecodeErrorZ } from '../structs/Result_QueryChannelRangeDecodeErrorZ.mjs';
435 import { Result_ReplyChannelRangeDecodeErrorZ } from '../structs/Result_ReplyChannelRangeDecodeErrorZ.mjs';
436 import { Result_GossipTimestampFilterDecodeErrorZ } from '../structs/Result_GossipTimestampFilterDecodeErrorZ.mjs';
437 import { Bolt11Invoice } from '../structs/Bolt11Invoice.mjs';
438 import { SignOrCreationError } from '../structs/SignOrCreationError.mjs';
439 import { Result_Bolt11InvoiceSignOrCreationErrorZ } from '../structs/Result_Bolt11InvoiceSignOrCreationErrorZ.mjs';
440 import { Result_OffersMessageDecodeErrorZ } from '../structs/Result_OffersMessageDecodeErrorZ.mjs';
441 import { Option_HTLCClaimZ } from '../structs/Option_HTLCClaimZ.mjs';
442 import { CounterpartyCommitmentSecrets } from '../structs/CounterpartyCommitmentSecrets.mjs';
443 import { Result_CounterpartyCommitmentSecretsDecodeErrorZ } from '../structs/Result_CounterpartyCommitmentSecretsDecodeErrorZ.mjs';
444 import { TxCreationKeys } from '../structs/TxCreationKeys.mjs';
445 import { Result_TxCreationKeysDecodeErrorZ } from '../structs/Result_TxCreationKeysDecodeErrorZ.mjs';
446 import { Result_ChannelPublicKeysDecodeErrorZ } from '../structs/Result_ChannelPublicKeysDecodeErrorZ.mjs';
447 import { Result_HTLCOutputInCommitmentDecodeErrorZ } from '../structs/Result_HTLCOutputInCommitmentDecodeErrorZ.mjs';
448 import { CounterpartyChannelTransactionParameters } from '../structs/CounterpartyChannelTransactionParameters.mjs';
449 import { Result_CounterpartyChannelTransactionParametersDecodeErrorZ } from '../structs/Result_CounterpartyChannelTransactionParametersDecodeErrorZ.mjs';
450 import { Result_ChannelTransactionParametersDecodeErrorZ } from '../structs/Result_ChannelTransactionParametersDecodeErrorZ.mjs';
451 import { Result_HolderCommitmentTransactionDecodeErrorZ } from '../structs/Result_HolderCommitmentTransactionDecodeErrorZ.mjs';
452 import { BuiltCommitmentTransaction } from '../structs/BuiltCommitmentTransaction.mjs';
453 import { Result_BuiltCommitmentTransactionDecodeErrorZ } from '../structs/Result_BuiltCommitmentTransactionDecodeErrorZ.mjs';
454 import { TrustedClosingTransaction } from '../structs/TrustedClosingTransaction.mjs';
455 import { Result_TrustedClosingTransactionNoneZ } from '../structs/Result_TrustedClosingTransactionNoneZ.mjs';
456 import { Result_CommitmentTransactionDecodeErrorZ } from '../structs/Result_CommitmentTransactionDecodeErrorZ.mjs';
457 import { TrustedCommitmentTransaction } from '../structs/TrustedCommitmentTransaction.mjs';
458 import { Result_TrustedCommitmentTransactionNoneZ } from '../structs/Result_TrustedCommitmentTransactionNoneZ.mjs';
459 import { Result_CVec_ECDSASignatureZNoneZ } from '../structs/Result_CVec_ECDSASignatureZNoneZ.mjs';
460 import { Option_usizeZ } from '../structs/Option_usizeZ.mjs';
461 import { Result_ShutdownScriptDecodeErrorZ } from '../structs/Result_ShutdownScriptDecodeErrorZ.mjs';
462 import { InvalidShutdownScript } from '../structs/InvalidShutdownScript.mjs';
463 import { Result_ShutdownScriptInvalidShutdownScriptZ } from '../structs/Result_ShutdownScriptInvalidShutdownScriptZ.mjs';
464 import { PaymentPurpose } from '../structs/PaymentPurpose.mjs';
465 import { Result_PaymentPurposeDecodeErrorZ } from '../structs/Result_PaymentPurposeDecodeErrorZ.mjs';
466 import { ClaimedHTLC } from '../structs/ClaimedHTLC.mjs';
467 import { Result_ClaimedHTLCDecodeErrorZ } from '../structs/Result_ClaimedHTLCDecodeErrorZ.mjs';
468 import { PathFailure } from '../structs/PathFailure.mjs';
469 import { Option_PathFailureZ } from '../structs/Option_PathFailureZ.mjs';
470 import { Result_COption_PathFailureZDecodeErrorZ } from '../structs/Result_COption_PathFailureZDecodeErrorZ.mjs';
471 import { Option_ClosureReasonZ } from '../structs/Option_ClosureReasonZ.mjs';
472 import { Result_COption_ClosureReasonZDecodeErrorZ } from '../structs/Result_COption_ClosureReasonZDecodeErrorZ.mjs';
473 import { HTLCDestination } from '../structs/HTLCDestination.mjs';
474 import { Option_HTLCDestinationZ } from '../structs/Option_HTLCDestinationZ.mjs';
475 import { Result_COption_HTLCDestinationZDecodeErrorZ } from '../structs/Result_COption_HTLCDestinationZDecodeErrorZ.mjs';
476 import { Result_PaymentFailureReasonDecodeErrorZ } from '../structs/Result_PaymentFailureReasonDecodeErrorZ.mjs';
477 import { Option_U128Z } from '../structs/Option_U128Z.mjs';
478 import { Option_PaymentFailureReasonZ } from '../structs/Option_PaymentFailureReasonZ.mjs';
479 import { AnchorDescriptor } from '../structs/AnchorDescriptor.mjs';
480 import { BumpTransactionEvent } from '../structs/BumpTransactionEvent.mjs';
481 import { Event } from '../structs/Event.mjs';
482 import { Option_EventZ } from '../structs/Option_EventZ.mjs';
483 import { Result_COption_EventZDecodeErrorZ } from '../structs/Result_COption_EventZDecodeErrorZ.mjs';
484 import { Bolt11ParseError } from '../structs/Bolt11ParseError.mjs';
485 import { Result_SiPrefixBolt11ParseErrorZ } from '../structs/Result_SiPrefixBolt11ParseErrorZ.mjs';
486 import { ParseOrSemanticError } from '../structs/ParseOrSemanticError.mjs';
487 import { Result_Bolt11InvoiceParseOrSemanticErrorZ } from '../structs/Result_Bolt11InvoiceParseOrSemanticErrorZ.mjs';
488 import { SignedRawBolt11Invoice } from '../structs/SignedRawBolt11Invoice.mjs';
489 import { Result_SignedRawBolt11InvoiceBolt11ParseErrorZ } from '../structs/Result_SignedRawBolt11InvoiceBolt11ParseErrorZ.mjs';
490 import { RawBolt11Invoice } from '../structs/RawBolt11Invoice.mjs';
491 import { Bolt11InvoiceSignature } from '../structs/Bolt11InvoiceSignature.mjs';
492 import { ThreeTuple_RawBolt11Invoice_u832Bolt11InvoiceSignatureZ } from '../structs/ThreeTuple_RawBolt11Invoice_u832Bolt11InvoiceSignatureZ.mjs';
493 import { PayeePubKey } from '../structs/PayeePubKey.mjs';
494 import { Result_PayeePubKeySecp256k1ErrorZ } from '../structs/Result_PayeePubKeySecp256k1ErrorZ.mjs';
495 import { PrivateRoute } from '../structs/PrivateRoute.mjs';
496 import { PositiveTimestamp } from '../structs/PositiveTimestamp.mjs';
497 import { Result_PositiveTimestampCreationErrorZ } from '../structs/Result_PositiveTimestampCreationErrorZ.mjs';
498 import { Result_NoneBolt11SemanticErrorZ } from '../structs/Result_NoneBolt11SemanticErrorZ.mjs';
499 import { Result_Bolt11InvoiceBolt11SemanticErrorZ } from '../structs/Result_Bolt11InvoiceBolt11SemanticErrorZ.mjs';
500 import { Description } from '../structs/Description.mjs';
501 import { Result_DescriptionCreationErrorZ } from '../structs/Result_DescriptionCreationErrorZ.mjs';
502 import { Result_PrivateRouteCreationErrorZ } from '../structs/Result_PrivateRouteCreationErrorZ.mjs';
503 import { Result_OutPointDecodeErrorZ } from '../structs/Result_OutPointDecodeErrorZ.mjs';
504 import { BigSize } from '../structs/BigSize.mjs';
505 import { Result_BigSizeDecodeErrorZ } from '../structs/Result_BigSizeDecodeErrorZ.mjs';
506 import { Result_HostnameDecodeErrorZ } from '../structs/Result_HostnameDecodeErrorZ.mjs';
507 import { TransactionU16LenLimited } from '../structs/TransactionU16LenLimited.mjs';
508 import { Result_TransactionU16LenLimitedNoneZ } from '../structs/Result_TransactionU16LenLimitedNoneZ.mjs';
509 import { Result_TransactionU16LenLimitedDecodeErrorZ } from '../structs/Result_TransactionU16LenLimitedDecodeErrorZ.mjs';
510 import { Result_UntrustedStringDecodeErrorZ } from '../structs/Result_UntrustedStringDecodeErrorZ.mjs';
511 import { Result_ChannelIdDecodeErrorZ } from '../structs/Result_ChannelIdDecodeErrorZ.mjs';
512 import { TwoTuple__u832u16Z } from '../structs/TwoTuple__u832u16Z.mjs';
513 import { PaymentRelay } from '../structs/PaymentRelay.mjs';
514 import { Result_PaymentRelayDecodeErrorZ } from '../structs/Result_PaymentRelayDecodeErrorZ.mjs';
515 import { PaymentConstraints } from '../structs/PaymentConstraints.mjs';
516 import { Result_PaymentConstraintsDecodeErrorZ } from '../structs/Result_PaymentConstraintsDecodeErrorZ.mjs';
517 import { Result_PaymentContextDecodeErrorZ } from '../structs/Result_PaymentContextDecodeErrorZ.mjs';
518 import { Result_UnknownPaymentContextDecodeErrorZ } from '../structs/Result_UnknownPaymentContextDecodeErrorZ.mjs';
519 import { Result_Bolt12OfferContextDecodeErrorZ } from '../structs/Result_Bolt12OfferContextDecodeErrorZ.mjs';
520 import { Result_Bolt12RefundContextDecodeErrorZ } from '../structs/Result_Bolt12RefundContextDecodeErrorZ.mjs';
521 import { Result_StrSecp256k1ErrorZ } from '../structs/Result_StrSecp256k1ErrorZ.mjs';
522 import { ThreeTuple_ThirtyTwoBytesRecipientOnionFieldsRouteParametersZ } from '../structs/ThreeTuple_ThirtyTwoBytesRecipientOnionFieldsRouteParametersZ.mjs';
523 import { Result_C3Tuple_ThirtyTwoBytesRecipientOnionFieldsRouteParametersZNoneZ } from '../structs/Result_C3Tuple_ThirtyTwoBytesRecipientOnionFieldsRouteParametersZNoneZ.mjs';
524 import { ThreeTuple_PublicKeyOnionMessageCOption_CVec_SocketAddressZZZ } from '../structs/ThreeTuple_PublicKeyOnionMessageCOption_CVec_SocketAddressZZZ.mjs';
525 import { SendError } from '../structs/SendError.mjs';
526 import { Result_C3Tuple_PublicKeyOnionMessageCOption_CVec_SocketAddressZZZSendErrorZ } from '../structs/Result_C3Tuple_PublicKeyOnionMessageCOption_CVec_SocketAddressZZZSendErrorZ.mjs';
527 import { NextMessageHop } from '../structs/NextMessageHop.mjs';
528 import { ParsedOnionMessageContents } from '../structs/ParsedOnionMessageContents.mjs';
529 import { PeeledOnion } from '../structs/PeeledOnion.mjs';
530 import { Result_PeeledOnionNoneZ } from '../structs/Result_PeeledOnionNoneZ.mjs';
531 import { SendSuccess } from '../structs/SendSuccess.mjs';
532 import { Result_SendSuccessSendErrorZ } from '../structs/Result_SendSuccessSendErrorZ.mjs';
533 import { Result_BlindedPathNoneZ } from '../structs/Result_BlindedPathNoneZ.mjs';
534 import { Result_C2Tuple_BlindedPayInfoBlindedPathZNoneZ } from '../structs/Result_C2Tuple_BlindedPayInfoBlindedPathZNoneZ.mjs';
535 import { ForwardNode } from '../structs/ForwardNode.mjs';
536 import { Result_BlindedPathDecodeErrorZ } from '../structs/Result_BlindedPathDecodeErrorZ.mjs';
537 import { Result_BlindedHopDecodeErrorZ } from '../structs/Result_BlindedHopDecodeErrorZ.mjs';
538 import { Result_InvoiceErrorDecodeErrorZ } from '../structs/Result_InvoiceErrorDecodeErrorZ.mjs';
539 import { TrackedSpendableOutput } from '../structs/TrackedSpendableOutput.mjs';
540 import { Result_TrackedSpendableOutputDecodeErrorZ } from '../structs/Result_TrackedSpendableOutputDecodeErrorZ.mjs';
541 import { OutputSpendStatus } from '../structs/OutputSpendStatus.mjs';
542 import { Result_OutputSpendStatusDecodeErrorZ } from '../structs/Result_OutputSpendStatusDecodeErrorZ.mjs';
543 import { WatchedOutput } from '../structs/WatchedOutput.mjs';
544 import { Filter, FilterInterface } from '../structs/Filter.mjs';
545 import { Option_FilterZ } from '../structs/Option_FilterZ.mjs';
546 import { ChangeDestinationSource, ChangeDestinationSourceInterface } from '../structs/ChangeDestinationSource.mjs';
547 import { KVStore, KVStoreInterface } from '../structs/KVStore.mjs';
548 import { OutputSpender, OutputSpenderInterface } from '../structs/OutputSpender.mjs';
549 import { OutputSweeper } from '../structs/OutputSweeper.mjs';
550 import { Result_OutputSweeperDecodeErrorZ } from '../structs/Result_OutputSweeperDecodeErrorZ.mjs';
551 import { TwoTuple_BestBlockOutputSweeperZ } from '../structs/TwoTuple_BestBlockOutputSweeperZ.mjs';
552 import { Result_C2Tuple_BestBlockOutputSweeperZDecodeErrorZ } from '../structs/Result_C2Tuple_BestBlockOutputSweeperZDecodeErrorZ.mjs';
553 import { DelayedPaymentBasepoint } from '../structs/DelayedPaymentBasepoint.mjs';
554 import { Result_DelayedPaymentBasepointDecodeErrorZ } from '../structs/Result_DelayedPaymentBasepointDecodeErrorZ.mjs';
555 import { DelayedPaymentKey } from '../structs/DelayedPaymentKey.mjs';
556 import { Result_DelayedPaymentKeyDecodeErrorZ } from '../structs/Result_DelayedPaymentKeyDecodeErrorZ.mjs';
557 import { HtlcBasepoint } from '../structs/HtlcBasepoint.mjs';
558 import { Result_HtlcBasepointDecodeErrorZ } from '../structs/Result_HtlcBasepointDecodeErrorZ.mjs';
559 import { HtlcKey } from '../structs/HtlcKey.mjs';
560 import { Result_HtlcKeyDecodeErrorZ } from '../structs/Result_HtlcKeyDecodeErrorZ.mjs';
561 import { RevocationBasepoint } from '../structs/RevocationBasepoint.mjs';
562 import { Result_RevocationBasepointDecodeErrorZ } from '../structs/Result_RevocationBasepointDecodeErrorZ.mjs';
563 import { RevocationKey } from '../structs/RevocationKey.mjs';
564 import { Result_RevocationKeyDecodeErrorZ } from '../structs/Result_RevocationKeyDecodeErrorZ.mjs';
565 import { LockedChannelMonitor } from '../structs/LockedChannelMonitor.mjs';
566 import { Result_LockedChannelMonitorNoneZ } from '../structs/Result_LockedChannelMonitorNoneZ.mjs';
567 import { TwoTuple_OutPointChannelIdZ } from '../structs/TwoTuple_OutPointChannelIdZ.mjs';
568 import { MonitorUpdateId } from '../structs/MonitorUpdateId.mjs';
569 import { TwoTuple_OutPointCVec_MonitorUpdateIdZZ } from '../structs/TwoTuple_OutPointCVec_MonitorUpdateIdZZ.mjs';
570 import { FirstHopCandidate } from '../structs/FirstHopCandidate.mjs';
571 import { PublicHopCandidate } from '../structs/PublicHopCandidate.mjs';
572 import { PrivateHopCandidate } from '../structs/PrivateHopCandidate.mjs';
573 import { BlindedPathCandidate } from '../structs/BlindedPathCandidate.mjs';
574 import { OneHopBlindedPathCandidate } from '../structs/OneHopBlindedPathCandidate.mjs';
575 import { CandidateRouteHop } from '../structs/CandidateRouteHop.mjs';
576 import { ChannelUsage } from '../structs/ChannelUsage.mjs';
577 import { ScoreLookUp, ScoreLookUpInterface } from '../structs/ScoreLookUp.mjs';
578 import { ScoreUpdate, ScoreUpdateInterface } from '../structs/ScoreUpdate.mjs';
579 import { LockableScore, LockableScoreInterface } from '../structs/LockableScore.mjs';
580 import { WriteableScore, WriteableScoreInterface } from '../structs/WriteableScore.mjs';
581 import { Persister, PersisterInterface } from '../structs/Persister.mjs';
582 import { MonitorUpdatingPersister } from '../structs/MonitorUpdatingPersister.mjs';
583 import { Persist, PersistInterface } from '../structs/Persist.mjs';
584 import { PrintableString } from '../structs/PrintableString.mjs';
585 import { Listen, ListenInterface } from '../structs/Listen.mjs';
586 import { Confirm, ConfirmInterface } from '../structs/Confirm.mjs';
587 import { SpendingDelay } from '../structs/SpendingDelay.mjs';
588 import { FutureCallback, FutureCallbackInterface } from '../structs/FutureCallback.mjs';
589 import { Future } from '../structs/Future.mjs';
590 import { ChannelHandshakeConfig } from '../structs/ChannelHandshakeConfig.mjs';
591 import { ChannelHandshakeLimits } from '../structs/ChannelHandshakeLimits.mjs';
592 import { ChannelConfigUpdate } from '../structs/ChannelConfigUpdate.mjs';
593 import { UserConfig } from '../structs/UserConfig.mjs';
594 import { ChainMonitor } from '../structs/ChainMonitor.mjs';
595 import { EventHandler, EventHandlerInterface } from '../structs/EventHandler.mjs';
596 import { EventsProvider, EventsProviderInterface } from '../structs/EventsProvider.mjs';
597 import { FailureCode } from '../structs/FailureCode.mjs';
598 import { ChainParameters } from '../structs/ChainParameters.mjs';
599 import { MessageSendEventsProvider, MessageSendEventsProviderInterface } from '../structs/MessageSendEventsProvider.mjs';
600 import { ChannelMessageHandler, ChannelMessageHandlerInterface } from '../structs/ChannelMessageHandler.mjs';
601 import { OffersMessageHandler, OffersMessageHandlerInterface } from '../structs/OffersMessageHandler.mjs';
602 import { NodeIdLookUp, NodeIdLookUpInterface } from '../structs/NodeIdLookUp.mjs';
603 import { ChannelManagerReadArgs } from '../structs/ChannelManagerReadArgs.mjs';
604 import { ExpandedKey } from '../structs/ExpandedKey.mjs';
605 import { CommonOpenChannelFields } from '../structs/CommonOpenChannelFields.mjs';
606 import { CommonAcceptChannelFields } from '../structs/CommonAcceptChannelFields.mjs';
607 import { Packet } from '../structs/Packet.mjs';
608 import { RoutingMessageHandler, RoutingMessageHandlerInterface } from '../structs/RoutingMessageHandler.mjs';
609 import { OnionMessageHandler, OnionMessageHandlerInterface } from '../structs/OnionMessageHandler.mjs';
610 import { TrampolineOnionPacket } from '../structs/TrampolineOnionPacket.mjs';
611 import { CustomMessageReader, CustomMessageReaderInterface } from '../structs/CustomMessageReader.mjs';
612 import { CustomMessageHandler, CustomMessageHandlerInterface } from '../structs/CustomMessageHandler.mjs';
613 import { IgnoringMessageHandler } from '../structs/IgnoringMessageHandler.mjs';
614 import { CustomOnionMessageHandler, CustomOnionMessageHandlerInterface } from '../structs/CustomOnionMessageHandler.mjs';
615 import { ErroringMessageHandler } from '../structs/ErroringMessageHandler.mjs';
616 import { MessageHandler } from '../structs/MessageHandler.mjs';
617 import { SocketDescriptor, SocketDescriptorInterface } from '../structs/SocketDescriptor.mjs';
618 import { PeerManager } from '../structs/PeerManager.mjs';
619 import { DirectedChannelTransactionParameters } from '../structs/DirectedChannelTransactionParameters.mjs';
620 import { OfferFeatures } from '../structs/OfferFeatures.mjs';
621 import { InvoiceRequestFeatures } from '../structs/InvoiceRequestFeatures.mjs';
622 import { OfferWithExplicitMetadataBuilder } from '../structs/OfferWithExplicitMetadataBuilder.mjs';
623 import { SignBolt12InvoiceFn, SignBolt12InvoiceFnInterface } from '../structs/SignBolt12InvoiceFn.mjs';
624 import { TaggedHash } from '../structs/TaggedHash.mjs';
625 import { ErroneousField } from '../structs/ErroneousField.mjs';
626 import { SignInvoiceRequestFn, SignInvoiceRequestFnInterface } from '../structs/SignInvoiceRequestFn.mjs';
627 import { SignError } from '../structs/SignError.mjs';
628 import { P2PGossipSync } from '../structs/P2PGossipSync.mjs';
629 import { ReadOnlyNetworkGraph } from '../structs/ReadOnlyNetworkGraph.mjs';
630 import { DirectedChannelInfo } from '../structs/DirectedChannelInfo.mjs';
631 import { EffectiveCapacity } from '../structs/EffectiveCapacity.mjs';
632 import { DefaultRouter } from '../structs/DefaultRouter.mjs';
633 import { ScorerAccountingForInFlightHtlcs } from '../structs/ScorerAccountingForInFlightHtlcs.mjs';
634 import { Payee } from '../structs/Payee.mjs';
635 import { Score, ScoreInterface } from '../structs/Score.mjs';
636 import { MultiThreadedLockableScore } from '../structs/MultiThreadedLockableScore.mjs';
637 import { MultiThreadedScoreLockRead } from '../structs/MultiThreadedScoreLockRead.mjs';
638 import { MultiThreadedScoreLockWrite } from '../structs/MultiThreadedScoreLockWrite.mjs';
639 import { ProbabilisticScoringDecayParameters } from '../structs/ProbabilisticScoringDecayParameters.mjs';
640 import { KeysManager } from '../structs/KeysManager.mjs';
641 import { PhantomKeysManager } from '../structs/PhantomKeysManager.mjs';
642 import { RandomBytes } from '../structs/RandomBytes.mjs';
643 import { OnionMessenger } from '../structs/OnionMessenger.mjs';
644 import { DefaultMessageRouter } from '../structs/DefaultMessageRouter.mjs';
645 import { IntroductionNode } from '../structs/IntroductionNode.mjs';
646 import { EmptyNodeIdLookUp } from '../structs/EmptyNodeIdLookUp.mjs';
647 import { ForwardTlvs } from '../structs/ForwardTlvs.mjs';
648 import { CoinSelectionSource, CoinSelectionSourceInterface } from '../structs/CoinSelectionSource.mjs';
649 import { WalletSource, WalletSourceInterface } from '../structs/WalletSource.mjs';
650 import { Wallet } from '../structs/Wallet.mjs';
651 import { BumpTransactionEventHandler } from '../structs/BumpTransactionEventHandler.mjs';
652 import { RapidGossipSync } from '../structs/RapidGossipSync.mjs';
653 import { GossipSync } from '../structs/GossipSync.mjs';
654 import { RawDataPart } from '../structs/RawDataPart.mjs';
655 import { Sha256 } from '../structs/Sha256.mjs';
656 import { ExpiryTime } from '../structs/ExpiryTime.mjs';
657 import { MinFinalCltvExpiryDelta } from '../structs/MinFinalCltvExpiryDelta.mjs';
658 import { Fallback } from '../structs/Fallback.mjs';
659
660 import { CommonBase, UInt5, WitnessVersion, UnqualifiedError } from './CommonBase.mjs';
661 import * as bindings from '../bindings.mjs'
662
663
664 /**
665  * Parameters for configuring [`ProbabilisticScorer`].
666  * 
667  * Used to configure base, liquidity, and amount penalties, the sum of which comprises the channel
668  * penalty (i.e., the amount in msats willing to be paid to avoid routing through the channel).
669  * 
670  * The penalty applied to any channel by the [`ProbabilisticScorer`] is the sum of each of the
671  * parameters here.
672  */
673 export class ProbabilisticScoringFeeParameters extends CommonBase {
674         /* @internal */
675         public constructor(_dummy: null, ptr: bigint) {
676                 super(ptr, bindings.ProbabilisticScoringFeeParameters_free);
677         }
678
679         /**
680          * A fixed penalty in msats to apply to each channel.
681          * 
682          * Default value: 500 msat
683          */
684         public get_base_penalty_msat(): bigint {
685                 const ret: bigint = bindings.ProbabilisticScoringFeeParameters_get_base_penalty_msat(this.ptr);
686                 return ret;
687         }
688
689         /**
690          * A fixed penalty in msats to apply to each channel.
691          * 
692          * Default value: 500 msat
693          */
694         public set_base_penalty_msat(val: bigint): void {
695                 bindings.ProbabilisticScoringFeeParameters_set_base_penalty_msat(this.ptr, val);
696         }
697
698         /**
699          * A multiplier used with the total amount flowing over a channel to calculate a fixed penalty
700          * applied to each channel, in excess of the [`base_penalty_msat`].
701          * 
702          * The purpose of the amount penalty is to avoid having fees dominate the channel cost (i.e.,
703          * fees plus penalty) for large payments. The penalty is computed as the product of this
704          * multiplier and `2^30`ths of the total amount flowing over a channel (i.e. the payment
705          * amount plus the amount of any other HTLCs flowing we sent over the same channel).
706          * 
707          * ie `base_penalty_amount_multiplier_msat * amount_msat / 2^30`
708          * 
709          * Default value: 8,192 msat
710          * 
711          * [`base_penalty_msat`]: Self::base_penalty_msat
712          */
713         public get_base_penalty_amount_multiplier_msat(): bigint {
714                 const ret: bigint = bindings.ProbabilisticScoringFeeParameters_get_base_penalty_amount_multiplier_msat(this.ptr);
715                 return ret;
716         }
717
718         /**
719          * A multiplier used with the total amount flowing over a channel to calculate a fixed penalty
720          * applied to each channel, in excess of the [`base_penalty_msat`].
721          * 
722          * The purpose of the amount penalty is to avoid having fees dominate the channel cost (i.e.,
723          * fees plus penalty) for large payments. The penalty is computed as the product of this
724          * multiplier and `2^30`ths of the total amount flowing over a channel (i.e. the payment
725          * amount plus the amount of any other HTLCs flowing we sent over the same channel).
726          * 
727          * ie `base_penalty_amount_multiplier_msat * amount_msat / 2^30`
728          * 
729          * Default value: 8,192 msat
730          * 
731          * [`base_penalty_msat`]: Self::base_penalty_msat
732          */
733         public set_base_penalty_amount_multiplier_msat(val: bigint): void {
734                 bindings.ProbabilisticScoringFeeParameters_set_base_penalty_amount_multiplier_msat(this.ptr, val);
735         }
736
737         /**
738          * A multiplier used in conjunction with the negative `log10` of the channel's success
739          * probability for a payment, as determined by our latest estimates of the channel's
740          * liquidity, to determine the liquidity penalty.
741          * 
742          * The penalty is based in part on the knowledge learned from prior successful and unsuccessful
743          * payments. This knowledge is decayed over time based on [`liquidity_offset_half_life`]. The
744          * penalty is effectively limited to `2 * liquidity_penalty_multiplier_msat` (corresponding to
745          * lower bounding the success probability to `0.01`) when the amount falls within the
746          * uncertainty bounds of the channel liquidity balance. Amounts above the upper bound will
747          * result in a `u64::max_value` penalty, however.
748          * 
749          * `-log10(success_probability) * liquidity_penalty_multiplier_msat`
750          * 
751          * Default value: 30,000 msat
752          * 
753          * [`liquidity_offset_half_life`]: ProbabilisticScoringDecayParameters::liquidity_offset_half_life
754          */
755         public get_liquidity_penalty_multiplier_msat(): bigint {
756                 const ret: bigint = bindings.ProbabilisticScoringFeeParameters_get_liquidity_penalty_multiplier_msat(this.ptr);
757                 return ret;
758         }
759
760         /**
761          * A multiplier used in conjunction with the negative `log10` of the channel's success
762          * probability for a payment, as determined by our latest estimates of the channel's
763          * liquidity, to determine the liquidity penalty.
764          * 
765          * The penalty is based in part on the knowledge learned from prior successful and unsuccessful
766          * payments. This knowledge is decayed over time based on [`liquidity_offset_half_life`]. The
767          * penalty is effectively limited to `2 * liquidity_penalty_multiplier_msat` (corresponding to
768          * lower bounding the success probability to `0.01`) when the amount falls within the
769          * uncertainty bounds of the channel liquidity balance. Amounts above the upper bound will
770          * result in a `u64::max_value` penalty, however.
771          * 
772          * `-log10(success_probability) * liquidity_penalty_multiplier_msat`
773          * 
774          * Default value: 30,000 msat
775          * 
776          * [`liquidity_offset_half_life`]: ProbabilisticScoringDecayParameters::liquidity_offset_half_life
777          */
778         public set_liquidity_penalty_multiplier_msat(val: bigint): void {
779                 bindings.ProbabilisticScoringFeeParameters_set_liquidity_penalty_multiplier_msat(this.ptr, val);
780         }
781
782         /**
783          * A multiplier used in conjunction with the total amount flowing over a channel and the
784          * negative `log10` of the channel's success probability for the payment, as determined by our
785          * latest estimates of the channel's liquidity, to determine the amount penalty.
786          * 
787          * The purpose of the amount penalty is to avoid having fees dominate the channel cost (i.e.,
788          * fees plus penalty) for large payments. The penalty is computed as the product of this
789          * multiplier and `2^20`ths of the amount flowing over this channel, weighted by the negative
790          * `log10` of the success probability.
791          * 
792          * `-log10(success_probability) * liquidity_penalty_amount_multiplier_msat * amount_msat / 2^20`
793          * 
794          * In practice, this means for 0.1 success probability (`-log10(0.1) == 1`) each `2^20`th of
795          * the amount will result in a penalty of the multiplier. And, as the success probability
796          * decreases, the negative `log10` weighting will increase dramatically. For higher success
797          * probabilities, the multiplier will have a decreasing effect as the negative `log10` will
798          * fall below `1`.
799          * 
800          * Default value: 192 msat
801          */
802         public get_liquidity_penalty_amount_multiplier_msat(): bigint {
803                 const ret: bigint = bindings.ProbabilisticScoringFeeParameters_get_liquidity_penalty_amount_multiplier_msat(this.ptr);
804                 return ret;
805         }
806
807         /**
808          * A multiplier used in conjunction with the total amount flowing over a channel and the
809          * negative `log10` of the channel's success probability for the payment, as determined by our
810          * latest estimates of the channel's liquidity, to determine the amount penalty.
811          * 
812          * The purpose of the amount penalty is to avoid having fees dominate the channel cost (i.e.,
813          * fees plus penalty) for large payments. The penalty is computed as the product of this
814          * multiplier and `2^20`ths of the amount flowing over this channel, weighted by the negative
815          * `log10` of the success probability.
816          * 
817          * `-log10(success_probability) * liquidity_penalty_amount_multiplier_msat * amount_msat / 2^20`
818          * 
819          * In practice, this means for 0.1 success probability (`-log10(0.1) == 1`) each `2^20`th of
820          * the amount will result in a penalty of the multiplier. And, as the success probability
821          * decreases, the negative `log10` weighting will increase dramatically. For higher success
822          * probabilities, the multiplier will have a decreasing effect as the negative `log10` will
823          * fall below `1`.
824          * 
825          * Default value: 192 msat
826          */
827         public set_liquidity_penalty_amount_multiplier_msat(val: bigint): void {
828                 bindings.ProbabilisticScoringFeeParameters_set_liquidity_penalty_amount_multiplier_msat(this.ptr, val);
829         }
830
831         /**
832          * A multiplier used in conjunction with the negative `log10` of the channel's success
833          * probability for the payment, as determined based on the history of our estimates of the
834          * channel's available liquidity, to determine a penalty.
835          * 
836          * This penalty is similar to [`liquidity_penalty_multiplier_msat`], however, instead of using
837          * only our latest estimate for the current liquidity available in the channel, it estimates
838          * success probability based on the estimated liquidity available in the channel through
839          * history. Specifically, every time we update our liquidity bounds on a given channel, we
840          * track which of several buckets those bounds fall into, exponentially decaying the
841          * probability of each bucket as new samples are added.
842          * 
843          * Default value: 10,000 msat
844          * 
845          * [`liquidity_penalty_multiplier_msat`]: Self::liquidity_penalty_multiplier_msat
846          */
847         public get_historical_liquidity_penalty_multiplier_msat(): bigint {
848                 const ret: bigint = bindings.ProbabilisticScoringFeeParameters_get_historical_liquidity_penalty_multiplier_msat(this.ptr);
849                 return ret;
850         }
851
852         /**
853          * A multiplier used in conjunction with the negative `log10` of the channel's success
854          * probability for the payment, as determined based on the history of our estimates of the
855          * channel's available liquidity, to determine a penalty.
856          * 
857          * This penalty is similar to [`liquidity_penalty_multiplier_msat`], however, instead of using
858          * only our latest estimate for the current liquidity available in the channel, it estimates
859          * success probability based on the estimated liquidity available in the channel through
860          * history. Specifically, every time we update our liquidity bounds on a given channel, we
861          * track which of several buckets those bounds fall into, exponentially decaying the
862          * probability of each bucket as new samples are added.
863          * 
864          * Default value: 10,000 msat
865          * 
866          * [`liquidity_penalty_multiplier_msat`]: Self::liquidity_penalty_multiplier_msat
867          */
868         public set_historical_liquidity_penalty_multiplier_msat(val: bigint): void {
869                 bindings.ProbabilisticScoringFeeParameters_set_historical_liquidity_penalty_multiplier_msat(this.ptr, val);
870         }
871
872         /**
873          * A multiplier used in conjunction with the total amount flowing over a channel and the
874          * negative `log10` of the channel's success probability for the payment, as determined based
875          * on the history of our estimates of the channel's available liquidity, to determine a
876          * penalty.
877          * 
878          * The purpose of the amount penalty is to avoid having fees dominate the channel cost for
879          * large payments. The penalty is computed as the product of this multiplier and `2^20`ths
880          * of the amount flowing over this channel, weighted by the negative `log10` of the success
881          * probability.
882          * 
883          * This penalty is similar to [`liquidity_penalty_amount_multiplier_msat`], however, instead
884          * of using only our latest estimate for the current liquidity available in the channel, it
885          * estimates success probability based on the estimated liquidity available in the channel
886          * through history. Specifically, every time we update our liquidity bounds on a given
887          * channel, we track which of several buckets those bounds fall into, exponentially decaying
888          * the probability of each bucket as new samples are added.
889          * 
890          * Default value: 64 msat
891          * 
892          * [`liquidity_penalty_amount_multiplier_msat`]: Self::liquidity_penalty_amount_multiplier_msat
893          */
894         public get_historical_liquidity_penalty_amount_multiplier_msat(): bigint {
895                 const ret: bigint = bindings.ProbabilisticScoringFeeParameters_get_historical_liquidity_penalty_amount_multiplier_msat(this.ptr);
896                 return ret;
897         }
898
899         /**
900          * A multiplier used in conjunction with the total amount flowing over a channel and the
901          * negative `log10` of the channel's success probability for the payment, as determined based
902          * on the history of our estimates of the channel's available liquidity, to determine a
903          * penalty.
904          * 
905          * The purpose of the amount penalty is to avoid having fees dominate the channel cost for
906          * large payments. The penalty is computed as the product of this multiplier and `2^20`ths
907          * of the amount flowing over this channel, weighted by the negative `log10` of the success
908          * probability.
909          * 
910          * This penalty is similar to [`liquidity_penalty_amount_multiplier_msat`], however, instead
911          * of using only our latest estimate for the current liquidity available in the channel, it
912          * estimates success probability based on the estimated liquidity available in the channel
913          * through history. Specifically, every time we update our liquidity bounds on a given
914          * channel, we track which of several buckets those bounds fall into, exponentially decaying
915          * the probability of each bucket as new samples are added.
916          * 
917          * Default value: 64 msat
918          * 
919          * [`liquidity_penalty_amount_multiplier_msat`]: Self::liquidity_penalty_amount_multiplier_msat
920          */
921         public set_historical_liquidity_penalty_amount_multiplier_msat(val: bigint): void {
922                 bindings.ProbabilisticScoringFeeParameters_set_historical_liquidity_penalty_amount_multiplier_msat(this.ptr, val);
923         }
924
925         /**
926          * This penalty is applied when `htlc_maximum_msat` is equal to or larger than half of the
927          * channel's capacity, (ie. htlc_maximum_msat >= 0.5 * channel_capacity) which makes us
928          * prefer nodes with a smaller `htlc_maximum_msat`. We treat such nodes preferentially
929          * as this makes balance discovery attacks harder to execute, thereby creating an incentive
930          * to restrict `htlc_maximum_msat` and improve privacy.
931          * 
932          * Default value: 250 msat
933          */
934         public get_anti_probing_penalty_msat(): bigint {
935                 const ret: bigint = bindings.ProbabilisticScoringFeeParameters_get_anti_probing_penalty_msat(this.ptr);
936                 return ret;
937         }
938
939         /**
940          * This penalty is applied when `htlc_maximum_msat` is equal to or larger than half of the
941          * channel's capacity, (ie. htlc_maximum_msat >= 0.5 * channel_capacity) which makes us
942          * prefer nodes with a smaller `htlc_maximum_msat`. We treat such nodes preferentially
943          * as this makes balance discovery attacks harder to execute, thereby creating an incentive
944          * to restrict `htlc_maximum_msat` and improve privacy.
945          * 
946          * Default value: 250 msat
947          */
948         public set_anti_probing_penalty_msat(val: bigint): void {
949                 bindings.ProbabilisticScoringFeeParameters_set_anti_probing_penalty_msat(this.ptr, val);
950         }
951
952         /**
953          * This penalty is applied when the total amount flowing over a channel exceeds our current
954          * estimate of the channel's available liquidity. The total amount is the amount of the
955          * current HTLC plus any HTLCs which we've sent over the same channel.
956          * 
957          * Note that in this case all other penalties, including the
958          * [`liquidity_penalty_multiplier_msat`] and [`liquidity_penalty_amount_multiplier_msat`]-based
959          * penalties, as well as the [`base_penalty_msat`] and the [`anti_probing_penalty_msat`], if
960          * applicable, are still included in the overall penalty.
961          * 
962          * If you wish to avoid creating paths with such channels entirely, setting this to a value of
963          * `u64::max_value()` will guarantee that.
964          * 
965          * Default value: 1_0000_0000_000 msat (1 Bitcoin)
966          * 
967          * [`liquidity_penalty_multiplier_msat`]: Self::liquidity_penalty_multiplier_msat
968          * [`liquidity_penalty_amount_multiplier_msat`]: Self::liquidity_penalty_amount_multiplier_msat
969          * [`base_penalty_msat`]: Self::base_penalty_msat
970          * [`anti_probing_penalty_msat`]: Self::anti_probing_penalty_msat
971          */
972         public get_considered_impossible_penalty_msat(): bigint {
973                 const ret: bigint = bindings.ProbabilisticScoringFeeParameters_get_considered_impossible_penalty_msat(this.ptr);
974                 return ret;
975         }
976
977         /**
978          * This penalty is applied when the total amount flowing over a channel exceeds our current
979          * estimate of the channel's available liquidity. The total amount is the amount of the
980          * current HTLC plus any HTLCs which we've sent over the same channel.
981          * 
982          * Note that in this case all other penalties, including the
983          * [`liquidity_penalty_multiplier_msat`] and [`liquidity_penalty_amount_multiplier_msat`]-based
984          * penalties, as well as the [`base_penalty_msat`] and the [`anti_probing_penalty_msat`], if
985          * applicable, are still included in the overall penalty.
986          * 
987          * If you wish to avoid creating paths with such channels entirely, setting this to a value of
988          * `u64::max_value()` will guarantee that.
989          * 
990          * Default value: 1_0000_0000_000 msat (1 Bitcoin)
991          * 
992          * [`liquidity_penalty_multiplier_msat`]: Self::liquidity_penalty_multiplier_msat
993          * [`liquidity_penalty_amount_multiplier_msat`]: Self::liquidity_penalty_amount_multiplier_msat
994          * [`base_penalty_msat`]: Self::base_penalty_msat
995          * [`anti_probing_penalty_msat`]: Self::anti_probing_penalty_msat
996          */
997         public set_considered_impossible_penalty_msat(val: bigint): void {
998                 bindings.ProbabilisticScoringFeeParameters_set_considered_impossible_penalty_msat(this.ptr, val);
999         }
1000
1001         /**
1002          * In order to calculate most of the scores above, we must first convert a lower and upper
1003          * bound on the available liquidity in a channel into the probability that we think a payment
1004          * will succeed. That probability is derived from a Probability Density Function for where we
1005          * think the liquidity in a channel likely lies, given such bounds.
1006          * 
1007          * If this flag is set, that PDF is simply a constant - we assume that the actual available
1008          * liquidity in a channel is just as likely to be at any point between our lower and upper
1009          * bounds.
1010          * 
1011          * If this flag is *not* set, that PDF is `(x - 0.5*capacity) ^ 2`. That is, we use an
1012          * exponential curve which expects the liquidity of a channel to lie \"at the edges\". This
1013          * matches experimental results - most routing nodes do not aggressively rebalance their
1014          * channels and flows in the network are often unbalanced, leaving liquidity usually
1015          * unavailable.
1016          * 
1017          * Thus, for the \"best\" routes, leave this flag `false`. However, the flag does imply a number
1018          * of floating-point multiplications in the hottest routing code, which may lead to routing
1019          * performance degradation on some machines.
1020          * 
1021          * Default value: false
1022          */
1023         public get_linear_success_probability(): boolean {
1024                 const ret: boolean = bindings.ProbabilisticScoringFeeParameters_get_linear_success_probability(this.ptr);
1025                 return ret;
1026         }
1027
1028         /**
1029          * In order to calculate most of the scores above, we must first convert a lower and upper
1030          * bound on the available liquidity in a channel into the probability that we think a payment
1031          * will succeed. That probability is derived from a Probability Density Function for where we
1032          * think the liquidity in a channel likely lies, given such bounds.
1033          * 
1034          * If this flag is set, that PDF is simply a constant - we assume that the actual available
1035          * liquidity in a channel is just as likely to be at any point between our lower and upper
1036          * bounds.
1037          * 
1038          * If this flag is *not* set, that PDF is `(x - 0.5*capacity) ^ 2`. That is, we use an
1039          * exponential curve which expects the liquidity of a channel to lie \"at the edges\". This
1040          * matches experimental results - most routing nodes do not aggressively rebalance their
1041          * channels and flows in the network are often unbalanced, leaving liquidity usually
1042          * unavailable.
1043          * 
1044          * Thus, for the \"best\" routes, leave this flag `false`. However, the flag does imply a number
1045          * of floating-point multiplications in the hottest routing code, which may lead to routing
1046          * performance degradation on some machines.
1047          * 
1048          * Default value: false
1049          */
1050         public set_linear_success_probability(val: boolean): void {
1051                 bindings.ProbabilisticScoringFeeParameters_set_linear_success_probability(this.ptr, val);
1052         }
1053
1054         public clone_ptr(): bigint {
1055                 const ret: bigint = bindings.ProbabilisticScoringFeeParameters_clone_ptr(this.ptr);
1056                 return ret;
1057         }
1058
1059         /**
1060          * Creates a copy of the ProbabilisticScoringFeeParameters
1061          */
1062         public clone(): ProbabilisticScoringFeeParameters {
1063                 const ret: bigint = bindings.ProbabilisticScoringFeeParameters_clone(this.ptr);
1064                 const ret_hu_conv: ProbabilisticScoringFeeParameters = new ProbabilisticScoringFeeParameters(null, ret);
1065                 CommonBase.add_ref_from(ret_hu_conv, this);
1066                 return ret_hu_conv;
1067         }
1068
1069         /**
1070          * Creates a "default" ProbabilisticScoringFeeParameters. See struct and individual field documentaiton for details on which values are used.
1071          */
1072         public static constructor_default(): ProbabilisticScoringFeeParameters {
1073                 const ret: bigint = bindings.ProbabilisticScoringFeeParameters_default();
1074                 const ret_hu_conv: ProbabilisticScoringFeeParameters = new ProbabilisticScoringFeeParameters(null, ret);
1075                 CommonBase.add_ref_from(ret_hu_conv, ret_hu_conv);
1076                 return ret_hu_conv;
1077         }
1078
1079         /**
1080          * Marks the node with the given `node_id` as banned,
1081          * i.e it will be avoided during path finding.
1082          */
1083         public add_banned(node_id: NodeId): void {
1084                 bindings.ProbabilisticScoringFeeParameters_add_banned(this.ptr, CommonBase.get_ptr_of(node_id));
1085                 CommonBase.add_ref_from(this, node_id);
1086         }
1087
1088         /**
1089          * Marks all nodes in the given list as banned, i.e.,
1090          * they will be avoided during path finding.
1091          */
1092         public add_banned_from_list(node_ids: NodeId[]): void {
1093                 bindings.ProbabilisticScoringFeeParameters_add_banned_from_list(this.ptr, bindings.encodeUint64Array(node_ids.map(node_ids_conv_8 => CommonBase.get_ptr_of(node_ids_conv_8))));
1094                 node_ids.forEach((node_ids_conv_8: NodeId) => { CommonBase.add_ref_from(this, node_ids_conv_8); });
1095         }
1096
1097         /**
1098          * Removes the node with the given `node_id` from the list of nodes to avoid.
1099          */
1100         public remove_banned(node_id: NodeId): void {
1101                 bindings.ProbabilisticScoringFeeParameters_remove_banned(this.ptr, CommonBase.get_ptr_of(node_id));
1102                 CommonBase.add_ref_from(this, node_id);
1103         }
1104
1105         /**
1106          * Sets a manual penalty for the given node.
1107          */
1108         public set_manual_penalty(node_id: NodeId, penalty: bigint): void {
1109                 bindings.ProbabilisticScoringFeeParameters_set_manual_penalty(this.ptr, CommonBase.get_ptr_of(node_id), penalty);
1110                 CommonBase.add_ref_from(this, node_id);
1111         }
1112
1113         /**
1114          * Removes the node with the given `node_id` from the list of manual penalties.
1115          */
1116         public remove_manual_penalty(node_id: NodeId): void {
1117                 bindings.ProbabilisticScoringFeeParameters_remove_manual_penalty(this.ptr, CommonBase.get_ptr_of(node_id));
1118                 CommonBase.add_ref_from(this, node_id);
1119         }
1120
1121         /**
1122          * Clears the list of manual penalties that are applied during path finding.
1123          */
1124         public clear_manual_penalties(): void {
1125                 bindings.ProbabilisticScoringFeeParameters_clear_manual_penalties(this.ptr);
1126         }
1127
1128 }