1. 02 6月, 2017 3 次提交
    • N
      Resolve #20 for now · 9b1cb2c1
      Nathan Hourt 提交于
      Eventually I'd like proper Docker infrastructure, but this is a good
      enough starting point just to demonstrate a proper development environment
      9b1cb2c1
    • N
      Tweak README.md · a8ce27cf
      Nathan Hourt 提交于
      Make the language a bit more consistent
      a8ce27cf
    • N
      Update README.md · f2181d42
      Nathan Hourt 提交于
      Remove discussion of outdated dependencies and update instructions to describe a single-node testnet.
      
      Since the P2P code was the reason we had the outdated dependencies that made setting up a development environment such a pain, we removed it until we can implement a better solution. In the meantime, only single-node testnets are possible.
      f2181d42
  2. 01 6月, 2017 18 次提交
  3. 31 5月, 2017 1 次提交
  4. 30 5月, 2017 3 次提交
  5. 29 5月, 2017 2 次提交
  6. 28 5月, 2017 1 次提交
    • N
      [INCOMPLETE] [NO BUILD] Refactor in progress · 750da775
      Nathan Hourt 提交于
      - Break apart chain_controller, so it doesn't inherit
      chainbase::database
      - Reorganize chain_controller, database (and whatever else) towards
      dependency injection
      - Reorganize chain_controller, database (and whatever else) towards RAII
      750da775
  7. 26 5月, 2017 2 次提交
    • N
      Whitespace tweaks to template_plugin · 6c2e2dcb
      Nathan Hourt 提交于
      6c2e2dcb
    • N
      Rename: database->chain_controller · 1c6d3f7b
      Nathan Hourt 提交于
      Rename database class to chain_controller, as this class manages
      blockchain state and operations. Database was a misnomer.
      
      Next step: make chain_controller a free-standing class, rather than
      having it inherit from chainbase::database. This should give us a better
      architecture, especially for testing, going forward.
      1c6d3f7b
  8. 10 5月, 2017 1 次提交
    • N
      Ref #12, #17: Progress on chain configuration voting · 5e8b89bf
      Nathan Hourt 提交于
      Add support for producers specifying their votes on chain configuration
      values to CreateProducer and UpdateProducer.
      
      Add more tests around chain configuration, including a failing test case
      verifying that the blockchain itself handles configuration updates
      correctly. Presently this test fails because the chain does not yet
      attempt to keep track of rounds, thus it cannot update the configuration
      at the beginning of the round.
      5e8b89bf
  9. 09 5月, 2017 2 次提交
    • N
      Update a couple of tests · a78a3545
      Nathan Hourt 提交于
      a78a3545
    • N
      Rename testing macros · 693e0e13
      Nathan Hourt 提交于
      The macros to make testcases less tedious to write had opaque
      abbreviated names like UPPDCR (my own fault, I know haha). Replace those
      names with obvious ones like Update_Producer.
      
      Also, sweep all the backend/implementation detail macros into
      macro_support.hpp where they are hidden out of the way and unlikely to
      be accidentally used directly.
      693e0e13
  10. 05 5月, 2017 5 次提交
    • N
      Merge pull request #18 from EOSIO/unify-types · 6dd94559
      Nathan Hourt 提交于
      Unify types
      6dd94559
    • N
      Eliminate diamond inheritance · 74ff5713
      Nathan Hourt 提交于
      Remove chain::Transaction altogether, move its methods to
      chain::SignedTransaction, which solely inherits
      types::SignedTransaction, which solely inherits types::Transaction.
      Aside from having no diamonds, this also eliminates vtables in the
      Transaction types, which is necessary in order to store transactions in
      the database.
      74ff5713
    • N
      Unify types:: and chain:: types · b5b3dbb8
      Nathan Hourt 提交于
      We have a number of types defined in eos::chain like transaction,
      message, etc. which parallel autogenerated types in eos::types. They are
      identical in storage, but the chain types have various helper methods
      which the autogenerated types, of course, lack.
      
      I've unified these by letting the generated classes in types:: store the
      data, and having the chain:: types inherit these data stores and add
      functionality to them via methods.
      b5b3dbb8
    • N
      Ref #17: Define types, logic, tests · 0204bcdc
      Nathan Hourt 提交于
      This commit adds the BlockchainConfiguration type, which contains the
      values to be voted on by producers. It also adds the algorithm to create
      a BlockchainConfiguration containing the median values from a vector of
      BlockchainConfigurations. Finally, it adds a testcase which verifies that
      the median calculation is performed correctly.
      0204bcdc
    • N
      Tweaks to type system · 296ef5d1
      Nathan Hourt 提交于
      - Add missing ShareType to known (built-in) types in SimpleSymbolTable
      - Define a constructor on generated classes to initialize all the fields
      at construction
      
      More coming soon; stay tuned!
      296ef5d1
  11. 04 5月, 2017 2 次提交
    • N
      Redirect appbase/chainbase submodules to eosio repo · 0569065e
      Nathan Hourt 提交于
      0569065e
    • N
      Simplify tests · a4dc32ea
      Nathan Hourt 提交于
      Add helper macros for common testing activities including making {keys,
      authorities, accounts, producers}, transferring funds, and updating
      producers. Replace the boilerplate transaction jockeying in the tests
      with these helpers. The tests are now much shorter and more readable. :)
      a4dc32ea