Csaba Kiraly
8a76817b76
port: serialization should use the backend as well
...
Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
2022-05-26 15:48:56 +02:00
Csaba Kiraly
f45ec3c23c
fixup: remove remaining direct references to blst from por
...
Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
2022-05-26 15:48:06 +02:00
Csaba Kiraly
8264de6d10
fix blst_backend: use func instead of simple let
...
With let, there was the following error:
Error: 'generateAuthenticatorNaive' is not GC-safe as it accesses 'ec_p1_mult' which is a global using GC'ed memory
Fix is to use func, which also defines the interface much better.
Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
2022-05-26 14:56:45 +02:00
Csaba Kiraly
1c08b33a66
Merge remote-tracking branch 'origin/main' into por-backends
...
fixing merge conflicts between por-serialize and por-backends
# Conflicts:
# codex/storageproofs/backends/backend_blst.nim
# codex/storageproofs/backends/backend_constantine.nim
# codex/storageproofs/por/por.nim
# dagger/por/README.md
Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
2022-05-26 14:51:27 +02:00
Dmitriy Ryajov
6ce7e23767
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-25 20:29:31 -06:00
Dmitriy Ryajov
738738c3c6
Adding storage proofs store ( #109 )
...
* add por store
* rename por store to stp store
* add stp tests
2022-05-24 18:42:49 -06:00
Dmitriy Ryajov
56b80d6f6d
Por serialize ( #106 )
...
* move por into storage proofs
* use SeekableStream
* adding serialization for por
* remove leftovers
* add empty block support
* add basic por test
* rename block exchange for consistency
* add storageproofstests
* moving timing to storageproofs
* fix imports
* fix imports
* fix imports
* add top level exports
* move delete blocks helper to helpers
* more import/export fixes
* cleanup
* more import fixes
* fix unused warnings
* detect corrupt blocks tests
* add serialization tests
* move init method around
* bump asynctest
* fix CID version
* get rid of warning
* wip: fix CI
* increase CI timeout
2022-05-23 23:24:15 -06:00