nim-dagger/vendor
Dmitriy Ryajov fbe161a073
Node setup (#32)
* settup basic nim node

* adding http utils

* adding confutils

* rough rest api proto

* adding missing deps

* turn tls emulation off

* adding toml serialization

* wip

* adding missing deps

* make sure to clean old state in teardown

* adding file upload rest endpoint

* renaming blockexchange to networkstore

* updating nim-presto

* updating libp2p

* wip adding streaming upload

* reworked chunking

* bump to latest unstable

* adding asyncfutures stream

* make streamable

* deleting unused files

* reworking stores api

* use new stores api

* rework blockset and remove blockstream

* don't return option from constructor

* rework chunker

* wip implement upload

* fix tests

* move unrelated logic to engine

* don't print entire message

* logging

* basic encode/decode to/from dag-pb

* add basic upload/download support

* fix tests

* renaming blockset to manifest

* don't pass config to node

* remove config and use new manifest

* wip: make endpoints more reliable

* wip: adding node tests

* include correct manifest test

* removing asyncfutures

* proper chunking of files

* simplify stream reading

* test with encoding/decoding with many blocks

* add block storing tests

* adding retrieval test

* add logging

* tidy up chunker

* tidy up manifest and node

* use default chunk size

* fix tests

* fix tests

* make sure Eof is set properly

* wip

* minor cleanup

* add file utils

* cleanup config

* splitout DaggerServer and "main"

* remove events since they are not used

* add broadcast method to network peer

* add and wire localstore

* use localstore in the node

* wip

* logging

* move file utils

* use the constant

* updating deps

* fix memstore

* use latest libp2p unstable

* fix tests

* rework block streaming

* don't fail storing if the block already exists

* add helper info endpoint

* correct comment

* rename localstore to fsstore

* fix tests

* remove unused tests

* add test to retrieve one block

* move some test files around

* consolidate setup

* Update dagger/blockexchange/engine.nim

Co-authored-by: Tanguy <tanguy@status.im>

* typo

* better block path handling

* don't inherit rootobj

* remove useless template

* Update tests/dagger/blockexc/testblockexc.nim

Co-authored-by: markspanbroek <mark@spanbroek.net>

* use isMainModule

* use proper flag for starter/stoped

* cleanup optional use

* wrap in isMainModule

* use `cancelAndAwait`

* remove unused imports

* wip

* don't use optional

* use functional error api

* rework store tests and add fs tests

* Block.new() to Block.init()

* don't use optional for engine blocks

* use result instead of optional for getBlock

* remove unused imports

* move stopping servers to `shutdown`

* use result instead of optional

* rework with results

* fix tests

* use waitFor in signal handlers

* error helper

* use `?` and mapFailure where possible

* remove unnecesary `=?`

* improve empty cid digest initialization

Co-authored-by: Tanguy <tanguy@status.im>
Co-authored-by: markspanbroek <mark@spanbroek.net>
2022-01-10 09:32:56 -06:00
..
asynctest@3882ed64ed adding submodules 2021-11-25 09:37:12 +01:00
bearssl@acc70b1be6 adding submodules 2021-11-25 09:37:12 +01:00
combparser@ba4464c005 adding submodules 2021-11-25 09:37:12 +01:00
dnsclient.nim@536cc6b793 Node setup (#32) 2022-01-10 09:32:56 -06:00
nim-bearssl@dc62f4fccd adding submodules 2021-11-25 09:37:12 +01:00
nim-chronicles@32e72c2fc9 adding submodules 2021-11-25 09:37:12 +01:00
nim-chronos@7dc58d42b6 Node setup (#32) 2022-01-10 09:32:56 -06:00
nim-confutils@ab4ba1cbfd Node setup (#32) 2022-01-10 09:32:56 -06:00
nim-faststreams@1b561a9e71 adding submodules 2021-11-25 09:37:12 +01:00
nim-http-utils@689da19e9e Node setup (#32) 2022-01-10 09:32:56 -06:00
nim-json-serialization@c5f0e2465e adding submodules 2021-11-25 09:37:12 +01:00
nim-libbacktrace@284b3aac05 adding submodules 2021-11-25 09:37:12 +01:00
nim-libp2p@58f383e661 Node setup (#32) 2022-01-10 09:32:56 -06:00
nim-metrics@743f81d4f6 adding submodules 2021-11-25 09:37:12 +01:00
nim-nat-traversal@8994b67b07 adding submodules 2021-11-25 09:37:12 +01:00
nim-nitro@9396fcb7d0 adding submodules 2021-11-25 09:37:12 +01:00
nim-presto@c41bc8aefc Node setup (#32) 2022-01-10 09:32:56 -06:00
nim-protobuf-serialization@f7d671f877 adding submodules 2021-11-25 09:37:12 +01:00
nim-secp256k1@d790c42206 adding submodules 2021-11-25 09:37:12 +01:00
nim-serialization@fcd0eadadd adding submodules 2021-11-25 09:37:12 +01:00
nim-stew@a61869c256 adding submodules 2021-11-25 09:37:12 +01:00
nim-toml-serialization@4e15e00ed9 Node setup (#32) 2022-01-10 09:32:56 -06:00
nim-unittest2@02c49b8a99 Node setup (#32) 2022-01-10 09:32:56 -06:00
nim-websock@a697e3585d Node setup (#32) 2022-01-10 09:32:56 -06:00
nimbus-build-system@25a4c27033 Node setup (#32) 2022-01-10 09:32:56 -06:00
nimcrypto@a5742a9a21 adding submodules 2021-11-25 09:37:12 +01:00
questionable@54516fd2d1 adding submodules 2021-11-25 09:37:12 +01:00
stint@036c71d06a adding submodules 2021-11-25 09:37:12 +01:00
upraises@ff4f8108e4 adding submodules 2021-11-25 09:37:12 +01:00