@@ -12,7 +12,7 @@ dictionary Config {
12
12
sequence<PublicKey> trusted_peers_0conf;
13
13
u64 probing_liquidity_limit_multiplier;
14
14
AnchorChannelsConfig? anchor_channels_config;
15
- SendingParameters? sending_parameters ;
15
+ RouteParametersConfig? route_parameters ;
16
16
};
17
17
18
18
dictionary AnchorChannelsConfig {
@@ -167,13 +167,13 @@ interface Bolt11InvoiceDescription {
167
167
168
168
interface Bolt11Payment {
169
169
[Throws=NodeError]
170
- PaymentId send([ByRef]Bolt11Invoice invoice, SendingParameters? sending_parameters );
170
+ PaymentId send([ByRef]Bolt11Invoice invoice, RouteParametersConfig? route_parameters );
171
171
[Throws=NodeError]
172
- PaymentId send_using_amount([ByRef]Bolt11Invoice invoice, u64 amount_msat, SendingParameters? sending_parameters );
172
+ PaymentId send_using_amount([ByRef]Bolt11Invoice invoice, u64 amount_msat, RouteParametersConfig? route_parameters );
173
173
[Throws=NodeError]
174
- void send_probes([ByRef]Bolt11Invoice invoice);
174
+ void send_probes([ByRef]Bolt11Invoice invoice, RouteParametersConfig? route_parameters );
175
175
[Throws=NodeError]
176
- void send_probes_using_amount([ByRef]Bolt11Invoice invoice, u64 amount_msat);
176
+ void send_probes_using_amount([ByRef]Bolt11Invoice invoice, u64 amount_msat, RouteParametersConfig? route_parameters );
177
177
[Throws=NodeError]
178
178
void claim_for_hash(PaymentHash payment_hash, u64 claimable_amount_msat, PaymentPreimage preimage);
179
179
[Throws=NodeError]
@@ -209,9 +209,9 @@ interface Bolt12Payment {
209
209
210
210
interface SpontaneousPayment {
211
211
[Throws=NodeError]
212
- PaymentId send(u64 amount_msat, PublicKey node_id, SendingParameters? sending_parameters );
212
+ PaymentId send(u64 amount_msat, PublicKey node_id, RouteParametersConfig? route_parameters );
213
213
[Throws=NodeError]
214
- PaymentId send_with_custom_tlvs(u64 amount_msat, PublicKey node_id, SendingParameters? sending_parameters , sequence<CustomTlvRecord> custom_tlvs);
214
+ PaymentId send_with_custom_tlvs(u64 amount_msat, PublicKey node_id, RouteParametersConfig? route_parameters , sequence<CustomTlvRecord> custom_tlvs);
215
215
[Throws=NodeError]
216
216
void send_probes(u64 amount_msat, PublicKey node_id);
217
217
};
@@ -447,11 +447,11 @@ dictionary PaymentDetails {
447
447
u64 latest_update_timestamp;
448
448
};
449
449
450
- dictionary SendingParameters {
451
- MaxTotalRoutingFeeLimit ? max_total_routing_fee_msat;
452
- u32? max_total_cltv_expiry_delta;
453
- u8? max_path_count;
454
- u8? max_channel_saturation_power_of_half;
450
+ dictionary RouteParametersConfig {
451
+ u64 ? max_total_routing_fee_msat;
452
+ u32 max_total_cltv_expiry_delta;
453
+ u8 max_path_count;
454
+ u8 max_channel_saturation_power_of_half;
455
455
};
456
456
457
457
dictionary CustomTlvRecord {
@@ -512,12 +512,6 @@ enum LSPS1PaymentState {
512
512
"Refunded",
513
513
};
514
514
515
- [Enum]
516
- interface MaxTotalRoutingFeeLimit {
517
- None ();
518
- Some ( u64 amount_msat );
519
- };
520
-
521
515
[NonExhaustive]
522
516
enum Network {
523
517
"Bitcoin",
0 commit comments