- Jun 04, 2020
-
-
Alex Sharov authored
* z3 build cache * z3 build cache * circle 2.1 version * golangci-lint up to v1.27.0 * separate z3 cache, add architecture to the key * separate z3 cache, add architecture to the key * rerun ci * rerun ci * rerun ci * fix z3 cache * fix z3 cache * fix z3 cache * try shorter * trigger ci
-
Andrew Ashikhmin authored
* uint256 in rlp * uint256 rather than big.Int in Transation * linters * more linters * still linters * Reduce garbage in writeUint256 * Experiment with GC in writeByteArray
-
Alex Sharov authored
* simulated backend - replace .MemCopy by .NewBatch and native transactions close database which createtd inside simulated backend
-
Alex Sharov authored
badger-compatible trie loader (key and value in badger iterator valid only until .Next/.Seek call) (#612)
-
- Jun 03, 2020
-
-
Igor Mandrigin authored
-
ledgerwatch authored
* First commit * Fix the one-off error * Fix formatting * Ability to execute stage5 separately * Clean up intermediate hashes and stage5 progress * Fix linter * Print original keys when extracting * channel * More logging * More logging * Remove excess logging * fix stage2 * Revert * Fix stage2 * Add provider exhausted * Sort sortable buffer * Fix test * Another cleanup * Remove exhaust log
-
- Jun 02, 2020
-
-
Igor Mandrigin authored
-
ledgerwatch authored
* Changes * First attempt to fix * Sync works * Fix compile * Fix linter * Fix test * Fix test * Debug * Propagate tracing * Trace default receiver * More tracing * Correct unfurl * Remove tracing * Try to retain trie for debugging
-
- Jun 01, 2020
-
-
Igor Mandrigin authored
-
Andrew Ashikhmin authored
* Update to https://github.com/bitcoin-core/secp256k1/commit/05d315affe0acd02591c8db783ce1badb0c37a31 * Changes in the wrapper after the library upgrade * Faster config for x64 * USE_ENDOMORPHISM
-
- May 31, 2020
-
-
ledgerwatch authored
* Introduce hashCollector * Add HashCollector to SubTrieLoader * Fix linter * Reset hashed state * Not to regenerate the hashed state * Not to delete state * Fix linter * Print expected hash in the beginning * Simplify * Remove initialTrie * Use etl to buffer intermediate hashes * Copy values, not insert empty key * Compress instead of decompress * Enhance file buffer logging, fix linter * Fix compile errors * Fix log * Fix logging * Exclude zero key again * Add rewind * Restrict timestamps * Fix * Fix formatting * Incorporate separation * Extract identityLoadFunction * Fix formatting
-
ledgerwatch authored
* Fix test * Fix formatting
-
Igor Mandrigin authored
-
b00ris authored
* plain state indexes * generalize index generation&tests * add plain state tests * fix regenerate index * сoncurrent changeset chunks processing * remove concurrency * fix lint * remove comments * add test to truncate * fix conflicts * fmt * remove shadowing
-
- May 30, 2020
-
-
Evgeny Danilenko authored
* initial * gracefull shutdown for staged * more wg fixes * fmt * linters * remove generalization * linters * linters * fix * fix * fmt * quit into etl * after CR * after CR
-
Igor Mandrigin authored
-
Alex Sharov authored
* resetIH from scratch if needed * lmdb * add AbstractKV to loader, added new Object accessor around AbstractKV * add lmdb cli flag * add requirement of k!=nil on error in docs * add Size method for compatibility * read after put tests * fix multiput nils * simplify loops * increase mmap size * better error messages * better error messages * fix tests * better error messages * cleanup * avoid bolt usage in test * move hardcoded bucket name to dbutils * register more buckets * register more buckets * fix test
-
Igor Mandrigin authored
-
- May 28, 2020
-
-
Andrew Ashikhmin authored
-
ledgerwatch authored
-
ledgerwatch authored
-
Alex Sharov authored
-
Alex Sharov authored
* db based version of PrefixByCumulativeWitnessSize * db based version of PrefixByCumulativeWitnessSize * retain all in Trie by default * fix WitnessLen logic in calcTrie roots * Rename IntermediateTrieWitnessLenBucket to IntermediateWitnessLenBucket * handle corner cases in WL * Use correct incarnation for IH bucket * use name WitnessSize * save progress towards db-only witness estimation * results from trie and from db are still different * less recursion * correct incarnation in CumulativeSearch * reuse results from previous Tick, separate concepts of parent and startKey * experiment: if not including trie structure to WitnessSize will reduce cumulative error * tool to generate all IH and tool to calculate assessment of cumulative error * tool to generate all IH * Calculate totalWitnessSize based on DB data - then schedule will not overrun state during MGR cycle * better stats * Calculate totalWitnessSize based on DB data - then schedule will not overrun state during MGR cycle * Calculate totalWitnessSize based on DB data - then schedule will not overrun state during MGR cycle * calculate ticks size distribution * estimate cumulative error * fix linter * resetIH from scratch if needed * cleanup * fix test * fix test
-
- May 27, 2020
-
-
ledgerwatch authored
* Not hash, keep the files * Calculate savings * Fix * Fix * Fix * Fix * RestAPI to support local boltdb * Not error on read-only db * Changes so far * Continue * More * Roll back a bit * Restore newline * something compiles * Fix restapi * Fix block number * Fix reads * Use plain writer * Maps for storage reads and writes * Clean up coersions * Fix accounts/abi/bind * Fix tests * More fixes * more fixes * More fixes * Fixes * Fixed core/state * Fixed eth tests * Move code, fix linter * Fix test * Fix linter * Fix linter * Fix linter, badger_db to support AbstractKV * Increase IdealBatchSize for badger * Fix linter * Fix linter
-
ledgerwatch authored
* Move promotion before the shortcut * Correct the logs * Trying without the encoder * Revert "Trying without the encoder" This reverts commit 24c526bc2791fb6806b1c0d4f52a43b87c3959b9. * Commit to db, not to the mutation * Fix log more * No need to log every deleted file
-
- May 26, 2020
-
-
ledgerwatch authored
-
Andrew Ashikhmin authored
* Use uint256 for account balance * linter
-
Igor Mandrigin authored
-
Igor Mandrigin authored
-
ledgerwatch authored
* Explicit map of incarnations * Fix linter
-
- May 25, 2020
-
-
Andrew Ashikhmin authored
Post-merge fix
-
andrew authored
-
Andrew Ashikhmin authored
Use uint256.Int rather than common.Hash for storage values to reduce memory allocation in opSload & opSstore (#575) * Produce less garbage in GetState * Still playing with mem allocation in GetCommittedState * Pass key by pointer in GetState as well * linter * Avoid a memory allocation in opSload * Use uint256.Int rather than common.Hash for storage values to reduce memory allocation in opSload & opSstore * linter * linters * small clean up
-
Igor Mandrigin authored
* "Unwind" for the execution phase when plain state is selected * test stub (fails) * tests (one with incarnations fails) * test fixups * fix tests: cleanup contract code bucket
-
ledgerwatch authored
* Print * Stop blockchain on Terminate * Remove prints
-
- May 24, 2020
-
-
Andrew Ashikhmin authored
* Produce less garbage in GetState * Still playing with mem allocation in GetCommittedState * Pass key by pointer in GetState as well * linter * Avoid a memory allocation in opSload
-
ledgerwatch authored
* Rewrite * Fix linter, make counter * Skip hash stage * Fix linter * Add common * Fix wrong bucket * Use temp files to generate index * Fix hack, defer * Add logging when creating files * Properly pass datadir * Bigger buffers, less logging * Log current key, enforce batching * Limit to 4m, print more * Use ReadFull * Optimised version of storage generation * Don't print entire key * Commit at the end * Fix linter * Remove a bit of copy-paste * More copy-paste reduction * Fixes * Fix key length * Not delete files too early * Fix linter * Fix logging * Fix starting block * Skip test * Remove limit on the stage 4 * Fix test while disabling the hash check * Fix tests * Fix unreachable
-
- May 23, 2020
-
-
Andrew Ashikhmin authored
-
ledgerwatch authored
* save state * add current index feature * fix test * remove logs * Only execute 1000 blocks * Reset history index * Correct action * Increase batch size * Increase chunk size, print memory stats * Fix linter * Remove unused from * Split into 2 staged * Use storage history gen * remove log * Not to run tx_cacher in staged mode * Not to recover during stage 2 * Not to recover during stage 2 * Remove counter Co-authored-by:
b00ris <b00ris@mail.ru>
-
- May 22, 2020
-
-
ledgerwatch authored
* readPlainAccount * readPlainAccount * Try to disable accountCache * Try to not separate changeBatch * The actual fix ? * Move to fastcache, include incarnation * Fix linter * Fix linter * Disable caches * Fix linter * Reenable all except storage cache * Cosmetics * Disable account cache * Disable code size cache * Fix code caching * Apply the same fix to db_state_writer
-