Skip to content
  1. Aug 02, 2018
  2. Aug 01, 2018
  3. Jul 31, 2018
  4. Jul 30, 2018
    • David's avatar
      Merge branch 'master' into refactor/substrate-state-machine-generic · f7c30f40
      David authored
      * master: (86 commits)
        Make contract a separate runtime module (#345)
        Version bump (#450)
        DB-based blockchain data cache for light nodes (#251)
        Update libp2p again (#445)
        Update version on git head change (#444)
        Fix the public key of bootnode 3 (#441)
        Update libp2p (#442)
        Switch to the master branch of libp2p (#427)
        Export ws port 9944 and add doc (#440)
        Iterate over overlay to decide which keys to purge (#436)
        Exit signal gets its own trait (#433)
        Add docker image (#375)
        Reset peers.json if the content is not loadable (#405)
        Limit number of incoming connections (#391)
        Fix memory leaks in libp2p (#432)
        Do not queue empty blocks set for import (#431)
        5 random fixes (#1) (#435)
        Chore: fix typo (#434)
        Prevent building invalid blocks (#430)
        Better logging for public key mismatch (#429)
        ...
      f7c30f40
    • David's avatar
      lock file updates · 1aeb4953
      David authored
      1aeb4953
    • David's avatar
      Use `uint` and `fixed-hash` from `parity-common` · 3b5f60b4
      David authored
      Remove unused U512
      Add test to ensure H256 impls heapsizeof
      3b5f60b4
    • David's avatar
      b4f210a2
    • yuelipeng's avatar
      Update README.adoc · 5b6d75cd
      yuelipeng authored
      typo fix
      5b6d75cd
  5. Jul 29, 2018
    • Sergey Pepyakin's avatar
      Make contract a separate runtime module (#345) · 9d7a3c1d
      Sergey Pepyakin authored
      * decl_module and extract runtime mod
      
      * Invert dependency staking←→contract
      
      * Remove CodeOf
      
      * Remove StorageOf and move double_map
      
      * Comment staking test
      
      * Clean
      
      * Add gas_price and gas_limit
      
      * Commit.
      
      * Renames
      
      * Params
      
      * WIP
      
      * Rename transfer to call
      
      * WIP
      
      * Rebuild binaries.
      
      * WIP
      
      * Backport ctro changes
      
      * Call wiring
      
      * Commit overlay.
      
      * Rename merge → commit, into_state → ..._change_set
      
      * WIP
      
      * Contract creation routines
      
      * Set code of the created account.
      
      * Fix the ID of `create` Call
      
      * Fix most of the warning.
      
      * Add the simplest test in the contract crate
      
      * Transfers work!
      
      * Add contract_create test.
      
      * Clean
      
      * Add top-level create test
      
      * Clean a bit.
      
      * Pass gas_limit and data via create.
      
      * Introduce OnAccountKill callback in staking
      
      * Hook up OnAccountKill
      
      * Comments
      
      * Pay for gas.
      
      * Refund unused gas in call
      
      * Tests for zero call and zero endownment.
      
      * Add todo about rewriting docs
      
      * Pay for gas in create transactions
      
      * Fix refunds
      
      * Clean unrelevant comments
      
      * fixup! Fix refunds
      
      * fixup! Clean unrelevant comments
      
      * Move DetermineContractAddress to contract
      
      Also restore account removal test
      
      * fixup! Clean unrelevant comments
      
      * Inline effect_transfer, remove effect_create
      
      Remove account_db!
      
      * Use own new_test_ext.
      
      * Don't account for liability
      
      * Add some docs
      
      * Move contract_fee into contract module
      
      * Take GasMeter in vm::execute
      
      * Use GasMeter throughout contract module for meter
      
      * gas module refactoring
      
      * Clean
      
      * Add base call fee
      
      * note about gas price should be taken from storage
      
      * Add base fee for create
      
      * Rename send → call
      
      * Clean
      
      * Take fee expressed in dots in gas
      
      * Add Checked{Add,Sub,Mul,Div} to SimpleArithmetic
      
      * Make Gas generic
      
      * Store {call,create}_base_fee in storage
      
      * Clean
      
      * Rename buy_gas
      
      * Store gas_price in the storage
      
      * Remove unneeded comment.
      
      * Bail out if contract already has code.
      
      * Todos
      
      * Refund even if top-level contract fails.
      
      * Fix error msg
      
      * Fix caller issue
      
      * Extract tests module
      
      * Add max_depth var in storage
      
      * Remove left over gas_left
      
      * Refactor exec
      
      * Add test oog test.
      
      * set_free_balance_creating
      
      * Docs and comments.
      
      * Update storage roots because of ContractFee move
      
      * Rebuild binaries.
      
      * Simplify vm code.
      
      * Wrapping.
      
      * Refactor a bit.
      
      * Typo
      
      * UpdateBalanceOutcome enum
      
      * Style grumbles.
      
      * Rebuild binaries.
      
      * Always consume the given amount of gas.
      
      * [skip ci] endownment → endowment
      
      * Rename `AccountId` generic in on_account_kill
      
      * Fix Cargo.lock
      
      * Refine docs for gas meter.
      
      * [skip ci] Add comments for gas module
      
      * Directly assign to `return_data` at declaration
      
      * Use slices instead of vecs to pass the input data
      
      * Add todo about passing return data without copy
      
      * Use checked_add instead of add with overflow
      
      * Use return_data directly.
      
      * Rebuild binaries.
      
      * Rebuild binaries.
      9d7a3c1d
    • Gav Wood's avatar
      Version bump (#450) · 6bf1a42b
      Gav Wood authored
      * Bump version
      
      * Version bump.
      
      * Version bump.
      6bf1a42b
    • Svyatoslav Nikolsky's avatar
      DB-based blockchain data cache for light nodes (#251) · 5e1cb6b4
      Svyatoslav Nikolsky authored
      * use db in light clients
      
      * fixed comment
      
      * fixed grumbles
      
      * blockchain data cache
      
      * fixed grumbles
      
      * fix compilation
      
      * keep the last entry in the cache
      
      * fixed grumbles
      
      * fixed reporting of pruned entries
      5e1cb6b4
    • Pierre Krieger's avatar
      Update libp2p again (#445) · a118a852
      Pierre Krieger authored and Arkadiy Paronyan's avatar Arkadiy Paronyan committed
      a118a852
  6. Jul 28, 2018
  7. Jul 27, 2018
    • Chevdor's avatar
      Add docker image (#375) · 8f414abb
      Chevdor authored
      * Add Dockerfile
      
      Add documentation
      
      Ref #375
      
      * Add PORT, VOLUME and reduce size of the docker image significantly
      
      Fix doc and reduce image size
      
      Fix #375
      
      * Fix docker compose
      8f414abb
    • Chevdor's avatar
      Reset peers.json if the content is not loadable (#405) · 90a6dd59
      Chevdor authored
      * Reset peers.json if the content is not loadable
      
      Fix #404
      
      * Whitespace
      90a6dd59
    • Wei Tang's avatar
      Limit number of incoming connections (#391) · 0d99cb2f
      Wei Tang authored
      * Limit number of incoming connections
      
      * Check Endpoint::Listener before checking num_open_connections.incoming
      
      * Maintain at least 1-1/n portion of outgoing connections
      
      * Remove use
      
      * Default incoming_peers_factor to 2
      
      * Use max_incoming_peers and max_outgoing peers to check whether connections should be dropped
      
      * Fix expected_max_peers: reserved peers are not counted in config.max_peers
      
      * typo: fix test
      0d99cb2f