Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

Add filtering capability to parity_pendingTransactions (issue 8269) #10506

Merged
merged 52 commits into from
Jun 28, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
52 commits
Select commit Hold shift + click to select a range
9169a59
Merge pull request #1 from paritytech/master
lamafab Mar 4, 2019
441b71c
expand parameters for pending_transactions()
lamafab Mar 18, 2019
a2fcaf2
move ready_transactions content into filtered method
lamafab Mar 18, 2019
636e466
apply filter based on tx_hash, sender or receiver
lamafab Mar 19, 2019
325eb6f
call filtered transactions from RPC interface
lamafab Mar 19, 2019
2dc0f32
attempt at testing...
lamafab Mar 21, 2019
8d840fb
replace parameters with _ on light client
lamafab Mar 21, 2019
2862dc8
addes some comments
lamafab Mar 21, 2019
e30326f
Merge pull request #2 from paritytech/master
lamafab Mar 25, 2019
9578d49
removed uncompleted tests in miner.rs
lamafab Apr 2, 2019
6f1e437
attempt at testing, needs more work...
lamafab Apr 5, 2019
c4dbf53
Merge pull request #3 from paritytech/master
lamafab Apr 7, 2019
e7d3428
Merge branch 'issue_8269' of github.com:lamafab/parity-ethereum into …
lamafab Apr 7, 2019
e8875a8
Merge pull request #5 from paritytech/master
lamafab Jun 10, 2019
f29eef3
merge upstream changes into branch
lamafab Jun 10, 2019
56decec
Formatting for ready_transactions_filtered
lamafab Jun 10, 2019
83cbc3e
Use map_or instead of if-let
lamafab Jun 10, 2019
27161c8
additional map_or replacement
lamafab Jun 10, 2019
c06b50c
change receiver type to Option<Option<Address>>
lamafab Jun 10, 2019
3f92d7b
remove faulty MiningService tests, test RPC later
lamafab Jun 10, 2019
2254aee
remove tx hash from pending transaction filtering
lamafab Jun 10, 2019
bee31cb
as_unsigned() method for SignedTransaction
lamafab Jun 11, 2019
c5b7456
implement Deserialize for FilterOptions
lamafab Jun 20, 2019
806097f
implement Validate for MapAccess type
lamafab Jun 20, 2019
420b1eb
additional formatting
lamafab Jun 20, 2019
94560c3
directly name cover in pattern matching
lamafab Jun 20, 2019
a303dec
test valid vull deserialization
lamafab Jun 21, 2019
e021a6d
test valid sender operators
lamafab Jun 21, 2019
a8b6761
test valid receiver operators
lamafab Jun 21, 2019
59aa2fd
test valid gas operators
lamafab Jun 21, 2019
f62cf7d
test valid gas price operators
lamafab Jun 21, 2019
1bb43a7
test valid value operators
lamafab Jun 21, 2019
f27ae29
test valid nonce operators
lamafab Jun 21, 2019
9d7684c
additional tsets for defaults, unknown filter types, unknown operator…
lamafab Jun 21, 2019
9f512c5
Merge serde impl and tests for FilterOptions
lamafab Jun 21, 2019
19be31b
move filter_options to ethcore to avoid package cycling
lamafab Jun 23, 2019
0719bf3
adjusted function/method parameters for FilterOptions
lamafab Jun 23, 2019
c1d94c7
implement filter for sender and receiver
lamafab Jun 23, 2019
36b9b3c
implement filter for gas
lamafab Jun 23, 2019
8542e5b
implement filter for gas price, tx value and nonce
lamafab Jun 23, 2019
3af058f
improve filtering implementation; use common function, use combinators
lamafab Jun 24, 2019
ce2eef1
improved documentation for FilterOptions
lamafab Jun 24, 2019
c977666
small documentation adjustments
lamafab Jun 24, 2019
02a219f
remove warnings
lamafab Jun 24, 2019
7255a8e
Merge unified FilterOptions implementation
lamafab Jun 24, 2019
9754f1a
replace FilterOperator::ContractCreation with FilterOperator::Eq(None)
lamafab Jun 26, 2019
bd249e5
implement validate_receiver
lamafab Jun 26, 2019
7a2e942
make small changes like renames, preamble
lamafab Jun 26, 2019
c85699e
cleanup code according to suggestions, add docs
lamafab Jun 26, 2019
5951f59
Implement suggested changes
lamafab Jun 26, 2019
5cc8cc0
small improvements like formatting and newline
lamafab Jun 27, 2019
3be3bde
Merge small changes like error msg formatting and add newline
lamafab Jun 27, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions ethcore/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ fetch = { path = "../util/fetch" }
kvdb-rocksdb = "0.1.3"
parity-runtime = { path = "../util/runtime" }
rlp_compress = { path = "../util/rlp-compress" }
serde_json = "1.0"
tempdir = "0.3"
trie-standardmap = "0.12.3"

Expand Down
2 changes: 2 additions & 0 deletions ethcore/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,8 @@ extern crate blooms_db;
extern crate env_logger;
#[cfg(test)]
extern crate rlp_compress;
#[cfg(test)]
extern crate serde_json;

#[macro_use]
extern crate ethabi_derive;
Expand Down
Loading