sebak icon indicating copy to clipboard operation
sebak copied to clipboard

Rejected transactions kill consensus

Open Geod24 opened this issue 7 years ago • 1 comments

  • 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

Geod24 avatar Jul 31 '18 02:07 Geod24

SEBAK need to let the client knows if the transaction run or not.

Charleslee522 avatar Mar 07 '19 07:03 Charleslee522