projects
/
ldk-java
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[Java] Update auto-generated Java bindings
[ldk-java]
/
src
/
main
/
java
/
org
/
ldk
/
structs
/
Shutdown.java
diff --git
a/src/main/java/org/ldk/structs/Shutdown.java
b/src/main/java/org/ldk/structs/Shutdown.java
index e814ce54c87f492c9d7a7f5c52e3e0f900e1d5e7..3966d7989e4edd447ebd2fb9a81f1eef9f8c6f9f 100644
(file)
--- a/
src/main/java/org/ldk/structs/Shutdown.java
+++ b/
src/main/java/org/ldk/structs/Shutdown.java
@@
-9,7
+9,9
@@
import javax.annotation.Nullable;
/**
/**
- * A shutdown message to be sent or received from a peer
+ * A [`shutdown`] message to be sent to or received from a peer.
+ *
+ * [`shutdown`]: https://github.com/lightning/bolts/blob/master/02-peer-protocol.md#closing-initiation-shutdown
*/
@SuppressWarnings("unchecked") // We correctly assign various generic arrays
public class Shutdown extends CommonBase {
*/
@SuppressWarnings("unchecked") // We correctly assign various generic arrays
public class Shutdown extends CommonBase {
@@
-40,7
+42,8
@@
public class Shutdown extends CommonBase {
/**
* The destination of this peer's funds on closing.
/**
* The destination of this peer's funds on closing.
- * Must be in one of these forms: p2pkh, p2sh, p2wpkh, p2wsh.
+ *
+ * Must be in one of these forms: P2PKH, P2SH, P2WPKH, P2WSH, P2TR.
*/
public byte[] get_scriptpubkey() {
byte[] ret = bindings.Shutdown_get_scriptpubkey(this.ptr);
*/
public byte[] get_scriptpubkey() {
byte[] ret = bindings.Shutdown_get_scriptpubkey(this.ptr);
@@
-50,7
+53,8
@@
public class Shutdown extends CommonBase {
/**
* The destination of this peer's funds on closing.
/**
* The destination of this peer's funds on closing.
- * Must be in one of these forms: p2pkh, p2sh, p2wpkh, p2wsh.
+ *
+ * Must be in one of these forms: P2PKH, P2SH, P2WPKH, P2WSH, P2TR.
*/
public void set_scriptpubkey(byte[] val) {
bindings.Shutdown_set_scriptpubkey(this.ptr, val);
*/
public void set_scriptpubkey(byte[] val) {
bindings.Shutdown_set_scriptpubkey(this.ptr, val);