Zahary Karadjov
cf6a869e9e
Address some TODO items; Handle start-up before genesis more properly
2020-06-11 17:40:08 +03:00
Zahary Karadjov
c773e10c1a
Attempt to reduce the risk of dropped network connections during the loading of KeyStores
2020-06-11 17:40:08 +03:00
Zahary Karadjov
ff49932bb9
Reduce the number of validators to their older values (before this branch)
2020-06-11 17:40:08 +03:00
Zahary Karadjov
bea243ae04
Attempt to fix the CI finalization test
...
Since I'm not able to reproduce the finalization failure locally
and it does happen only sporadically, one possible explanation is
that the introduction of keystores lead to a slower initialization
of the beacon nodes which somehow interferes with their behavior
during the initial slots.
If increasing the start-up delay fixes the problems, the hypothesis
will be confirmed.
2020-06-11 17:40:08 +03:00
Zahary Karadjov
8da81210fa
Work-around https://github.com/nim-lang/Nim/issues/14616
2020-06-11 17:40:08 +03:00
Zahary Karadjov
25821331c4
More greppable code for the onPeerConnected operation
2020-06-11 17:40:08 +03:00
Zahary Karadjov
811ba9aacd
Fix SSZ issues on 32-bit platforms
2020-06-11 17:40:08 +03:00
Zahary Karadjov
fdaf419e41
Address review comments
2020-06-11 17:40:08 +03:00
Zahary Karadjov
76b44c73f3
Make it easier to turn off the use of libstacktrace
2020-06-11 17:40:08 +03:00
Zahary Karadjov
6e88a07b51
Fix the validator client build
2020-06-11 17:40:08 +03:00
Zahary Karadjov
37b4739547
Include hash_tree_root in the SSZ fuzzing tests
2020-06-11 17:40:08 +03:00
Zahary Karadjov
2acda1c115
Provide a default value for secretsDir (similar to validatorsDir)
2020-06-11 17:40:08 +03:00
Zahary Karadjov
a75c632f7a
Fixed launch_local_testnet; Renamed validator_keygen to keystore_directories
2020-06-11 17:40:08 +03:00
Zahary Karadjov
e3378e52ac
Distribute the keystore secret files to the testnet hosts
2020-06-11 17:40:08 +03:00
Zahary Karadjov
a8113cf2bc
Restore the local sim to a working state
2020-06-11 17:40:08 +03:00
Zahary Karadjov
17343442ea
Implement more of the KeyStore spec and integrate it in the beacon node
2020-06-11 17:40:08 +03:00
Eugene Kabanov
1fc9413c48
Fix #1153 . ( #1160 )
...
Add ability for SyncQueue to recover from unexpected MissingParent.
2020-06-11 16:20:53 +02:00
Ștefan Talpalaru
1c238a609d
forgot the image
2020-06-11 16:00:56 +02:00
Ștefan Talpalaru
b45885b357
README: document Jenkins artifacts
...
and bring the ToC up to speed
2020-06-11 15:59:19 +02:00
Jacek Sieka
f9c5769d42
bump libp2p
2020-06-11 10:12:52 +02:00
Jacek Sieka
016cc22173
show peer info on connect ( #1155 )
2020-06-11 07:14:26 +02:00
Ștefan Talpalaru
8e648da399
connect_to_testnet.nims: don't die when GNU getopts is missing
2020-06-11 04:11:30 +02:00
Ștefan Talpalaru
7aec3dfc4b
Merge pull request #1159 from status-im/jenkins
...
Jenkins: archive testnet logs as artifacts
2020-06-11 01:41:16 +02:00
Ștefan Talpalaru
67a1242d02
Jenkins: archive testnet logs as artifacts
2020-06-11 00:13:25 +02:00
Ștefan Talpalaru
288c7088f2
Merge pull request #1158 from status-im/grafana
...
Prometheus & Grafana refactoring
2020-06-10 23:52:32 +02:00
Ștefan Talpalaru
e2025c5752
Prometheus & Grafana refactoring
...
- moved "process_dashboard.nim" in "tools/"
- README: made Witti the documented testnet and added instructions for
getting metrics out of the local node
- moved Prometheus config file generation in its own script
- the static Grafana dashboard definition now covers all nodes, using
a variable; only the remote testnet dashboards need to be dynamically
generated
- "launch_local_testnet.sh" no longer needs a "--grafana" option
2020-06-10 19:55:26 +02:00
Viktor Kirilov
e7febc2e2b
can finalize successfully with external VCs! + some other cleanup
2020-06-10 13:50:50 +03:00
Viktor Kirilov
06873abde3
fixed build
2020-06-10 13:50:50 +03:00
Viktor Kirilov
3bae40ae91
- extracted the commands to run a VC into a separate run_validator.sh script
...
- each BN gets half of its previous validators as inProcess and the other half goes to the respective VC for that BN - using separate data dirs where the keys are copied
- also removed a few command line options which are no longer necessary
- block proposals originating from a VC are propagated from one BN to the rest properly
- other cleanup & moving code back to since it is no longer used elsewhere
2020-06-10 13:50:50 +03:00
Mamy Ratsimbazafy
ce897fe83f
[Split fork choice PR] Derisk-ed attestation checks changes ( #1154 )
...
* Derisked attestation pool improvements
* tune down frequent logs
* VoteTracker logging
2020-06-10 08:58:12 +02:00
Ștefan Talpalaru
4517bf5dd4
Merge pull request #1156 from status-im/bump
...
bump submodules
2020-06-09 22:29:16 +02:00
Dustin Brody
50dbf5b91a
poke to try azure again
2020-06-09 18:39:05 +00:00
Dustin Brody
a9f73ac8fb
poke
2020-06-09 18:39:05 +00:00
Dustin Brody
41705c1738
successive state_sim runs can't be from different spec versions because they don't share genesis states
2020-06-09 18:39:05 +00:00
Dustin Brody
8f7541959a
allow compile-time switching between v0.11.3 and v0.12.1
2020-06-09 18:39:05 +00:00
Dustin Brody
36f15a3688
complete re-implmentation of reasonable asymptotic-complexity algorithms from 0.11.3
2020-06-09 18:39:05 +00:00
Dustin Brody
35f67cec60
remove the scaffolding get_empty_per_epoch_cache() calls and the pointless construction and return/discarding of zero-filled arrays
2020-06-09 18:39:05 +00:00
Dustin Brody
5582ecc1f4
remove some debugging code
2020-06-09 18:39:05 +00:00
Dustin Brody
cc13153fc6
initial 0.12.1 beacon chain spec
2020-06-09 18:39:05 +00:00
Ștefan Talpalaru
2a70f8c9d1
bump submodules
2020-06-09 20:00:33 +02:00
李婷婷
9c1da836f7
fix all comments
2020-06-10 00:50:10 +08:00
李婷婷
62949301ac
Merge branch 'devel' of https://github.com/status-im/nim-beacon-chain into devel
2020-06-10 00:41:04 +08:00
李婷婷
5bc83c5035
revert accidental commit to devel
2020-06-10 00:40:18 +08:00
李婷婷
77364548e2
rebase from devel
2020-06-10 00:29:29 +08:00
Viktor Kirilov
b3710bfc0b
updated nim-json-rpc to use instead of in logScope
2020-06-09 17:07:47 +03:00
Ștefan Talpalaru
1fef9765a0
Merge pull request #1151 from status-im/travis
...
Travis: allow failures on ARM64 (too unreliable)
2020-06-09 13:56:41 +02:00
Ștefan Talpalaru
3f49d2375a
Travis: allow failures on ARM64 (too unreliable)
2020-06-09 12:07:34 +02:00
Jacek Sieka
1e71388093
Include finalization, head and time (in that order) in standard bar ( #1142 )
...
These are the 3 most important things in the life of a beacon-node -
finalization checkpoint for security, head + time for seeing that we're
synced and working.
The order given is the expected increasing order that things should be
moving in - finalization lags head, and head lags clock - the structure
helps the user remember, but also see the pattern where time is getting
out of sync with head.
A validator would also want to know when the next action is going to be
(ie next attestation / block production) but that's for another day.
2020-06-08 18:04:11 +02:00
Eugene Kabanov
040e38529a
Fix #1140 . ( #1143 )
...
SeenTable is now able to hold peers with different timeout values.
2020-06-08 18:02:50 +02:00
tersec
a50415a719
temporary workaround for witti attestation dropping ( #1131 )
2020-06-08 09:22:31 +02:00