- May 30, 2020
-
-
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
-
- May 21, 2020
-
-
ledgerwatch authored
* Lower cache sizes * Add memory profiling over http * No code cache * Calculate db batch size in bytes * Fixes * Fixes * Increase batch * Fix linter * Restore account caching, with copying * Reintroduce code cache * Add fixed overhead per key * Print batch size * Fix batch size * Reduce batch size * 50 Mb * Fix linter
-
ledgerwatch authored
Staged exec: RLU cache between StateReader and StateWriter, separate batches for state and changesets (#542) * Add cpu profiling * Splt state and change batches * Log commits * Remove * Log memory * Add lru caches for staged execution * Fix * Fix for nil account * Fix linter * Fix linter * Increase state batch size * Add memory profiling over http * Reduce cache sizes * Fix storage cache * Fix * Fix * Fix * Fix * Cleanup * Fix linter * Reduce logging * Reduce logging
-
Andrew Ashikhmin authored
* Avoid copying operation in EVMInterpreter.Run * Don't copy jump table for every new EVMInterpreter since it's quite heavy
-
ledgerwatch authored
* Reset plain genesis * Change to optimised freelist implementation * Fix linter * Revert "Change to optimised freelist implementation" This reverts commit 65e28f1737801178e95585381a789785504ec318. * Noerrcheck
-
- May 20, 2020
-
-
Igor Mandrigin authored
* Use upstream EVMC * update to 7.3.0
-
ledgerwatch authored
* Prototype works * Fix linter, start actual implementation * More on getProof implementation * Fixes * Fix storage proofs * Fix linter, start adding to rpctest * Fixes in eth_getProof and rpctest * Fix linter * Reenable check for debug_traceTransation * Cleanup
-
Andrew Ashikhmin authored
* Use math.bits in comoon math Safe* for performance (the compiler optimizes away math.bits) * Prettier code in opExp
-
Andrew Ashikhmin authored
* It's unnecessary to copy key in stateObject.updateTrie * Move value copying from stateObject.updateTrie down to TrieStateWriter
-
Igor Mandrigin authored
-
Péter Szilágyi authored
-
Hao Duan authored
Co-authored-by:
Hao Duan <duan.hao@hyperchain.cn>
-
gary rong authored
* core: fix missing receipt * core: address comment # Conflicts: # core/blockchain.go
-
Marius van der Wijden authored
* accounts/abi: allow overloaded argument names In solidity it is possible to create the following contract: ``` contract Overloader { struct F { uint _f; uint __f; uint f; } function f(F memory f) public {} } ``` This however resulted in a panic in the abi package. * accounts/abi fixed error handling
-
Marius van der Wijden authored
* accounts/abi/bind: added test cases for waitDeployed * accounts/abi/bind: added test case for boundContract * accounts/abi/bind: removed unnecessary resolve methods * accounts/abi: moved topics from /bind to /abi * accounts/abi/bind: cleaned up format... functions * accounts/abi: improved log message * accounts/abi: added type tests * accounts/abi/bind: remove superfluous template methods # Conflicts: # accounts/abi/bind/bind.go # accounts/abi/topics.go # accounts/abi/topics_test.go
-
gary rong authored
* cmd, miner: add noempty-precommit flag * cmd, miner: get rid of external flag * miner: change bool to atomic int * miner: fix tiny typo Co-authored-by:
Péter Szilágyi <peterke@gmail.com> # Conflicts: # miner/worker.go
-
ucwong authored
-
ucwong authored
* core/rawdb : log format fix for Unindexing transaction * core/rawdb: tiny fixup Co-authored-by:
Péter Szilágyi <peterke@gmail.com>
-