Open hypercube-lab opened 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.
@all-contributors please add @ptrn229xl for infrastructure, tests and code
@hypercube-lab
I've put up a pull request to add @ptrn229xl! :tada:
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).