forked from lightningdevkit/ldk-server
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathendpoints.rs
More file actions
48 lines (47 loc) · 2.57 KB
/
endpoints.rs
File metadata and controls
48 lines (47 loc) · 2.57 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
// This file is Copyright its original authors, visible in version control
// history.
//
// This file is licensed under the Apache License, Version 2.0 <LICENSE-APACHE
// or http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your option.
// You may not use this file except in accordance with one or both of these
// licenses.
pub const GET_NODE_INFO_PATH: &str = "GetNodeInfo";
pub const GET_BALANCES_PATH: &str = "GetBalances";
pub const ONCHAIN_RECEIVE_PATH: &str = "OnchainReceive";
pub const ONCHAIN_SEND_PATH: &str = "OnchainSend";
pub const BOLT11_RECEIVE_PATH: &str = "Bolt11Receive";
pub const BOLT11_RECEIVE_FOR_HASH_PATH: &str = "Bolt11ReceiveForHash";
pub const BOLT11_CLAIM_FOR_HASH_PATH: &str = "Bolt11ClaimForHash";
pub const BOLT11_FAIL_FOR_HASH_PATH: &str = "Bolt11FailForHash";
pub const BOLT11_RECEIVE_VIA_JIT_CHANNEL_PATH: &str = "Bolt11ReceiveViaJitChannel";
pub const BOLT11_RECEIVE_VARIABLE_AMOUNT_VIA_JIT_CHANNEL_PATH: &str =
"Bolt11ReceiveVariableAmountViaJitChannel";
pub const BOLT11_SEND_PATH: &str = "Bolt11Send";
pub const BOLT12_RECEIVE_PATH: &str = "Bolt12Receive";
pub const BOLT12_SEND_PATH: &str = "Bolt12Send";
pub const OPEN_CHANNEL_PATH: &str = "OpenChannel";
pub const SPLICE_IN_PATH: &str = "SpliceIn";
pub const SPLICE_OUT_PATH: &str = "SpliceOut";
pub const CLOSE_CHANNEL_PATH: &str = "CloseChannel";
pub const FORCE_CLOSE_CHANNEL_PATH: &str = "ForceCloseChannel";
pub const LIST_CHANNELS_PATH: &str = "ListChannels";
pub const LIST_PAYMENTS_PATH: &str = "ListPayments";
pub const LIST_FORWARDED_PAYMENTS_PATH: &str = "ListForwardedPayments";
pub const UPDATE_CHANNEL_CONFIG_PATH: &str = "UpdateChannelConfig";
pub const GET_PAYMENT_DETAILS_PATH: &str = "GetPaymentDetails";
pub const LIST_PEERS_PATH: &str = "ListPeers";
pub const CONNECT_PEER_PATH: &str = "ConnectPeer";
pub const DISCONNECT_PEER_PATH: &str = "DisconnectPeer";
pub const SPONTANEOUS_SEND_PATH: &str = "SpontaneousSend";
pub const SIGN_MESSAGE_PATH: &str = "SignMessage";
pub const VERIFY_SIGNATURE_PATH: &str = "VerifySignature";
pub const EXPORT_PATHFINDING_SCORES_PATH: &str = "ExportPathfindingScores";
pub const UNIFIED_SEND_PATH: &str = "UnifiedSend";
pub const GRAPH_LIST_CHANNELS_PATH: &str = "GraphListChannels";
pub const GRAPH_GET_CHANNEL_PATH: &str = "GraphGetChannel";
pub const GRAPH_LIST_NODES_PATH: &str = "GraphListNodes";
pub const GRAPH_GET_NODE_PATH: &str = "GraphGetNode";
pub const DECODE_INVOICE_PATH: &str = "DecodeInvoice";
pub const DECODE_OFFER_PATH: &str = "DecodeOffer";
pub const GET_METRICS_PATH: &str = "metrics";