tersec
cd388bc9bb
extended validation ( #812 )
...
* initial extended validation setup
* flesh out all TODO items for attestation and beaconblock verification
* fix finalization and add chronicles debugging messages
* directly use blockPool.headState rather than pointlessly updating it and document this constraint
* fix logic relating to first-attestation checking; support validating blocks across multiple forks
2020-03-31 18:39:02 +00:00
Ștefan Talpalaru
79dd632777
Merge branch 'libbacktrace' into devel
2020-03-31 18:44:43 +02:00
Ștefan Talpalaru
3239b62904
move "--import:libbacktrace" to config.nims
...
This simplifies the `./env.sh nim c -r ...` scenario.
2020-03-31 14:53:41 +02:00
kdeme
8b9c8a692e
Discv5: Don't pass ip address when external ip is not known
2020-03-31 12:02:13 +02:00
tersec
daabb1b5b2
complete all (non-semantic, comment-only) 0.11.0 -> 0.11.1 beacon chain spec updates, mark all beacon chain v0.11.0 spec references as v0.11.1, and remove now unnecessary/unused UpdateFlags vars from 4 test fixtures ( #841 )
2020-03-30 23:40:24 +00:00
Ștefan Talpalaru
e37c12b810
Merge branch 'peerinfo' into devel
2020-03-30 19:55:24 +02:00
tersec
f5f939bd31
0.11.1 beacon chain spec update ( #836 )
...
* initial 0.11.1 spec commit; no test regressions and finalizes in eth2_network_simulation
* with BLS 0.10/0.11 available, stop skipping attester slashing, proposer slashing, and voluntary exist operations fixture tests
* switch param orders to group state.{fork, genesis_validators_root}; bump spec/datatypes spec version for network purposes
* mark attestation construction and broadcast and some minimal/mainnet constants as 0.11.1-compatible; remove phase 1 sharding constants from minimal which don't exist in that preset
2020-03-30 11:31:44 +00:00
Ștefan Talpalaru
97abe77398
close unused PeerInfo instance
...
Should not be needed from the GC's point of view, but needed when
gathering Future.state statistics, due to `PeerInfo.lifefut`.
2020-03-30 00:23:01 +02:00
Ștefan Talpalaru
b44ba24142
Merge branch 'typenames' into devel
2020-03-29 10:20:06 +02:00
Ștefan Talpalaru
1276f346e0
config.nims: --define:nimTypeNames
2020-03-28 23:04:43 +01:00
Dmitriy Ryajov
9b07b87ca5
bump libp2p ( #837 )
...
Both `make eth2_network_simulation` and `./scripts/launch_local_testnet.sh --nodes 4 --disable-htop -- --verify-finalization --stop-at-epoch=7` work locally.
2020-03-28 19:20:52 +00:00
tersec
1bfe69b17d
refactor --verify-finalization ( #833 )
...
* refactor --verify-finalization from run_node to only be invoked via eth2_network_simulation and local sim; clean up various shell issues
* remove hardcoded --verify-finalization in launch_local_testnet
2020-03-26 20:32:13 +00:00
Ștefan Talpalaru
e57ebba140
Merge branch 'add-compose-compatibility' into devel
2020-03-26 19:08:55 +01:00
Ștefan Talpalaru
9fb1fd4a5c
add --compatibility to accept cpu/mem limits
...
For more details see:
https://github.com/status-im/infra-nimbus/issues/12
2020-03-26 19:07:19 +01:00
Zahary Karadjov
46e395c647
Switch to GossipSub
2020-03-25 23:32:05 +02:00
Zahary Karadjov
22876da593
Fix gcsafety issues in the test suite
2020-03-24 22:14:40 +02:00
Zahary Karadjov
86a3bea1ec
Use the latest Chronos and Libp2p
2020-03-24 22:14:40 +02:00
kdeme
b80a5b90df
Adjustments to store bootnode enrs in discovery object + bump nim-eth
2020-03-24 22:14:40 +02:00
Zahary Karadjov
f2434139e9
Hotfix: Don't report failure to connect to bootstrap node due to the initial sync taking more than 30 seconds
2020-03-23 22:29:50 +02:00
cheatfate
d63e4870e6
Fix Stream EOF problem.
2020-03-23 22:21:27 +02:00
zah
bd5400aea4
Oops, change back the default network_type in the master branch
2020-03-23 18:19:31 +02:00
Zahary Karadjov
64fbad1efa
Some build fixes required for pushing testnet0
2020-03-23 16:13:11 +02:00
Zahary Karadjov
91888874d8
[skip ci] remove an obsolete comment
2020-03-23 14:59:33 +02:00
Zahary Karadjov
46a3009c63
Restore the address file feature (and use it for synchronization in local sim)
2020-03-23 14:59:33 +02:00
Zahary Karadjov
14cffdea99
Don't create a separate bootstrap_node binary
2020-03-23 14:59:33 +02:00
Zahary Karadjov
232d07467f
Remove the run_in_docker wrapper script
2020-03-23 14:59:33 +02:00
Zahary Karadjov
12207eba07
Remove all mentions of Go from the README
2020-03-23 14:59:33 +02:00
Zahary Karadjov
d7c36a677e
Remove p2pd from the build recipes
2020-03-23 14:59:33 +02:00
Zahary Karadjov
4623aa81ec
Clean up some obsolete code
2020-03-23 14:59:33 +02:00
Zahary Karadjov
d5e4e640b4
Merge libp2p_backend into eth2_network
2020-03-23 14:59:33 +02:00
Zahary Karadjov
0c018cb68a
Mechanically remove all mentions of the daemon from the code
2020-03-23 14:59:33 +02:00
Zahary Karadjov
8300cee131
Merge the contents of backends_common in libp2p_backend
2020-03-23 14:59:33 +02:00
zah
0ed657e953
Merge pull request #826 from status-im/devel
...
Testnet0 release 2020-03-23
2020-03-23 14:58:52 +02:00
Ștefan Talpalaru
1752e1c2b6
bump submodules
2020-03-23 14:57:26 +02:00
Zahary Karadjov
5868afe341
Restore compilation with -d:p2pdump
2020-03-22 19:28:11 +02:00
Zahary Karadjov
286d6e14da
Attempt to fix the Travis ARM build
2020-03-22 19:00:09 +02:00
Zahary Karadjov
1d78a43724
Don't return Option[BlockRef] because BlockRef is a ref type
2020-03-22 19:00:09 +02:00
Zahary Karadjov
d2b7ee27de
The RPC service listens on localhost by default
2020-03-22 19:00:09 +02:00
Zahary Karadjov
d589cb7964
Fix the build with Json logging enabled
2020-03-22 19:00:09 +02:00
Zahary Karadjov
7d2381240f
Bump nim-eth and nim-json-rpc
2020-03-22 19:00:09 +02:00
Zahary Karadjov
19847bbd20
Remove some warnings
2020-03-22 19:00:09 +02:00
Zahary Karadjov
5a2a52869e
Add a RPC proc similar to /spec/eth2_config
2020-03-22 19:00:09 +02:00
Zahary Karadjov
adcec61081
Initial implementation of a JSON-RPC service
2020-03-22 19:00:09 +02:00
tersec
53e4b0a26c
complete (except for get_domain(...)) 0.11.0 beacon chain spec update ( #822 )
...
* complete (except for get_domain(...)) 0.11.0 beacon chain spec update
* mark compute_start_slot_at_epoch(...), is_active_validator(...), compute_signing_root(...), and get_seed(...) as 0.11.0
2020-03-22 16:03:07 +00:00
Jacek Sieka
689bcf71c4
clean up block creation
...
* consistently use state at new block slot to produce block
* factor out signature funcs
* fix missing block application test
2020-03-22 11:15:07 +00:00
Mamy Ratsimbazafy
ccace9a034
Fix shortlog crypto ( #818 )
...
* fix shortlogs of crypto types
* Valid signature without a "real: " prefix tag
* remove 0x prefix
2020-03-19 17:18:48 +01:00
Ștefan Talpalaru
e1fb18d7db
Merge pull request #817 from status-im/devel
...
Devel
2020-03-18 23:44:31 +01:00
Ștefan Talpalaru
4f0caeceed
Merge branch 'bump' into devel
2020-03-18 20:20:10 +01:00
tersec
2a2d6ea6f7
remove vestiges of rocksdb ( #813 )
2020-03-18 19:43:51 +01:00
Ștefan Talpalaru
b0e7e248d5
bump submodules
2020-03-18 17:20:34 +01:00