| 10 | #[serde(tag = "method", content = "params")] |
| 11 | #[serde(rename_all = "snake_case")] |
| 12 | pub(crate) enum Request { |
| 13 | // Builtin |
| 14 | Getmanifest(GetManifestCall), |
| 15 | Init(InitCall), |
| 16 | // Hooks |
| 17 | // PeerConnected, |
| 18 | // CommitmentRevocation, |
| 19 | // DbWrite, |
| 20 | // InvoicePayment, |
| 21 | // Openchannel, |
| 22 | // Openchannel2, |
| 23 | // Openchannel2Changed, |
| 24 | // Openchannel2Sign, |
| 25 | // RbfChannel, |
| 26 | // HtlcAccepted, |
| 27 | // RpcCommand, |
| 28 | // Custommsg, |
| 29 | // OnionMessage, |
| 30 | // OnionMessageBlinded, |
| 31 | // OnionMessageOurpath, |
| 32 | |
| 33 | // Bitcoin backend |
| 34 | // Getchaininfo, |
| 35 | // Estimatefees, |
| 36 | // Getrawblockbyheight, |
| 37 | // Getutxout, |
| 38 | // Sendrawtransaction, |
| 39 | } |
| 40 | |
| 41 | #[derive(Deserialize, Debug)] |
| 42 | #[serde(tag = "method", content = "params")] |