Skip to content
Snippets Groups Projects
  1. Oct 17, 2023
  2. Oct 16, 2023
    • Adrien Béraud's avatar
      Docker: build without dependencies · 67f8bc2b
      Adrien Béraud authored
      Change-Id: Ibbe0ad8cb6817b7c6e77f7991b92f1ad18c13755
      67f8bc2b
    • Adrien Béraud's avatar
      MultiplexedSocket: use incrementing channel number · 55133ccd
      Adrien Béraud authored
      'Birthday paradox' implies that if the two peers create channels
      at the same time, there is a non-zero chance of collision even for
      small amount of channels, because channel ids are 16 bits:
      * >50% probability of collision with N=256
      * >1% probability of collision with N=40
      * 0.2% probability of collision with N=16
      
      For this reason, use incrementing channel numbers,
      but start at 0x8000 for the server and at 1 for the client.
      
      This method guarantees 0-collision for
      at least the first 2^15-1 channels opened each side,
      and reduces the probability of collision
      after that.
      
      Change-Id: I913cf2962a1fc577a6d24b9184a25d75d2473574
      55133ccd
    • Sébastien Blin's avatar
      connectionmanager: pass weak to dht()->getPublicAddress() · b6504373
      Sébastien Blin authored
      dht() can live longer, so technically there is nothing preventing
      this to be nullptr there
      
      Change-Id: Ifc77f1a9c8e3b3d889da16056a7e8965ec4786ed
      b6504373
  3. Oct 13, 2023
  4. Oct 06, 2023
  5. Oct 03, 2023
  6. Oct 02, 2023
  7. Sep 28, 2023
  8. Sep 26, 2023
  9. Sep 25, 2023
  10. Sep 24, 2023
Loading