1. 28 4月, 2018 2 次提交
    • A
      several changes: · fa71fad6
      arhag 提交于
      * clean up configuration parameters
      * use dynamic max_inline_action_size configuration parameter to limit size of inline actions
      * use dynamic max_inline_action_depth to limit recursion depth of inline actions
      * change deferred_trx_expiration_window parameter into a dynamic configuration parameter
      * add numerator and denominator configuration parameters for later context free data discount implementation
      * bill delayed transaction for the additional net usage of the eventual retirement of the deferred transaction
      fa71fad6
    • B
  2. 26 4月, 2018 2 次提交
    • A
      fix canceldelay, enforce delays properly, and update some delay tests · 92dd7726
      arhag 提交于
      Since the delay has now moved into the authority, the delay tests were not setting the delay properly in the updateauth actions.
      This meant that a delay was not enforced and the tests were not actually testing delays properly.
      
      I fixed the tests to properly set the delays, but this means that additional tests in delay_tests now fail.
      The additional tests that failed are: link_delay_permission_change_test, link_delay_permission_change_with_delay_heirarchy_test, link_delay_link_change_test, and link_delay_link_change_heirarchy_test.
      The reason these fail is very likely due to off-by-one errors due to change of now() from head block time to pending block time.
      
      In this commit, I fixed link_delay_permission_change_test but have not yet gotten to the other three tests.
      
      Also, of the two delay tests that were originally failing, I fixed canceldelay_test but have not yet fixed canceldelay_test2.
      92dd7726
    • A
      intrinsics to return current and published time now return microseconds · 5a72a4b7
      arhag 提交于
      The now() intrinsic was replaced with a current_time() intrinsic which returns the current time (not head block time) in microseconds since epoch.
      
      A now() function was defined in eosiolib/system.h which returns current_time()/1000000 so that existing contracts which use now() need minimal changes.
      
      The publication_time() intrinsic was modified to also return the time as microseconds since epoch.
      The only contracts that used publication_time() so far were for tests and those tests have been updated to reflect the new meaning of publication_time() and current_time().
      5a72a4b7
  3. 25 4月, 2018 1 次提交
  4. 24 4月, 2018 3 次提交
  5. 22 4月, 2018 3 次提交
  6. 21 4月, 2018 7 次提交
  7. 19 4月, 2018 4 次提交
  8. 18 4月, 2018 9 次提交
  9. 15 4月, 2018 1 次提交
  10. 06 4月, 2018 1 次提交
  11. 05 4月, 2018 1 次提交
    • A
      add back current_receiver intrinsic and use it to provide a quick fix to... · 100495ac
      arhag 提交于
      add back current_receiver intrinsic and use it to provide a quick fix to multi_index bug (until the better solution is implemented for RC2)
      
      The multi_index bug was that attempts to use multi_index to create/modify/erase table rows of accounts other than the current receiver would not fail as it should and would instead likely unintentionally trample over data in the current receiver's tables.
      100495ac
  12. 04 4月, 2018 3 次提交
  13. 03 4月, 2018 3 次提交