sebak
sebak copied to clipboard
Rejected transactions kill consensus
- Start 3 nodes (standard docker setup)
- Kill one
- Send a valid transaction, e.g.:
docker run --network host -it sebak wallet payment GDTEPFWEITKFHSUO44NQABY2XHRBBH2UBVGJ2ZJPDREIOL2F6RAEBJE4 1000 SBECGI3FSCYHNQIMANNCWQSVA6S5C6L4BXFKAPMBAMI5V47NWXNE37MN --endpoint=https://127.0.0.1:2822 --create
=> Should fail
- Start the dead one
- Try to re-run the transaction: It fails
DBUG[07-31|02:21:32] message is transaction module=sebak node=GAYG.TLY7 caller=node_runner_checker.go:34
EROR[07-31|02:21:32] failed to handle message from client module=sebak node=GAYG.TLY7 error="{\"code\":100,\"message\":\"already exists in block\"}" caller=node_runner.go:230
SEBAK need to let the client knows if the transaction run or not.