lnrpc: add previous_outpoints to listchaintxns

This commit is contained in:
priyanshiiit committed 2022-06-27 15:57:57 +05:30
1 parent 61493a5f29
commit 983d917d4a
5 files changed
+4014 -3861

No files matched your search

+13
View File
@@ -686,7 +686,11 @@ message Transaction {
// A label that was optionally set on transaction broadcast.
string label = 10;
// PreviousOutpoints/Inputs of this transaction.
repeated PreviousOutPoint previous_outpoints = 12;
}
message GetTransactionsRequest {
/*
The height from which to list transactions, inclusive. If this value is
@@ -1007,6 +1011,15 @@ message OutPoint {
uint32 output_index = 3;
}
message PreviousOutPoint {
// The outpoint in format txid:n.
string outpoint = 1;
// Denotes if the outpoint is controlled by the internal wallet.
// The flag will only detect p2wkh, np2wkh and p2tr inputs as its own.
bool is_our_output = 2;
}
message LightningAddress {
// The identity pubkey of the Lightning node.
string pubkey = 1;