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
Eugene Kabanov
3ce98d5bca
Add checks for penalties which are not applied immediately. ( #1139 )
...
Change default maxHeadAge value to 1 epoch.
Set zero-point at the SyncQueue's initialization.
Remove annoying logs in runDiscoveryLoop.
2020-06-07 17:36:24 +02:00
Ștefan Talpalaru
53e34c9699
Merge pull request #1138 from status-im/grafana
...
Grafana: only show one node per page [skip ci]
2020-06-07 16:14:21 +02:00
Ștefan Talpalaru
fdf1a75956
Grafana: container regex [skip ci]
2020-06-07 16:13:15 +02:00
Ștefan Talpalaru
7c7b6fb361
Grafana: only show one node per page [skip ci]
...
by using Grafana variables to get dropdown menus
2020-06-07 01:42:54 +02:00
Ștefan Talpalaru
63d8966316
bump submodules
2020-06-06 17:20:54 +00:00
Ștefan Talpalaru
c5d12727a0
Merge pull request #1128 from status-im/travisarm
...
Travis: increase `make test` verbosity
2020-06-06 16:30:29 +02:00
Jacek Sieka
ea8f96d284
ncli_db: allow saving states by root ( #1136 )
...
also dump state+block when validation fails
2020-06-06 13:26:19 +02:00
Dmitriy Ryajov
99b2d6758a
upping libp2p ( #1135 )
2020-06-06 10:35:36 +02:00
Jacek Sieka
bb698a7e16
lots of peers ( #1130 )
2020-06-05 22:25:01 +02:00
Ștefan Talpalaru
67c1ac5ca9
Travis: --parallelBuild:2 everywhere
2020-06-05 21:11:40 +02:00
Zahary Karadjov
83eeff4da9
Bump chronos
2020-06-05 20:10:43 +03:00
Zahary Karadjov
4f1c4687e4
Fix the inspector build
2020-06-05 20:06:24 +03:00
Ștefan Talpalaru
ef85e363fa
Travis: --parallelBuild:2
2020-06-05 18:44:52 +02:00
Zahary Karadjov
1e51ee1d01
Bump nim-eth
2020-06-05 19:37:42 +03:00
Zahary Karadjov
0c78fc39e7
Use the latest LibP2P
2020-06-05 19:34:12 +03:00
Zahary Karadjov
32bc4d9096
Use {.push raises.} in spec/datatypes
...
This was an attempt to trigger a previously reported crash, but
everything turned out to be fine.
2020-06-05 19:33:30 +03:00
Ștefan Talpalaru
5e294f37f9
Travis: increase `make test` verbosity
...
to avoid a timeout on ARM64
2020-06-05 15:02:35 +02:00
Dustin Brody
74dc2fffa6
3x blocksim speedup by using EpochRef in attestation pool addResolved(...)
2020-06-05 13:02:35 +00:00
Jacek Sieka
68b5638da4
allow non-power-of-2 limits in hashlist
...
fixes "make eth2_network_simulation"
a bit sad: no test coverage except against our own tests
2020-06-05 14:51:22 +03:00
Dustin Brody
3cb7896bab
12x speedup on state sim with 100k validators sans BLS by caching get_beacon_proposer_index(...)
2020-06-04 17:07:51 +00:00
Eugene Kabanov
b22e5b6d1d
Fix #1108 ( #1119 )
2020-06-04 13:32:50 +02:00
Jacek Sieka
bcbfa736c9
format ErrorMsg messages reasonably ( #1109 )
2020-06-04 08:19:25 +02:00
Ștefan Talpalaru
22bd8951fd
README: we need CMake on macOS
2020-06-03 22:08:25 +02:00
Jacek Sieka
56ffb696be
reorder ssz ( #1099 )
...
* reorder ssz
* split into hash_trees and ssz_serialization, roughly, for hashing and
IO
* move bitseqs into ssz (from stew)
* clean up imports
* docs, imports
2020-06-03 15:52:02 +02:00
cheatfate
405e9db199
Fix problem of good peers is also logged as timed out.
2020-06-03 13:48:01 +03:00
cheatfate
12e28a1fa9
Add proper concurrent connections.
...
Add SeenTable to avoid continuous attempts to dead peers.
Refactor onSecond.
Block backward sync while forward sync is working.
SyncManager now checks responses according corresponding requests + tests.
SyncManager now watching for not progressing local_head_slot and resets SyncQueue.
2020-06-03 12:53:57 +03:00
Ștefan Talpalaru
3a6a9f8135
generate Grafana dashboards for remote testnet nodes
2020-06-03 12:44:16 +03:00
Jacek Sieka
07393c8de6
Ssz cache ( #1084 )
...
* wip: cache
* cache lists and arrays of complex objects (5x block processing speed
on ncli_db)
trivial baseline cache that stores tree in flat memory structure
* support array of uint64
* work around type issues
* more type compiler bug workarounds
* cache balances, more type fixes
* index type
* ncli_db: add validation flag, better ux
* int64 fixes
* test fix
* "oops"
```
647.913, 0.000, 647.913, 647.913, 1,
Initialize DB
0.540, 0.402, 0.340, 9.451, 619,
Load block from database
40.268, 0.000, 40.268, 40.268, 1,
Load state from database
0.498, 0.150, 0.343, 0.930, 596,
Apply block
3.548, 11.005, 0.729, 54.022, 23,
Apply epoch block
```
* support all basic types
* cleanups
* a few more cleanups
2020-06-03 07:57:17 +02:00
tersec
b7bb62d48b
use shuffled validator cache in more places; cleanups ( #1095 )
2020-06-03 07:42:08 +02:00
Jakub Sokołowski
39aac348b3
fix use of legacy get.status.im domain
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-06-02 22:32:07 +02:00
Jacek Sieka
1d9a58f1e8
a few more cleanups
2020-06-02 22:10:45 +02:00
kdeme
06f025b228
Add timeout to switch.connect
2020-06-02 23:06:11 +03:00
Jacek Sieka
7e881a4c09
cleanups
2020-06-02 17:17:07 +02:00
Jacek Sieka
872d7ff493
support all basic types
2020-06-02 11:44:51 +02:00