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

New TX lifecycle proposal

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

21.4 KiB | W: | H:

doc/uml/tx_lifecycle.png

26.3 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
[*] --> To_send
To_send --> Awaiting : Broadcasted at B
Awaiting --> Validated : Registered in [B; B+15]
Awaiting --> Refused : Not registered in [B; B+15]
Refused --> To_send : Send back order
Refused --> Dropped : Drop order
@enduml
\ No newline at end of file
@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
\ 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