Nikolay Volf
bad9647af9
Fix revalidation not revalidating multiple times ( #5065 )
2020-02-27 12:18:10 +01:00
Nikolay Volf
aa41b93374
Fix documentation for "BlockBuilder::push_trusted" ( #5051 )
...
* fix doc
* rephrase
2020-02-25 17:58:23 +01:00
Nikolay Volf and Kian Paimani
9cb35b9788
Speedup import benchmark ( #4995 )
...
* use lazy matrix
* speedup
* Update bin/node/testing/benches/import.rs
Co-Authored-By: Kian Paimani <5588131+kianenigma@users.noreply.github.com >
Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com >
2020-02-20 11:58:41 +03:00
Nikolay Volf
e417f986be
wasm per block size bench ( #4982 )
2020-02-19 13:38:40 +03:00
Nikolay Volf and Bastian Köcher
e50f610907
Build block without checking signatures ( #4916 )
...
* in executive
* in other places
* to UnsafeResult
* move doc comment
* apply suggestions
* allow validity mocking for TestXt
* add test
* augment checkable instead of another trait
* fix im online test
* blockbuilder dihotomy
* review suggestions
* update test
* Update client/block-builder/src/lib.rs
* updae spec_version
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
2020-02-18 23:34:31 +01:00
Nikolay Volf
7f43796efc
Fix flaky finalisation test ( #4967 )
2020-02-18 15:19:59 +01:00
Nikolay Volf
24e151d3e9
Reusable bench-db & bench-keyring ( #4955 )
...
* move to node-testing/bench
* to tabs
2020-02-18 10:57:58 +01:00
Nikolay Volf and Tomasz Drwięga
86ab0cb4d9
Revalidation queue for transaction pool ( #4781 )
...
* Revalidation queeue.
* add docs and license
* move test
* refactor worker to async/await
* address review
* fix warnings
* update Cargo.lock
* move background task to service
* use tomusdrw loop
* naming
* return From::from
* add doc comment
* add more doc comments
* fix merge bug
* add doc comment for test function
* Update client/transaction-pool/src/testing/pool.rs
Co-Authored-By: Tomasz Drwięga <tomusdrw@users.noreply.github.com >
* more review fixes
* refactor to allow service keep background tasks from isntantiated subsystems
* use const delay
* fix fallout
* remove fallout
* remove already moved test
* fix doc test
* add valid_at helper
Co-authored-by: Tomasz Drwięga <tomusdrw@users.noreply.github.com >
2020-02-17 16:48:24 +03:00
Nikolay Volf and Bastian Köcher
590142b928
Database & keyring generation for benchmarks optimised ( #4945 )
...
* reorganize and optimize
* Update bin/node/testing/benches/import.rs
Co-Authored-By: Bastian Köcher <bkchr@users.noreply.github.com >
* Update bin/node/testing/benches/import.rs
Co-Authored-By: Bastian Köcher <bkchr@users.noreply.github.com >
* Update bin/node/testing/benches/import.rs
Co-Authored-By: Bastian Köcher <bkchr@users.noreply.github.com >
* review suggestions
* fix build
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
2020-02-17 14:26:10 +03:00
Nikolay Volf
09a0601587
Update import benchmark parameters ( #4941 )
...
* update benchmark arguments
* even more samples since it is fast now
2020-02-17 13:42:44 +03:00
Nikolay Volf
6e31cd7af7
reference sc-service with rocksdb feature ( #4918 )
2020-02-13 15:26:56 +01:00
e6454eb091
Full block import benchmark ( #4865 )
...
* full block import benchmark
* try rocksdb cache
* add profiling helper
* use random keyring instead of zero caching
* update docs
* add more io stats
* remove last sentence
* add ci job to see
* Update primitives/keyring/src/sr25519.rs
Co-Authored-By: Marcio Diaz <marcio.diaz@gmail.com >
* switch to 100tx-block
* remove ci script
Co-authored-by: Marcio Diaz <marcio@parity.io >
2020-02-13 14:09:00 +03:00
Nikolay Volf
a84c05da22
add sr25519 bench ( #4905 )
2020-02-12 17:32:38 +03:00
Nikolay Volf
ef7d19ed93
update primitive types to 0.6.2 ( #4866 )
2020-02-10 22:21:38 +03:00
Nikolay Volf
147155359f
Alter usage collection a bit ( #4863 )
...
* alter usage collection a bit
* replace with mutex
2020-02-09 13:11:22 +01:00
Nikolay Volf and Tomasz Drwięga
41967186e4
Subsystems memory tracking: 1. Transaction pool ( #4822 )
...
* update sp-runtime
* total update
* usage informant
* update to crates.io version
* update Cargo.lock
* update dummy update
* fix todo
* cleanup
* avoid custom impl
* Update client/transaction-pool/graph/src/future.rs
Co-Authored-By: Tomasz Drwięga <tomusdrw@users.noreply.github.com >
* remove another custom impl
* remove another custom impl
* add kb in report
* update Cargo.lock
* review suggestions
* --amend
* --amend
* bump parity-util-mem to 0.5.0
* bumps
* update macro and versions
* add to grafana
* naming
Co-authored-by: Tomasz Drwięga <tomusdrw@users.noreply.github.com >
2020-02-07 11:53:11 +01:00
Nikolay Volf
8c373916a4
easy with threads ( #4848 )
2020-02-06 23:32:48 +01:00
Nikolay Volf
6148c7ce15
do join_all ( #4832 )
2020-02-06 13:07:52 +01:00
Nikolay Volf
8a3caaeb68
update prost-build ( #4789 )
2020-02-01 12:33:13 +01:00
Nikolay Volf
63ad759c69
Increase transaction pool default limits ( #4792 )
...
* increase limits, improve logging
* format in kB
2020-02-01 00:27:53 -08:00
Nikolay Volf
42dd01cbbd
add negative tests for signatures ( #4788 )
2020-01-31 04:26:36 -08:00
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
94a187f291
Transaction queue tests update ( #4734 )
...
* shuffle tests
* update tests
* inc_nonce -> increment_nonce
2020-01-27 04:22:04 -08: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
Nikolay Volf and André Silva
81004eabfd
Refactor and test spec block rules ( #4670 )
...
* Refactor and test spec block rules
* address review
* Update client/src/block_rules.rs
Co-Authored-By: André Silva <andre.beat@gmail.com >
Co-authored-by: André Silva <andre.beat@gmail.com >
2020-01-23 05:41:22 -08:00
Nikolay Volf
19df538c62
More cleanups in node-template ( #4705 )
...
* remove and reformat
* remove some more
* commit Cargo.lock
2020-01-22 14:53:40 +01:00
Nikolay Volf
9d556a69ef
remove license preamble from node-template ( #4699 )
2020-01-21 22:10:26 +01:00
Nikolay Volf
def8573b07
fix docs deadlinks ( #4698 )
2020-01-21 08:01:55 -08:00
Nikolay Volf
ba1d446b48
add missing bits ( #4660 )
2020-01-17 17:22:00 +03:00
Nikolay Volf
26a53ac0a4
add debug logs ( #4657 )
2020-01-17 11:18:38 +01:00
Nikolay Volf
058e98ef34
use default in-memory for commands that don't use keystore ( #4634 )
2020-01-16 10:08:05 +01:00
426c157076
State-db I/o metrics ( #4562 )
...
* add usage mod to sp-state-machine
* State usage tracking finalized.
* fix spaces
* add license preamble
* imporove output
* review suggestions
* update naming
* merge fixes
* Update client/db/src/light.rs
Co-Authored-By: Gavin Wood <gavin@parity.io >
Co-authored-by: Gavin Wood <github@gavwood.com >
2020-01-13 09:10:39 +01:00
Nikolay Volf
e00ddc5614
avoid timer in light client ( #4602 )
2020-01-11 18:22:40 +01:00
Nikolay Volf
08e6df0faf
Refactor some tests in tx-pool ( #4603 )
...
* add test setup
* tests with setup
2020-01-11 19:22:08 +03:00
Nikolay Volf
df4058b556
i/o stats for backend databases ( #4525 )
2020-01-07 21:53:03 +03:00
Nikolay Volf
6cef6b410e
fix expect text ( #4530 )
2020-01-04 14:34:53 +01:00
Nikolay Volf
f0e21eff09
Update kvdb-* and trie ( #4483 )
2020-01-03 20:46:42 +00:00
Nikolay Volf
508f94acdf
Update libp2p to fix build ( #4522 )
...
* update libp2p
* update toml files also
2020-01-02 18:37:42 +01:00
Nikolay Volf and Bastian Köcher
65e78b8129
Insert key via node RPC for subkey ( #4514 )
...
* Insert key via node RPC.
* somewhat address the reivew
* Update bin/utils/subkey/src/rpc.rs
Co-Authored-By: Bastian Köcher <bkchr@users.noreply.github.com >
* Update bin/utils/subkey/src/rpc.rs
Co-Authored-By: Bastian Köcher <bkchr@users.noreply.github.com >
* Update bin/utils/subkey/src/main.rs
Co-Authored-By: Bastian Köcher <bkchr@users.noreply.github.com >
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
2020-01-02 12:46:45 +01:00
Nikolay Volf
6d06a19f41
Refactor to use only chain info ( #4516 )
2020-01-02 12:46:07 +01:00
Nikolay Volf
585f0c0811
update libsecp256k1 ( #4513 )
2019-12-30 11:26:34 -08:00
Nikolay Volf
885f94dfad
Improve subkey error reporting. ( #4504 )
2019-12-27 21:07:04 +01:00
Nikolay Volf
96744926b2
Check aura slot numbers are strictly increasing ( #4020 )
...
* initial block import handler
* fix node template
* fix error message
* fix error message again
* final fixes
* fix node template again
2019-12-26 14:04:07 +01:00
Nikolay Volf
10cd358e40
fix warnings in grafana module ( #4486 )
2019-12-23 17:41:43 +03:00
Nikolay Volf
61e43218e5
Randomized tests on storage cache ( #4070 )
...
* randomized tests
* destroy clones
* remove commented
* fixes
* add finalization fork
2019-11-12 16:57:21 +01:00
Nikolay Volf
745b68bfa9
Improve auto-docs a little. ( #4032 )
2019-11-07 12:04:56 +01:00
Nikolay Volf
f093eeba24
fix warnings ( #4024 )
2019-11-05 19:53:50 +01:00
Nikolay Volf
448ce2adff
Basic extrinsic pool benchmarks ( #3922 )
...
* Working bench for 50 sequental
* configured benches
* fix warnings
* Optimize and fix issues
* add preamble
* Fix benchmarks.
* fix compilation
* remove unneeded features for now
2019-10-28 16:05:52 +01:00
Nikolay Volf
d149c2f719
Watch existing extrinsics RPC ( #3873 )
...
* Transaction pool watch intristics.
* Track extrinsic rpc methods.
* Test for pool watcher.
* Track extrinsic rpc test.
* Fix rpc naming.
* review fixes
* Update jsonrpc and use une subcription.
* Naming and dependencies.
2019-10-27 12:55:44 +01:00
Nikolay Volf
40fac49216
Fix missing doc comments. ( #3929 )
2019-10-27 12:53:52 +01:00
Nikolay Volf
5a40da5cba
Dry out author rpc tests ( #3878 )
2019-10-22 15:53:20 +02:00
Nikolay Volf
d739e86798
fix ambiguity about start in doc ( #3864 )
2019-10-22 12:02:20 +02:00
Nikolay Volf
b888f7db71
Use uniform quotes ( #3867 )
2019-10-21 21:40:22 +01:00