This website requires JavaScript.
Explore
Help
Sign In
codex-storage
/
nim-codex
mirror of
https://github.com/codex-storage/nim-codex.git
Watch
1
Star
0
Fork
You've already forked nim-codex
0
Code
Issues
Packages
Projects
Releases
Wiki
Activity
3a3d083345
nim-codex
/
codex
/
utils.nim
5 lines
89 B
Nim
Raw
Normal View
History
Unescape
Escape
Engine (#89) * rework discovery with async queues * increase max message size for large manifests * increase sleep time to 100 millis * pass config * check for nil on start/stop * fix tests and split out discovery tests * don't auto mount network * add discovery tests * rework moc discovery * move discovery moc to disc dir * don't force logging syncs * don't force moc discovery on all tests * rework discovery with methods * add top level utils file * don't use asyncCheck * don't pass entire blocks to list blocks calback * spelling * - don't send want reqs to peers reporting the cid - Don't request blocks directly on presense update, use `requestBlock` * bug, nodes should not have blocks in local store * Add failing test * prefetch blocks so that download isn't serial * if request already pending, return the handle * fire discovery if no peers report block as have * only query discovery if not enough nodes for cid * wrap async req in template * use non awaiting version of queue routines * rework E2E tests as unittest * re-add chronicles sinks Co-authored-by: Tanguy <tanguy@status.im>
2022-05-12 21:52:03 +00:00
import
.
/
utils
/
asyncheapqueue
import
.
/
utils
/
fileutils
Upload authenticators (#108) * initial implementation of storage proofs upload * make sure proof verifies with after deserializing * add por store * rename por store to stp store * rename porstore to stpstore * add support for host discovery to discovery mock * add tags upload network tests
2022-05-26 02:29:31 +00:00
export
asyncheapqueue
,
fileutils