ethresearch / sharding-p2p-poc

Proof of Concept of Ethereum Serenity Peer-to-Peer Layer on libp2p PubSub System
40 stars 19 forks source link

[WIP] Add ansbile script with roles of node and proposer #75

Closed mhchia closed 5 years ago

mhchia commented 5 years ago

What was wrong?

Need to deploy docker containers to servers and calling RPCs

How was it fixed?

roles/
├── common
│   ├── tasks
│   │   ├── cli_addpeer.yml
│   │   ├── cli_broadcastcollation.yml
│   │   ├── cli_getsubshard.yml
│   │   ├── cli_subshard.yml
│   │   ├── cli_unsubshard.yml
│   │   └── run_docker.yml
│   └── vars
│       └── main.yml
├── node
│   └── tasks
│       └── main.yml
└── proposer
    ├── tasks
    │   └── main.yml
    └── vars
        └── main.yml

common: defines all tasks, including run_docker, and other CLIs. node: do run_docker, and addpeer proposer: subscribed to shards, and broadcast collations

TODO

Cute Animal Picture

put a cute animal picture link inside the parentheses