Comments (1)
Since the protocol's security relies on eventual delivery of every message, the only way to emulate this in an unreliable network is to store and resend messages indefinitely until a read receipt is obtained.
However, the need to provide unbounded buffers means that the software may end up consuming all the machine’s available disk space or RAM. If messages are dropped when the buffers full up, then the network model no longer fulfills the guarantees assumed by the security analysis, and hence the security proof cannot be guaranteed.
Hi, in a complicated network, we may have many nodes crash (or restart, power-fail) at the same time, the network may randomly drop messages.
In this case, store and resend indefinitely until a read receipt is obtained
means we need write (and sync) every message to DB ?
If receiver replied a receipt and then crash, the sender will not resend the message, so we also need write (and sync) every incoming message to DB ?
outgoing message:
VAL
ECHO
READY
BVAL
AUX
CONF
TERM
incoming message:
incoming VAL
incoming ECHO
incoming READY
incoming BVAL
incoming AUX
incoming CONF
incoming TERM
For one round, we need at least 14 writes (and 14 syncs) ? It's a huge burden for real projects.
What if we don't store and resend every message, just let the receiver query missing messages?
In this case, we need store RBC input data, BA input data, and coin data. When node restarts, and it finds missing message, it sends query request to other nodes, then other nodes resend the missing messages.
This only need 2 or 3 writes. But I don't know if this breaks the security guarantee...
from honeybadgerbft.
Related Issues (20)
- [packaging] Register package on PyPI HOT 3
- [test] add source code check to travis (pep8, etc) HOT 1
- [conventions] Coding style elements and more HOT 1
- Implement proposed batch size to be floor(B/N) HOT 4
- [logging] Setup minimal logging config HOT 1
- [test:coverage] measure branch coverage HOT 1
- [dev] charm-crypto fails to build with stretch (debian 9) HOT 2
- [dev] update/fix experiments HOT 3
- [test] add more unit tests for tpke module HOT 1
- license HOT 5
- Paper: clarification on number of decryption shares to wait for HOT 2
- Clarification: What will happen if a node goes down during RBC? HOT 2
- Bug in ABA protocol's use of Common Coin HOT 2
- Threshold decryption seems to not actually work? HOT 3
- Issue running an instance with Docker HOT 4
- Optimistic Randomness for ABA HOT 9
- Is re-creating the merkle tree after N-F messages with the same root hash have been received necessary? HOT 1
- Python KeyError during standard test run
- Common coin in private network
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from honeybadgerbft.