1. Nov 28, 2019
    • Svyatoslav Nikolsky's avatar
      Recover transaction pool on light client (#3833) · 2ffaf054
      Svyatoslav Nikolsky authored
      
      
      * recover tx pool on light client
      
      * revert local tests fix
      
      * removed import renamings
      
      * futures03::Future -> std::future::Future
      
      * Update core/transaction-pool/graph/src/error.rs
      
      Co-Authored-By: default avatarTomasz Drwięga <[email protected]>
      
      * replace remove_from_ready with remove_invalid
      
      * avoid excess hashing
      
      * debug -> warn
      
      * TransactionPool + BasicTransactionPool
      
      * pause future tx reject when resubmitting
      
      * bump impl_version to make CI happy
      
      * and revert back local test fixes
      
      * alter doc to restart CI
      
      * Transaction::clone() -> Transaction::duplicate()
      
      * transactions -> updated_tranasctions
      
      * remove explicit consensus-common ref
      
      * ::std:: -> std::
      
      * manual set/unset flag -> calling clusore with given flag value
      
      * removed comments
      
      * removed force argument
      
      * BestIterator -> Box<Iterator>
      
      * separate crate for TxPool + Maintainer trait
      
      * long line fix
      
      * pos-merge fix
      
      * fix benches compilation
      
      * Rename txpoolapi to txpool_api
      
      * Clean up.
      
      * Finalize merge.
      
      * post-merge fix
      
      * Move transaction pool api to primitives directly.
      
      * Consistent naming for txpool-runtime-api
      
      * Warn about missing docs.
      
      * Move  abstraction for offchain calls to tx-pool-api.
      
      * Merge RPC instantiation.
      
      * Update cargo.lock
      
      * Post merge fixes.
      
      * Avoid depending on client.
      
      * Fix build
      2ffaf054
    • Bastian Köcher's avatar
      The storage runtime interface should not enforce a hash type (#4231) · b9e7f09a
      Bastian Köcher authored
      
      
      * The storage runtime interface should not enforce a hash type
      
      Currently the runtime interface enforces `H256` as hash type, but in the
      future people could use whatever they want as hash type. The hash type
      always needs to match between the runtime and the node, but that is
      already required.
      
      * Update primitives/externalities/src/lib.rs
      
      Co-Authored-By: default avatarthiolliere <[email protected]>
      b9e7f09a
  2. Nov 27, 2019
  3. Nov 26, 2019
  4. Nov 25, 2019
  5. Nov 23, 2019
    • Bastian Köcher's avatar
      Switch to new kvdb-rocksdb (#4186) · eef00ea7
      Bastian Köcher authored
      
      
      * Switch to new rocksdb with some hacks to resolve linking errors
      
      Rocksdb and `wasmtime-environ` both link `zstd`. In the final link step,
      this leads to linking errors because of duplicate symbols. The linked
      Rocksdb fixes this by using `zstd-sys` as well. However, this currently
      also requires modifications in `zstd-sys`. Someone will need to come up
      with a better implementation.
      
      * Switch to new version of kvdb-rocksdb
      
      * Update client/db/src/utils.rs
      
      Co-Authored-By: default avatarShawn Tabrizi <[email protected]>
      eef00ea7
  6. Nov 22, 2019
    • Sergey Pepyakin's avatar
      Renaming and documentation for ApplyResult, ApplyOutcome and et al (#4134) · d88fff59
      Sergey Pepyakin authored
      
      
      * Remove superflous errors from the system module
      
      * Rename and document InclusionOutcome
      
      * Rename InclusionError
      
      * Remove unused inclusion errors.
      
      I left the enumeration though since other elements might be used some day.
      
      * Rename and document DispatchOutcome
      
      * Apply suggestions from code review
      
      Co-Authored-By: default avatarTomasz Drwięga <[email protected]>
      
      * TransactionValidityError instead of InclusionError
      
      * Rename InclusionOutcome to ApplyExtrinsicResult
      
      * Update docs.
      
      * Update lib.rs
      
      should be → is
      
      * Bump the block builder API version.
      
      * Fix the should_return_runtime_version test
      
      * Clean the evidence
      d88fff59
    • Tomasz Drwięga's avatar
      Offchain execution extensions (#4145) · 06f6daab
      Tomasz Drwięga authored
      * Pass Extensions instead of individual objects.
      
      * Move TransactionPool to a separate ExternalitiesExtension.
      
      * Fix compilation.?
      
      * Clean up.
      
      * Refactor testing utilities.
      
      * Add docs, fix tests.
      
      * Fix doctest.
      
      * Fix formatting and add some logs.
      
      * Add some docs.
      
      * Remove unused files.
      06f6daab
    • Ashley's avatar
      Grafana integration (#3913) · d9ca9750
      Ashley authored
      
      
      * Very WIP
      
      * record_metrics macro works
      
      * Integrate into service
      
      * Licenses and documentation
      
      * Remove unused Debugs, make respond function clearer
      
      * Conform to line widths, fix service test
      
      * Switch to storing the timestamps as millis instead
      
      * Update core/grafana-data-source/src/lib.rs
      
      Co-Authored-By: default avatarKian Paimani <[email protected]>
      
      * Transform timestamps to i64 in serialization
      
      * Fix license date
      
      * Binary sort to find selection range for metrics
      
      * Obey maxDataPoints
      
      * Run a cleaning future
      
      * Newlines at EOF
      
      * Update core/service/Cargo.toml
      
      Co-Authored-By: default avatarPierre Krieger <[email protected]>
      
      * Update core/grafana-data-source/src/lib.rs
      
      Co-Authored-By: default avatarPierre Krieger <[email protected]>
      
      * Fix indentation
      
      * Improve select_points
      
      * Made test more accurate
      
      * Inprogress
      
      * Use the same futures version as hyper for now
      
      * Error handling
      
      * Remove dependence on hyper's tokio feature
      
      * Added target_os flag
      
      * Update Cargo.toml
      
      Co-Authored-By: default avatarPierre Krieger <[email protected]>
      
      * Simplify example
      
      * Remove compat wildcard
      
      * Updated lock file
      
      * Fix indentation 😉
      d9ca9750
    • Pierre Krieger's avatar
      c86d2137
    • mattrutherford's avatar
      Add instrumentation, with performance profiling capability (#4132) · 3402cc88
      mattrutherford authored
      * Implement instrumentation for performance profiling
      
      * Add profiling to runtime functions declared in `decl_module` inc.
      `on_initialize` and `on_finalize`
      
      * Remove changes
      
      * add docs, tidy up
      
      * fix versions
      
      * fix copyright date
      
      * switch to hashmap and instant
      
      * update example
      
      * update example
      
      * implement receiver for logger and make default
      
      * fix comment
      
      * use `if_std!` macro
      
      * remove whitespace
      
      * fix whitespace
      
      * fix nits
      3402cc88
    • Web3 Philosopher's avatar
      Better docs for TxPool::import_notification_stream (#4157) · 51ee631f
      Web3 Philosopher authored
      
      
      * better docs for import_notification_stream
      
      * Apply suggestions from code review
      
      Co-Authored-By: default avatarTomasz Drwięga <[email protected]>
      51ee631f
    • asynchronous rob's avatar
      Updating GRANDPA to v0.10.0 (#4174) · aef7815d
      asynchronous rob authored
      * update finality-grandpa to v0.10.0 rev
      
      * add concluded implementation to environment
      
      * also update state when concluding
      
      * switch to the cargo version
      
      * address comment grumbles
      aef7815d
    • Ashley's avatar
      Upgrade from futures-preview to futures 0.3.1, and remove futures 0.1 where... · aee12ee6
      Ashley authored
      Upgrade from futures-preview to futures 0.3.1, and remove futures 0.1 where currently possible (#4083)
      
      * Migrate node and node-template
      
      * Migrate srml
      
      * Simple changes
      
      * Add async-std for interval
      
      * Fix test-runtime warning
      
      * Small changes
      
      * move futures01 in core/rpc to dev-deps
      
      * Change wasm CI builds
      
      * Switch to async-std 1.0.1
      
      * Remove async-std dep of network
      
      * Add modified lockfile
      
      * Fix node cli browser build
      
      * Remove authority-discovery async-std dep
      
      * Add Send + Sync to interval dyn stream
      aee12ee6
    • Gavin Wood's avatar
      grandpa: voting rules shouldn't restrict past round base (#4155) · d303c73f
      Gavin Wood authored
      * grandpa: voting rules shouldn't restrict past round base
      
      * grandpa: fix lower bound on vote restriction. add test
      d303c73f
  7. Nov 21, 2019
  8. Nov 20, 2019
  9. Nov 19, 2019