Zahary Karadjov
831b562435
Make the use of dynamic Chronicles outputs more optional
2019-10-29 19:16:32 +02:00
Zahary Karadjov
f1ea0cec32
Add support for testnets with mixed quickstart/random deposits
2019-10-29 19:16:32 +02:00
Zahary Karadjov
136a11f681
Fix the build when the Chronicles dynamic output is not used
...
close #504
2019-10-29 03:43:52 +02:00
Zahary Karadjov
734ab64da8
Unix-style command-line params for the 'deposit_contract' binary
2019-10-29 02:20:47 +02:00
Zahary Karadjov
ba0037738b
Removed all code related to the old network metadata files
...
Also switched to a more "standard" naming convention for the
command-line parameters.
2019-10-29 01:04:52 +02:00
Yuriy Glukhov
9d3889cbab
WIP Goerli testnet
2019-10-28 15:51:17 +02:00
Zahary Karadjov
43b70c0330
Restore the ability to run tests/simulation/start.sh manually
2019-10-28 15:28:45 +02:00
Zahary Karadjov
dfe3a6f0fb
Switch to Nim v1.0.2
2019-10-28 15:00:25 +02:00
Zahary Karadjov
a6f65cd37e
Add lower-level metrics for the number of gossipsub messages sent/received
2019-10-26 16:37:36 +03:00
Dustin Brody
a9fcaf16a6
stop double-counting attestation-topic attestations ( #501 )
2019-10-25 14:00:55 +00:00
Jacek Sieka
ee5d1c1467
minimize imports, specially for spec - cuts 2/3 of ncli build time ( #500 )
...
* minimize imports, specially for spec - cuts 2/3 of ncli build time
* ptr_arith->ptrops
2019-10-25 12:59:56 +02:00
Dustin Brody
700e7d921b
update to beacon chain phase 0 spec version 0.8.4; no substantive changes ( #494 )
2019-10-24 13:36:36 +00:00
Dustin Brody
c9d2815480
implement metrics to count send/received blocks/attestations, to detect network loss
2019-10-24 11:48:56 +03:00
Jacek Sieka
e8206a7489
fix datadir
2019-10-22 23:18:45 +02:00
Jacek Sieka
bdb70ebe2c
log data dir at startup ( fixes #229 )
2019-10-22 22:53:58 +02:00
Dustin Brody
43f353e665
implement beacon_reorgs_total metric ( #491 )
2019-10-22 13:57:34 +02:00
Dustin Brody
3da4c02bb3
implement beacon_current_live_validators and beacon_previous_live_validators metrics
2019-10-21 20:58:08 +09:00
Jacek Sieka
360afe48a3
fix two races when producing block
...
there be more dragons around
2019-10-08 23:52:50 +09:00
Jacek Sieka
b7f9d9e4be
fix BlsValue inits
2019-10-08 23:52:50 +09:00
Zahary Karadjov
c23b011c77
Cosmetic improvements to the status bar; Attempt to fix the CI
2019-10-07 23:56:34 +09:00
Zahary Karadjov
f72a58595f
Initial version of status bar
2019-10-07 23:56:34 +09:00
Zahary Karadjov
d3f88929da
Integrate nim-prompt
2019-10-07 23:56:34 +09:00
Dustin Brody
4c0b2a9a32
implement beacon_pending_deposits, beacon_processed_deposits_total, beacon_previous_validators, and beacon_current_validators metrics ( #478 )
...
* implement additional beacon_current_validators and beacon_previous_validators metrics
* tentatively implement beacon_pending_deposits additional metric
* implement beacon_processed_deposits_total additional metric
2019-10-06 04:31:50 +00:00
Dustin Brody
255980c9f6
fix issue #367 and remove too-small range type usage for ValidatorIndex
2019-10-03 16:41:25 +03:00
Dustin Brody
2122bb44c9
implement beacon_finalized_epoch, beacon_current_justified_epoch, and beacon_previous_justified_epoch ( #476 )
2019-10-03 10:36:31 +00:00
Eugene Kabanov
13bde5aee3
Add gossipsub messages monitoring tool. ( #458 )
...
* Add gossipsub messages monitoring tool.
* Add support of bootstrap nodes file.
* Move topic constants to spec/network.nim.
* Add ability to monitor custom topics.
2019-10-01 15:52:28 +02:00
Zahary Karadjov
2bbe2cb23c
Implement the outputBootstrapNodes option (taken from the interop branch)
2019-09-27 19:05:17 +03:00
Zahary Karadjov
b56c96a4fd
Support downloading SSZ genesis files with curl
2019-09-27 18:59:28 +03:00
Zahary Karadjov
0eaa433e84
Automated scripts for resetting the Status testnets
...
For detailed instructions, please see
https://github.com/status-im/nimbus-private/blob/master/testnets-maintenance.md
2019-09-26 18:58:51 +03:00
Mamy Ratsimbazafy
0b68f3dc63
[Interop branch] Log improvements - part 1 ( #439 )
...
* use service/category/process for blockpool logs
Only track fork choice logs in block pool (vs beacon_node)
Reduce verbosity on usual event in block pool
* rework beacon node logs
* log for attestations in blockpool
* log - att pool improvement
* use logScope and topics cf review and discussion
* use 7 letters for beacon_node
[log] report peers at slot start + fix bracket prefix [Block pool] Attestation sent
2019-09-23 11:35:41 +02:00
Jacek Sieka
42a469603d
simplify startup, describe a few startup tricks
2019-09-11 20:29:57 -04:00
Jacek Sieka
65ff8f2886
remove networkId (unused)
2019-09-11 20:29:57 -04:00
Jacek Sieka
ab2cce3951
add quickStart option that avoids network metadata
2019-09-11 20:29:57 -04:00
mratsim
c619b9557a
Validator pool update to use BLS domain
2019-09-11 20:29:57 -04:00
Zahary Karadjov
2aee749ead
Save a genesis SSZ file
2019-09-11 20:29:57 -04:00
Zahary Karadjov
f583135a39
The --stateSnapshot option now accepts ssz files as well
2019-09-10 10:13:49 -04:00
Jacek Sieka
86fc9a1f9e
fix nil access to mainchainMonitor
2019-09-10 09:49:54 -04:00
Yuriy Glukhov
d4c480ff5f
Eth1 validators ( #393 )
2019-09-09 18:59:02 +03:00
zah
93cdb43f1e
Integrate nim-metrics and add some metrics from the ETH2 spec ( #394 )
2019-09-07 19:48:05 +02:00
Yuriy Glukhov
e3bd4410d8
Revert "Eth1 validators" ( #392 )
...
This reverts commit bb8955bdbc
.
2019-09-06 13:00:56 +03:00
Yuriy Glukhov
bb8955bdbc
Eth1 validators
2019-09-06 02:38:38 +02:00
Jacek Sieka
9cfbdb5e16
more interop fixes
...
* fix eth1 interop block hash
* update initialize_beacon_state_from_eth1 to 0.8.3
2019-09-02 22:14:18 +03:00
Jacek Sieka
7b73b40bab
interop updates
...
* add interop launcher scripts
* stick validator_keygen into beacon_node
* fix lmd ghost slot number on missing block
* use mocked eth1data when producing blocks
* use bls public key method for withdrawal credentials
* fix deposit domain
* prefer lowercase for a bunch of toHex
* build simulation binary in data folder to avoid data types confusion
2019-09-02 22:14:18 +03:00
Dustin Brody
8665efbbd1
bump beacon chain versions to 0.8.3, which has no relevant changes in this regard ( #358 )
2019-08-26 11:09:47 +02:00
Zahary Karadjov
180e8ed02b
Fix a build issue after rebasing
2019-08-20 16:42:15 +03:00
Zahary Karadjov
74f630eb28
Better start-up logic when the beacon node is launched before the genesis time
2019-08-20 16:34:33 +03:00
Jacek Sieka
78f7a4a505
restore network sim finalization
...
* relax attestation validation when attestation is incoming but make it
more strict when adding to block
* share attestation validation logic between attestation pool and state
transition
* remove a bunch of redundant logging
* fix potential underflow in attestation delay checking
* fix committee used for attestation shard selection when attesting
* fix attestation data construction
2019-08-19 21:05:54 +03:00
Jacek Sieka
225465578c
fix startup time casts, log fixes
2019-08-19 21:05:54 +03:00
Jacek Sieka
e639cd95c7
humaneXNum -> shortLog
2019-08-15 18:01:55 +02:00
Zahary Karadjov
4daeebbf7e
Fix the build when json logging is enabled
2019-08-14 17:38:39 +02:00