Skip to content
Snippets Groups Projects
  1. May 17, 2021
  2. May 16, 2021
    • Éloïs's avatar
      deps: upgrade gva · c7befd83
      Éloïs authored
      c7befd83
    • Éloïs's avatar
      Merge branch 'pini' into dev · 4220efcc
      Éloïs authored
      4220efcc
    • Gilles Filippini's avatar
      fix(sync): don't lose nodes on single download err · 7a59f46f
      Gilles Filippini authored
      `P2pCandidate.dlPromise` promise doesn't resolve on download errors
      such as socket timeouts. Each time such an error occurs, the node is lost
      for the sync because the 'this.dlPromise.isResolved()' check used for
      testing the node's availability never succeeds anymore for this node.
      
      This patch hardens the blocks downloading in two ways:
      * Retrying the download up to 5 times when the number of returned blocks is
        different from what was requested
      * On failure returns an empty block array so that the dlPromise is resolved
        and the node failure could be handled as expected at the P2PSyncDownloader
        level triggering the `P2pCandidate.addFailure()` function.
      7a59f46f
  3. May 15, 2021
  4. May 14, 2021
  5. May 13, 2021
  6. May 12, 2021
  7. May 11, 2021
    • Gilles Filippini's avatar
      fix(sync): when called with --only-peers · ab8b492e
      Gilles Filippini authored
      When 'sync' is called with option '--only-peers', the path to function
      'RemoteSynchronizer.getPeers()' is not the same as the default.
      
      In this case we need to ensure that 'init()' was properly called and
      proceed without a watcher.
      ab8b492e
  8. May 10, 2021
  9. May 09, 2021
Loading