1. 15 Jan, 2015 1 commit
    • Juan Batiz-Benet's avatar
      race fix: pinner loads with a threadsafe datastore · 559d20fd
      Juan Batiz-Benet authored
      All the datastores used by pinners and so on should be mutex
      wrapped. One issue with changing all of them from
      ds.Datastore -> ds.ThreadSafeDatastore is that we wrap the
      incoming ds.ThreadSafeDatastore with other datastores, which
      do not implement the interface. Re-wrapping again causes
      double locking. (which may be ok..., but...) any ideas?
      559d20fd
  2. 07 Jan, 2015 4 commits
  3. 06 Jan, 2015 2 commits
    • Juan Batiz-Benet's avatar
      merkledag: keep links sorted by name · 1a5c8cc4
      Juan Batiz-Benet authored
      May not be necessary to sort when adding each link--
      doing so would be unnecessarily expensive O(n^2) when
      constructing nodes -- though n wont be big.
      1a5c8cc4
    • Jeromy's avatar
      implement recursive indirect blocks · a32fc7ff
      Jeromy authored
      improve efficiency of multilayered indirect blocks
      
      clean up tests
      
      panic cleanup
      
      clean up logic, improve readability
      
      add final root node to the dagservice upon creation
      
      importer: simplified dag generation
      
      test: updated hashes using latest code
      
      @whyrusleeping this is why the sharness tests
      were failing: the hashes are added manually to
      make sure our generation doesn't change.
      
      cleanup after CR
      
      fix merkledag tests
      
      fix small block generation (no subblocks!)
      a32fc7ff
  4. 05 Jan, 2015 1 commit
    • Juan Batiz-Benet's avatar
      merkledag: LONG timeout on Get · 339d2a98
      Juan Batiz-Benet authored
      we shouldn't use an arbitrary timeout here. since Get
      doesnt take in a context yet, we give a large upper bound.
      think of an http request. we want it to go on as long as
      the client requests it.
      339d2a98
  5. 24 Dec, 2014 1 commit
  6. 23 Dec, 2014 1 commit
  7. 18 Dec, 2014 1 commit
  8. 15 Dec, 2014 8 commits
  9. 13 Dec, 2014 1 commit
  10. 05 Dec, 2014 12 commits
  11. 09 Nov, 2014 1 commit
  12. 03 Nov, 2014 1 commit
  13. 01 Nov, 2014 3 commits
  14. 30 Oct, 2014 2 commits
  15. 28 Oct, 2014 1 commit