Kelong Cong

Results 16 comments of Kelong Cong

Initial investigation results: gRPC is similar to protobuf except that it additionally generates functions for making the RPC call. What you write are messages and service definitions like this: ```protobuf...

Following a discussion with @ineiti and @jeffallen, we will begin experimenting with JSON over REST. onet will expose an additional handler registration method, e.g., `RegisterRESTHandler(version int, handler interface{})`. The version...

first experiment: https://github.com/dedis/onet/commit/ba58c642cb374fd905a202944a052424c5095cba Running something like `curl --data '{"Version": 1, "Key": "ZW5jb2Rpbmc=", "ID": "ZW5jb2Rpbmc="}' http://127.0.0.1:7771/v3/ByzCoin/GetProof` will execute the right handler (if the Key and ID are valid and `RegisterRESTHandler` is...

We had a discussion with @LefKok on this problem some time ago. IIRC, the idea was to do periodic leader rotation, i.e., every block is created periodically regardless of whether...

Actually this paper describes a rotating leader algorithm (section IV-D) https://eprint.iacr.org/2019/676.pdf

We'll be changing the protocol to fix this issue, so it has to be done before v3 release or for v4. We're very close to the release date so I'm...

Most likely it will be fixed by https://github.com/dedis/cothority/issues/1409, which is after v3.

Related: https://github.com/dedis/cothority/issues/1266

Making the trie storage and block storage is tricky with the current API because the primary way we access the trie does not allow us to specify a boltdb tx....

I analyzed the complexity of doing option 1. It's big but not unmanageable. I've grouped the API changes into 5 sections. 1. We need to create new versions of `byzcoin.{LoadBlockInfo,...