You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+27-15Lines changed: 27 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,11 +4,11 @@ rieMiner is a Riecoin miner supporting both solo and pooled mining. It was origi
4
4
5
5
Solo mining is done using the GetBlockTemplate protocol, while pooled mining is via the Stratum protocol. A benchmark mode is also proposed to compare more easily the performance between different computers.
6
6
7
-
Direct link to the latest official [Windows x64standalone executable](https://ric.pttn.me/file.php?d=rieMinerWin64).
7
+
Direct links to the latest official [Windows x64](https://ric.pttn.me/file.php?d=rieMinerWin64) and [Win32](https://ric.pttn.me/file.php?d=rieMinerWin32)standalone executables. Binaries built on Debian 9 with almost complete static linking also available (these should run on fresh Debian and Ubuntu installations): [Deb64](https://ric.pttn.me/file.php?d=rieMinerDeb64) and [Deb32](https://ric.pttn.me/file.php?d=rieMinerDeb32). Also note that 32 bits builds are much slower.
8
8
9
-
This README also serves as manual for rieMiner. I hope that this program will be useful for you! Happy mining!
9
+
This README serves as manual for rieMiner, and you can also find a [PDF version](https://ric.pttn.me/file.php?d=rieMinerManual) (without build instructions). I hope that this program will be useful for you!
10
10
11
-
The Riecoin community thanks you for your participation, you will be a contributor to the robustness of the Riecoin network.
11
+
The Riecoin community thanks you for your participation, you will be a contributor to the robustness of the Riecoin network. Happy mining!
12
12
13
13

14
14
@@ -34,41 +34,42 @@ Recommended:
34
34
35
35
You can compile this C++ program with g++, as, m4 and make, install them if needed. Then, get if needed the following dependencies:
36
36
37
-
* Jansson
38
-
* cURL
39
-
* libSSL
40
-
* GMP
37
+
*[Jansson](http://www.digip.org/jansson/)
38
+
*[cURL](https://curl.haxx.se/)
39
+
*[libSSL](https://www.openssl.org/)
40
+
*[GMP](https://gmplib.org/)
41
41
42
42
On a recent enough Debian or Ubuntu, you can easily install these by doing as root:
43
43
44
44
```bash
45
45
apt install g++ make m4 git libjansson-dev libcurl4-openssl-dev libssl-dev libgmp-dev
46
46
```
47
47
48
-
Then, just download the source files, go/cd to the directory, and do a simple make:
48
+
Then, just download the source files, go/`cd` to the directory, and do a simple make:
49
49
50
50
```bash
51
51
git clone https://github.com/Pttn/rieMiner.git
52
52
cd rieMiner
53
53
make
54
54
```
55
55
56
-
For other Linux, executing equivalent commands (using pacman instead of apt,...) should work.
56
+
For other Linux, executing equivalent commands (using `pacman` instead of `apt`,...) should work.
57
57
58
-
If you get a warning after the compilation that there may be a conflict between libcrypto.so files, install libssl1.0-dev instead of libssl-dev.
58
+
If you get a warning after the compilation that there may be a conflict between libcrypto.so files, install `libssl1.0-dev` instead of `libssl-dev`.
59
59
60
60
### In Windows x64
61
61
62
62
You can compile rieMiner in Windows, and here is one way to do this. First, install [MSYS2](http://www.msys2.org/) (follow the instructions on the website), then enter in the MSYS **MinGW-w64** console, and install the tools and dependencies:
63
63
64
64
```bash
65
-
pacman -S make
66
-
pacman -S git
65
+
pacman -S make git
67
66
pacman -S mingw64/mingw-w64-x86_64-gcc
68
67
pacman -S mingw64/mingw-w64-x86_64-curl
69
68
```
70
69
71
-
Clone rieMiner with git like for Linux, go to its directory with cd, and compile with make.
70
+
Note that you must install the `mingw64/mingw-w64-x86_64-...` packages and not just `gcc` or `curl`.
71
+
72
+
Clone rieMiner with `git` like for Linux, go to its directory with `cd`, and compile with `make`.
72
73
73
74
#### Static building
74
75
@@ -89,7 +90,7 @@ Once done:
89
90
* In the downloaded libcurl directory, go to the include directory and copy the "curl" folder to the "incs" folder;
90
91
* Do the same with the file "libcurl.a" from the libs/.lib folder to the rieMiner's "libs" folder.
91
92
92
-
Now, you should be able to compile rieMiner with "make static" and produce a standalone executable.
93
+
Now, you should be able to compile rieMiner with `make static` and produce a standalone executable.
93
94
94
95
## Run and configure this program
95
96
@@ -144,6 +145,17 @@ TupleLengthMin = 4
144
145
# For solo mining, add consensus rules in the GetBlockTemplate RPC call, each separated by a comma.
145
146
# Useful for softforks, for example, to mine SegWit transactions, you would need the following line. Default: no rule
0 commit comments