Skip to content
Snippets Groups Projects
Commit 21219463 authored by inso's avatar inso
Browse files

Update tx lifecycle

parent 846b56e2
No related branches found
No related tags found
No related merge requests found
doc/uml/tx_lifecycle.png

26.3 KiB | W: | H:

doc/uml/tx_lifecycle.png

59.5 KiB | W: | H:

doc/uml/tx_lifecycle.png
doc/uml/tx_lifecycle.png
doc/uml/tx_lifecycle.png
doc/uml/tx_lifecycle.png
  • 2-up
  • Swipe
  • Onion skin
@startuml note "With B a Block\nWith W the Median fork window\nWith Cur the current block of the main branch" as N1 state Local_Tx { [*] --> To_send : Signed locally To_send : B = none To_send --> Awaiting : Node answered\n200 OK to POST Awaiting : B = Cur Awaiting --> Refused : Not registered in [B; B+W] Refused --> To_send : Send back Refused --> [*] : Drop } state Registered { [*] --> Validating : Posted\nsin the blockchain Validating : B = Block containing the Tx Awaiting --> Validating : Found in the blockchain Validating --> Validated : Cur-B > W Validated --> Validating : Blockchain\nrollback,\ntx still present Validated --> Awaiting : Blockchain\nrollback,\ntx not\npresent anymore } @enduml @startuml note "With B a Block\nWith W the Median fork window\nWith Cur the current block of the main branch" as N1 state Local_Tx { [*] --> To_send : Signed locally To_send : B = none To_send --> Awaiting : Node answered\n200 OK to POST Awaiting : B = Cur Awaiting --> Refused : Not registered in [B; B+W] Refused --> To_send : Send back Refused --> [*] : Drop } state Registered { [*] --> Validating : Posted\nsin the blockchain Validating : B = Block containing the Tx Awaiting --> Validating : Found in the blockchain Validating --> Validated : Cur-B > W Validated --> Validating : Blockchain\nrollback Validated --> Awaiting : Blockchain\nrollback\ntx local removed Validated --> [*] : Blockchain\nrollback\ntx removed Validating --> [*] : Blockchain\nrollback\ntx removed } @enduml
\ No newline at end of file \ No newline at end of file
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment