X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=c_sharp%2Fsrc%2Forg%2Fldk%2Fstructs%2FWarningMessage.cs;fp=c_sharp%2Fsrc%2Forg%2Fldk%2Fstructs%2FWarningMessage.cs;h=955d60b1ba5a756346ef1fb89d37b58453b1e42c;hb=c6777737ea14e7814b0fa7d6fe16536f31d4a82b;hp=aa7882cd4abd5ec1a9efd80f4caacbc78e4e24b9;hpb=ee72c84d4bf9e2404e02fe20155efb502ceaee1b;p=ldk-java diff --git a/c_sharp/src/org/ldk/structs/WarningMessage.cs b/c_sharp/src/org/ldk/structs/WarningMessage.cs index aa7882cd..955d60b1 100644 --- a/c_sharp/src/org/ldk/structs/WarningMessage.cs +++ b/c_sharp/src/org/ldk/structs/WarningMessage.cs @@ -7,7 +7,9 @@ namespace org { namespace ldk { namespace structs { /** - * A warning message to be sent or received from a peer + * A [`warning`] message to be sent to or received from a peer. + * + * [`warning`]: https://github.com/lightning/bolts/blob/master/01-messaging.md#the-error-and-warning-messages */ public class WarningMessage : CommonBase { internal WarningMessage(object _dummy, long ptr) : base(ptr) { } @@ -39,6 +41,7 @@ public class WarningMessage : CommonBase { /** * A possibly human-readable warning description. + * * The string should be sanitized before it is used (e.g. emitted to logs or printed to * stdout). Otherwise, a well crafted error message may trigger a security vulnerability in * the terminal emulator or the logging subsystem. @@ -51,6 +54,7 @@ public class WarningMessage : CommonBase { /** * A possibly human-readable warning description. + * * The string should be sanitized before it is used (e.g. emitted to logs or printed to * stdout). Otherwise, a well crafted error message may trigger a security vulnerability in * the terminal emulator or the logging subsystem.