Skip to content

Commit

Permalink
bump until lnd v0.18.1-beta
Browse files Browse the repository at this point in the history
  • Loading branch information
niteshbalusu11 committed Jul 5, 2024
1 parent 8572715 commit 48fc1af
Show file tree
Hide file tree
Showing 13 changed files with 841 additions and 167 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ tonic-openssl = { version = "0.2" }
hyper = "0.14"
hyper-openssl = "0.9"
prost = "0.10"
tokio = { version = "1.35", features = ["rt-multi-thread", "macros"] }
tokio-stream = { version = "0.1.14", features = ["net"] }
tokio = { version = "1.38", features = ["rt-multi-thread", "macros"] }
tokio-stream = { version = "0.1.15", features = ["net"] }
openssl = "0.10.16"
tower = "0.4.13"
pretty_env_logger = "0.5.0"
Expand Down
24 changes: 21 additions & 3 deletions vendor/devrpc/dev.proto
Original file line number Diff line number Diff line change
@@ -1,13 +1,31 @@
syntax = "proto3";

import "lightning.proto";

package devrpc;

import "lightning.proto";

option go_package = "github.com/lightningnetwork/lnd/lnrpc/devrpc";

/*
* Comments in this file will be directly parsed into the API
* Documentation as descriptions of the associated method, message, or field.
* These descriptions should go right above the definition of the object, and
* can be in either block or // comment format.
*
* An RPC method can be matched to an lncli command by placing a line in the
* beginning of the description in exactly the following format:
* lncli: `methodname`
*
* Failure to specify the exact name of the command will cause documentation
* generation to fail.
*
* More information on how exactly the gRPC documentation is generated from
* this proto file can be found here:
* https://github.com/lightninglabs/lightning-api
*/

service Dev {
/*
/* lncli: `importgraph`
ImportGraph imports a ChannelGraph into the graph database. Should only be
used for development.
*/
Expand Down
33 changes: 26 additions & 7 deletions vendor/invoicesrpc/invoices.proto
Original file line number Diff line number Diff line change
@@ -1,11 +1,29 @@
syntax = "proto3";

import "lightning.proto";

package invoicesrpc;

import "lightning.proto";

option go_package = "github.com/lightningnetwork/lnd/lnrpc/invoicesrpc";

/*
* Comments in this file will be directly parsed into the API
* Documentation as descriptions of the associated method, message, or field.
* These descriptions should go right above the definition of the object, and
* can be in either block or // comment format.
*
* An RPC method can be matched to an lncli command by placing a line in the
* beginning of the description in exactly the following format:
* lncli: `methodname`
*
* Failure to specify the exact name of the command will cause documentation
* generation to fail.
*
* More information on how exactly the gRPC documentation is generated from
* this proto file can be found here:
* https://github.com/lightninglabs/lightning-api
*/

// Invoices is a service that can be used to create, accept, settle and cancel
// invoices.
service Invoices {
Expand All @@ -17,20 +35,20 @@ service Invoices {
rpc SubscribeSingleInvoice (SubscribeSingleInvoiceRequest)
returns (stream lnrpc.Invoice);

/*
/* lncli: `cancelinvoice`
CancelInvoice cancels a currently open invoice. If the invoice is already
canceled, this call will succeed. If the invoice is already settled, it will
fail.
*/
rpc CancelInvoice (CancelInvoiceMsg) returns (CancelInvoiceResp);

/*
/* lncli: `addholdinvoice`
AddHoldInvoice creates a hold invoice. It ties the invoice to the hash
supplied in the request.
*/
rpc AddHoldInvoice (AddHoldInvoiceRequest) returns (AddHoldInvoiceResp);

/*
/* lncli: `settleinvoice`
SettleInvoice settles an accepted invoice. If the invoice is already
settled, this call will succeed.
*/
Expand Down Expand Up @@ -120,8 +138,9 @@ message AddHoldInvoiceResp {
uint64 add_index = 2;

/*
The payment address of the generated invoice. This value should be used
in all payments for this invoice as we require it for end to end
The payment address of the generated invoice. This is also called
the payment secret in specifications (e.g. BOLT 11). This value should
be used in all payments for this invoice as we require it for end to end
security.
*/
bytes payment_addr = 3;
Expand Down
Loading

0 comments on commit 48fc1af

Please sign in to comment.