Zebra/zebra-chain/src
teor ea34baa8b8
add(test): test disabled `lightwalletd` mempool gRPCs via zebrad logs (#5016)
* add grpc mempool test research

* add a config flag for mempool injection of transactions in test

* Only copy the inner state directory in the send transactions test

* Preload Zcash parameters in some transaction verification tests

* Add a block and transaction Hash method to convert from display order bytes

* Update test coverage docs

* Add debugging output for mempool transaction verification

* Test fetching sent mempool transactions using gRPC

* Add extra log checks to the send transaction test

* Wait for zebrad mempool activation before running gRPC tests

* Update send transaction test for lightwalletd not returning mempool transactions

* Check zebrad logs instead of disabled lightwalletd gRPCs

* Add a debug option that makes RPCs pretend the sync is finished

* Remove an unused debug option

* Remove unused test code and downgrade some logs

* Fix test log checks

* Fix some rustdoc warnings

* Fix a compilation error due to new function arguments

* Make zebrad sync timeouts consistent and remove outdated code

* Document how to increase temporary directory space for tests

* Stop checking for a log that doesn't always happen

* Remove some commented-out code

Co-authored-by: Alfredo Garcia <oxarbitrage@gmail.com>

* Update a comment about run time

Co-authored-by: Alfredo Garcia <oxarbitrage@gmail.com>

* Add new config to new tests from the `main` branch

* Add transactions to the list, rather than replacing the list with each new block

Co-authored-by: Alfredo Garcia <oxarbitrage@gmail.com>
2022-09-06 13:32:33 +00:00
..
amount build(deps): bump insta from 1.15.0 to 1.17.1 (#4884) 2022-08-04 15:44:44 +00:00
block add(test): test disabled `lightwalletd` mempool gRPCs via zebrad logs (#5016) 2022-09-06 13:32:33 +00:00
chain_tip build(deps): bump chrono from 0.4.19 to 0.4.20 (#4898) 2022-08-28 17:08:27 +00:00
fmt 2. add(log): Log when state requests take a long time (#4815) 2022-07-26 08:33:00 +10:00
history_tree refactor(anchorSapling): Change type to force consensus rule validation (#3544) 2022-02-17 03:20:22 +00:00
orchard Resolve unnecessary borrow lint and remove redundant imports (#5045) 2022-09-02 18:20:32 +00:00
parallel 1. fix(perf): Run CPU-intensive state updates in parallel rayon threads (#4802) 2022-07-22 12:19:11 -04:00
parameters build(deps): bump insta from 1.15.0 to 1.17.1 (#4884) 2022-08-04 15:44:44 +00:00
primitives fix(clippy): resolve or disable new nightly clippy lints (#4739) 2022-07-05 11:04:47 +10:00
sapling Resolve unnecessary borrow lint and remove redundant imports (#5045) 2022-09-02 18:20:32 +00:00
serialization Resolve unnecessary borrow lint and remove redundant imports (#5045) 2022-09-02 18:20:32 +00:00
sprout Resolve unnecessary borrow lint and remove redundant imports (#5045) 2022-09-02 18:20:32 +00:00
transaction add(test): test disabled `lightwalletd` mempool gRPCs via zebrad logs (#5016) 2022-09-06 13:32:33 +00:00
transparent Resolve unnecessary borrow lint and remove redundant imports (#5045) 2022-09-02 18:20:32 +00:00
value_balance build(deps): bump insta from 1.15.0 to 1.17.1 (#4884) 2022-08-04 15:44:44 +00:00
work Resolve unnecessary borrow lint and remove redundant imports (#5045) 2022-09-02 18:20:32 +00:00
amount.rs lint(clippy): add `unwrap_in_result` lint (#4667) 2022-06-28 06:22:07 +00:00
block.rs Only fetch block headers from the database to answer headers requests (#4792) 2022-07-22 09:15:22 +10:00
chain_tip.rs feat(rpc): Implement `getblockchaininfo` RPC method (#3891) 2022-03-25 12:25:31 +00:00
diagnostic.rs fix(ci): improve test output and test reliability (#5014) 2022-09-02 08:54:40 +00:00
fmt.rs 2. add(log): Log when state requests take a long time (#4815) 2022-07-26 08:33:00 +10:00
history_tree.rs feat(state): Store history trees by height in the non-finalized state (#4928) 2022-08-29 06:59:25 +00:00
lib.rs 2. add(log): Log when state requests take a long time (#4815) 2022-07-26 08:33:00 +10:00
orchard.rs ZIP 212: validate Sapling and Orchard output of coinbase transactions (#3029) 2021-11-11 22:18:37 +00:00
parallel.rs 1. fix(perf): Run CPU-intensive state updates in parallel rayon threads (#4802) 2022-07-22 12:19:11 -04:00
parameters.rs Cleanup a few arbitrary impls (#2222) 2021-05-28 09:49:28 -03:00
primitives.rs ZIP 212: validate Sapling and Orchard output of coinbase transactions (#3029) 2021-11-11 22:18:37 +00:00
sapling.rs Update multiple crates to ensure bitvec 0.22.3 is being used (#2351) 2021-06-23 13:16:22 +10:00
serialization.rs Refactor addr v1 serialization using a separate AddrV1 type (#3021) 2021-11-10 06:47:50 +10:00
shutdown.rs Fix shutdown panics (#1637) 2021-02-03 19:03:28 +10:00
sprout.rs 1. fix(perf): Run CPU-intensive state updates in parallel rayon threads (#4802) 2022-07-22 12:19:11 -04:00
transaction.rs lint(clippy): add `unwrap_in_result` lint (#4667) 2022-06-28 06:22:07 +00:00
transparent.rs lint(clippy): add `unwrap_in_result` lint (#4667) 2022-06-28 06:22:07 +00:00
value_balance.rs lint(clippy): add `unwrap_in_result` lint (#4667) 2022-06-28 06:22:07 +00:00
work.rs Replace primitives_types with uint (#2350) 2021-06-18 15:35:05 -03:00