Class InvalidShutdownScript


  • public class InvalidShutdownScript
    extends Object
    An error occurring when converting from [`Script`] to [`ShutdownScript`].
    • Method Detail

      • get_script

        public byte[] get_script()
        The script that did not meet the requirements from [BOLT #2]. [BOLT #2]: https://github.com/lightningnetwork/lightning-rfc/blob/master/02-peer-protocol.md
      • set_script

        public void set_script​(byte[] val)
        The script that did not meet the requirements from [BOLT #2]. [BOLT #2]: https://github.com/lightningnetwork/lightning-rfc/blob/master/02-peer-protocol.md
      • of

        public static InvalidShutdownScript of​(byte[] script_arg)
        Constructs a new InvalidShutdownScript given each field