cava
cava copied to clipboard
ConsenSys core libraries for Java & Kotlin
@atoulme and/or @cleishm, if you wouldn't mind giving a little thought to the below proposal, I'd be most appreciative. I've spent a little bit mulling this over and plan to...
[Signed Roots](https://github.com/ethereum/eth2.0-specs/blob/v0.4.0/specs/simple-serialize.md#signed-roots) allow calculating the merkle hash of a subset of a SSZ container, specifically to allow signing of a container while excluding signature fields. While this definition `signed_root(container, "signature")...
The implementation of the `CoroutineLatch` (https://github.com/ConsenSys/cava/blob/master/concurrent-coroutines/src/main/kotlin/net/consensys/cava/concurrent/coroutines/experimental/CoroutineLatch.kt) is naive, synchronizing on most operations. It would be great to re-implement this using a more efficient algorithm, such as CLH queue locks.
We implemented detached signatures with Sodium. On top of that, it would be nice to implement the combined and multi-part methods. Those are described here: https://download.libsodium.org/doc/public-key_cryptography/public-key_signatures
We should update the build logic to gradle kotlin dsl: https://guides.gradle.org/migrating-build-logic-from-groovy-to-kotlin/