Files
palladum-lightning/plugins/lsps-plugin/src/lsps2/mod.rs
Peter Neuroth 581eb3076f lsp_plugin: add lsps2_getinfo handler and call
This commit adds the lsps2_get_info call defined by BLIP052. It also
adds a test policy plugin that the LSP service plugin uses to fetch the
actual fee menu from to separate the concerns of providing a spec
compliant implementation of an LSP and making business decisions about
fee prices.

Signed-off-by: Peter Neuroth <pet.v.ne@gmail.com>
2025-11-13 10:58:49 +10:30

16 lines
446 B
Rust

use cln_plugin::options;
pub mod handler;
pub mod model;
pub const OPTION_ENABLED: options::FlagConfigOption = options::ConfigOption::new_flag(
"dev-lsps2-service-enabled",
"Enables lsps2 for the LSP service",
);
pub const OPTION_PROMISE_SECRET: options::StringConfigOption =
options::ConfigOption::new_str_no_default(
"dev-lsps2-promise-secret",
"A 64-character hex string that is the secret for promises",
);