Merge pull request #139 from TheBlueMatt/main
[ldk-java] / c_sharp / src / org / ldk / structs / Ping.cs
index fb20d6171cc6da895f2f1a9fbb7254f6e0e14616..9ca8849c6ee109eda4c2d47401cc18be09cd0ef5 100644 (file)
@@ -7,7 +7,9 @@ namespace org { namespace ldk { namespace structs {
 
 
 /**
- * A ping message to be sent or received from a peer
+ * A [`ping`] message to be sent to or received from a peer.
+ * 
+ * [`ping`]: https://github.com/lightning/bolts/blob/master/01-messaging.md#the-ping-and-pong-messages
  */
 public class Ping : CommonBase {
        internal Ping(object _dummy, long ptr) : base(ptr) { }
@@ -16,7 +18,7 @@ public class Ping : CommonBase {
        }
 
        /**
-        * The desired response length
+        * The desired response length.
         */
        public short get_ponglen() {
                short ret = bindings.Ping_get_ponglen(this.ptr);
@@ -25,7 +27,7 @@ public class Ping : CommonBase {
        }
 
        /**
-        * The desired response length
+        * The desired response length.
         */
        public void set_ponglen(short val) {
                bindings.Ping_set_ponglen(this.ptr, val);
@@ -35,6 +37,7 @@ public class Ping : CommonBase {
 
        /**
         * The ping packet size.
+        * 
         * This field is not sent on the wire. byteslen zeros are sent.
         */
        public short get_byteslen() {
@@ -45,6 +48,7 @@ public class Ping : CommonBase {
 
        /**
         * The ping packet size.
+        * 
         * This field is not sent on the wire. byteslen zeros are sent.
         */
        public void set_byteslen(short val) {