xrpl
    Preparing search index...

    Interface PeerStatusStream

    The admin-only peer_status stream reports a large amount of information on the activities of other rippled servers to which this server is connected, in particular their status in the consensus process.

    interface PeerStatusStream {
        action:
            | "CLOSING_LEDGER"
            | "ACCEPTED_LEDGER"
            | "SWITCHED_LEDGER"
            | "LOST_SYNC";
        date: number;
        ledger_hash?: string;
        ledger_index?: number;
        ledger_index_max?: number;
        ledger_index_min?: number;
        type: "peerStatusChange";
    }

    Hierarchy

    • BaseStream
      • PeerStatusStream
    Index

    Properties

    action: "CLOSING_LEDGER" | "ACCEPTED_LEDGER" | "SWITCHED_LEDGER" | "LOST_SYNC"

    The type of event that prompted this message. See Peer Status Events for possible values.

    date: number

    The time this event occurred, in seconds since the Ripple Epoch.

    ledger_hash?: string

    The identifying Hash of a ledger version to which this message pertains.

    ledger_index?: number

    The Ledger Index of a ledger version to which this message pertains.

    ledger_index_max?: number

    The largest Ledger Index the peer has currently available.

    ledger_index_min?: number

    The smallest Ledger Index the peer has currently available.

    type: "peerStatusChange"