1. 28 4月, 2017 4 次提交
  2. 27 4月, 2017 8 次提交
    • N
      Move chain/protocol/* to chain/ · 5d8fab9a
      Nathan Hourt 提交于
      The protocol folder heralds back to BTS, when we drew a distinction
      between "protocol objects" and "implementation objects." This
      distinction was never really realized, and definitely isn't being
      maintained now, so do away with the vestiges. It's nothing but a
      potential point of confusion now.
      5d8fab9a
    • N
      Fix some docs, tweak some names · 604f60b2
      Nathan Hourt 提交于
      604f60b2
    • N
      Replace some FC_ASSERTs with EOS_ASSERTs · 6e73146b
      Nathan Hourt 提交于
      Throw more accurate exception types during trx validation rather than
      merely assert_exception's. Also, add a message to the exception
      explaining what went wrong.
      6e73146b
    • N
      Refactor trx expiration check into its own function · 59577f73
      Nathan Hourt 提交于
      Previously it was just being done in validate_tapos, which was a legacy
      quirk as bts would validate expiration and tapos together. At least now,
      there's no overlap between these checks, so they can be split into
      separate functions.
      59577f73
    • N
      Ref #14: Add read_write chain API · e15b6359
      Nathan Hourt 提交于
      Create a new read-write chain API with push_block and push_transaction
      calls
      e15b6359
    • D
      progress · cbc7793a
      Daniel Larimer 提交于
      cbc7793a
    • N
      Move system contract impl to plugin · 20d9c9b8
      Nathan Hourt 提交于
      The system contract C++ implementation is now in a plugin rather than
      directly on database.
      
      Note that testing_database installs this implementation on the testing
      database, even though the test framework does not use appbase or appbase
      plugins.
      20d9c9b8
    • N
      Add a template for plugins · 0175c308
      Nathan Hourt 提交于
      This is just an empty template plugin which will serve as a starting
      point for new plugins.
      
      Also add a helper script, make_new_plugin.sh, which copies the template
      plugin to create your new plugin and automatically renames all of the
      files/directories/classes/binaries/whatever. Invoke like so:
      ./make_new_plugin.sh new_plugin
      Afterwards, the new_plugin folder will be ready to go.
      0175c308
  3. 26 4月, 2017 7 次提交
    • N
      Spelling fix · cf903679
      Nathan Hourt 提交于
      cf903679
    • N
      Ref #14: Kill some boilerplate · 108a8b51
      Nathan Hourt 提交于
      108a8b51
    • N
      Resolve #13: Fix simulated network propagation · 288f489e
      Nathan Hourt 提交于
      The simulated network was recursively calling push_block when
      propagating blocks, which caused a lock timeout. Fix this issue by not
      pushing a new block to the database that created it.
      
      Also, replace the currently_propagating_block flag with boost's slot
      blocker.
      288f489e
    • N
      Clarify names · 169c6a1e
      Nathan Hourt 提交于
      Rename: check_tapos -> should_check_tapos
      Rename: check_for_duplicate_transactions ->
      should_check_for_duplicate_transactions
      
      Since these methods return whether the named action should be taken or
      not, rather than taking the named action, prefix their names with should_
      so it's clear they're querying and not acting.
      169c6a1e
    • N
      Progress #14: Add get_block call · 5e61e56d
      Nathan Hourt 提交于
      Add get_block call to chain read_only api
      5e61e56d
    • N
      Progress #14: Restructure API · ead686b6
      Nathan Hourt 提交于
      The beginnings of the chain API is now much closer to the design
      described in #14
      ead686b6
    • N
      Bump fc · 2e08c14f
      Nathan Hourt 提交于
      2e08c14f
  4. 24 4月, 2017 1 次提交
    • D
      Refactor Sys Contract · 4cfcb97b
      Daniel Larimer 提交于
      - make account names, permissions, and message types fixed strings
      - move sys_contract implementation to separate cpp file
      - disable deprecated warnings on OS X
      - define authority class
      4cfcb97b
  5. 23 4月, 2017 1 次提交
  6. 22 4月, 2017 3 次提交
  7. 20 4月, 2017 9 次提交
  8. 19 4月, 2017 2 次提交
  9. 14 4月, 2017 5 次提交
    • D
      temporary fix for unit tests · 44a679b8
      Daniel Larimer 提交于
      44a679b8
    • N
      Try/fail to fix tests · 9ff00d89
      Nathan Hourt 提交于
      Dunno what happened, but I don't have time to fix it right now.
      9ff00d89
    • N
      Build fixes · f9deda7e
      Nathan Hourt 提交于
      Fix the stuff that broke in merge.
      f9deda7e
    • N
      Bump appbase submodule · bf089d08
      Nathan Hourt 提交于
      bf089d08
    • N
      Progress #6: Integrate P2P · cf380575
      Nathan Hourt 提交于
      Define a new p2p_plugin as the adaptor between appbase and the old P2P
      library, and wire things together. This is mostly working, but for some
      reason peers won't stay connected to sync, but instead just drop their
      connection (with a TCP reset, no less) right before syncing, without
      bothering to log about why. I suspect the failure is at a lower level. :
      (
      cf380575