hbbft icon indicating copy to clipboard operation
hbbft copied to clipboard

ABA protocol error

Open zhazhalaila opened this issue 3 years ago • 0 comments

While I was looking at the ABA test code, I found a bug. When there are two nodes whose input is 1 and two nodes whose input is 0. We cannot predict whether the result will be 0 or 1, because the ABA protocol is random, and the output maybe 0 or 1, not a definite value. https://github.com/anthdm/hbbft/blob/0826ffdcf567629942544b7382433aacedaf3fb3/bba_test.go#L29

zhazhalaila avatar Jul 27 '22 09:07 zhazhalaila