- PEER TO PEER
- Working Peer-to-Peer (websockets)
- Key generation base on pass phrase
- Signatures
- Signatue Verification
- SIMPLE BLOCKCHAIN
- Creating blocks
- Verifing blocks
- Data exchange in jsons
- The Nodes syncronize every time the block is added to any node (BroadCasting)
- Consesus (checking which chain is longer and is it valid)
- TRANSACTIONS
- Creating Transactions (list of jsons)
LISTA TRANSAKCJI trzymana w Liście w Nodzie, dodawana do Blockchainu.
- Validate in case of double-spending
LISTA nodów z jakimiś pięniedzmi GDY DODAJESZ TRANSAKCJE TO trzeba zweryfikować czy już nie jest wydana w proposed
- Calculating balances
FUNKCJA (Blockchain + adres) -> ile on ma coinów.
- ASYNC MINE
- Handling Forks and Orphan Blocks W Momencie sync UTX powinny być liczone, transakcje z orphan bloków powinny zostać dodane do listy pending transacitons
- Creating Forks by a Malicious Node
- Broadcasting Transactions and Candidate Blocks with Probability
- KLASA DO TRANSAKCJI - Patryk
- FUNKCJA DO WERYFIKACJI BALANCÓW
- FUnckja do weryfikcjaji czy przychodząca transakcja jest poprawna (double spending, in >0)
- Broadcastowanie transkacji - Hubert