nimbus-eth2/beacon_chain/spec
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
..
eth2_apis more work on the BN/VC split 2020-05-28 13:01:42 +03:00
presets skip skipped constant sanity checks also from markdown reports' perspectives (#1053) 2020-05-21 19:56:09 +02:00
beaconstate.nim use shuffled validator cache in more places; cleanups (#1095) 2020-06-03 07:42:08 +02:00
crypto.nim update all remaining beacon chain spec references from v0.11.1 and v0.11.2 to v0.11.3 2020-05-20 08:48:18 +00:00
datatypes.nim Ssz cache (#1084) 2020-06-03 07:57:17 +02:00
digest.nim update all remaining beacon chain spec references from v0.11.1 and v0.11.2 to v0.11.3 2020-05-20 08:48:18 +00:00
english_word_list.txt Bump testutils 2020-06-01 16:58:28 +03:00
helpers.nim first batch of work towards the VC/BN split: 2020-05-25 16:23:15 +03:00
keystore.nim Check iv length for decryption 2020-05-29 16:38:55 +03:00
network.nim remove some unused imports, add tests for pubsub topics, and subscribe to interop attestations 2020-05-14 16:41:46 +03:00
state_transition_block.nim Ssz cache (#1084) 2020-06-03 07:57:17 +02:00
state_transition_epoch.nim use shuffled validator cache in more places; cleanups (#1095) 2020-06-03 07:42:08 +02:00
state_transition_helpers.nim audit & update spec references for some slashing and rewards and penalty functions; check and update all remaining v0.11.0 spec references to v0.11.3 [skip ci] 2020-05-20 14:57:08 +00:00
validator.nim use shuffled validator cache in more places; cleanups (#1095) 2020-06-03 07:42:08 +02:00