• Matt Joiner's avatar
    Tidy up bootstrapping (#235) · 2d2bb551
    Matt Joiner authored
    * Remove signal bootstrapping
    
    Remove IpfsDHT.BootstrapOnSignal.
    
    * Type check expected interfaces on IpfsDHT
    
    * Simplify the bootstrap logic
    
    * Tidy up a few other things
    
    * Include BootstrapOnce
    
    * Add comment about duplicating sanity checks
    
    * Use existing import naming convention
    
    * Defer error wrapping until we need it
    
    * Restore existing query count behaviour
    2d2bb551
dht.go 11.4 KB