1. 11 Mar, 2025 4 commits
  2. 25 Feb, 2025 1 commit
  3. 14 Feb, 2025 5 commits
    • Julien Muchembled's avatar
      Stop catching an exception that should never happen · a91086a5
      Julien Muchembled authored
      RegistryClient already catches it.
      a91086a5
    • Julien Muchembled's avatar
      py3: use super() syntax · 54bcc2ed
      Julien Muchembled authored
      54bcc2ed
    • Julien Muchembled's avatar
      routing: detect when stuck with old HMAC keys · 8a3c2f9f
      Julien Muchembled authored
      When network parameters are updated, their version is broadcasted
      throughout the whole graph of nodes starting from the node running
      the registry. This is of course not enough, at least because some
      nodes may be stopped at that time.
      
      A second mechanism already exists for late nodes: when 2 nodes starts
      communicating between each other, they check their versions of the
      network parameters. But it supposes that routing works well enough
      between them.
      
      Then comes HMAC, which can prevent 2 nodes from even handshaking and
      group of nodes may remain stuck out of the network: this is the issue
      that is addressed by this commit. 2 scenarios:
      - no route to the registry node;
      - there's a route to the registry node but not from it, which can only
        happen during the first phase of a HMAC change, i.e. when signing
        with the old key and accepting the new one:  because a node can't
        detect this case by itself, a new 'valid_until' network parameter
        to tell nodes that something is likely wrong after this date.
      On either condition, a node checks for new HMAC keys from time to time.
      
      This commit also drops a check for an old kernel bug.
      
      See merge request !53
      8a3c2f9f
    • Julien Muchembled's avatar
      Some logging changes · ee263ed1
      Julien Muchembled authored
      In particular, give up when an RPC to the registry has already failed.
      The root issue was already logged by RegistryClient and continuing with
      an invalid result (None) led to useless (scary? misleading?) extra logs.
      ee263ed1
    • Julien Muchembled's avatar
      py3: more fixes · 0e026cac
      Julien Muchembled authored
      0e026cac
  4. 30 Jan, 2025 4 commits
  5. 26 Nov, 2024 1 commit
  6. 02 Nov, 2024 1 commit
  7. 21 Oct, 2024 2 commits
  8. 07 Oct, 2024 1 commit
  9. 02 Oct, 2024 3 commits
  10. 26 Sep, 2024 8 commits
  11. 29 Jan, 2024 1 commit
  12. 23 Jan, 2024 1 commit
  13. 19 Oct, 2023 1 commit
  14. 21 Sep, 2023 1 commit
  15. 29 Jun, 2023 1 commit
  16. 23 Jun, 2023 5 commits