lighthouse/beacon_node
Gua00va 62a2413ade Enable slasher broadcast by default (#4368)
## Issue Addressed

This PR addresses issue https://github.com/sigp/lighthouse/issues/4350

## Proposed Changes

This change will enable slasher broadcast in the following cases:
No flag is passed,
`--slasher-broadcast` is passed and,
`--slasher-broadcast=true` is passed.

Only when an explicit false value is passed the slasher does not broadcast.(`--slasher-broadcast=false`).

## Additional Info

TODO

- [x] Modify CLI parsing logic
- [x] Write test

Refer to #4353 


Co-authored-by: Rahul Dogra <rahulcooldogra@gmail.com>
Co-authored-by: Gua00va <105484243+Gua00va@users.noreply.github.com>
2023-06-08 13:47:56 +00:00
..
beacon_chain Switch default slasher backend to LMDB (#4360) 2023-06-07 01:50:33 +00:00
builder_client Set user agent on requests to builder (#4199) 2023-04-18 02:47:36 +00:00
client Switch default slasher backend to LMDB (#4360) 2023-06-07 01:50:33 +00:00
eth1 Replace ganache-cli with anvil (#3555) 2023-05-15 07:22:02 +00:00
execution_layer Always log the value of relay and local blocks for comparison (#4352) 2023-06-07 01:50:31 +00:00
genesis Replace ganache-cli with anvil (#3555) 2023-05-15 07:22:02 +00:00
http_api Logging via the HTTP API (#4074) 2023-05-22 05:57:08 +00:00
http_metrics Appease clippy in Rust 1.70 (#4365) 2023-06-02 03:17:40 +00:00
lighthouse_network Appease clippy in Rust 1.70 (#4365) 2023-06-02 03:17:40 +00:00
network Shift subnet backbone structure (attnets revamp) (#4304) 2023-05-30 06:15:56 +00:00
operation_pool Split common crates out into their own repos (#3890) 2023-04-28 01:15:40 +00:00
src Enable slasher broadcast by default (#4368) 2023-06-08 13:47:56 +00:00
store Switch default slasher backend to LMDB (#4360) 2023-06-07 01:50:33 +00:00
tests Appease Clippy 1.68 and refactor http_api (#4068) 2023-03-13 01:40:03 +00:00
timer Use async code when interacting with EL (#3244) 2022-07-03 05:36:50 +00:00
Cargo.toml Switch default slasher backend to LMDB (#4360) 2023-06-07 01:50:33 +00:00