|
1 | 1 | /**
|
2 | 2 | * This file is fetched from https://github.com/lightningnetwork/lnd/blob/master/lnrpc/rpc.proto
|
3 | 3 | * And is distributed under LNDs MIT License.
|
4 |
| - * LND (fd49640) tag : Downloaded 2023-03-30 |
| 4 | + * LND (44dcfec) tag : Downloaded 2023-04-27 |
5 | 5 | */
|
6 | 6 | syntax = "proto3";
|
7 | 7 |
|
@@ -869,6 +869,76 @@ enum WitnessType {
|
869 | 869 | transaction.
|
870 | 870 | */
|
871 | 871 | COMMITMENT_ANCHOR = 13;
|
| 872 | + |
| 873 | + /* |
| 874 | + A witness type that is similar to the COMMITMENT_NO_DELAY type, |
| 875 | + but it omits the tweak that randomizes the key we need to |
| 876 | + spend with a channel peer supplied set of randomness. |
| 877 | + */ |
| 878 | + COMMITMENT_NO_DELAY_TWEAKLESS = 14; |
| 879 | + |
| 880 | + /* |
| 881 | + A witness type that allows us to spend our output on the counterparty's |
| 882 | + commitment transaction after a confirmation. |
| 883 | + */ |
| 884 | + COMMITMENT_TO_REMOTE_CONFIRMED = 15; |
| 885 | + |
| 886 | + /* |
| 887 | + A witness type that allows us to sweep an HTLC output that we extended |
| 888 | + to a party, but was never fulfilled. This _is_ the HTLC output directly |
| 889 | + on our commitment transaction, and the input to the second-level HTLC |
| 890 | + timeout transaction. It can only be spent after CLTV expiry, and |
| 891 | + commitment confirmation. |
| 892 | + */ |
| 893 | + HTLC_OFFERED_TIMEOUT_SECOND_LEVEL_INPUT_CONFIRMED = 16; |
| 894 | + |
| 895 | + /* |
| 896 | + A witness type that allows us to sweep an HTLC output that was offered |
| 897 | + to us, and for which we have a payment preimage. This _is_ the HTLC |
| 898 | + output directly on our commitment transaction, and the input to the |
| 899 | + second-level HTLC success transaction. It can only be spent after the |
| 900 | + commitment has confirmed. |
| 901 | + */ |
| 902 | + HTLC_ACCEPTED_SUCCESS_SECOND_LEVEL_INPUT_CONFIRMED = 17; |
| 903 | + |
| 904 | + /* |
| 905 | + A witness type that allows us to spend our output on our local |
| 906 | + commitment transaction after a relative and absolute lock-time lockout as |
| 907 | + part of the script enforced lease commitment type. |
| 908 | + */ |
| 909 | + LEASE_COMMITMENT_TIME_LOCK = 18; |
| 910 | + |
| 911 | + /* |
| 912 | + A witness type that allows us to spend our output on the counterparty's |
| 913 | + commitment transaction after a confirmation and absolute locktime as part |
| 914 | + of the script enforced lease commitment type. |
| 915 | + */ |
| 916 | + LEASE_COMMITMENT_TO_REMOTE_CONFIRMED = 19; |
| 917 | + |
| 918 | + /* |
| 919 | + A witness type that allows us to sweep an HTLC output that we extended |
| 920 | + to a party, but was never fulfilled. This HTLC output isn't directly on |
| 921 | + the commitment transaction, but is the result of a confirmed second-level |
| 922 | + HTLC transaction. As a result, we can only spend this after a CSV delay |
| 923 | + and CLTV locktime as part of the script enforced lease commitment type. |
| 924 | + */ |
| 925 | + LEASE_HTLC_OFFERED_TIMEOUT_SECOND_LEVEL = 20; |
| 926 | + |
| 927 | + /* |
| 928 | + A witness type that allows us to sweep an HTLC output that was offered |
| 929 | + to us, and for which we have a payment preimage. This HTLC output isn't |
| 930 | + directly on our commitment transaction, but is the result of confirmed |
| 931 | + second-level HTLC transaction. As a result, we can only spend this after |
| 932 | + a CSV delay and CLTV locktime as part of the script enforced lease |
| 933 | + commitment type. |
| 934 | + */ |
| 935 | + LEASE_HTLC_ACCEPTED_SUCCESS_SECOND_LEVEL = 21; |
| 936 | + |
| 937 | + /* |
| 938 | + A witness type that allows us to spend a regular p2tr output that's sent |
| 939 | + to an output which is under complete control of the backing wallet. |
| 940 | + */ |
| 941 | + TAPROOT_PUB_KEY_SPEND = 22; |
872 | 942 | }
|
873 | 943 |
|
874 | 944 | message PendingSweep {
|
|
0 commit comments