File tree Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Expand file tree Collapse file tree 2 files changed +5
-0
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 SendingParameters? sending_parameters;
16+ boolean is_hrn_resolver;
1617};
1718
1819dictionary AnchorChannelsConfig {
Original file line number Diff line number Diff line change @@ -115,6 +115,7 @@ pub const WALLET_KEYS_SEED_LEN: usize = 64;
115115/// | `log_level` | Debug |
116116/// | `anchor_channels_config` | Some(..) |
117117/// | `sending_parameters` | None |
118+ /// | `is_hrn_resolver` | false |
118119///
119120/// See [`AnchorChannelsConfig`] and [`SendingParameters`] for more information regarding their
120121/// respective default values.
@@ -179,6 +180,8 @@ pub struct Config {
179180 /// **Note:** If unset, default parameters will be used, and you will be able to override the
180181 /// parameters on a per-payment basis in the corresponding method calls.
181182 pub sending_parameters : Option < SendingParameters > ,
183+ /// This allows us to use our node as a DNS resolver for 3rd party HRN resolutions.
184+ pub is_hrn_resolver : bool ,
182185}
183186
184187impl Default for Config {
@@ -193,6 +196,7 @@ impl Default for Config {
193196 anchor_channels_config : Some ( AnchorChannelsConfig :: default ( ) ) ,
194197 sending_parameters : None ,
195198 node_alias : None ,
199+ is_hrn_resolver : false ,
196200 }
197201 }
198202}
You can’t perform that action at this time.
0 commit comments