Commit Graph

71 Commits

Author SHA1 Message Date
tersec 57aba5d3a6
Switch block pool caches from BeaconChainDB to TableRefs (#945)
* refactor blook pool caches to directly use TableRef to avoid SSZ decoding, which was consuming 20% of profile on mainnet eth2_network_simulation

* use table's hasKeyOrPut

* bump eth2 spec reference to v0.11.1

* cache whole StateData objects and switch from expensive clear() to cheaper new object instantiation for caching

* remove scaffolding and stop re-assigning to part of StateData object

* 80-character lines
2020-04-29 16:58:44 +02:00
tersec 7bc18423fa
detect improper 0-length lists of variable-sized objects in SSZ reading (#928)
* detect improper 0-length lists of variable-sized objects in SSZ reading
2020-04-23 19:39:23 +00:00
Ștefan Talpalaru 1babc00255
new initial submodule update strategy (#904)
* new initial submodule update strategy

* Azure: fix command order
2020-04-19 01:25:21 +02:00
Zahary Karadjov 12207eba07 Remove all mentions of Go from the README 2020-03-23 14:59:33 +02:00
Ștefan Talpalaru 47df900958
document `-d:insecure` for Prometheus support 2020-02-27 17:50:36 +01:00
acolytec3 fb771d52f0 Add android build prereqs 2020-02-21 19:43:00 +00:00
Ștefan Talpalaru ad36808b7d
Make: add USE_LIBBACKTRACE flag 2020-02-20 17:41:10 +01:00
Jacek Sieka 2a67ac3c05 trie -> kv store
* simplify data storage to key-value, tries are not relevant for NBC
* locked-down version of lmdb dependency
* easier to build / maintain on various platforms
2020-01-20 13:39:37 +00:00
Jacek Sieka 0d1727e2cb
Update README.md 2020-01-01 12:34:30 +01:00
Jacek Sieka 1fef4090b5
Update README.md
Need git on bare ubuntu
2019-12-31 15:31:59 +01:00
Jacek Sieka 265b9aaf39
Update README.md
it's `build-essential` on debian
2019-12-31 13:37:25 +01:00
Dustin Brody 46de726e3d mark all compatible 0.9.3 functions and data structures as 0.9.4 2019-12-20 17:24:42 +00:00
Dustin Brody 27bf8908a9 mark a couple dozen functions and data structures as 0.9.3; fix TRACE-level compiling; stop downloading 0.9.2 test vectors; update cosmetic/display spec versions in test suite 2019-12-17 16:51:46 +00:00
Jacek Sieka 8c104a0b94 inspector: add readme entry, decoding option 2019-12-16 16:08:30 +02:00
Mamy Ratsimbazafy 52cdb73e96
Fix instr when cloning from scratch (#621)
* Fix build instruction (make update deps is not enough on first install)

* use underline instead of bold

* Alternative fix

* Makefile: fix the default target on fresh clone

* fix ANSI escape code bleeding into my shell prompt
2019-12-03 19:52:54 +01:00
Zahary Karadjov ee2448b221 Simple validator onboarding
On your very first connection to each testnet, you'll be asked to
become a validator. Please consult our private repo for a Goerli
Eth1 private key that you can use for deposits.

Other changes:

* Added a simple wrapper ./connect-to-testnet script calling the
  nims file in the correct environment. No extension was used to
  make the command the same on Unix and Windows.

* Bumped a number of modules with fixes from this week

* `make testnet0` and `make testnet1` will no longer delete your
  existing database. This is considered a more appropriate behavior
  for testing forward sync.
2019-12-03 02:23:17 +02:00
zah 94f9658e7b Update README.md 2019-12-02 22:21:45 +02:00
Mamy Ratsimbazafy 68caaa4e39 Update README.md
Co-Authored-By: Jacek Sieka <jacek@status.im>
2019-12-02 22:21:45 +02:00
Mamy André-Ratsimbazafy 0d0e5ea080 add back archlinux instruction (note that pakku is broken and unmaintained) 2019-12-02 22:21:45 +02:00
Mamy André-Ratsimbazafy dcab811197 build instructions where missing make x2 2019-12-02 22:21:45 +02:00
Mamy Ratsimbazafy e7b0c8d8dd [Ready] README polish (#602)
* README polish

* Update README.md

Co-Authored-By: Jacek Sieka <jacek@status.im>

* Update README.md

Co-Authored-By: Jacek Sieka <jacek@status.im>

* Update README.md

Co-Authored-By: kdeme <kim.demey@gmail.com>

* Address comments
2019-11-29 15:39:46 +00:00
Dustin Brody edfd65fd5d stop download 0.9.1 test vectors; finish 0.9.2 update, primarily via fixing preset constants; remove a couple 0.19.6 shims 2019-11-22 16:41:43 +00:00
Dustin Brody f5b8931fad switch assert(...) to doAssert(...) and minor cleanup 2019-11-22 16:39:05 +00:00
Dustin Brody c0f009908c
re-enable test_interop based on zcli with 0.9.1 specs and update initialize_beacon_state_from_eth1(...) to 0.9.1 (#569)
* re-enable test_interop based on zcli with 0.9.1 specs and update initialize_beacon_state_from_eth1(...) to 0.9.1

* switch many procs to funcs

* fix import os.nim instead; ospaths is deprecated [Deprecated] warnings
2019-11-21 09:15:10 +00:00
Zahary Karadjov f5e9b9a922 Allow running local nodes without attached validators
The number of user nodes is now specified with `USER_NODES`.

To make the instructions more stable, the "numeric id" of the user
nodes will be starting from 0 (so you can always use `run_node.sh 0`
to start a user node).

If you specify a node index above the total number of nodes, you'll
launch a node without any validators attached (this is useful for
testing the sync for example).
2019-11-11 23:29:36 +00:00
Dustin Brody f02aa20873
innocuous phrasing change to trigger CI build 2019-11-09 18:52:48 +01:00
Zahary Karadjov 6ceb75c6b3
Add README instructions for connecting to testnets 2019-10-29 01:25:43 +02:00
Mamy Ratsimbazafy f7dea04ed6 Add detailed Rpi instructions (#506) 2019-10-28 11:55:29 +00:00
Jacek Sieka 8af2e03677
Update README.md 2019-10-25 13:49:31 +02:00
Ștefan Talpalaru 3a2fc249a2
simulation: metric visualisation 2019-10-23 20:57:59 +02:00
Jacek Sieka f41fa704d5
Update readme instructions to use specific node/validator counts (fixes #483) 2019-10-23 15:22:35 +02:00
Jacek Sieka ee52e86781
readme: simplify prerequisites section 2019-10-22 14:03:48 +02:00
Ștefan Talpalaru 5f02f42658
fix typo [skip ci] 2019-09-29 16:22:18 +02:00
Ștefan Talpalaru 1664565934
replace the AppVeyor badge with the Azure one [skip ci] 2019-09-29 16:19:58 +02:00
Jacek Sieka e984ecb64f
fix readme 2019-09-28 21:18:30 +02:00
Ștefan Talpalaru 1f05e1cdb2
README: minimum Git version [skip ci] 2019-09-12 18:33:23 +02:00
mratsim f4a3e47a61 Update interop instructions [skip ci] 2019-09-10 21:05:58 -04:00
Mamy Ratsimbazafy 68354829e3
Add go compiler as prerequisit [skip ci] (#430) 2019-09-10 16:41:24 -04:00
Mamy Ratsimbazafy d17d7dba0e
add note to skip LFS (#383)
* add note to skip LFS

* Addtional note in the interop folder readme
2019-09-04 23:38:01 +02:00
Ștefan Talpalaru b12bc346f4
it's "libpcre3-dev" in Ubuntu too 2019-09-04 13:30:39 +02:00
Ștefan Talpalaru 343f1a95a0
Nimbus -> nim-beacon-chain 2019-09-04 13:25:25 +02:00
Ștefan Talpalaru 59014cbc52
document requirements and the build process
fixes #376
2019-09-04 13:14:09 +02:00
Ștefan Talpalaru 69ac78b2e0 new build system and submodules
- better p2pd building, with CI caching
2019-08-23 14:36:29 +03:00
Bruno Škvorc b6e2d4f30a
Update README.md 2019-07-12 10:18:07 +02:00
Christian Iacullo 5d22f5e730 Beacon node simulation README fix (#312) 2019-07-04 13:57:17 +00:00
Ștefan Talpalaru cf2b9e5a84
README.md: fix eth2_network_simulation instructions 2019-04-01 22:30:37 +02:00
Bruno Škvorc d3f13d01e7
Update README.md 2019-03-30 01:13:45 +01:00
Bruno Škvorc 75f9388c19
Update README.md 2019-03-30 01:11:43 +01:00
Ștefan Talpalaru 3b2b65a21e
README.md: we default to V=0 now 2019-03-29 19:10:16 +01:00
Ștefan Talpalaru 226a390c66
README.md: add `make update` even if it's not required the first time
so we don't have a different set of instructions for subsequent updates
2019-03-29 03:36:04 +01:00