1. 12 4月, 2017 1 次提交
  2. 11 4月, 2017 2 次提交
  3. 07 4月, 2017 14 次提交
    • N
      Remove cruft, rename BitShares -> Eos · 7584ca2f
      Nathan Hourt 提交于
      7584ca2f
    • N
      Fix: remove unneeded lambda capture · 26777134
      Nathan Hourt 提交于
      26777134
    • N
      Trim histories · 11f73bce
      Nathan Hourt 提交于
      Previously, the fork_database and chainbase undo histories were never
      getting trimmed, so they'd grow forever. Fixed.
      
      Also some improvements around how to use chainbase, particularly,
      setting the revision after a reindex, and also acquiring locks
      appropriately. Note that there's a lot of lock acquiring that still
      needs to be added; I didn't realize I needed to do this before :]
      11f73bce
    • N
      Progress #4: Only write irreversible blocks · a35b54ae
      Nathan Hourt 提交于
      As of this commit, we only write irreversible blocks to disk, and when
      we reopen the database, we rewind the state until the head block is the
      last irreversible block.
      
      The unit tests are doing their jobs: several of them broke due to this
      change, because the tests which checked that the head block number
      didn't change during a restart of the database were invalidated by this
      change: the head block number *should* now change in a restart; it
      should revert to the last_irreversible_block_num. The tests are updated
      to account for this, and all pass again.
      a35b54ae
    • N
      Progress #4: Groundwork for part 2 · effa7fab
      Nathan Hourt 提交于
      Preparing for only writing irreversible blocks to disk; first I needed to
      update the various block fetching methods on database to account for
      this. This commit contains those updates, as well as a shiny new unit
      test to make sure those methods are still working correctly.
      effa7fab
    • N
      Progress #4: calculate LIB · acf31a6d
      Nathan Hourt 提交于
      The LIB was already being calculated and stored in the
      dynamic_global_property_object, but now I know it was! :D
      
      Also remove a redundant block from node.cpp (the removed block was
      functionally equivalent to the FC_LOG macro following it)
      acf31a6d
    • N
      Resolve #1: Replace operations with messages · 897dbaf5
      Nathan Hourt 提交于
      I've already removed operations from the system; in this commit I add a
      new message type and integrate it into the transaction type.
      897dbaf5
    • N
      Remove operations and evaluators · 07f027c4
      Nathan Hourt 提交于
      Also remove transaction_evaluation_state and the size_checker program.
      07f027c4
    • N
      Kill some warnings · f986bb3b
      Nathan Hourt 提交于
      f986bb3b
    • N
      Remove operation_history_object · af0e91a2
      Nathan Hourt 提交于
      Don't need it anymore!
      af0e91a2
    • N
      Unify db_*.cpp files · f414fe04
      Nathan Hourt 提交于
      All the db_*.cpp sources are now merged together in database.cpp again.
      f414fe04
    • N
      Resolve #3: No maintenance · 0e43c707
      Nathan Hourt 提交于
      Everything related to the maintenance interval is now gone, including
      (and especially, really) the skipped blocks during the maintenance
      period.
      0e43c707
    • N
      Bump chainbase submodule... · 712d0b97
      Nathan Hourt 提交于
      ...even though there's a waiting pull request. By bumping it, I make it
      break when people try to sync it, so at least it's obvious that it's not
      working right now.
      
      Once https://github.com/bytemaster/chainbase/pull/3 is merged, I can
      bump it again to fix it.
      712d0b97
    • N
      More work on testing · 7215da1f
      Nathan Hourt 提交于
      - Cleaned out some cruft
      - Added some new macros to remove boilerplate
      - Added some more test cases
      7215da1f
  4. 06 4月, 2017 3 次提交