Work in progress. This is a toy blockchain to learn.
- python 3.7+
Because: "Prior to Python 3.7, dict was not guaranteed to be ordered, so inputs and outputs were typically scrambled unless collections.OrderedDict was specifically requested. Starting with Python 3.7, the regular dict became order preserving, so it is no longer necessary to specify collections.OrderedDict for JSON generation and parsing.". Source: https://docs.python.org/fr/3/library/json.html
"-c " ask the blockchain to a node
"-ac" is an answer to the command -c
"-n " ask to a node his all connections
"-an" is an answer to the command -n or -p
"-t " specify that the node will receiv a transaction
"-b " specify that the node will receiv a block
"-p " it's a commande to know all the nodes in the same network