Keeta LogoKeeta Logo@keetanetwork/keetanet-client
    Preparing search index...

    Interface GetPeersOptions

    Options for the "peers" method

    interface GetPeersOptions {
        includeSelf?: boolean;
        includeStale?: boolean;
        includeUnverified?: boolean;
    }
    Index

    Properties

    includeSelf?: boolean

    Whether or not to consider ourselves (if we are attached to a representative node) as a peer. Default is false.

    includeStale?: boolean

    Whether or not to include peers which are potentially stale because we have not heard from them in a while. Default is false.

    includeUnverified?: boolean

    Whether or not to include peers which have not been validated yet. Default is false.