lighthouse/beacon_node
pscott e164371083 Set Graffiti via CLI (#1320)
## Issue Addressed

Closes #1319 

## Proposed Changes

This issue:
1. Allows users to edit their Graffiti via the cli option `--graffiti`. If the graffiti is too long, lighthouse will not start and throw an error message. Otherwise, it will set the Graffiti to be the one provided by the user, right-padded with 0s.
2. Create a new `Graffiti` type and unify the code around it. With this type, everything is enforced at compile-time, and the code can be (I think...) panic-free! :)

## Additional info

Currently, only `&str` are supported, as this is the returned type by `.arg("graffiti")`.
Since this is user-input, I tried being as careful as I could. This is also why I created the `Graffiti` type, to make sure I could check as much as possible at compile time.
2020-07-14 08:05:02 +00:00
..
beacon_chain Set Graffiti via CLI (#1320) 2020-07-14 08:05:02 +00:00
client Set Graffiti via CLI (#1320) 2020-07-14 08:05:02 +00:00
eth1 Update deps (#1322) 2020-07-06 11:55:56 +10:00
eth2_libp2p Discovery update (#1349) 2020-07-11 12:35:59 +10:00
genesis Update deps (#1322) 2020-07-06 11:55:56 +10:00
network Update smallvec (#1339) 2020-07-07 16:57:27 +10:00
operation_pool Update deps (#1322) 2020-07-06 11:55:56 +10:00
rest_api Fix race condition in VC block proposal service (#1282) 2020-07-07 14:03:21 +10:00
src Set Graffiti via CLI (#1320) 2020-07-14 08:05:02 +00:00
store Update deps (#1322) 2020-07-06 11:55:56 +10:00
tests Improve tokio task execution (#1181) 2020-06-04 21:48:05 +10:00
timer Update deps (#1322) 2020-07-06 11:55:56 +10:00
version v0.1.2 (#1155) 2020-05-18 15:05:23 +10:00
websocket_server Improve tokio task execution (#1181) 2020-06-04 21:48:05 +10:00
Cargo.toml Remove beacon-chain config file (#1279) 2020-06-23 13:45:27 +10:00