Struct lightning_signer::policy::onchain_validator::OnchainPolicy
source · pub struct OnchainPolicy { /* private fields */ }Expand description
Policy to configure the onchain validator
Trait Implementations§
source§impl Policy for OnchainPolicy
impl Policy for OnchainPolicy
source§fn policy_error(&self, _tag: String, msg: String) -> Result<(), ValidationError>
fn policy_error(&self, _tag: String, msg: String) -> Result<(), ValidationError>
A policy error has occured.
Policy errors can be converted to warnings by returning
Ok(())source§fn global_velocity_control(&self) -> VelocityControlSpec
fn global_velocity_control(&self) -> VelocityControlSpec
Velocity control to apply to the entire node