Skip to content

Commit 09a79c2

Browse files
committed
Introduce bLIP numbers in lightning-liquidity documentation
Recently, LSPS0, 1, and 2 were upstreamed as bLIP-50, 51, and 52, respectively. Here, we 1. start linking to the bLIPs instead of the LSP spec repository, which is likely going to be deprecated. 2. start consistently citing the specs as `bLIP-5X / LSPSX` to avoid any confusions and to potentially initiate a process in which the LSP specs will be referred to by their bLIP number rather than their LSPS number (especially given that any upcoming specs by the LSP spec group will directly be drafted as bLIPs going forward).
1 parent 2c0066e commit 09a79c2

19 files changed

+91
-81
lines changed

lightning-liquidity/README.md

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
# lightning-liquidity
22

3-
The goal of this crate is to provide types and primitives to integrate a spec-compliant LSP with an LDK-based node. To this end, this crate provides client-side as well as service-side logic to implement the [LSP specifications].
3+
The goal of this crate is to provide types and primitives to integrate a spec-compliant LSP with an LDK-based node. To this end, this crate provides client-side as well as service-side logic to implement the LSPS specifications.
44

55
**Note**: Service-side support is currently considered "beta", i.e., not fully
66
ready for production use.
77

88
Currently the following specifications are supported:
9-
- [LSPS0] defines the transport protocol with the LSP over which the other protocols communicate.
10-
- [LSPS1] allows to order Lightning channels from an LSP. This is useful when the client needs
9+
- [bLIP-50 / LSPS0] defines the transport protocol with the LSP over which the other protocols communicate.
10+
- [bLIP-51 / LSPS1] allows to order Lightning channels from an LSP. This is useful when the client needs
1111
inbound Lightning liquidity for which they are willing and able to pay in bitcoin.
12-
- [LSPS2] allows to generate a special invoice for which, when paid, an LSP
12+
- [bLIP-52 / LSPS2] allows to generate a special invoice for which, when paid, an LSP
1313
will open a "just-in-time" channel. This is useful for the initial
1414
on-boarding of clients as the channel opening fees are deducted from the
1515
incoming payment, i.e., no funds are required client-side to initiate this
@@ -19,7 +19,6 @@ To get started, you'll want to setup a `LiquidityManager` and configure it to be
1919

2020
`LiquidityManager` uses an eventing system to notify the user about important updates to the protocol flow. To this end, you will need to handle events emitted via one of the event handling methods provided by `LiquidityManager`, e.g., `LiquidityManager::next_event`.
2121

22-
[LSP specifications]: https://github.com/BitcoinAndLightningLayerSpecs/lsp
23-
[LSPS0]: https://github.com/BitcoinAndLightningLayerSpecs/lsp/tree/main/LSPS0
24-
[LSPS1]: https://github.com/BitcoinAndLightningLayerSpecs/lsp/tree/main/LSPS1
25-
[LSPS2]: https://github.com/BitcoinAndLightningLayerSpecs/lsp/tree/main/LSPS2
22+
[bLIP-50 / LSPS0]: https://github.com/lightning/blips/blob/master/blip-0050.md
23+
[bLIP-51 / LSPS1]: https://github.com/lightning/blips/blob/master/blip-0051.md
24+
[bLIP-52 / LSPS2]: https://github.com/lightning/blips/blob/master/blip-0052.md

lightning-liquidity/src/lib.rs

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -8,19 +8,21 @@
88
// licenses.
99
#![crate_name = "lightning_liquidity"]
1010

11-
//! The goal of this crate is to provide types and primitives to integrate a spec-compliant LSP with an LDK-based node. To this end, this crate provides client-side as well as service-side logic to implement the [LSP specifications].
11+
//! The goal of this crate is to provide types and primitives to integrate a spec-compliant LSP
12+
//! with an LDK-based node. To this end, this crate provides client-side as well as service-side
13+
//! logic to implement the LSPS specifications.
1214
//!
1315
//! **Note**: Service-side support is currently considered "beta", i.e., not fully ready for
1416
//! production use.
1517
//!
1618
//! Currently the following specifications are supported:
17-
//! - [LSPS0] defines the transport protocol with the LSP over which the other protocols communicate.
18-
//! - [LSPS1] allows to order Lightning channels from an LSP. This is useful when the client needs
19+
//! - [bLIP-50 / LSPS0] defines the transport protocol with the LSP over which the other protocols communicate.
20+
//! - [bLIP-51 / LSPS1] defines a protocol for ordering Lightning channels from an LSP. This is useful when the client needs
1921
//! inbound Lightning liquidity for which they are willing and able to pay in bitcoin.
20-
//! - [LSPS2] allows to generate a special invoice for which, when paid, an LSP will open a
21-
//! "just-in-time" channel. This is useful for the initial on-boarding of clients as the channel
22-
//! opening fees are deducted from the incoming payment, i.e., no funds are required client-side to
23-
//! initiate this flow.
22+
//! - [bLIP-52 / LSPS2] defines a protocol for generating a special invoice for which, when paid,
23+
//! an LSP will open a "just-in-time" channel. This is useful for the initial on-boarding of
24+
//! clients as the channel opening fees are deducted from the incoming payment, i.e., no funds are
25+
//! required client-side to initiate this flow.
2426
//!
2527
//! To get started, you'll want to setup a [`LiquidityManager`] and configure it to be the
2628
//! [`CustomMessageHandler`] of your LDK node. You can then for example call
@@ -32,10 +34,9 @@
3234
//! protocol flow. To this end, you will need to handle events emitted via one of the event
3335
//! handling methods provided by [`LiquidityManager`], e.g., [`LiquidityManager::next_event`].
3436
//!
35-
//! [LSP specifications]: https://github.com/BitcoinAndLightningLayerSpecs/lsp
36-
//! [LSPS0]: https://github.com/BitcoinAndLightningLayerSpecs/lsp/tree/main/LSPS0
37-
//! [LSPS1]: https://github.com/BitcoinAndLightningLayerSpecs/lsp/tree/main/LSPS1
38-
//! [LSPS2]: https://github.com/BitcoinAndLightningLayerSpecs/lsp/tree/main/LSPS2
37+
//! [bLIP-50 / LSPS0]: https://github.com/lightning/blips/blob/master/blip-0050.md
38+
//! [bLIP-51 / LSPS1]: https://github.com/lightning/blips/blob/master/blip-0051.md
39+
//! [bLIP-52 / LSPS2]: https://github.com/lightning/blips/blob/master/blip-0052.md
3940
//! [`CustomMessageHandler`]: lightning::ln::peer_handler::CustomMessageHandler
4041
//! [`LiquidityManager::next_event`]: crate::LiquidityManager::next_event
4142
#![deny(missing_docs)]

lightning-liquidity/src/lsps0/client.rs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
//! Contains the main LSPS0 client-side object, [`LSPS0ClientHandler`].
1+
//! Contains the main bLIP-50 / LSPS0 client-side object, [`LSPS0ClientHandler`].
22
//!
3-
//! Please refer to the [LSPS0
4-
//! specifcation](https://github.com/BitcoinAndLightningLayerSpecs/lsp/tree/main/LSPS0) for more
3+
//! Please refer to the [bLIP-50 / LSPS0
4+
//! specifcation](https://github.com/lightning/blips/blob/master/blip-0050.md) for more
55
//! information.
66
77
use crate::events::{Event, EventQueue};
@@ -22,7 +22,7 @@ use bitcoin::secp256k1::PublicKey;
2222

2323
use core::ops::Deref;
2424

25-
/// A message handler capable of sending and handling LSPS0 messages.
25+
/// A message handler capable of sending and handling bLIP-50 / LSPS0 messages.
2626
pub struct LSPS0ClientHandler<ES: Deref>
2727
where
2828
ES::Target: EntropySource,
@@ -43,10 +43,10 @@ where
4343
Self { entropy_source, pending_messages, pending_events }
4444
}
4545

46-
/// Calls LSPS0's `list_protocols`.
46+
/// Calls bLIP-50 / LSPS0's `list_protocols`.
4747
///
48-
/// Please refer to the [LSPS0
49-
/// specifcation](https://github.com/BitcoinAndLightningLayerSpecs/lsp/tree/main/LSPS0#lsps-specification-support-query)
48+
/// Please refer to the [bLIP-50 / LSPS0
49+
/// specifcation](https://github.com/lightning/blips/blob/master/blip-0050.md#lsps-specification-support-query)
5050
/// for more information.
5151
pub fn list_protocols(&self, counterparty_node_id: &PublicKey) {
5252
let msg = LSPS0Message::Request(

lightning-liquidity/src/lsps0/event.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@
77
// You may not use this file except in accordance with one or both of these
88
// licenses.
99

10-
//! Contains LSPS0 event types
10+
//! Contains bLIP-50 / LSPS0 event types.
1111
1212
use crate::prelude::Vec;
1313
use bitcoin::secp256k1::PublicKey;
1414

15-
/// An event which an LSPS0 client may want to take some action in response to.
15+
/// An event which an bLIP-50 / LSPS0 client may want to take some action in response to.
1616
#[derive(Clone, Debug, PartialEq, Eq)]
1717
pub enum LSPS0ClientEvent {
1818
/// Information from the LSP about the protocols they support.

lightning-liquidity/src/lsps0/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
// You may not use this file except in accordance with one or both of these
88
// licenses.
99

10-
//! Types and primitives that implement the LSPS0: Transport Layer specification.
10+
//! Types and primitives that implement the bLIP-50 / LSPS0: Transport Layer specification.
1111
1212
pub mod client;
1313
pub mod event;

lightning-liquidity/src/lsps0/msgs.rs

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,24 +11,27 @@ pub(crate) const LSPS0_LISTPROTOCOLS_METHOD_NAME: &str = "lsps0.list_protocols";
1111

1212
/// A `list_protocols` request.
1313
///
14-
/// Please refer to the [LSPS0 specification](https://github.com/BitcoinAndLightningLayerSpecs/lsp/tree/main/LSPS0#lsps-specification-support-query)
14+
/// Please refer to the [bLIP-50 / LSPS0
15+
/// specification](https://github.com/lightning/blips/blob/master/blip-0050.md#lsps-specification-support-query)
1516
/// for more information.
1617
#[derive(Clone, Debug, PartialEq, Eq, Deserialize, Serialize, Default)]
1718
pub struct ListProtocolsRequest {}
1819

1920
/// A response to a `list_protocols` request.
2021
///
21-
/// Please refer to the [LSPS0 specification](https://github.com/BitcoinAndLightningLayerSpecs/lsp/tree/main/LSPS0#lsps-specification-support-query)
22+
/// Please refer to the [bLIP-50 / LSPS0
23+
/// specification](https://github.com/lightning/blips/blob/master/blip-0050.md#lsps-specification-support-query)
2224
/// for more information.
2325
#[derive(Clone, Debug, PartialEq, Eq, Deserialize, Serialize)]
2426
pub struct ListProtocolsResponse {
2527
/// A list of supported protocols.
2628
pub protocols: Vec<u16>,
2729
}
2830

29-
/// An LSPS0 protocol request.
31+
/// An bLIP-50 / LSPS0 protocol request.
3032
///
31-
/// Please refer to the [LSPS0 specification](https://github.com/BitcoinAndLightningLayerSpecs/lsp/tree/main/LSPS0)
33+
/// Please refer to the [bLIP-50 / LSPS0
34+
/// specification](https://github.com/lightning/blips/blob/master/blip-0050.md#lsps-specification-support-query)
3235
/// for more information.
3336
#[derive(Clone, Debug, PartialEq, Eq)]
3437
pub enum LSPS0Request {
@@ -45,9 +48,10 @@ impl LSPS0Request {
4548
}
4649
}
4750

48-
/// An LSPS0 protocol request.
51+
/// An bLIP-50 / LSPS0 protocol request.
4952
///
50-
/// Please refer to the [LSPS0 specification](https://github.com/BitcoinAndLightningLayerSpecs/lsp/tree/main/LSPS0)
53+
/// Please refer to the [bLIP-50 / LSPS0
54+
/// specification](https://github.com/lightning/blips/blob/master/blip-0050.md#lsps-specification-support-query)
5155
/// for more information.
5256
#[derive(Clone, Debug, PartialEq, Eq)]
5357
pub enum LSPS0Response {
@@ -57,9 +61,10 @@ pub enum LSPS0Response {
5761
ListProtocolsError(ResponseError),
5862
}
5963

60-
/// An LSPS0 protocol message.
64+
/// An bLIP-50 / LSPS0 protocol message.
6165
///
62-
/// Please refer to the [LSPS0 specification](https://github.com/BitcoinAndLightningLayerSpecs/lsp/tree/main/LSPS0)
66+
/// Please refer to the [bLIP-50 / LSPS0
67+
/// specification](https://github.com/lightning/blips/blob/master/blip-0050.md#lsps-specification-support-query)
6368
/// for more information.
6469
#[derive(Clone, Debug, PartialEq, Eq)]
6570
pub enum LSPS0Message {

lightning-liquidity/src/lsps0/ser.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
//! Contains basic data types that allow for the (de-)seralization of LSPS messages in the JSON-RPC 2.0 format.
22
//!
3-
//! Please refer to the [LSPS0 specification](https://github.com/BitcoinAndLightningLayerSpecs/lsp/tree/main/LSPS0) for more information.
3+
//! Please refer to the [bLIP-50 / LSPS0
4+
//! specification](https://github.com/lightning/blips/blob/master/blip-0050.md) for more
5+
//! information.
46
57
use crate::lsps0::msgs::{
68
LSPS0Message, LSPS0Request, LSPS0Response, ListProtocolsRequest,

lightning-liquidity/src/lsps0/service.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@
77
// You may not use this file except in accordance with one or both of these
88
// licenses.
99

10-
//! Contains the main LSPS0 server-side object, [`LSPS0ServiceHandler`].
10+
//! Contains the main bLIP-50 / LSPS0 server-side object, [`LSPS0ServiceHandler`].
1111
//!
12-
//! Please refer to the [LSPS0
13-
//! specifcation](https://github.com/BitcoinAndLightningLayerSpecs/lsp/tree/main/LSPS0) for more
12+
//! Please refer to the [bLIP-50 / LSPS0
13+
//! specifcation](https://github.com/lightning/blips/blob/master/blip-0050.md) for more
1414
//! information.
1515
1616
use crate::lsps0::msgs::{LSPS0Message, LSPS0Request, LSPS0Response, ListProtocolsResponse};
@@ -24,7 +24,7 @@ use lightning::util::logger::Level;
2424

2525
use bitcoin::secp256k1::PublicKey;
2626

27-
/// The main server-side object allowing to send and receive LSPS0 messages.
27+
/// The main server-side object allowing to send and receive bLIP-50 / LSPS0 messages.
2828
pub struct LSPS0ServiceHandler {
2929
pending_messages: Arc<MessageQueue>,
3030
protocols: Vec<u16>,

lightning-liquidity/src/lsps1/client.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
// You may not use this file except in accordance with one or both of these
88
// licenses.
99

10-
//! Contains the main LSPS1 client object, [`LSPS1ClientHandler`].
10+
//! Contains the main bLIP-51 / LSPS1 client object, [`LSPS1ClientHandler`].
1111
1212
use super::event::LSPS1ClientEvent;
1313
use super::msgs::{
@@ -30,7 +30,7 @@ use bitcoin::Address;
3030

3131
use core::ops::Deref;
3232

33-
/// Client-side configuration options for LSPS1 channel requests.
33+
/// Client-side configuration options for bLIP-51 / LSPS1 channel requests.
3434
#[derive(Clone, Debug)]
3535
pub struct LSPS1ClientConfig {
3636
/// The maximally allowed channel fees.
@@ -44,7 +44,7 @@ struct PeerState {
4444
pending_get_order_requests: HashSet<RequestId>,
4545
}
4646

47-
/// The main object allowing to send and receive LSPS1 messages.
47+
/// The main object allowing to send and receive bLIP-51 / LSPS1 messages.
4848
pub struct LSPS1ClientHandler<ES: Deref>
4949
where
5050
ES::Target: EntropySource,

lightning-liquidity/src/lsps1/event.rs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
// You may not use this file except in accordance with one or both of these
88
// licenses.
99

10-
//! Contains LSPS1 event types
10+
//! Contains bLIP-51 / LSPS1 event types
1111
1212
use super::msgs::OrderId;
1313
use super::msgs::{ChannelInfo, LSPS1Options, OrderParameters, PaymentInfo};
@@ -16,7 +16,7 @@ use crate::lsps0::ser::{RequestId, ResponseError};
1616

1717
use bitcoin::secp256k1::PublicKey;
1818

19-
/// An event which an LSPS1 client should take some action in response to.
19+
/// An event which an bLIP-51 / LSPS1 client should take some action in response to.
2020
#[derive(Clone, Debug, PartialEq, Eq)]
2121
pub enum LSPS1ClientEvent {
2222
/// A request previously issued via [`LSPS1ClientHandler::request_supported_options`]
@@ -28,7 +28,7 @@ pub enum LSPS1ClientEvent {
2828
/// [`LSPS1ClientHandler::request_supported_options`]: crate::lsps1::client::LSPS1ClientHandler::request_supported_options
2929
/// [`LSPS1ClientHandler::create_order`]: crate::lsps1::client::LSPS1ClientHandler::create_order
3030
SupportedOptionsReady {
31-
/// The identifier of the issued LSPS1 `get_info` request, as returned by
31+
/// The identifier of the issued bLIP-51 / LSPS1 `get_info` request, as returned by
3232
/// [`LSPS1ClientHandler::request_supported_options`]
3333
///
3434
/// This can be used to track which request this event corresponds to.
@@ -45,7 +45,7 @@ pub enum LSPS1ClientEvent {
4545
///
4646
/// [`LSPS1ClientHandler::request_supported_options`]: crate::lsps1::client::LSPS1ClientHandler::request_supported_options
4747
SupportedOptionsRequestFailed {
48-
/// The identifier of the issued LSPS1 `get_info` request, as returned by
48+
/// The identifier of the issued bLIP-51 / LSPS1 `get_info` request, as returned by
4949
/// [`LSPS1ClientHandler::request_supported_options`]
5050
///
5151
/// This can be used to track which request this event corresponds to.
@@ -68,7 +68,7 @@ pub enum LSPS1ClientEvent {
6868
///
6969
/// [`LSPS1ClientHandler::check_order_status`]: crate::lsps1::client::LSPS1ClientHandler::check_order_status
7070
OrderCreated {
71-
/// The identifier of the issued LSPS1 `create_order` request, as returned by
71+
/// The identifier of the issued bLIP-51 / LSPS1 `create_order` request, as returned by
7272
/// [`LSPS1ClientHandler::create_order`]
7373
///
7474
/// This can be used to track which request this event corresponds to.
@@ -92,7 +92,7 @@ pub enum LSPS1ClientEvent {
9292
///
9393
/// [`LSPS1ClientHandler::check_order_status`]: crate::lsps1::client::LSPS1ClientHandler::check_order_status
9494
OrderStatus {
95-
/// The identifier of the issued LSPS1 `get_order` request, as returned by
95+
/// The identifier of the issued bLIP-51 / LSPS1 `get_order` request, as returned by
9696
/// [`LSPS1ClientHandler::check_order_status`]
9797
///
9898
/// This can be used to track which request this event corresponds to.

lightning-liquidity/src/lsps1/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
// You may not use this file except in accordance with one or both of these
88
// licenses.
99

10-
//! Types and primitives that implement the LSPS1: Channel Request specification.
10+
//! Types and primitives that implement the bLIP-51 / LSPS1: Channel Request specification.
1111
1212
pub mod client;
1313
pub mod event;

lightning-liquidity/src/lsps1/msgs.rs

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//! Message, request, and other primitive types used to implement LSPS1.
1+
//! Message, request, and other primitive types used to implement bLIP-51 / LSPS1.
22
33
use crate::lsps0::ser::{
44
string_amount, u32_fee_rate, unchecked_address, unchecked_address_option, LSPSMessage,
@@ -31,8 +31,9 @@ pub struct OrderId(pub String);
3131

3232
/// A request made to an LSP to retrieve the supported options.
3333
///
34-
/// Please refer to the [LSPS1 specification](https://github.com/BitcoinAndLightningLayerSpecs/lsp/tree/main/LSPS1#1-lsps1info)
35-
/// for more information.
34+
/// Please refer to the [bLIP-51 / LSPS1
35+
/// specification](https://github.com/lightning/blips/blob/master/blip-0051.md#1-lsps1get_info) for
36+
/// more information.
3637
#[derive(Clone, Debug, PartialEq, Eq, Deserialize, Serialize, Default)]
3738
#[serde(default)]
3839
pub struct GetInfoRequest {}
@@ -78,7 +79,8 @@ pub struct GetInfoResponse {
7879

7980
/// A request made to an LSP to create an order.
8081
///
81-
/// Please refer to the [LSPS1 specification](https://github.com/BitcoinAndLightningLayerSpecs/lsp/tree/main/LSPS1#2-lsps1create_order)
82+
/// Please refer to the [bLIP-51 / LSPS1
83+
/// specification](https://github.com/lightning/blips/blob/master/blip-0051.md#2-lsps1create_order)
8284
/// for more information.
8385
#[derive(Clone, Debug, PartialEq, Eq, Deserialize, Serialize)]
8486
pub struct CreateOrderRequest {
@@ -92,7 +94,7 @@ pub struct CreateOrderRequest {
9294
pub refund_onchain_address: Option<Address>,
9395
}
9496

95-
/// An object representing an LSPS1 channel order.
97+
/// An object representing an bLIP-51 / LSPS1 channel order.
9698
#[derive(Clone, Debug, PartialEq, Eq, Deserialize, Serialize)]
9799
pub struct OrderParameters {
98100
/// Indicates how many satoshi the LSP will provide on their side.
@@ -244,15 +246,16 @@ pub struct ChannelInfo {
244246

245247
/// A request made to an LSP to retrieve information about an previously made order.
246248
///
247-
/// Please refer to the [LSPS1 specification](https://github.com/BitcoinAndLightningLayerSpecs/lsp/tree/main/LSPS1#21-lsps1get_order)
249+
/// Please refer to the [bLIP-51 / LSPS1
250+
/// specification](https://github.com/lightning/blips/blob/master/blip-0051.md#21-lsps1get_order)
248251
/// for more information.
249252
#[derive(Clone, Debug, PartialEq, Eq, Deserialize, Serialize)]
250253
pub struct GetOrderRequest {
251254
/// The id of the order.
252255
pub order_id: OrderId,
253256
}
254257

255-
/// An enum that captures all the valid JSON-RPC requests in the LSPS1 protocol.
258+
/// An enum that captures all the valid JSON-RPC requests in the bLIP-51 / LSPS1 protocol.
256259
#[derive(Clone, Debug, PartialEq, Eq)]
257260
pub enum LSPS1Request {
258261
/// A request to learn about the options supported by the LSP.
@@ -263,7 +266,7 @@ pub enum LSPS1Request {
263266
GetOrder(GetOrderRequest),
264267
}
265268

266-
/// An enum that captures all the valid JSON-RPC responses in the LSPS1 protocol.
269+
/// An enum that captures all the valid JSON-RPC responses in the bLIP-51 / LSPS1 protocol.
267270
#[derive(Clone, Debug, PartialEq, Eq)]
268271
pub enum LSPS1Response {
269272
/// A successful response to a [`GetInfoRequest`].
@@ -280,7 +283,7 @@ pub enum LSPS1Response {
280283
GetOrderError(ResponseError),
281284
}
282285

283-
/// An enum that captures all valid JSON-RPC messages in the LSPS1 protocol.
286+
/// An enum that captures all valid JSON-RPC messages in the bLIP-51 / LSPS1 protocol.
284287
#[derive(Clone, Debug, PartialEq, Eq)]
285288
pub enum LSPS1Message {
286289
/// An LSPS1 JSON-RPC request.

0 commit comments

Comments
 (0)