This commit is contained in:
Hardhat Chad
2024-03-24 22:18:46 +00:00
parent 0aeb60edb9
commit 5c789c2ef1

View File

@@ -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