good morning!!!!

Skip to content
Snippets Groups Projects
  1. Jun 04, 2020
  2. Jun 03, 2020
    • Igor Mandrigin's avatar
      Refactor Stagedsync part 1 (#610) · 0533eed8
      Igor Mandrigin authored
      0533eed8
    • ledgerwatch's avatar
      Various fixes to staged sync and experiments (#608) · e5692d17
      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
      e5692d17
  3. Jun 02, 2020
  4. Jun 01, 2020
  5. May 31, 2020
  6. May 30, 2020
  7. May 28, 2020
    • Andrew Ashikhmin's avatar
    • ledgerwatch's avatar
    • ledgerwatch's avatar
      Increase max table size (#586) · f752ac48
      ledgerwatch authored
      f752ac48
    • Alex Sharov's avatar
      bolt db stats export to prometheus (#585) · d74732a6
      Alex Sharov authored
      d74732a6
    • Alex Sharov's avatar
      Mgr schedule iterator (#566) · daa359c3
      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
      daa359c3
  8. May 27, 2020
    • ledgerwatch's avatar
      Fix RestAPI for tx_retrace and make it work for local boltdb (#584) · dba3363b
      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
      dba3363b
    • ledgerwatch's avatar
      Move promotion before the shortcut (#582) · e348dcb8
      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
      e348dcb8
  9. May 26, 2020
  10. May 25, 2020
  11. May 24, 2020
    • Andrew Ashikhmin's avatar
      Use pointers to hashes in Get(Commited)State to reduce memory allocation (#573) · df285754
      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
      df285754
    • ledgerwatch's avatar
      Fix history generation and optimise via pre-sorting in the files (#572) · f6be0b60
      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
      f6be0b60
  12. May 23, 2020
  13. May 22, 2020
    • ledgerwatch's avatar
      Fix staged sync issue introduced by LRU caches (#568) · 6d883b53
      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
      6d883b53
Loading