- Jun 05, 2020
-
-
Evgeny Danilenko authored
* prevent slice make and copy in Pushes * do not pad if the same length * after CR * linters * linters * linters
-
Evgeny Danilenko authored
-
Alex Sharov authored
* lmdb tests * trigger ci * fix tests * disable parallelism * disable parallelism * cleanup resources * cleanup resources * reduce concurency * try run tests on bolt * try run tests on bolt * fix downloader test * run bolt tests * rely on interface instead of exact instance * Rename AbstractKV to KV * don't use separator for badger * don't initialize badger cursor - because it not used here * fix linter * try reduce badger compactors * compat with master * try lmdb * try lmdb * try lmdb * reduce badger's MaxTableSize, reduce badger's minGoMaxProc for inMem option * allow to close closed db * release * release * ideal batch size for badger * ideal batch size for badger
-
Alex Sharov authored
* Bolt: cursor.Put * go mod tidy
-
Alex Sharov authored
-
- Jun 04, 2020
-
-
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 * Misc GC optimisations * unsafe experiment with writeByteArray
-
ledgerwatch authored
-
Alex Sharov authored
* implement cursor put * add bolt and bucket cursor.Put/Del
-
Alex Sharov authored
* increase golint confidence level to reduce renaming advises * disable golint because go-ethereum doesn't follow it
-
Alex Sharov authored
* UI for buckets size
-
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
-