Skip to content

Commit

Permalink
backwards compat fetch_blocks
Browse files Browse the repository at this point in the history
added doc for tracking rpc calls needed by various clients
  • Loading branch information
dr-bonez committed Nov 30, 2020
1 parent a28187e commit 5ca15b9
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
22 changes: 22 additions & 0 deletions known-required-rpcs.md
Original file line number Diff line number Diff line change
@@ -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`

1 change: 1 addition & 0 deletions src/users.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ impl Users {
pub struct User {
pub password: String,
pub allowed_calls: HashSet<String>,
#[serde(default)]
pub fetch_blocks: bool,
}
impl User {
Expand Down

0 comments on commit 5ca15b9

Please sign in to comment.