hypercube-lab / hypercube

HyperCube is a revolutionary, high-performance decentralized computing platform. HyperCube has powerful computing capabilities to provide high-performance computing power and large-scale data storage support for VR, AR, Metaverse, Artificial Intelligence, Big Data, and Financial Applications.🛰
GNU General Public License v3.0
974 stars 222 forks source link

Miners vote back to alpha node #28

Open hypercube-lab opened 2 years ago

hypercube-lab commented 2 years ago

Miners should hash the TransactionProcessor state and transfer the data to the alpha node. In order to set an appropriate timeout, the alpha node should utilize that. That is the time when a batch is finished (which includes the wait time after the timeout ended and before the batch began to be fetched).

ptrn229xl commented 2 years ago

Long-term the vote should be gossiped, but short-term, we can send the vote to the leader's requests address. By sending the vote to the alpha node and not to everyone, a malicious alpha node can censor or DoS the chain and the Miners wouldn't be able to detect it. The alpha node should collect votes until the 2/3+1 majority and then write the voters' signatures to the chain so that Miners can verify 2/3+1 votes was achieved before the deadline.

hypercube-lab commented 2 years ago

@all-contributors please add @ptrn229xl for infrastructure, tests and code

allcontributors[bot] commented 2 years ago

@hypercube-lab

I've put up a pull request to add @ptrn229xl! :tada: