1. 27 4月, 2017 5 次提交
    • 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
    • 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
  2. 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
  3. 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
  4. 23 4月, 2017 1 次提交
  5. 22 4月, 2017 3 次提交
  6. 20 4月, 2017 9 次提交
  7. 19 4月, 2017 2 次提交
  8. 14 4月, 2017 9 次提交
  9. 13 4月, 2017 3 次提交