File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ dictionary Config {
1313 u64 probing_liquidity_limit_multiplier;
1414 AnchorChannelsConfig? anchor_channels_config;
1515 RouteParametersConfig? route_parameters;
16+ boolean is_hrn_resolver;
1617};
1718
1819dictionary AnchorChannelsConfig {
Original file line number Diff line number Diff line change @@ -113,7 +113,8 @@ pub const WALLET_KEYS_SEED_LEN: usize = 64;
113113/// | `probing_liquidity_limit_multiplier` | 3 |
114114/// | `log_level` | Debug |
115115/// | `anchor_channels_config` | Some(..) |
116- /// | `route_parameters` | None |
116+ /// | `route_parameters` | None |
117+ /// | `is_hrn_resolver` | false |
117118///
118119/// See [`AnchorChannelsConfig`] and [`RouteParametersConfig`] for more information regarding their
119120/// respective default values.
@@ -178,6 +179,8 @@ pub struct Config {
178179 /// **Note:** If unset, default parameters will be used, and you will be able to override the
179180 /// parameters on a per-payment basis in the corresponding method calls.
180181 pub route_parameters : Option < RouteParametersConfig > ,
182+ /// This allows us to use our node as a DNS resolver for 3rd party HRN resolutions.
183+ pub is_hrn_resolver : bool ,
181184}
182185
183186impl Default for Config {
@@ -192,6 +195,7 @@ impl Default for Config {
192195 anchor_channels_config : Some ( AnchorChannelsConfig :: default ( ) ) ,
193196 route_parameters : None ,
194197 node_alias : None ,
198+ is_hrn_resolver : false ,
195199 }
196200 }
197201}
You can’t perform that action at this time.
0 commit comments