davebryson / bftdb

Tendermint + Sqlite3 = BFT Database Replication
Other
38 stars 6 forks source link

Any idea to upgrade bftdb into "safesnap DAO DB"? #4

Open diyism opened 2 years ago

diyism commented 2 years ago

I have seen 80000 people to vote a ENS(ethereum name service) proposal on snapshot.org(ipfs) and then it has been written onto a blockchain after 24 hours cooldown period(by safesnap / reality.eth oracle).

Is there any way to modify bftDB to realize the following function? Enable 80000 people(for example programmers in a table of the bftDB) to vote about a SQL statement, after they reached the quorum, that SQL statement will be executed automatically in bftDB?

diyism commented 2 years ago

safesnap DAO is too slow(24 hours cooldown), while concord-bft is an active BFT library, maybe "concord-bft + btfdb" is a golden combination. (https://github.com/vmware/concord-bft)

diyism commented 2 years ago

It seems that avalanche/snowman consensus is more suitable for a scalable BFTdb: ....sampling 8 or more fellow spectators over 13 rounds seems to be a good choice, given a population of 100000 people... ref: https://calaganne.blogspot.com/2018/11/consensus-by-avalanche.html