cuprate/test-utils/README.md
hinto-janai ee22e81c7e
test-utils: add rpc module (#110)
* test-utils: impl `rpc` module

* client: use `spawn_blocking`

* client: add tests

* ignore test for now

* add example and `get_transaction_verification_data()`

* client: calculate proper `generated_coins`

* data: fix `generated_coins/reward` references

* data: fix height
2024-04-21 17:11:23 +01:00

367 B

Test Utils

This crate contains code that can be shared across multiple Cuprate crates tests, this crate should not be included in any Cuprate crate, only in tests.

It currently contains:

  • Code to spawn monerod instances and a testing network zone
  • Real raw and typed Monero data, e.g. Block, Transaction
  • An RPC client to generate types from cuprate_types