tersec
fe1a7922c8
update attestation aggregation validation to spec refs of v0.12.2 ( #1481 )
2020-08-10 14:49:18 +00:00
Jacek Sieka
10da7fe9da
remove eth from default status bar
...
not viable at higher validator counts - linear scan + forced public key
init makes it extremely slow
2020-08-10 17:01:53 +03:00
Jacek Sieka
2a36949913
use epochcache for attesting ( #1478 )
2020-08-10 15:21:31 +02:00
Jacek Sieka
280e72f3c9
remove snappy RPC support ( #1477 )
...
removed in 0.12.2 - the flow, in particular when the other peer doesn't
support snappy, is hard to follow because of the trial-and-error
approach - removing it simplifies things and removes some of the
hard-to-read parts of the thunking etc
2020-08-10 15:18:17 +02:00
Jacek Sieka
936440fccd
use libp2p peer events to track peer ( #1468 )
...
this resolves some peer counting issues that were happening because the
lifetime future in PeerInfo was unreliable (multiple PeerInfo instances
existed per peer)
In addition, this solves another race condition: when connecting to a
peer and later dialling that protocol, it is not certain that the same
connection will be used if there's a concurrent incoming peer connection
ongoing - better not make too many assumptions about who sent statuses
when.
2020-08-10 12:58:34 +02:00
yslcrypto
49428f4925
update readme
2020-08-10 12:14:12 +02:00
yslcrypto
0ca0425df7
update installation page
2020-08-10 12:10:36 +02:00
yslcrypto
220d40b806
introduction edits
2020-08-10 11:46:08 +02:00
Jacek Sieka
585c410d90
remove randompeers
...
unused, requires importing `random` which we're trying to avoid
2020-08-10 11:48:33 +03:00
Eugene Kabanov
55fcece0b2
SyncManager fix to process blocks one by one. ( #1464 )
...
* Allow sync manager process blocks one by one.
* Log storeBlock() and updateHead() duration.
* Calculate duration only for blocks added without any error.
* Fix float compilation error.
* Fix duration.
* Fix SyncQueue tests.
2020-08-10 09:15:50 +02:00
Ștefan Talpalaru
cd0f4a2d23
bump vendor/nim-metrics
2020-08-09 16:38:30 +02:00
Ștefan Talpalaru
569cc8df28
update Grafana dashboard
2020-08-09 00:18:00 +02:00
Ștefan Talpalaru
675eb8bff5
enable Chronos' future tracking ( #1473 )
2020-08-08 21:24:14 +02:00
Ștefan Talpalaru
5e9c91381e
bump submodules ( #1472 )
...
* fork News
* bump submodules
2020-08-08 18:00:19 +02:00
Ștefan Talpalaru
538f11ad4f
Jenkins: abort older PR builds still in progress ( #1469 )
...
* Jenkins: abort older PR builds still in progress
2020-08-07 23:51:37 +02:00
Jacek Sieka
1c830cf623
add state root test ( #1466 )
2020-08-07 22:17:24 +02:00
Jacek Sieka
3b6a8a692d
cleanup unused chaindag epoch features
...
these are somewhat obsoleted by the more extensive use of EpochRef
2020-08-07 19:49:52 +02:00
nbc-bump-bot[bot]
3d39757321
auto-bump nim-libp2p ( #1461 )
...
Co-authored-by: = <arnetheduck@users.noreply.github.com>
2020-08-07 18:29:13 +02:00
Eugene Kabanov
38bf8ccbec
Implement tracing of lags in the logs. ( #1465 )
2020-08-07 16:22:58 +00:00
Jacek Sieka
84a501d1ff
remove one cache, add another ( #1449 )
...
* remove one cache, add another
This cache removes the need for rewinding in most attestation validation
flow since the attestations come from one of two epochs and must be
targetting a viable block.
Additionally, it also removes all state caches which are less likely to
be used over-all - more metrics are needed to track the rewinding.
On risk is that when chains don't finalize, we'll have lots of epochrefs
in memory meaning lots of validator key databases, most being exactly
the same. This can be addressed in any number of ways. Some of the
memory usage is mitigated by the fact that we previously had lots of big
state caches and now we're keeping only keys instead.
* cleanups
* doc
2020-08-06 19:48:47 +00:00
Dmitriy Ryajov
c5077af4bc
decreate amount of concurent dials ( #1460 )
2020-08-06 19:21:12 +00:00
Zahary Karadjov
9861eb1152
Use the same keystore directory names as Lighthouse
...
Rationale: this makes moving keys between the clients eaiser
Other changes:
* Restore building with custom presets
(defaultRuntimePreset is not a template in this mode)
2020-08-06 21:50:19 +03:00
Jacek Sieka
f4c16ed0db
eh cleanups ( #1458 )
...
current exception sometimes buggy in nim
2020-08-06 18:47:39 +00:00
Ștefan Talpalaru
8890d014be
book: remove redundant section [skip ci] ( #1459 )
2020-08-06 19:36:39 +02:00
Zahary Karadjov
b902fddd19
Allow loading keystores produced by Lighthouse
...
The spec allows the description to be set to 'null'
2020-08-06 17:33:57 +03:00
tersec
81b3c0ea40
update spec refs to v0.12.2 ( #1457 )
...
* update spec refs to v0.12.2 and change a .len.uint64 to .lenu64
* pull back from any non-pure-comment changes, since Jenkins is being wonky
2020-08-06 13:05:13 +00:00
Viktor Kirilov
5bbeb38f2d
fixes the BN/VC communication - properly getting the attestation duties & also fixed start.sh
2020-08-06 15:29:05 +03:00
Zahary Karadjov
c4268f954b
Another simple Makefile fix
2020-08-06 15:23:01 +03:00
Zahary Karadjov
0cdd13bf7c
Fix Prometheus-related error on 'make medalla' on fresh installations
2020-08-06 15:21:07 +03:00
Zahary Karadjov
009e9a6a41
Fix 'make test'
2020-08-06 14:49:58 +03:00
protolambda
e90c5440e8
make eth1 distance runtime configurable
2020-08-06 14:49:58 +03:00
yslcrypto
d11f0ad86e
tips on how to graffiti and run multiple clients
2020-08-06 14:49:40 +03:00
nbc-bump-bot[bot]
8d14e0aca6
auto-bump nim-libp2p ( #1446 )
...
Co-authored-by: = <arnetheduck@users.noreply.github.com>
2020-08-06 12:45:14 +02:00
yslcrypto
dea2722fc2
book updates
2020-08-06 13:17:45 +03:00
Ștefan Talpalaru
09bc6e57c6
grafana/beacon_nodes_Grafana_dashboard_Chronos_edition.json [skip ci]
2020-08-06 04:33:27 +02:00
Jacek Sieka
6d3f1b93be
bump
2020-08-05 19:34:59 +03:00
Jacek Sieka
221f372dbc
use peer id in a number of places
2020-08-05 19:34:59 +03:00
Zahary Karadjov
4b8ebb5d71
Correct instructions in the README for running prometheus on Medalla
2020-08-05 19:28:35 +03:00
Zahary Karadjov
b427c7249f
More logging and metrics (incoming gossip blocks; outgoing aggregated attestations)
2020-08-05 19:28:35 +03:00
Jacek Sieka
deaeb62de3
clean up quarantine
2020-08-05 16:19:55 +02:00
Viktor Kirilov
983d931a83
initializing the pubkeys properly in the rest of the places for the BN/VC communication to work
2020-08-05 16:37:55 +03:00
Viktor Kirilov
154c6bf8ee
fix for the BN/VC communication - related to the lazy initialization of validator public keys
2020-08-05 16:37:55 +03:00
nbc-bump-bot[bot]
b13b04bd7b
auto-bump nim-libp2p ( #1444 )
...
Co-authored-by: = <dryajov@users.noreply.github.com>
2020-08-05 13:02:14 +02:00
Jacek Sieka
15b99e4c11
cache beacon proposer indices ( #1440 )
...
also clear old epochrefs as they're growing unwieldy
in particular, this speeds up gossip block validation by avoiding the
rewind
2020-08-05 08:28:43 +02:00
nbc-bump-bot[bot]
ae072d39e6
auto-bump nim-libp2p ( #1427 )
...
Co-authored-by: = <stefantalpalaru@users.noreply.github.com>
2020-08-05 03:16:10 +02:00
tersec
dd0a91de0c
allow a slot's worth of clock disparity in attestation validation ( #1442 )
2020-08-04 20:10:29 +00:00
Dustin Brody
8618cbdf38
keep representations consistent for tests
2020-08-04 23:00:33 +03:00
Dustin Brody
e8c31e4ce8
just in case
2020-08-04 23:00:33 +03:00
Dustin Brody
5e3af9a458
fix validator cache keys
2020-08-04 23:00:33 +03:00
Dustin Brody
2c7d207a72
make test passes
2020-08-04 23:00:33 +03:00