@@ -12,7 +12,7 @@ dictionary Config {
1212 sequence<PublicKey> trusted_peers_0conf;
1313 u64 probing_liquidity_limit_multiplier;
1414 AnchorChannelsConfig? anchor_channels_config;
15- SendingParameters? sending_parameters ;
15+ RouteParametersConfig? route_parameters ;
1616};
1717
1818dictionary AnchorChannelsConfig {
@@ -166,13 +166,13 @@ interface Bolt11InvoiceDescription {
166166
167167interface Bolt11Payment {
168168 [Throws=NodeError]
169- PaymentId send([ByRef]Bolt11Invoice invoice, SendingParameters? sending_parameters );
169+ PaymentId send([ByRef]Bolt11Invoice invoice, RouteParametersConfig? route_parameters );
170170 [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 );
172172 [Throws=NodeError]
173- void send_probes([ByRef]Bolt11Invoice invoice);
173+ void send_probes([ByRef]Bolt11Invoice invoice, RouteParametersConfig? route_parameters );
174174 [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 );
176176 [Throws=NodeError]
177177 void claim_for_hash(PaymentHash payment_hash, u64 claimable_amount_msat, PaymentPreimage preimage);
178178 [Throws=NodeError]
@@ -208,9 +208,9 @@ interface Bolt12Payment {
208208
209209interface SpontaneousPayment {
210210 [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 );
212212 [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);
214214 [Throws=NodeError]
215215 void send_probes(u64 amount_msat, PublicKey node_id);
216216};
@@ -446,11 +446,11 @@ dictionary PaymentDetails {
446446 u64 latest_update_timestamp;
447447};
448448
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;
454454};
455455
456456dictionary CustomTlvRecord {
@@ -511,12 +511,6 @@ enum LSPS1PaymentState {
511511 "Refunded",
512512};
513513
514- [Enum]
515- interface MaxTotalRoutingFeeLimit {
516- None ();
517- Some ( u64 amount_msat );
518- };
519-
520514[NonExhaustive]
521515enum Network {
522516 "Bitcoin",
0 commit comments