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