File tree 4 files changed +17
-6
lines changed
4 files changed +17
-6
lines changed Original file line number Diff line number Diff line change 1
1
# cmake global
2
2
cmake_minimum_required (VERSION 2.8.12)
3
3
4
- set (PROJECT_VERSION "2.1.18 " )
4
+ set (PROJECT_VERSION "2.1.19 " )
5
5
if (${CMAKE_VERSION} VERSION_GREATER 3.0)
6
6
cmake_policy (SET CMP0042 OLD) # fix MACOSX_RPATH
7
7
cmake_policy (SET CMP0048 NEW) # allow VERSION argument in project()
Original file line number Diff line number Diff line change @@ -93,6 +93,14 @@ Node configuration:
93
93
```
94
94
[General]
95
95
96
+ ; Optional: uncomment this to specify your own web3 endpoint. you don't need
97
+ ; this to mine successfully. it is only used to display your token balance
98
+ ; on screen. you can get a web3 endpoint URL from https://infura.io/ or run
99
+ ; your own light node.
100
+
101
+ ; Web3Url=https://mainnet.infura.io/v3/_your_infura_id_
102
+ ; Web3Url=http://127.0.0.1:8545
103
+
96
104
;--------------------------------------------------------
97
105
[Node]
98
106
Original file line number Diff line number Diff line change @@ -124,7 +124,7 @@ class MinerCLI
124
124
node.stratumPwd = ProgOpt::Get (" Node2" , " StratumPwd" );
125
125
m_nodes.push_back (node);
126
126
127
- m_web3Url = ProgOpt::Get (" General" , " Web3Url" , " https://mainnet.infura.io/v3/7d1d166f63d84fc0865e5e410f583564 " );
127
+ m_web3Url = ProgOpt::Get (" General" , " Web3Url" );
128
128
}
129
129
130
130
/* -----------------------------------------------------------------------------------
@@ -854,7 +854,7 @@ class MinerCLI
854
854
LogS << " Connecting to " << _nodeURL + " :" + _rpcPort << " ..." ;
855
855
856
856
// workRPC is used to get work and submit solutions
857
- // nodeRPC is used to retrieve current ETH block number and query token balance
857
+ // nodeRPC is used to retrieve current ETH block number (solo mining only) and query token balance
858
858
859
859
// if solo mining, both workRPC and nodeRPC point to the mainNet node (whatever the user specifies)
860
860
// if pool mining, workRPC points to the mining pool, and nodeRPC points to Infura
Original file line number Diff line number Diff line change 1
1
2
2
[General]
3
3
4
- ; uncomment this to specify your own web3 endpoint, otherwise the miner
5
- ; will use it's own internal infura endpoint
4
+ ; Optional: uncomment this to specify your own web3 endpoint. you don't need
5
+ ; this to mine successfully. it is only used to display your token balance
6
+ ; on screen. you can get a web3 endpoint URL from https://infura.io/ or run
7
+ ; your own light node.
6
8
7
- ; Web3Url=https://mainnet.infura.io/v3/0000000000000000000000000000000
9
+ ; Web3Url=https://mainnet.infura.io/v3/_your_infura_id_
10
+ ; Web3Url=http://127.0.0.1:8545
8
11
9
12
; --------------------------------------------------------
10
13
[Node]
You can’t perform that action at this time.
0 commit comments