• dirkmc's avatar
    Ensure broadcast when remaining peer becomes unavailable (#272) · 0ba089b4
    dirkmc authored
    * fix: ensure broadcast when peer becomes unavailable and all other peers sent DONT_HAVE for CID
    
    * fix: lint warnings
    
    * refactor: simplify session want sender DONT_HAVE list
    
    * fix: flaky test
    
    * test: add session exhausted wants test
    
    * docs: improve sessionWantSender processAvailability docs
    0ba089b4
session.go 12.7 KB