prysm-pulse/shared
dv8silencer 812a663671
Add flag to allow reading bootstrap nodes from a file (#6351)
* parent c837dfb2f2
author dv8silencer <dv8silencer+github@gmail.com> 1592805180 -0500
committer dv8silencer <dv8silencer+github@gmail.com> 1592855989 -0500
Create a bootstrap-node-file flag which reads nodes from a YAML file and make the flag mutually exclusive to the bootstrap-node flag
* Merge branch 'master' into dv8s-iss6316
* Refactor so that boot node reading is in its own function.  Added test
* Added period

Co-authored-by: terence tsao <terence@prysmaticlabs.com>
* Merge branch 'master' into dv8s-iss6316
* Edit Bazel to include go-yaml dep
* Help Bazel build successfully
* Merge branch 'master' into dv8s-iss6316
* bazel run //:gazella -- fix
* Handle error from YAML parser to address build checks
* Merge branch 'master' into dv8s-iss6316
* Merge branch 'master' into dv8s-iss6316
* Updated flags.go to refine the Usage for the BootStrapNodeFile flag

Co-authored-by: Nishant Das <nish1993@hotmail.com>
* Merge branch 'master' into dv8s-iss6316
* Utilize stdlib TempFile to avoid polluting
* Merge branch 'master' into dv8s-iss6316
* Merge branch 'master' into dv8s-iss6316
* Merge branch 'master' into dv8s-iss6316
* Merge branch 'master' into dv8s-iss6316
* Merge branch 'master' into dv8s-iss6316
* Merge branch 'master' into dv8s-iss6316
* Merge branch 'master' into dv8s-iss6316
* Merge branch 'master' into dv8s-iss6316
* Merge branch 'master' into dv8s-iss6316
* Merge branch 'master' into dv8s-iss6316
* Merge branch 'master' into dv8s-iss6316
* merge master into this branch
* Merge branch 'master' into dv8s-iss6316
* Merge branch 'master' into dv8s-iss6316
* Merge branch 'master' into dv8s-iss6316
* Merge branch 'master' into dv8s-iss6316
* Merge branch 'master' into dv8s-iss6316
* Merge branch 'master' into dv8s-iss6316
* Merge branch 'master' into dv8s-iss6316
* Merge branch 'master' into dv8s-iss6316
* Merge branch 'master' into dv8s-iss6316
* Changed bootstrap-node to StringSlice flag to allow multiple nodes to be passed.  Each value can be .enr file which will be YAML parsed to extract nodes
* Refactored to create separate readbootNodes function and added a test for it.
* More cleaning up
* Changed wording in the cli help for --bootstrap-node
* Merge branch 'master' into dv8s-iss6316
* Since we are taking YAML files, got rid of .enr check and instead we check for the string prefix of a enr record or not to determine if file.
* Merge with dv8silencer/tempissue6316
* Correct spacing

Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com>
* Changed how we check for YAML file vs CLI-direct ENR
* Minor:  Changed to 1 string from concatenating 2
* Merge branch 'master' into dv8s-iss6316
2020-06-26 11:23:38 +00:00
..
aggregation Refactor BLS (#6395) 2020-06-25 00:47:51 +00:00
attestationutil Refactor BLS (#6395) 2020-06-25 00:47:51 +00:00
benchutil Update to v0.12 (#5614) 2020-06-09 15:40:48 -07:00
blockutil External slashing protection not requiring signature (#6252) 2020-06-23 16:46:48 +00:00
bls Refactor BLS (#6395) 2020-06-25 00:47:51 +00:00
bytesutil QSP-Docs All Documentation Improvements from Quantstamp Audit Report (#6367) 2020-06-23 21:11:20 +00:00
cmd Add flag to allow reading bootstrap nodes from a file (#6351) 2020-06-26 11:23:38 +00:00
debug Only build with cgosymbolizer when explicitly requested (#6151) 2020-06-05 22:21:43 +00:00
event libfuzz based tests (#5095) 2020-05-05 07:22:26 +00:00
featureconfig Deprecates --disable-init-sync-batch-save-blocks flag (#6403) 2020-06-25 15:55:43 -05:00
grpcutils External slashing protection (#5895) 2020-05-20 10:23:22 -05:00
hashutil Use FastSSZ Everywhere Applicable (#6135) 2020-06-05 13:48:40 +00:00
htrutils Move generic HashTreeRoot funcs to //shared (#6167) 2020-06-18 10:15:13 +08:00
interop Refactor BLS (#6395) 2020-06-25 00:47:51 +00:00
iputils libfuzz based tests (#5095) 2020-05-05 07:22:26 +00:00
keystore Refactor BLS (#6395) 2020-06-25 00:47:51 +00:00
logutil QSP-14 consistent file permissions (#6378) 2020-06-25 16:12:59 +00:00
mathutil libfuzz based tests (#5095) 2020-05-05 07:22:26 +00:00
mclockutil libfuzz based tests (#5095) 2020-05-05 07:22:26 +00:00
messagehandler libfuzz based tests (#5095) 2020-05-05 07:22:26 +00:00
mock Update Node RPC Endpoints (#6289) 2020-06-18 03:53:46 +00:00
mputil libfuzz based tests (#5095) 2020-05-05 07:22:26 +00:00
p2putils Fix Fork Data in Local Node (#5997) 2020-05-27 08:07:40 -07:00
pagination Fix Pagination Bug When Total Size % Page Size == 0 (#6266) 2020-06-19 09:39:12 -05:00
params QSP-14 consistent file permissions (#6378) 2020-06-25 16:12:59 +00:00
prometheus Add Host Flags for All Servers running in Prysm (#6202) 2020-06-10 16:04:32 +00:00
roughtime QSP-49 Recalibrate Roughtime (#6393) 2020-06-25 09:02:54 -05:00
runutil libfuzz based tests (#5095) 2020-05-05 07:22:26 +00:00
sliceutil QSP-Docs All Documentation Improvements from Quantstamp Audit Report (#6367) 2020-06-23 21:11:20 +00:00
slotutil Fix underflow in SlotsSinceGenesis (#6275) 2020-06-15 21:56:11 +00:00
testutil Refactor BLS (#6395) 2020-06-25 00:47:51 +00:00
traceutil libfuzz based tests (#5095) 2020-05-05 07:22:26 +00:00
tracing libfuzz based tests (#5095) 2020-05-05 07:22:26 +00:00
trieutil Use FastSSZ Everywhere Applicable (#6135) 2020-06-05 13:48:40 +00:00
version Use STABLE_ prefix for git tag to force a relink of version (#6307) 2020-06-18 19:59:47 +00:00
BUILD.bazel libfuzz based tests (#5095) 2020-05-05 07:22:26 +00:00
service_registry_test.go Makes test naming consistent across codebase (#1636) 2019-02-22 07:11:26 -08:00
service_registry.go Other Package Godocs for Prysm (#5681) 2020-04-29 21:32:39 +00:00