Zahary Karadjov
8ce0fc3a89
Address #1687
...
This addresses the issues by detecting and rejecting keystores with
incorrect PBKDF2 and SCrypt params. It also bumps the version of
nim-json-serialization to include a bugfix for incorrect parsing
of json files featuring comments.
2020-10-15 20:15:51 +03:00
Zahary Karadjov
cd949a2b81
Address #1691 More pervasive handling of Ctrl+C
2020-10-15 20:15:51 +03:00
Zahary Karadjov
8a6281aad2
Simple cost model for sync requests; Penalize peers perfoming flooding or invalid requests
2020-10-15 20:15:51 +03:00
Jacek Sieka
6b9419e547
fix db growth on attestation processing ( #1860 )
...
It turns out that we often save lots of states in the database that are
the result of empty slot processing only - here, we make sure to only
save a state if a block follows - this fixes several issues:
* empty slot states are not always pruned leading to state database size
explosion
* storing states is (very) slow which slows down processing in general,
so we should only do it when it's likely to be useful
* attestation processing doesn't get stuck on saving random states that
won't appear in the chain history
2020-10-15 14:28:44 +02:00
Viktor Kirilov
4e73d10f86
removed 2 buggy RPC API endpoints - there are 2 well functioning ones in validator_api.nim anyway ( #1867 )
2020-10-15 14:26:59 +02:00
Mamy Ratsimbazafy
bcd9088114
Bump blscurve/blst (missed in #1775 ) ( #1870 )
2020-10-15 14:25:12 +02:00
Ștefan Talpalaru
1ae3fb90ba
Linux AMD64 binary distribution ( #1844 )
...
* Linux AMD64 binary distribution
The builds are reproducible, as long as our base Docker Hub image
remains available.
tl;dr: `make dist`
* use UTC dates
2020-10-15 12:19:41 +00:00
tersec
da59f45a90
update spec/datatypes spec refs from v0.12.3 to v1.0.0 ( #1866 )
2020-10-14 10:00:27 +00:00
tersec
513ba72b9a
add v1.0.0-rc.0 support behind compile-time flag ( #1852 )
...
* add v1.0.0-rc.0 support behind compile-time flag
* keep runtime presets consistent
2020-10-13 17:21:25 +00:00
tersec
3ee2dd8da4
p2p-interface spec ref bump (except non-updated places) ( #1862 )
2020-10-12 14:37:14 +00:00
tersec
15c989f70d
bump eth2-testnets ( #1856 )
2020-10-12 12:40:01 +00:00
Mamy Ratsimbazafy
dba39c54d9
Update sec template for review [skip ci]
2020-10-12 11:39:15 +02:00
tersec
1994ffe5a0
update 130+ spec references from v0.12.3 to v1.0.0-rc1 ( #1854 )
2020-10-12 08:59:24 +00:00
Zahary Karadjov
5bf2cd623a
Add a genesis state for zinken
2020-10-10 13:26:26 +03:00
Zahary Karadjov
00a8a68671
Address #1695
...
Better error messages when the beacon node is asked to listen on a
reserved port (0) or an already taken one.
2020-10-09 16:39:03 +03:00
tersec
d69d89866e
fix logtrace in local network sim ( #1840 )
2020-10-09 10:58:54 +02:00
tersec
b79e5f8af5
update nim-beacon-chain to nimbus-eth2 in beacon_chain/, ncli/, tests/, and README.md ( #1843 )
2020-10-08 19:02:05 +00:00
tersec
1d5352aa5d
switch docs/ nim-beacon-chain references to nimbus-eth2 ( #1842 )
2020-10-08 18:57:07 +00:00
tersec
c0aa2f1e58
update process_slashings() to use PROPORTIONAL_SLASHING_MULTIPLIER ( #1841 )
2020-10-08 18:00:07 +00:00
Sacha Saint-Leger
949125e5a3
Update README.md
...
update nimbus eth1 link
2020-10-08 16:58:17 +02:00
Eugene Kabanov
3bd7ab4c20
Do not reward empty responses. ( #1827 )
...
Request status from peers every StatusExpirationTime.
2020-10-08 14:50:48 +02:00
Mamy Ratsimbazafy
76053142f1
Merge pull request #1839 from status-im/devel
...
Master <- Devel - Zinken Genesis fix
2020-10-08 11:46:29 +02:00
Zahary Karadjov
d534570cf6
Use latest Zinken metadata (correct genesis time and bootstrap nodes)
2020-10-08 11:20:06 +03:00
yslcrypto
2f4ba1b6da
zinken updates
2020-10-07 23:25:47 +02:00
zah
3b5a5536e1
Merge pull request #1837 from status-im/devel
...
Merge devel to fix links in the README
2020-10-07 22:45:51 +03:00
Zahary Karadjov
fc9539c0b8
[skip ci] fix some broken links
2020-10-07 22:42:05 +03:00
tersec
f08f44b9a2
in exit pool, bundle receive messages into beaconblocks ( #1812 )
...
* in exit pool, filter out already-packaged messages; bundle remaining messages into beaconblocks
* filter messages at block construction time
* allow adding up to intended capacity of buffers, beyond per-block limits
* document rationale/design for filtering mechanism
2020-10-07 16:57:21 +00:00
Mamy Ratsimbazafy
180bad3a33
Merge pull request #1818 from status-im/devel
...
Master <- Devel
2020-10-07 18:46:02 +02:00
Zahary Karadjov
2ea5385aa0
Fix invalid file permissions causilg make eth2_network_sim to fail
2020-10-07 18:12:21 +03:00
Zahary Karadjov
b46c8410a6
Retire Spadina and prepare for the Zinken network
2020-10-07 18:12:21 +03:00
Mamy Ratsimbazafy
6b9090398e
[JSON-RPC] Prevent silent uint conversion ( #1819 )
...
* Prevent silent uint conversion
* bump json-rpc
2020-10-07 15:02:54 +02:00
nbc-bump-bot[bot]
078c626554
auto-bump nim-libp2p ( #1806 )
...
Co-authored-by: = <sinkingsugar@users.noreply.github.com>
2020-10-07 12:52:25 +02:00
Ștefan Talpalaru
f1acc0532c
merge "nim.cfg" into "config.nims" ( #1820 )
...
to reduce the number of configuration files
2020-10-07 12:02:00 +02:00
Ștefan Talpalaru
e9b2253fac
bump nim-nat-traversal and nimbus-build-system ( #1824 )
...
* bump nim-nat-traversal and nimbus-build-system
The "clean-cross" target has been moved to the latter.
* Windows fix
2020-10-07 12:01:27 +02:00
Kim De Mey
aac6db8f2b
Bump vendor/nim-eth ( #1816 )
2020-10-07 10:15:38 +02:00
Zahary Karadjov
deaddc1fc0
Address review comments
2020-10-07 09:32:03 +03:00
Zahary Karadjov
63d2e56255
Fix the medalla-fast-sync target
2020-10-07 09:32:03 +03:00
Zahary Karadjov
aed291128a
Add support for starting from weak subjectivity checkpoints
...
Also removes the `genesis.ssz` file stored in the data folder.
The `medalla-fast-sync` target has been adapted to use the new features.
2020-10-07 09:32:03 +03:00
Ștefan Talpalaru
dc428e00db
Makefile: macOS fix
2020-10-06 17:18:02 +02:00
Mamy André-Ratsimbazafy
edc7737afd
bash spaces
2020-10-06 16:16:10 +02:00
Mamy André-Ratsimbazafy
874e7068ab
Don't cancel workflows when in PR
2020-10-06 16:14:45 +02:00
Mamy André-Ratsimbazafy
aee7f12376
Try again, maybe this is only set after the step
2020-10-06 15:57:12 +02:00
Mamy André-Ratsimbazafy
b293096c72
display branch found in CLI [skip ci]
2020-10-06 15:52:36 +02:00
Zahary Karadjov
2c06492407
Address #1728
2020-10-06 15:46:22 +03:00
Zahary Karadjov
950bcd0f6d
Address #1729 : Min password length
2020-10-06 15:46:22 +03:00
Zahary Karadjov
78953fd9b5
Address #1729 : NFKD Normalization
2020-10-06 15:46:22 +03:00
Zahary Karadjov
fec4b5014d
Address #1694
2020-10-06 15:46:22 +03:00
Zahary Karadjov
47d4899911
Wallet creation does not allow overwriting an existing wallet
2020-10-06 15:46:22 +03:00
Zahary Karadjov
9d23094c68
Address #1692
2020-10-06 15:46:22 +03:00
Eugene Kabanov
27fc8bcc80
Address #1538 and do not penalize peers for empty response. ( #1811 )
2020-10-06 14:10:02 +02:00