Skip to content

Latest commit

 

History

History
36 lines (32 loc) · 1.9 KB

README.md

File metadata and controls

36 lines (32 loc) · 1.9 KB

simpleblockchain

Simplified version of blockchain

Basic Workflow

          Client        Blockchain Node        Blockchain Peer Node
               +            +                        +
               | Submit     |                        |
               | Transaction|                        |
               |+---------> |                        |
               |            |                        |
               |            |                        |
               |            |Validate Txn            |
               |            |                        |
               v            |                        |
                            |                        |
                            |                        |
                            |Send Valid Txn          |
                            |to peers                |Validate Txn <----+
                            | +------------------>   |                  |
                            |                        |                  |
                            |                        |                  |
                            |                        |                  |
                            |Add Txn to Txn          |Send Txn to Peers +
                            |Pool                    |
                            |                        |
                            |                        |
                            |                        |
                            |                        |Add Txn to Txn Pool
                            |                        |
                            |                        |
                            |                        |
                            |                        |
                            v                        v