mirror of
https://github.com/d0zingcat/ore.git
synced 2026-06-08 07:36:49 +00:00
comments
This commit is contained in:
10
README.md
10
README.md
@@ -10,17 +10,17 @@
|
|||||||
|
|
||||||
## Instructions
|
## Instructions
|
||||||
|
|
||||||
- [`Open`](program/src/open.rs) - Opens a new block for mining.
|
- [`Open`](program/src/open.rs) - Open a new block.
|
||||||
- [`Close`](program/src/close.rs) - Closes a block and pays out rewards.
|
- [`Close`](program/src/close.rs) - Close a block and pay out the reward.
|
||||||
- [`Mine`](program/src/mine.rs) - Mines the current block by computing hashes.
|
- [`Mine`](program/src/mine.rs) - Mine the current block.
|
||||||
- [`Swap`](program/src/swap.rs) - Trade in a hashpower market.
|
- [`Swap`](program/src/swap.rs) - Trade in a hashpower market.
|
||||||
|
|
||||||
## State
|
## State
|
||||||
- [`Block`](api/src/state/block.rs) - A period of time for mining.
|
- [`Block`](api/src/state/block.rs) - A period of time for mining.
|
||||||
- [`Config`](api/src/state/config.rs) - Global program configuration.
|
- [`Config`](api/src/state/config.rs) - Global program configuration.
|
||||||
- [`Market`](api/src/state/market.rs) - Hashpower market for a given block.
|
- [`Market`](api/src/state/market.rs) - Hashpower market for a given block.
|
||||||
- [`Miner`](api/src/state/miner.rs) - Tracks a user's mining state.
|
- [`Miner`](api/src/state/miner.rs) - Tracks a miner state and history.
|
||||||
- [`Treasury`](api/src/state/treasury.rs) - The mint authority on the ORE token.
|
- [`Treasury`](api/src/state/treasury.rs) - The mint authority of the ORE token.
|
||||||
|
|
||||||
|
|
||||||
## Tests
|
## Tests
|
||||||
|
|||||||
Reference in New Issue
Block a user