pub enum FunderupdatePolicy {
MATCH = 0,
AVAILABLE = 1,
FIXED = 2,
}Expand description
[‘Funder plugin will use to decide how much capital to commit to a v2 open channel request.’, ‘There are three policy options, detailed below:’, ’ * match – Contribute policy_mod percent of their requested funds. Valid policy_mod values are 0 to 200. If this is a channel lease request, we match based on their requested funds. If it is not a channel lease request (and lease_only is false), then we match their funding amount. Note: any lease match less than 100 will likely fail, as clients will not accept a lease less than their request.‘, ’ * available – Contribute policy_mod percent of our available node wallet funds. Valid policy_mod values are 0 to 100.’, ’ * fixed – Contributes a fixed policy_mod sats to v2 channel open requests.’]
Variants§
Trait Implementations§
Source§impl Clone for FunderupdatePolicy
impl Clone for FunderupdatePolicy
Source§fn clone(&self) -> FunderupdatePolicy
fn clone(&self) -> FunderupdatePolicy
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more