Drops-of-Diamond / diamond_drops

WIP on sharding and Ethereum 2.0 with enshrined-in-consensus data availability and Rust: a fast, safe, concurrent and practical programming language
The Unlicense
57 stars 14 forks source link

Basic cli #9

Closed ChosunOne closed 6 years ago

ChosunOne commented 6 years ago

I've added a basic cli to allow us to begin developing the proposal and collator parts of phase 1. By default the client will attempt to run both, but you can specify which mode you want by running with the -mode flag followed by proposer or p, collator or c, or explicitly run both with both. Ex. cargo run -- -mode p

ChosunOne commented 6 years ago

Now that I think about it I should probably add a call to join in run, otherwise the threads will be stopped. Once added I think it will be fine to merge.

jamesray1 commented 6 years ago

I suggest to halt work on this until a new spec is defined and work on the tasks in #13 in the meantime.