Class MonitorEvent

    • Method Detail

      • htlcevent

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

        public static MonitorEvent commitment_tx_confirmed​(OutPoint a)
        Utility method to constructs a new CommitmentTxConfirmed-variant MonitorEvent
      • update_completed

        public static MonitorEvent update_completed​(OutPoint funding_txo,
                                                    long monitor_update_id)
        Utility method to constructs a new UpdateCompleted-variant MonitorEvent
      • update_failed

        public static MonitorEvent update_failed​(OutPoint a)
        Utility method to constructs a new UpdateFailed-variant MonitorEvent
      • write

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