diff --git a/known-required-rpcs.md b/known-required-rpcs.md new file mode 100644 index 0000000..350ddca --- /dev/null +++ b/known-required-rpcs.md @@ -0,0 +1,22 @@ +## c-lightning +- `echo` +- `gettxout` +- `getblockchaininfo` +- `sendrawtransaction` +- `getblockhash` +- `getblock` +- `estimatesmartfee` +- `getnetworkinfo` + +## LND +- `getinfo` (deprecated, but LND seems to case on the error message) +- `getbestblockhash` +- `gettxout` +- `getblockchaininfo` +- `sendrawtransaction` +- `getblockhash` +- `getblock` +- `getblockheader` +- `estimatesmartfee` +- `getnetworkinfo` + diff --git a/src/users.rs b/src/users.rs index 08ceed9..449ea79 100644 --- a/src/users.rs +++ b/src/users.rs @@ -41,6 +41,7 @@ impl Users { pub struct User { pub password: String, pub allowed_calls: HashSet, + #[serde(default)] pub fetch_blocks: bool, } impl User {