-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3 from frank-origo/update
Update documents with GPU mining tutorial
- Loading branch information
Showing
9 changed files
with
720 additions
and
68 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
## GPU Mining Tutorial | ||
|
||
In this tutorial, we will guide you step by step doing GPU mining for Medietas testnet on AWS. | ||
|
||
### Requirements | ||
|
||
We only verified this tutorial in the below environment: | ||
|
||
* Ubuntu 18.04 LTS | ||
* AWS G3 or P3 instances | ||
* OpenCL | ||
|
||
#### Nvidia OpenCL Driver | ||
|
||
Install NVIDIA driver on AWS Linux instances, by following [this document](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/install-nvidia-driver.html). | ||
|
||
#### Python 3 | ||
|
||
Install Python3 and OpenCL headers: | ||
|
||
``` | ||
sudo apt update | ||
sudo apt install -y nvidia-opencl-dev python3 | ||
``` | ||
|
||
### Tutorial | ||
|
||
#### Step 1: Download the Origo blockchain binary | ||
|
||
Download the Origo Blockchain Binary from [releases](https://github.com/origolab/origo-binary/releases), please choose right version for your operating system. | ||
|
||
#### Step 2: Connecting to medietas testnet | ||
|
||
Create a `config.toml` file as below: | ||
|
||
``` | ||
[mining] | ||
# Change this address to your own mining wallet address | ||
author = "0x7a93b005d71d402ff5b88f812e0e04db7e2fb2f4" | ||
force_sealing = true | ||
reseal_on_txs = "all" | ||
reseal_min_period = 4000 | ||
reseal_max_period = 60000 | ||
tx_queue_size = 8192 | ||
[stratum] | ||
# Enable stratum | ||
disable = false | ||
``` | ||
|
||
Starting full node as below: | ||
|
||
``` | ||
./origo --chain medietas-testnet --config config.toml | ||
``` | ||
|
||
#### Step 3: Start mining | ||
|
||
Download [GPU Miner](../tools/miner/gpuminer) to your instance, then run miner as below: | ||
|
||
``` | ||
./ogominer -u 0 -v | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
### Origo GPU Miner | ||
|
||
Origo first GPU Miner with EquiHash, it runs on Ubuntu 18.04 LTS with OpenCL support. | ||
|
||
**Note: this GPU miner is for testing purpose, DO NOT USE it in production** | ||
|
||
_Source code will be publised once this project gets mature, and more operating systems will be supported_ |
Oops, something went wrong.