mirror of
https://github.com/d0zingcat/ore.git
synced 2026-05-13 23:16:52 +00:00
readme
This commit is contained in:
@@ -40,19 +40,19 @@ A linear supply growth was chosen for its simplicity and straightforward predict
|
||||
|
||||
## State
|
||||
- [`Bus`](src/state/bus.rs) - An account (8 total) which tracks and limits the amount mined rewards each epoch.
|
||||
- [`Proof`](src/state/proof.rs) - An account (1 per miner) which tracks a miner's current hash, claimable rewards, and lifetime stats.
|
||||
- [`Proof`](src/state/proof.rs) - An account (1 per miner) which tracks a miner's hash, claimable rewards, and lifetime stats.
|
||||
- [`Treasury`](src/state/treasury.rs) – A singleton account which manages program-wide variables and authorities.
|
||||
|
||||
|
||||
## Tests
|
||||
|
||||
To run the full test suite (unit and integration tests), use the Solana toolchain:
|
||||
To run the test suite, use the Solana toolchain:
|
||||
|
||||
```
|
||||
cargo test-sbf
|
||||
```
|
||||
|
||||
For line coverage, use the llvm-cov tool:
|
||||
For line coverage, use llvm-cov:
|
||||
|
||||
```
|
||||
cargo llvm-cov
|
||||
|
||||
Reference in New Issue
Block a user