Class MonitorEvent

    • Method Detail

      • htlcevent

        public static MonitorEvent htlcevent​(HTLCUpdate a)
        Utility method to constructs a new HTLCEvent-variant MonitorEvent
      • holder_force_closed

        public static MonitorEvent holder_force_closed​(OutPoint a)
        Utility method to constructs a new HolderForceClosed-variant MonitorEvent
      • completed

        public static MonitorEvent completed​(OutPoint funding_txo,
                                             long monitor_update_id)
        Utility method to constructs a new Completed-variant MonitorEvent
      • eq

        public boolean eq​(MonitorEvent b)
        Checks if two MonitorEvents contain equal inner contents. This ignores pointers and is_owned flags and looks at the values in fields.
      • write

        public byte[] write()
        Serialize the MonitorEvent object into a byte array which can be read by MonitorEvent_read