1. 14 6月, 2018 1 次提交
  2. 04 6月, 2018 1 次提交
  3. 22 5月, 2018 1 次提交
  4. 10 5月, 2018 1 次提交
  5. 09 5月, 2018 1 次提交
  6. 02 5月, 2018 2 次提交
  7. 01 5月, 2018 2 次提交
  8. 28 4月, 2018 1 次提交
    • A
      many fixes: · ac2f1b8c
      arhag 提交于
      * cpu_usage limit for an action is properly tracked even through inline actions
      * receipt should store net usage in words
      * total billed cpu usage for a transaction should be rounded up to nearest multiple of 1024
      * enforce the cpu and net usage limits set in chain configuration
      * additional stateless validation on generated transactions
      * clear expired input transactions (and do not touch generated transactions) on start block rather than finalize block
      * fix clear expired input transactions to use pending block time rather than head block time
      * update producer authority at start of block (implemention still necessary)
      * move resource limit updates and updating tapos from commit_block to finalize_block
      * fix to controller::last_irreversible_block_id()
      * reduce default_base_per_transaction_net_usage
      ac2f1b8c
  9. 25 4月, 2018 1 次提交
  10. 15 4月, 2018 1 次提交
  11. 13 4月, 2018 1 次提交
  12. 05 4月, 2018 2 次提交
    • A
      fixed vulnerability in previous transaction_mroot definition by now also... · eb39371a
      arhag 提交于
      fixed vulnerability in previous transaction_mroot definition by now also committing to region_id, cycle_index, shard_index, and trx_index in leaf nodes of Merkle tree #1972
      
      Enforce region id in transaction header.
      
      Removed old calculate_transaction_merkle_root function call from
      block_tests/push_invalid_block and block_tests/block_id_sig_independent
      since they weren't critical to the tests anyway.
      eb39371a
    • A
      add `kcpu_usage` and `net_usage_words` to `transaction_receipt` · db39ee31
      arhag 提交于
      Also, bill usage (most critically network bandwidth) for accepting delayed transaction into the block.
      db39ee31
  13. 04 4月, 2018 1 次提交
  14. 30 3月, 2018 1 次提交
    • A
      Added signature/authorization check for input transactions. #1755 · b349c587
      arhag 提交于
      Also, disallowed redundant signatures in a tx that are signed by the
      same key.
      
      Modified block_tests/irrelevant_sig_soft_check to check for multiple
      signatures by same key and to account for the fact that blocks with
      transactions that have irrelevant signatures are objectively invalid.
      
      Also added block_tests/irrelevant_sig_hard_check unit test to verify
      that such objectively invalid blocks are rejected.
      b349c587
  15. 28 3月, 2018 1 次提交
  16. 16 3月, 2018 1 次提交
  17. 01 2月, 2018 3 次提交
  18. 15 12月, 2017 1 次提交
  19. 02 12月, 2017 2 次提交
  20. 11 11月, 2017 4 次提交
  21. 10 11月, 2017 1 次提交
  22. 09 11月, 2017 1 次提交
  23. 08 11月, 2017 1 次提交
  24. 12 10月, 2017 1 次提交
  25. 29 8月, 2017 1 次提交
  26. 26 8月, 2017 1 次提交
  27. 25 7月, 2017 1 次提交
  28. 05 7月, 2017 1 次提交
    • N
      Ref #2: Check transaction carries expected signatures · 15898a06
      Nathan Hourt 提交于
      All transactions must declare a list of permissions they utilize. The
      chain now checks that the signatures are present to satisfy these
      permissions, at least theoretically (only partially tested). As the
      transaction is evaluated and applied, the message handlers will check
      that the required permissions were declared on the transaction.
      
      Also, define the logic to check that an authority is satisfied (only this
      part is tested so far)
      
      TODO: Test that transactions are rejected if they do not bear sufficient
      signatures
      TODO: Make message handlers check the declared permissions are sufficient,
      and reject the transaction if they are not.
      15898a06
  29. 29 6月, 2017 1 次提交
  30. 05 5月, 2017 2 次提交
    • 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