1. 08 8月, 2017 5 次提交
    • N
      Ref #123: Implement linkauth · 8c5a0e70
      Nathan Hourt 提交于
      Implement the linkauth handler in the system contract
      8c5a0e70
    • N
      Ref #123: Rename requirepermission->linkauth · 05550b82
      Nathan Hourt 提交于
      The name requirepermission was too long, so I renamed it linkauth
      05550b82
    • N
      Ref #123: Implement lookup_minimum_permission · e4f39796
      Nathan Hourt 提交于
      Add docs on some of the types, register the index, and implement
      chain_controller::lookup_minimum_permission.
      e4f39796
    • N
      Ref #123: Define types · 94fc4331
      Nathan Hourt 提交于
      Define the types documented in the issue.
      
      TODO: Implement logic
      94fc4331
    • N
      Ref #7: Progress towards auth · 9ad3260d
      Nathan Hourt 提交于
      We now check authorization of transactions when they come in as pending,
      and again when we apply them in some block (either when generating the
      block or when applying it). When applying the transactions in a block,
      we check auth for all transactions in the block prior to processing any.
      
      To check auth, we first scan all of the declared authorizations, and
      check that the authorization is sufficient to grant permission for the
      given account to execute the given message type (TODO: look up the
      actual required permission level rather than just assuming it's
      'active'); then, check that the transaction bears signatures to confer
      the declared authorization.
      9ad3260d
  2. 02 8月, 2017 1 次提交
  3. 28 7月, 2017 1 次提交
    • N
      Ref #2, #7: Progress towards authorizing transactions · 67c9b8b4
      Nathan Hourt 提交于
      As of now, almost all the ingredients are in place for authorizing
      transactions. We check that the transaction bears signatures sufficient to
      satisfy its declared authorizations, and as we execute the transaction,
      we ensure that the declared authorizations are sufficient to satisfy the
      authorizations required by executing the message handlers, and we ensure
      that all of the transaction's declared authorizations were used.
      
      What's not done:
       - Detecting/rejecting duplicate signatures and unnecessary signatures
       - Choosing the correct permission level when a message handler requires
      an authorization
      
      Choosing the correct permission level is the big ticket item. To
      implement this, we need to implement a missing chunk of system contract
      functionality, specifically around defining links from a user's
      permissions tree to contracts and message types.
      67c9b8b4
  4. 25 7月, 2017 1 次提交
  5. 21 7月, 2017 1 次提交
  6. 10 7月, 2017 1 次提交
  7. 07 7月, 2017 1 次提交
  8. 06 7月, 2017 2 次提交
  9. 30 6月, 2017 1 次提交
  10. 24 6月, 2017 1 次提交
  11. 17 6月, 2017 1 次提交
  12. 16 6月, 2017 1 次提交
  13. 03 6月, 2017 1 次提交
    • N
      Ref #15, #19: Progress Un/Locking EOS · ae5cf81f
      Nathan Hourt 提交于
      Initial work on locking EOS, beginning unlock, and claiming unlocked
      EOS.
      
      TODO: Actually split the system contract, and define names for the
      different parts so we can check that the required notifications are made.
      Also, figure out how to write notify handlers for the native contracts,
      to handle these critical balance updates in the staking/unstaking of
      EOS. See the #warning TODO comments in the commit for context.
      ae5cf81f
  14. 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
  15. 05 5月, 2017 3 次提交
    • 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
  16. 04 5月, 2017 1 次提交
    • N
      Ref #15: Fix code generation · e09354ea
      Nathan Hourt 提交于
      Dependencies for code generation were not set up correctly (in fact,
      they were cyclic) which meant that code generation never took place
      after initially setting up the repo. Now it should run automatically
      whenever types.eos or the generator itself changes
      e09354ea
  17. 02 5月, 2017 1 次提交
    • D
      Initial Support for Wren Scripts · fab7bd53
      Daniel Larimer 提交于
      - it is now possible to set an Apply Handler that can store/fetch data
      - TBD - actually reading the message being passed in and generating
      messages
      fab7bd53
  18. 29 4月, 2017 1 次提交
  19. 22 4月, 2017 1 次提交
  20. 12 4月, 2017 1 次提交