libp2p
    Preparing search index...

    Interface AddressManagerInit

    interface AddressManagerInit {
        addressVerificationRetry?: number;
        addressVerificationTTL?: number;
        announce?: string[];
        announceFilter?: AddressFilter;
        appendAnnounce?: string[];
        listen?: string[];
        maxObservedAddresses?: number;
        noAnnounce?: string[];
    }
    Index

    Properties

    addressVerificationRetry?: number

    After a transport or mapped address has failed to verify, how long to wait before retrying it in ms

    Requires @libp2p/autonat or some other verification method to be configured.

    300_000
    
    addressVerificationTTL?: number

    How long before each public address should be reverified in ms.

    Requires @libp2p/autonat or some other verification method to be configured.

    600_000
    
    announce?: string[]

    A list of string multiaddrs to use instead of those reported by transports

    announceFilter?: AddressFilter

    Pass an function in this field to override the list of addresses that are announced to the network

    appendAnnounce?: string[]

    A list of string multiaddrs to add to the list of announced addresses

    listen?: string[]

    A list of string multiaddrs to listen on

    maxObservedAddresses?: number

    Limits the number of observed addresses we will store

    noAnnounce?: string[]

    A list of string multiaddrs string to never announce