Nikolay Volf
ed3da9f903
Fix quadratic iterations over transaction pool ( #4736 )
...
* transaction pool changes
* service & network changes
* address review
* reduce future pool
2020-01-27 18:26:42 +01:00
Nikolay Volf
1614ce0996
Async/await in transaction-graph ( #4645 )
...
* async/await in tx graph
* review notes
* remove unused typedef
2020-01-24 05:22:39 -08:00
Nikolay Volf
14e95f3398
Refactor tx-pool maintenance and other high-level api ( #4629 )
...
* Reduction.
* Reformation.
* add locked timer stuff
* fix issues and introduce full pool
* arrange together
* fix benches
* fix new_light
* Add revalidation test case
* review fixes
* review fixes
* use just ready future
* address review
2020-01-24 04:21:24 -08:00
Tomasz Drwięga
74d6e660c6
Add documentation to SubmitSignedTransaction and actually make it work ( #4200 )
...
* Add documentation to signed transactions and actually make them work.
* Fix naming and bounds.
* Forgotten import.
* Remove warning.
* Make accounts optional, fix logic.
* Split the method to avoid confusing type error message.
* Move executor tests to integration.
* Add submit transactions tests.
* Make `submit_transaction` tests compile
* Remove a file that was accidently committed
* Add can_sign helper function.
* Fix compilation.
* Add a key to keystore.
* Fix the tests.
* Remove env_logger.
* Fix sending multiple transactions.
* Remove commented code.
* Bring back criterion.
* Remove stray debug log.
* Apply suggestions from code review
Co-Authored-By: Bastian Köcher <bkchr@users.noreply.github.com >
* Make sure to initialize block correctly.
* Initialize block for offchain workers.
* Add test for transaction validity.
* Fix tests.
* Review suggestions.
* Remove redundant comment.
* Make sure to use correct block number of authoring.
* Change the runtime API.
* Support both versions.
* Bump spec version, fix RPC test.
Co-authored-by: Hernando Castano <HCastano@users.noreply.github.com >
Co-authored-by: Gavin Wood <github@gavwood.com >
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
2020-01-10 01:46:55 +01:00
Shawn Tabrizi
7efa62725e
Update copyright year ( #4532 )
2020-01-05 14:05:44 +01:00
Tomasz Drwięga
216f77d91f
Document TransactionStatus and fix termination conditions. ( #4446 )
...
* Document TransactionStatus and fix termination conditions.
* Update client/rpc-api/src/author/mod.rs
Co-Authored-By: Bastian Köcher <bkchr@users.noreply.github.com >
2019-12-18 21:28:25 +01:00
Tomasz Drwięga
3805393a13
Merge txpool-runtime-api with txpool-api ( #4320 )
...
* Remove transaction-pool-runtime-api
* Merge runtime-api with transaction-pool.
2019-12-06 17:24:17 +01:00
Benjamin Kampmann
927e13c13a
The crate rename ( #4223 )
...
* Adding script for rename, could be applicable for nodes on top of it, too
* add stderr and gitlab ci features
* apply script
* fix now minor details in expected stderr
* Update the Cargo.lock
* fix name: sc-transaction -> sc-tracing
* fix rename in script, too
2019-12-02 11:23:53 +01:00
Svyatoslav Nikolsky
a782021ee8
Recover transaction pool on light client ( #3833 )
...
* 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: Tomasz Drwięga <tomusdrw@users.noreply.github.com >
* 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
2019-11-28 00:00:54 +00:00