1. 30 Oct, 2019 1 commit
  2. 29 Oct, 2019 1 commit
  3. 28 Oct, 2019 1 commit
  4. 25 Oct, 2019 1 commit
  5. 13 Oct, 2019 2 commits
  6. 10 Oct, 2019 1 commit
  7. 25 Jun, 2019 1 commit
  8. 24 Jun, 2019 4 commits
  9. 21 Jun, 2019 1 commit
    • Jakob Botsch Nielsen's avatar
      Refactor to remove compute_block_reward · e7245511
      Jakob Botsch Nielsen authored
      - No longer require that block reward can be computed from height.
      - Remove Chain's dependence on BlockHeader. Instead inline appropriate
        fields in Chain structure.
      - Change step_block to use a BlockHeader now instead of manually
        specifying all the fields. The new BlockHeader now additionally
        contains the creator and reward of that block, so step_block in effect
        contains the reward.
      - These refactorings means that the circulation proof changes. Introduce
        created_blocks to get list of blocks created by user, and prove
        instead that the circulation equals the sum of rewards in blocks.
      - Rename "baker" to a more general "creator" globally
      e7245511
  10. 13 Jun, 2019 1 commit
  11. 11 Jun, 2019 1 commit
  12. 10 Jun, 2019 1 commit
  13. 07 Jun, 2019 2 commits
  14. 06 Jun, 2019 1 commit
    • Jakob Botsch Nielsen's avatar
      Remove incoming_txs and outgoing_txs from contract view of chains · 90f0d1e4
      Jakob Botsch Nielsen authored
      This is much more realistic, as allowing contracts to efficiently access
      transaction histories for all addresses is extremely expensive. To do
      this, we
      * Add an account_balance operation in Chain instead
      * Change incoming_txs and outgoing_txs to compute transactions from
        traces
      * Require implementations to give a proof-relevant trace, and rework
        proofs to use these, as necessary
      90f0d1e4
  15. 31 May, 2019 2 commits
  16. 14 May, 2019 1 commit
  17. 09 May, 2019 1 commit
  18. 05 May, 2019 2 commits
  19. 03 May, 2019 1 commit
  20. 02 May, 2019 1 commit
    • Jakob Botsch Nielsen's avatar
      Prove a property for the Congress contract · 1b1c9908
      Jakob Botsch Nielsen authored
      This proves a concrete property about any Congress contract deployed to
      a blockchain. More specifically, we show that the count of transactions
      sent out by any Congress contract will always be less than or equal to
      the total number of actions it has receive in "create proposal"
      messages.
      Thus, this property is stated only over the transactions going in and
      out to the Congress contract.
      To prove this, we reason over incoming and outgoing transactions, the
      internal state of the congress and also the actions in the blockchain
      queue.
      1b1c9908
  21. 01 May, 2019 2 commits
  22. 29 Apr, 2019 1 commit
  23. 27 Apr, 2019 2 commits
    • Jakob Botsch Nielsen's avatar
      Move ChainStep and ChainTrace to Type · 5221931a
      Jakob Botsch Nielsen authored
      This moves ChainStep and ChainTrace to type. The reason being that our
      proofs will depend on prefixes of traces and it will be very useful (if
      not required) to be able to match on the trace and the steps.
      ChainBuilderType is changed appropriately: now, an implementation just
      needs to prove that ChainTrace empty_env [] cur_env [] is inhabited.
      Thus, ChainTrace can basically be seen as one particular way to order
      the execution so that we reach a state. When it is inhabited, it thus
      means that there exists a proper way to order actions so that we reach
      the state we are in.
      5221931a
    • Jakob Botsch Nielsen's avatar
      62aff812
  24. 26 Apr, 2019 4 commits
  25. 25 Apr, 2019 4 commits