updateAddrs abstract method

Future<void> updateAddrs(
  1. PeerId p,
  2. Duration oldTTL,
  3. Duration newTTL
)

UpdateAddrs updates the addresses associated with the given peer that have the given oldTTL to have the given newTTL.

Implementation

Future<void> updateAddrs(PeerId p, Duration oldTTL, Duration newTTL);