1. 29 Nov, 2020 1 commit
  2. 25 Nov, 2020 1 commit
  3. 15 Nov, 2020 1 commit
  4. 13 Nov, 2020 2 commits
    • Eric Frias's avatar
      Reduce locking when reading blocks from the block_log. Reading blocks · 702ea4a7
      Eric Frias authored
      from the block log used to be restricted to one reader or writer at a
      time (a reader would hold an exclusive mutex for the duration of the
      read).  This was required because the underlying implementation used
      iostreams and depended on the seek and read operations to be
      uninterrupted.  This replaces those reads with lower-level pread()
      function which is safe to call from multiple threads.  There is still
      a spin-lock guarding the cached head block, but the situation is
      much better.
      This also adds a get_block_range() function which allows you to request
      up to 1000 blocks in a single call, which may improve hivemind sync
      performance.
      702ea4a7
    • Eric Frias's avatar
      Just use time_point::min() when initializing a variable to track the · 289b7a6f
      Eric Frias authored
      last block pushed, instead of calling the blockchain to get the
      timestamp of block 0.  We don't need the actual time of the 0th block,
      just a time that's older than any block we're actually going to be
      pushing.
      289b7a6f
  5. 05 Nov, 2020 1 commit
  6. 04 Nov, 2020 2 commits
  7. 01 Nov, 2020 2 commits
  8. 30 Oct, 2020 5 commits
  9. 29 Oct, 2020 3 commits
  10. 26 Oct, 2020 7 commits
  11. 23 Oct, 2020 2 commits
  12. 22 Oct, 2020 1 commit
  13. 21 Oct, 2020 3 commits
  14. 20 Oct, 2020 2 commits
  15. 19 Oct, 2020 1 commit
  16. 16 Oct, 2020 1 commit
  17. 15 Oct, 2020 4 commits
  18. 13 Oct, 2020 1 commit