This repository has been archived by the owner on Oct 20, 2023. It is now read-only.
Added support for Ethereum Classic (ETC) & UBIQ (UBQ) #1586
blackmennewstyle
started this conversation in
General
Replies: 1 comment 4 replies
-
Amazing work. I saw your PR few days ago and tested it on Mordor, it works, but I was facing kind of same issues than with open etc pool. I don't feel good using geth in an unsafe way, and with docker it doesn't want to unlock at all, still didn't figure out why. And second thing, I don't get why there is a dagfile, it completely crush the thing at it takes ages to generate, more than 30 min at each start, I still don't understand if there is an issue on this on my side and I think it is not relative to your PR. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi everyone,
Following my initial pull request #1514 which added support for Conceal #1507 (comment), i have added support for
Ethereum Classic (ETC)
and alsoUbiq (UBQ)
.Following the previous amazing work from @jon4hz regarding
Uncle
andOrphaned
#1501, i also fixed an annoying bug in theEthereumPayoutHandler.cs
, which technically impacts allEthereum (Uncle) blockchains
.In a very particular case-scenario, when a miner/pool has enough
hash-rate-power
and is able to mine two blocks with the sameblockHeight
#1583 (comment).They are always respectively an
Uncle
block andRegular
block.I have seen some people deleting one of them in their bug report, which is a huuuge mistake, since they have both a
block reward
and deleting one is basically: stealing coins from miner(s) :'(The issue has been reported multiple times #1080 (comment) but it's very difficult to reproduce on most
mainnet
but it is very easy to encounter on sometestnet
like on ETC for example.How to setup
miningcore
for ETC Mordortestnet
geth node
(Please refer to the online documentation - https://geth.ethereum.org/ - for further assistance if any doubt)
By default the
etchash
implementation i made inminingcore
, based on this user contribution #1415 (comment), comes ready formainnet
.For being able to mine on the
ETC
Mordortestnet
, it is mandatory to change the 2 following two lines accordingly, in the fileminingcore/src/Native/libetchash/ethash.h
:You will need then to compile or recompile
miningcore
.miningcore config.json
An
ethereumclassic_pool.json
file is provided in the folderminingcore/examples/
. However, it is mandatory to use:Lastly, do not forget to fill that section:
The following applies only if you are running your
node
on the sameserver/machine
withminingcore
and want to take advantage ofgeth
automatically generating theDAG
files.: If you use a.toml
file just like i did, the answer is inside this file.In any other cases, or if you are not sure, just fill that option with
""
=>"dagDir": "",
How to setup
miningcore
for ETCmainnet
geth node
(Please refer to the online documentation - https://geth.ethereum.org/ - for further assistance if any doubt)
By default the
etchash
implementation i made inminingcore
, based on this user contribution #1415 (comment), comes ready formainnet
.But in case you previously made the change for the
ETC
Mordortestnet
, it is mandatory to change the 2 following two lines accordingly, in the fileminingcore/src/Native/libetchash/ethash.h
:You will need then to compile or recompile
miningcore
.miningcore config.json
An
ethereumclassic_pool.json
file is provided in the folderminingcore/examples/
. By default it comes already setup formainnet
:Lastly, do not forget to fill that section:
The following applies only if you are running your
node
on the sameserver/machine
withminingcore
and want to take advantage ofgeth
automatically generating theDAG
files: If you use a.toml
file just like i did, the answer is inside this file.In any other cases, or if you are not sure, just fill that option with
""
=>"dagDir": "",
How to setup
miningcore
for UBIQmainnet
gubiq node
(gubiq is a fork ofgeth
)(Since
gubiq
is a fork ofgeth
, please refer to the online documentation - https://geth.ethereum.org/ - for further assistance if any doubt)miningcore config.json
An
ubiq_pool.json
file is provided in the folderminingcore/examples/
. By default it comes already setup formainnet
:Lastly, do not forget to fill that section:
The following applies only if you are running your
node
on the sameserver/machine
withminingcore
and want to take advantage ofgubiq
automatically generating theDAG
files: If you use a.toml
file just like i did, the answer is inside this file.In any other cases, or if you are not sure, just fill that option with
""
=>"dagDir": "",
How to setup
miningcore
for UBIQtestnet
Sadly, there is no POW Ubiq
testnet
or should i say there is one but it is not open to the public. Apparently, it suffered from previous users abuses and it will not be open again to the public anytime soon.Well, at least that was the experience and feedback i received when i tried to ask for access on
reddit
and alsodiscord
.So hope you enjoy my modest contribution and happy
block
hunting 🔥 🚀(My modest UBIQ (UBQ) mining pool: https://ubiq.cedric-crispin.com/)
Beta Was this translation helpful? Give feedback.
All reactions