oliverw / miningcore Goto Github PK
View Code? Open in Web Editor NEWMiningcore is a high-performance Mining Pool Software for Linux and Windows.
Home Page: https://store.miningcore.pro
License: MIT License
Miningcore is a high-performance Mining Pool Software for Linux and Windows.
Home Page: https://store.miningcore.pro
License: MIT License
This scheme is getting popular, and it sounds better than PPLNS.
Currently, I have this setting.
"ports": {
"3132": {
"listenAddress": "0.0.0.0",
"difficulty": 0.05,
"varDiff": {
"minDiff": 0.01,
"maxDiff": null,
"targetTime": 30,
"retargetTime": 60,
"variancePercent": 30
}
}
}
But resulting in:
[22:35:04] Started sgminer 5.6.1-nicehash-51
[22:35:04] * using Jansson 2.7
[22:35:04] Loaded configuration file sgminer.conf
[22:35:04] Probing for an alive pool
[22:35:05] 35.187.191.157 difficulty changed to 0.050
[22:35:06] Startup GPU initialization... Using settings from pool 35.187.191.157.
[22:35:06] Startup Pool No = 0
[22:35:06] Initialising kernel darkcoin-mod.cl with nfactor 10, n 1024
[22:35:06] Initialising kernel darkcoin-mod.cl with nfactor 10, n 1024
[22:35:39] Accepted 0bfda657 Diff 0.083/0.050 GPU 0
[22:35:59] 35.187.191.157 difficulty changed to 0.100
[22:36:20] Accepted 0913bb05 Diff 0.110/0.100 GPU 0
[22:36:29] 35.187.191.157 difficulty changed to 0.200
[22:36:57] Accepted 7b38657c Diff 2.078/0.200 GPU 0
[22:36:59] 35.187.191.157 difficulty changed to 0.400
[22:41:02] Accepted a2eb1e5f Diff 1.571/0.400 GPU 0
[22:41:52] Accepted 1859e52b Diff 10/0.400 GPU 0
[22:41:59] 35.187.191.157 difficulty changed to 0.800
As you can see, the difficulty is increasing even the shares submitted time longer than my expect.
Dears,
Could you add a GlobalToken? it uses a same algorithm of Bitcoin but PoolMiningEngine does not have its information.
GlobalToken info
"name": "GlobalToken",
"symbol": "GLT",
"algorithm": "sha256"
Diff information
Min Diff: 1
Max Diff: 83,886,080
Website:
www.globaltoken.org
Chaininfo URL
https://www.blockexperts.com/glt
https://bchain.info/GLT/
Blockexplorer URL
https://www.blockexperts.com/glt/hash/
https://bchain.info/GLT/hash/
Transactionexplorer URL
https://www.blockexperts.com/glt/tx/
https://bchain.info/GLT/tx/
Thanks in advance.
Regards,
John Ahn
At the moment, miningcore only support Scrypt for DGB. It would be better if mining core can support multi-algos coins like DGB.
Today morning, I successfully mined my first block.
Here is the block detail:
[
{
blockheight: 742811,
status: 3,
transactionConfirmationData: "c9912c782bece63abf234d7d75d532e6415ecee516f816fb1c3c755b34cdd4e9",
reward: 1.79557754,
infoLink: "https://chainradar.com/dsh/block/c9912c782bece63abf234d7d75d532e6415ecee516f816fb1c3c755b34cdd4e9",
created: "2017-09-24T22:46:38.099633"
}
]
Here is the log for paying process.
[2017-09-25 03:18:43.2074] [I] [PayoutProcessor] Processing payments for pool dash
[2017-09-25 03:18:43.2147] [I] [PayoutProcessor] Processing payments for pool dash, block 742811
[2017-09-25 03:18:44.0077] [I] [PayPerLastNShares] Adding 0.44637 DASH to balance of XrQsEqFfabd5mGy7W9vjBnvk6K19oc97gB for 39203 shares
[2017-09-25 03:18:44.0236] [I] [PayPerLastNShares] Adding 0.00001 DASH to balance of Xe2Hbpb2ZJgc9WAuZJfUyN4QwDRhn7pzL6 for 869 shares
[2017-09-25 03:18:44.0843] [I] [PayPerLastNShares] Deleting 73 obsolete shares before 9/23/17 11:39:07 PM
[2017-09-25 03:18:44.1171] [I] [PayoutProcessor] No balances over configured minimum payout for pool dash
XrQsEqFfabd5mGy7W9vjBnvk6K19oc97gB
is me.
Xe2Hbpb2ZJgc9WAuZJfUyN4QwDRhn7pzL6
is my friend.
I finally got 0.44637, and my friend got 0.00001. So where is others as the block reward is 1.79557754
You can make so that the stats remain after a reboot miningcore?
Is there no support for Quark coins ?
The question is relevant
I do not what did not change but displays this error
[2017-10-28 19:30:17.0945] [E] [EXP1] [Ethereum Payout Handler] Object reference not set to an instance of an object.
It's better to support MPOS compatibility mode so that it can function as a drop-in-replacement for python-stratum-mining. And we can have a good front end for usage while this project have no website provided at this moment.
Hello, I added to his pool coin ELLE
has made changes like EXP
has launched the claymore miner so WALLET.RIG
but do not go payments displays this error:
[2017-10-28 12:27:15.3457] [E] [ella1] [Ethereum Payout Handler] Object reference not set to an instance of an object.
What could be the problem?
[2017-10-28 14:56:49.5468] [I] [ella1]
Mining Pool: ella1
Coin Type: ELLA
Network Connected: Ellaism
Detected Reward Type: POW
Current Block Height: 293567
Current Connect Peers: 5
Network Difficulty: 205591140727
Network Hash Rate: 0 KH/s
Stratum Port(s): 3252, 3253
Pool Fee: 1%
[2017-10-28 14:56:49.5591] [I] [PayoutManager] Online
[2017-10-28 14:56:49.5651] [I] [PayoutManager] Processing payments for pool ella1
[2017-10-28 14:56:50.5523] [I] [ella1] [Ethereum Payout Handler] Unlocked block 293515 worth 5 ELLA
[2017-10-28 14:56:50.5559] [I] [PayoutManager] Processing payments for pool ella1, block 293515
[2017-10-28 14:56:50.5756] [I] [ella1] Adding 0,05 ELLA to balance of 0xafd0003a6b93a7129913f21b64c203b4854e8c16
[2017-10-28 14:56:50.7256] [I] [PayPerLastNShares] Balance-calculation completed with accumulated score 0,2463 (12,3%)
[2017-10-28 14:56:50.7277] [I] [PayPerLastNShares] Adding 0,60938 ELLA to balance of 0xd4aae54015de54957e32d06b6c00ed20554c4072 for 25 shares
[2017-10-28 14:56:50.7362] [I] [PayPerLastNShares] 25 shares contributed to a total payout of 0,60938 ELLA (12,32% of block reward)
[2017-10-28 14:56:50.8968] [E] [ella1] [Ethereum Payout Handler] Object reference not set to an instance of an object.
[2017-10-28 14:56:50.9003] [E] [ella1] [Ethereum Payout Handler] Object reference not set to an instance of an object.
[2017-10-28 14:56:54.4003] [I] [ella1] [Ethereum Job Manager] New block detected
[2017-10-28 14:56:57.3988] [I] [ella1] [Ethereum Job Manager] New block detected
@oliverw can you create Wiki pages (can't do that on my end)? I think API, configuration in README can move into Wiki pages.
We should avoid a super long README.
I tried to build the source code, and results in fatal error.
https://hub.docker.com/r/calvintam236/miningcore/builds/bd5lkzkdnmgmrbbtm8uzgsa/
Microsoft (R) Build Engine version 15.3.409.57025 for .NET Core
Copyright (C) Microsoft Corporation. All rights reserved.
Blockchain/Ethereum/EthereumPool.cs(86,39): warning CS1998: This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread. [/tmp/miningcore/src/MiningCore/MiningCore.csproj]
Blockchain/Ethereum/EthereumJobManager.cs(170,34): warning CS1998: This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread. [/tmp/miningcore/src/MiningCore/MiningCore.csproj]
Blockchain/Ethereum/EthereumPayoutHandler.cs(65,38): warning CS0169: The field 'EthereumPayoutHandler.networkType' is never used [/tmp/miningcore/src/MiningCore/MiningCore.csproj]
MiningCore -> /tmp/miningcore/src/MiningCore/bin/Release/netcoreapp2.0/MiningCore.dll
MiningCore -> /tmp/miningcore/build/
g++ -Wall -fPIC -fpermissive -std=c++0x -fexceptions -frtti -O2 -I. -Icontrib/epee/include -c -o contrib/epee/src/hex.o contrib/epee/src/hex.cpp
g++ -Wall -fPIC -fpermissive -std=c++0x -fexceptions -frtti -O2 -I. -Icontrib/epee/include -c -o common/base58.o common/base58.cpp
gcc -Wall -c -fPIC -maes -O2 -I. -Icontrib/epee/include -c -o crypto/aesb.o crypto/aesb.c
gcc -Wall -c -fPIC -maes -O2 -I. -Icontrib/epee/include -c -o crypto/blake256.o crypto/blake256.c
gcc -Wall -c -fPIC -maes -O2 -I. -Icontrib/epee/include -c -o crypto/chacha8.o crypto/chacha8.c
gcc -Wall -c -fPIC -maes -O2 -I. -Icontrib/epee/include -c -o crypto/crypto-ops-data.o crypto/crypto-ops-data.c
gcc -Wall -c -fPIC -maes -O2 -I. -Icontrib/epee/include -c -o crypto/crypto-ops.o crypto/crypto-ops.c
g++ -Wall -fPIC -fpermissive -std=c++0x -fexceptions -frtti -O2 -I. -Icontrib/epee/include -c -o crypto/crypto.o crypto/crypto.cpp
gcc -Wall -c -fPIC -maes -O2 -I. -Icontrib/epee/include -c -o crypto/groestl.o crypto/groestl.c
gcc -Wall -c -fPIC -maes -O2 -I. -Icontrib/epee/include -c -o crypto/hash-extra-blake.o crypto/hash-extra-blake.c
gcc -Wall -c -fPIC -maes -O2 -I. -Icontrib/epee/include -c -o crypto/hash-extra-groestl.o crypto/hash-extra-groestl.c
gcc -Wall -c -fPIC -maes -O2 -I. -Icontrib/epee/include -c -o crypto/hash-extra-jh.o crypto/hash-extra-jh.c
gcc -Wall -c -fPIC -maes -O2 -I. -Icontrib/epee/include -c -o crypto/hash-extra-skein.o crypto/hash-extra-skein.c
gcc -Wall -c -fPIC -maes -O2 -I. -Icontrib/epee/include -c -o crypto/hash.o crypto/hash.c
gcc -Wall -c -fPIC -maes -O2 -I. -Icontrib/epee/include -c -o crypto/jh.o crypto/jh.c
gcc -Wall -c -fPIC -maes -O2 -I. -Icontrib/epee/include -c -o crypto/keccak.o crypto/keccak.c
gcc -Wall -c -fPIC -maes -O2 -I. -Icontrib/epee/include -c -o crypto/oaes_lib.o crypto/oaes_lib.c
gcc -Wall -c -fPIC -maes -O2 -I. -Icontrib/epee/include -c -o crypto/random.o crypto/random.c
gcc -Wall -c -fPIC -maes -O2 -I. -Icontrib/epee/include -c -o crypto/skein.o crypto/skein.c
�[91mcrypto/skein.c: In function 'Skein_256_Final':
crypto/skein.c:1360:9: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
((u64b_t *)ctx->b)[0]= Skein_Swap64((u64b_t) i); /* build the counter block */
^
�[0m
�[91mcrypto/skein.c: In function 'Skein_512_Final':
crypto/skein.c:1560:9: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
((u64b_t *)ctx->b)[0]= Skein_Swap64((u64b_t) i); /* build the counter block */
^
�[0m
�[91mcrypto/skein.c: In function 'Skein1024_Final':
crypto/skein.c:1758:9: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
((u64b_t *)ctx->b)[0]= Skein_Swap64((u64b_t) i); /* build the counter block */
^
�[0m
gcc -Wall -c -fPIC -maes -O2 -I. -Icontrib/epee/include -c -o crypto/slow-hash.o crypto/slow-hash.c
�[91mcrypto/slow-hash.c: In function 'cn_slow_hash':
crypto/slow-hash.c:576:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
U64(a)[0] = U64(&state.k[0])[0] ^ U64(&state.k[32])[0];
^~~
crypto/slow-hash.c:576:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
crypto/slow-hash.c:578:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
U64(b)[0] = U64(&state.k[16])[0] ^ U64(&state.k[48])[0];
^~~
crypto/slow-hash.c:578:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
�[0m
gcc -Wall -c -fPIC -maes -O2 -I. -Icontrib/epee/include -c -o crypto/tree-hash.o crypto/tree-hash.c
g++ -Wall -fPIC -fpermissive -std=c++0x -fexceptions -frtti -O2 -I. -Icontrib/epee/include -c -o cryptonote_basic/cryptonote_format_utils.o cryptonote_basic/cryptonote_format_utils.cpp
g++ -Wall -fPIC -fpermissive -std=c++0x -fexceptions -frtti -O2 -I. -Icontrib/epee/include -c -o exports.o exports.cpp
�[91mexports.cpp:39:17: warning: 'cryptonote::blobdata uint64be_to_blob(uint64_t)' defined but not used [-Wunused-function]
static blobdata uint64be_to_blob(uint64_t num) {
^~~~~~~~~~~~~~~~
�[0m
g++ -shared -o libcryptonote.so contrib/epee/src/hex.o common/base58.o crypto/aesb.o crypto/blake256.o crypto/chacha8.o crypto/crypto-ops-data.o crypto/crypto-ops.o crypto/crypto.o crypto/groestl.o crypto/hash-extra-blake.o crypto/hash-extra-groestl.o crypto/hash-extra-jh.o crypto/hash-extra-skein.o crypto/hash.o crypto/jh.o crypto/keccak.o crypto/oaes_lib.o crypto/random.o crypto/skein.o crypto/slow-hash.o crypto/tree-hash.o cryptonote_basic/cryptonote_format_utils.o exports.o -lboost_system -lboost_date_time
find . -name '*.o' -exec rm -r {} \;
rm libcryptonote.so
gcc -Wall -c -fPIC -O2 -c -o bcrypt.o bcrypt.c
gcc -Wall -c -fPIC -O2 -c -o blake.o blake.c
gcc -Wall -c -fPIC -O2 -c -o c11.o c11.c
gcc -Wall -c -fPIC -O2 -c -o dcrypt.o dcrypt.c
�[91mdcrypt.c: In function 'dcrypt_hash':
dcrypt.c:144:25: warning: pointer targets in passing argument 2 of 'sha256' differ in signedness [-Wpointer-sign]
sha256(finalToHash, hash, len + lenMixedHash);
^~~~
dcrypt.c:37:6: note: expected 'unsigned char *' but argument is of type 'char *'
void sha256(unsigned char * instr, unsigned char * hash, unsigned int len)
^~~~~~
�[0m
gcc -Wall -c -fPIC -O2 -c -o fresh.o fresh.c
gcc -Wall -c -fPIC -O2 -c -o fugue.o fugue.c
gcc -Wall -c -fPIC -O2 -c -o groestl.o groestl.c
�[91mIn file included from groestl.c:8:0:
sha256.h:390:1: warning: 'PBKDF2_SHA256' defined but not used [-Wunused-function]
PBKDF2_SHA256(const uint8_t * passwd, size_t passwdlen, const uint8_t * salt,
^~~~~~~~~~~~~
�[0m
gcc -Wall -c -fPIC -O2 -c -o hefty1.o hefty1.c
�[91mIn file included from hefty1.c:7:0:
sha256.h:390:1: warning: 'PBKDF2_SHA256' defined but not used [-Wunused-function]
PBKDF2_SHA256(const uint8_t * passwd, size_t passwdlen, const uint8_t * salt,
^~~~~~~~~~~~~
�[0m
gcc -Wall -c -fPIC -O2 -c -o jh.o jh.c
gcc -Wall -c -fPIC -O2 -c -o keccak.o keccak.c
gcc -Wall -c -fPIC -O2 -c -o neoscrypt.o neoscrypt.c
�[91mneoscrypt.c: In function 'neoscrypt':
neoscrypt.c:1147:37: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
const unsigned char *password = input;
^~~~~
neoscrypt.c:1148:35: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
const unsigned char *output = uoutput;
^~~~~~~
neoscrypt.c:1263:89: warning: passing argument 6 of 'neoscrypt_fastkdf' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
neoscrypt_fastkdf(password, 80, (uchar *) X, r * 2 * SCRYPT_BLOCK_SIZE, 32, output, 32);
^~~~~~
neoscrypt.c:960:13: note: expected 'uchar * {aka unsigned char *}' but argument is of type 'const unsigned char *'
static void neoscrypt_fastkdf(const uchar *password, uint password_len, const uchar *salt, uint salt_len,
^~~~~~~~~~~~~~~~~
�[0m
g++ -Wall -fPIC -fpermissive -O2 -c -o exports.o exports.cpp
�[91mIn file included from exports.cpp:41:0:
equi/equi.h:26:20: fatal error: sodium.h: No such file or directory
#include <sodium.h>
^
compilation terminated.
�[0m
�[91mmake: *** [exports.o] Error 1
�[0m
<builtin>: recipe for target 'exports.o' failed
I suggest blocks endpoint should show all blocks found including pending blocks with the confirmation count. I just mined two blocks half hour ago. the endpoint still show no blocks. But when I use the DashCore Windows Wallet. It can show two pending transactions are coming. Dash Explorer also can show the blocks.
Lyra2REv2
sgminer doesn't work on the pool nor on my not on your checked on suprnova everything works
For 3 hours, the statistics miner does not work
{
"pendingShares": 0,
"pendingBalance": 0.0,
"totalPaid": 0.0,
"hashrate": []
}
I am using CPUs to mine XMR on poolmining.org
, and the difficulty seems to be too low for my setup after vardiff kicks in.
This is one AMD Ryzen 1700. Diff dropped to 10000 from 30000 (default), so 1 share every ~10s..
[2017-09-28 05:29:02] accepted (1/0) diff 30000 (187 ms)
[2017-09-28 05:29:05] speed 2.5s/60s/15m 547.1 549.2 n/a H/s max: 553.0 H/s
[2017-09-28 05:29:24] accepted (2/0) diff 30000 (183 ms)
[2017-09-28 05:29:35] accepted (3/0) diff 30000 (186 ms)
[2017-09-28 05:30:02] new job from xmr.poolmining.org:3032 diff 10000
[2017-09-28 05:30:05] speed 2.5s/60s/15m 550.4 550.3 n/a H/s max: 555.2 H/s
[2017-09-28 05:30:17] accepted (4/0) diff 10000 (187 ms)
[2017-09-28 05:30:22] accepted (5/0) diff 10000 (187 ms)
[2017-09-28 05:30:37] accepted (6/0) diff 10000 (181 ms)
[2017-09-28 05:31:05] speed 2.5s/60s/15m 550.0 550.1 n/a H/s max: 555.2 H/s
[2017-09-28 05:31:42] accepted (7/0) diff 10000 (185 ms)
[2017-09-28 05:31:52] accepted (8/0) diff 10000 (183 ms)
[2017-09-28 05:32:04] accepted (9/0) diff 10000 (188 ms)
Dears,
I am writing a guide for MiningPoolEngine installation on Ubuntu 16.04LTS version as following.
Is there anything should I added here?
MiningPoolEngine_Guide.txt
-------------- Contents ---------------------
0. Update and install of Ubuntu Linux patches
Inatllaiton a Microsoft .NET SDK
1.1 Register the trusted Microsoft signature key:
1.2 Register the Microsoft Product feed
1.2.1 Ubuntu 14.04
1.2.2 Ubuntu 16.04
1.2.3 Ubuntu 17.04
1.3 Install .NET SDK
Intallaiton a PostgreSQL
2.1 Create a Postgres Database
2.2 Import a Database Schema
Installation a each coin daemon cores
3.1 Bitcoin (BTC, BCH)
3.1.1 Add a PPA repository
3.1.2 Create a .bitcoin folder on your home
3.1.3
3.3 DASH
3.4 Dogecoin
3.5 Ethereum (ETH,ECC)
3.6 GobalToken
Download and build a MiningPoolEngine
4.1
4.2
4.3
4.4
4.5
Running a MiningPoolEngine
-------------- End of Contents ------------------
Regards,
John Ahn
Blockchain/Ethereum/EthereumPool.cs(86,39): warning CS1998: This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread. [/root/miningcore/src/MiningCore/MiningCore.csproj]
Blockchain/Ethereum/EthereumJobManager.cs(170,34): warning CS1998: This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread. [/root/miningcore/src/MiningCore/MiningCore.csproj]
Blockchain/Ethereum/EthereumPayoutHandler.cs(65,38): warning CS0169: The field 'EthereumPayoutHandler.networkType' is never used [/root/miningcore/src/MiningCore/MiningCore.csproj]
Updating VarDiff if there is no shares submitted will throw Exception. I suggest we should consider updating diff at least one share even with low retargetTime and high start Diff.
[2017-09-24 13:47:00.4122] [E] [dash] Error handling request: mining.submit System.NullReferenceException: Object reference not set to an instance of an object.
at MiningCore.VarDiff.VarDiffManager.Update(VarDiffContext ctx, Double difficulty, Double networkDifficulty) in /root/miningcore/src/MiningCore/VarDiff/VarDiffManager.cs:line 64
at MiningCore.Mining.PoolBase`1.UpdateVarDiff(StratumClient`1 client, Double networkDifficulty) in /root/miningcore/src/MiningCore/Mining/PoolBase.cs:line 187
at MiningCore.Blockchain.Bitcoin.BitcoinPoolBase`2.<OnSubmitAsync>d__6.MoveNext() in /root/miningcore/src/MiningCore/Blockchain/Bitcoin/BitcoinPoolBase.cs:line 148
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at MiningCore.Blockchain.Bitcoin.BitcoinPoolBase`2.<OnRequestAsync>d__10.MoveNext() in /root/miningcore/src/MiningCore/Blockchain/Bitcoin/BitcoinPoolBase.cs:line 281
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at MiningCore.Stratum.StratumServer`1.<>c__DisplayClass11_0.<<OnClientConnected>b__2>d.MoveNext() in /root/miningcore/src/MiningCore/Stratum/StratumServer.cs:line 160 at MiningCore.VarDiff.VarDiffManager.Update(VarDiffContext ctx, Double difficulty, Double networkDifficulty) in /root/miningcore/src/MiningCore/VarDiff/VarDiffManager.cs:line 64
at MiningCore.Mining.PoolBase`1.UpdateVarDiff(StratumClient`1 client, Double networkDifficulty) in /root/miningcore/src/MiningCore/Mining/PoolBase.cs:line 187
at MiningCore.Blockchain.Bitcoin.BitcoinPoolBase`2.<OnSubmitAsync>d__6.MoveNext() in /root/miningcore/src/MiningCore/Blockchain/Bitcoin/BitcoinPoolBase.cs:line 148
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at MiningCore.Blockchain.Bitcoin.BitcoinPoolBase`2.<OnRequestAsync>d__10.MoveNext() in /root/miningcore/src/MiningCore/Blockchain/Bitcoin/BitcoinPoolBase.cs:line 281
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at MiningCore.Stratum.StratumServer`1.<>c__DisplayClass11_0.<<OnClientConnected>b__2>d.MoveNext() in /root/miningcore/src/MiningCore/Stratum/StratumServer.cs:line 160
As I am working on the client-side UI, I think there are few improvements can be done on API for developer use.
"coin": { "type": 5 },
, give the coin symbol instead. In this case, it is XMR
. It is not friendly for integrations."payoutScheme": 1,
, which is better to give PPLNS
. same problem as abovenetworkHashRate
, poolHashRate
unit? H/s
? kH/s
? MH/s
?poolFeePercent
, donationsPercent
inside poolStats
. I think they belongs to paymentProcessing
or a brand new item.The API should avoid hardcoding definitions into the UI, especially UI shouldn't need to update their coding once MiningCore
added new coinType
/ changed coinType
numerical value.
/api/pool/{poolid}/stats/hourly
networkHashRate
, connectedMiners
as well?status
here? same problem as aboveOther issue:
I will continue update this issue while I am implementing the UI.
I saw your comment on reddit saying that the web front-end is in the works. Can you tell us how's the progress? If there are some codes, can you push the incomplete code to GitHub in a different branch (so anyone can help)? If not, I can try to port other UI e.g. poolui
?
https://github.com/coinfoundry/miningcore/blob/80f6ebe7590a7137a33f3ea04bf6e6f89e6ff500/src/MiningCore/Api/ApiServer.cs#L105
DASH is not the same as DSH.
DASH is Dash
DSH is Dashcoin
The current url is https://chainradar.com/dsh/transaction/[txnid]
The correct url should be
https://chainz.cryptoid.info/dash/tx.dws?[txnid].htm
Tell me what the problem gives this message
[2017-10-26 16:34:56.0879] [W] [exp1] [Ethereum Job Manager] Error(s) refreshing blocktemplate: getWork result not related to pending block
Is there any example file of how to configure Miningcore for run several coins at one pool?
Also interested is there any posibility to connect Miningcore with MPOS or any other webui?
[2017-09-26 21:04:32.7317] [I] [xmr] [Pool] Launching ...
[2017-09-26 21:04:32.7456] [E] [xmr] System.ArgumentException: endPoints must not be empty
at MiningCore.Contracts.Contract.Requires[TException](Boolean predicate, String message) in /root/miningcore/src/MiningCore/Contracts/Contract.cs:line 38
at MiningCore.DaemonInterface.DaemonClient.Configure(DaemonEndpointConfig[] endPoints, String rpcLocation, String digestAuthRealm) in /root/miningcore/src/MiningCore/DaemonInterface/DaemonClient.cs:line 72
at MiningCore.Blockchain.Monero.MoneroPool.<SetupJobManager>d__10.MoveNext() in /root/miningcore/src/MiningCore/Blockchain/Monero/MoneroPool.cs:line 300
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at MiningCore.Mining.PoolBase`1.<StartAsync>d__49.MoveNext() in /root/miningcore/src/MiningCore/Mining/PoolBase.cs:line 488 System.ArgumentException: endPoints must not be empty
at MiningCore.Contracts.Contract.Requires[TException](Boolean predicate, String message) in /root/miningcore/src/MiningCore/Contracts/Contract.cs:line 38
at MiningCore.DaemonInterface.DaemonClient.Configure(DaemonEndpointConfig[] endPoints, String rpcLocation, String digestAuthRealm) in /root/miningcore/src/MiningCore/DaemonInterface/DaemonClient.cs:line 72
at MiningCore.Blockchain.Monero.MoneroPool.<SetupJobManager>d__10.MoveNext() in /root/miningcore/src/MiningCore/Blockchain/Monero/MoneroPool.cs:line 300
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at MiningCore.Mining.PoolBase`1.<StartAsync>d__49.MoveNext() in /root/miningcore/src/MiningCore/Mining/PoolBase.cs:line 488 at MiningCore.Contracts.Contract.Requires[TException](Boolean predicate, String message) in /root/miningcore/src/MiningCore/Contracts/Contract.cs:line 38
at MiningCore.DaemonInterface.DaemonClient.Configure(DaemonEndpointConfig[] endPoints, String rpcLocation, String digestAuthRealm) in /root/miningcore/src/MiningCore/DaemonInterface/DaemonClient.cs:line 72
at MiningCore.Blockchain.Monero.MoneroPool.<SetupJobManager>d__10.MoveNext() in /root/miningcore/src/MiningCore/Blockchain/Monero/MoneroPool.cs:line 300
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at MiningCore.Mining.PoolBase`1.<StartAsync>d__49.MoveNext() in /root/miningcore/src/MiningCore/Mining/PoolBase.cs:line 488
[2017-09-26 21:04:32.7764] [I] [dgb-scrypt] [Bitcoin Job Manager] All daemons online
[2017-09-26 21:04:32.7764] [I] [dash] [Bitcoin Job Manager] All daemons online
I have tried curl, it works:
curl \
-u username:passowrd --digest \
-X POST http://10.138.0.5:13301/json_rpc \
-d '{"jsonrpc":"2.0","id":"0","method":"get_info"}' \
-H 'Content-Type: application/json'
I guess it should be the authentication problem.
When using pool farm like nicehash, the hashrate is very unstable during bidding.
the current mechisiam is checking the last 51 shares validition ratio. if it over 51%, the miningcore will ban the client. when low diff, and fast start from nicehash, shares submitted is too quick. once rejects occurs, it mush be banned as it can submit 51 invalid shares in one second.
so i would suggest to change the banning mechisiam to checking invalid ratio in period of time instead of hecking last n shares. it would be better for ubstable hashrate clients.
Dears,
How can I setup a merged mining using MiningPoolEngine for following coins?
Thanks in advance.
Regards,
John Ahn
As there isn't many Siacoin pool out there, and no other pool softs support this coin, I would like to request support for Siacoin (so I can build one).
hi
i need to ask do this pool software is multipool software .. i mean if i add all coin is same server and will it work or not ..
for every coin i nee to use differ server or in same server i can install all and run it ??
also when gonna user ui will come
Implement PROP Payout scheme
Stratum over TLS eliminates possibility of man-in-the-middle attacks, as the communication between miner and pool is strongly encrypted and the server's identity is digitally signed by a certificate authority. Implementing this feature has top priority.
I saw another crash so I report here first. But I am still using yesterday version. I will try the latest fix today later.
[2017-09-24 08:12:58.9188] [I] [dgb-scrypt] [Bitcoin Job Manager] New block detected
[2017-09-24 08:13:04.9204] [I] [dgb-scrypt] [Bitcoin Job Manager] New block detected
[2017-09-24 08:13:05.9188] [I] [dgb-scrypt] [Bitcoin Job Manager] New block detected
[2017-09-24 08:13:08.9257] [I] [dgb-scrypt] [Bitcoin Job Manager] New block detected
[2017-09-24 08:13:10.9213] [I] [dgb-scrypt] [Bitcoin Job Manager] New block detected
[2017-09-24 08:13:25.9628] [I] [dgb-scrypt] [Bitcoin Job Manager] New block detected
[2017-09-24 08:13:55.9126] [I] [dgb-scrypt] [Bitcoin Job Manager] New block detected
[2017-09-24 08:14:18.9170] [I] [dgb-scrypt] [Bitcoin Job Manager] New block detected
[2017-09-24 08:14:20.9141] [I] [dgb-scrypt] [Bitcoin Job Manager] New block detected
Segmentation fault (core dumped)
I tried to use sgminer-gm
on poolmining.org
(which runs MiningCore), and it couldn't find an active pool. Tried pool address without stratum+tcp://
, same result.
$ sgminer -k cryptonight -o stratum+tcp://xmr.poolmining.org:3033 -u REMOVED -p x --gpu-platform 0 --intensity 31 --no-adl --log 60 --text-only
[01:18:06] Set default algorithm to cryptonight
[01:18:06] Global quota greatest common denominator set to 1
[01:18:06] Started sgminer 5.5.5-gm-a
[01:18:06] * using Jansson 2.7
[01:18:06] CL Platform vendor: Advanced Micro Devices, Inc.
[01:18:06] CL Platform name: AMD Accelerated Parallel Processing
[01:18:06] CL Platform version: OpenCL 2.0 AMD-APP (2508.0)
[01:18:06] Platform devices: 1
[01:18:06] 0 gfx900
[01:18:06] GPU0: detected PCIe topology 0000:25:00.0
[01:18:06] Default Devices = all
[01:18:06] set_devices(all)
[01:18:06] Loading settings from default_profile for pool 0
[01:18:06] Pool 0 Algorithm set to "cryptonight"
[01:18:06] Pool 0 devices set to "all"
[01:18:06] Pool 0 lookup gap set to "(null)"
[01:18:06] Pool 0 Intensity set to "31"
[01:18:06] Pool 0 Thread Concurrency set to "(null)"
[01:18:06] Pool 0 GPU Clock set to "(null)"
[01:18:06] Pool 0 GPU Memory clock set to "(null)"
[01:18:06] Pool 0 GPU Threads set to "(null)"
[01:18:06] Pool 0 GPU Fan set to "(null)"
[01:18:06] Pool 0 GPU Powertune set to "(null)"
[01:18:06] Pool 0 GPU Vddc set to "(null)"
[01:18:06] Pool 0 Shaders set to "(null)"
[01:18:06] Pool 0 Worksize set to "(null)"
[01:18:06] WARNING: GPU_MAX_ALLOC_PERCENT is not specified!
[01:18:06] WARNING: GPU_USE_SYNC_OBJECTS is not specified!
[01:18:06] Trying to set current pool...
[01:18:06] Probing for an alive pool
[01:18:06] Testing xmr.poolmining.org
[01:18:07] Succeeded delayed connect
[01:18:07] Socket closed waiting in recv_line
[01:18:07] Closing socket for stratum xmr.poolmining.org
[01:18:07] Failed to parse a \n terminated string in recv_line: buffer =
[01:19:06] No servers were found that could be used to get work from.
[01:19:06] Please check the details from the list below of the servers you have input
[01:19:06] Most likely you have input the wrong URL, forgotten to add a port, or have not set up workers
[01:19:06] Pool: 0 URL: stratum+tcp://xmr.poolmining.org:3033 User: REMOVED Password: x
[01:19:06] No servers could be used! Exiting.
[01:18:06] Started sgminer 5.5.5-gm-a
[01:18:06] * using Jansson 2.7
[01:18:06] WARNING: GPU_MAX_ALLOC_PERCENT is not specified!
[01:18:06] WARNING: GPU_USE_SYNC_OBJECTS is not specified!
[01:18:06] Probing for an alive pool
[01:19:06] No servers were found that could be used to get work from.
[01:19:06] Please check the details from the list below of the servers you have input
[01:19:06] Most likely you have input the wrong URL, forgotten to add a port, or have not set up workers
What time zone works pool time statistics does not match with my real time is there any way to change.
my time is 00:00:00
in statistics 21:00:00
An exception thrown when using wrong auth info.
System.NullReferenceException: Object reference not set to an instance of an object.
Here is the full log:
root@pool-1:~/miningcore/build# sh ./start.sh
███╗ ███╗██╗███╗ ██╗██╗███╗ ██╗ ██████╗ ██████╗ ██████╗ ██████╗ ███████╗
████╗ ████║██║████╗ ██║██║████╗ ██║██╔════╝ ██╔════╝██╔═══██╗██╔══██╗██╔════╝
██╔████╔██║██║██╔██╗ ██║██║██╔██╗ ██║██║ ███╗██║ ██║ ██║██████╔╝█████╗
██║╚██╔╝██║██║██║╚██╗██║██║██║╚██╗██║██║ ██║██║ ██║ ██║██╔══██╗██╔══╝
██║ ╚═╝ ██║██║██║ ╚████║██║██║ ╚████║╚██████╔╝╚██████╗╚██████╔╝██║ ██║███████╗
https://github.com/coinfoundry/miningcore
Please contribute to the development of the project by donating:
BTC - 17QnVor1B6oK1rWnVVBrdX9gFzVkZZbhDm
ETH - 0xcb55abBfe361B12323eb952110cE33d5F28BeeE1
LTC - LTK6CWastkmBzGxgQhTTtCUjkjDA14kxzC
XMR - 475YVJbPHPedudkhrcNp1wDcLMTGYusGPF5fqE7XjnragVLPdqbCHBdZg3dF4dN9hXMjjvGbykS6a77dTAQvGrpiQqHp2eH
Using configuration file config.json
[2017-09-25 14:24:03.6887] [W] [Program] Running as root is discouraged!
[2017-09-25 14:24:03.8084] [I] [ShareRecorder] Online
[2017-09-25 14:24:03.8207] [I] [ApiServer] Launching ...
[2017-09-25 14:24:04.0604] [I] [ApiServer] Online @ 0.0.0.0:4000
[2017-09-25 14:24:04.0873] [I] [dash] [Pool] Launching ...
[2017-09-25 14:24:04.1473] [I] [dash] [Bitcoin Job Manager] Launching ...
[2017-09-25 14:24:04.7266] [I] [dash] [Bitcoin Job Manager] All daemons online
[2017-09-25 14:24:05.2383] [E] [dash] System.NullReferenceException: Object reference not set to an instance of an object.
at MiningCore.Blockchain.Bitcoin.BitcoinJobManager`2.<IsDaemonConnected>d__40.MoveNext() in /root/miningcore/src/MiningCore/Blockchain/Bitcoin/BitcoinJobManager.cs:line 393
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at MiningCore.Blockchain.JobManagerBase`1.<StartDaemonAsync>d__12.MoveNext() in /root/miningcore/src/MiningCore/Blockchain/JobManagerBase.cs:line 66
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at MiningCore.Blockchain.JobManagerBase`1.<StartAsync>d__19.MoveNext() in /root/miningcore/src/MiningCore/Blockchain/JobManagerBase.cs:line 105
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at MiningCore.Blockchain.Bitcoin.BitcoinPoolBase`2.<SetupJobManager>d__9.MoveNext() in /root/miningcore/src/MiningCore/Blockchain/Bitcoin/BitcoinPoolBase.cs:line 260
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at MiningCore.Mining.PoolBase`1.<StartAsync>d__48.MoveNext() in /root/miningcore/src/MiningCore/Mining/PoolBase.cs:line 464 System.NullReferenceException: Object reference not set to an instance of an object.
at MiningCore.Blockchain.Bitcoin.BitcoinJobManager`2.<IsDaemonConnected>d__40.MoveNext() in /root/miningcore/src/MiningCore/Blockchain/Bitcoin/BitcoinJobManager.cs:line 393
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at MiningCore.Blockchain.JobManagerBase`1.<StartDaemonAsync>d__12.MoveNext() in /root/miningcore/src/MiningCore/Blockchain/JobManagerBase.cs:line 66
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at MiningCore.Blockchain.JobManagerBase`1.<StartAsync>d__19.MoveNext() in /root/miningcore/src/MiningCore/Blockchain/JobManagerBase.cs:line 105
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at MiningCore.Blockchain.Bitcoin.BitcoinPoolBase`2.<SetupJobManager>d__9.MoveNext() in /root/miningcore/src/MiningCore/Blockchain/Bitcoin/BitcoinPoolBase.cs:line 260
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at MiningCore.Mining.PoolBase`1.<StartAsync>d__48.MoveNext() in /root/miningcore/src/MiningCore/Mining/PoolBase.cs:line 464 at MiningCore.Blockchain.Bitcoin.BitcoinJobManager`2.<IsDaemonConnected>d__40.MoveNext() in /root/miningcore/src/MiningCore/Blockchain/Bitcoin/BitcoinJobManager.cs:line 393
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at MiningCore.Blockchain.JobManagerBase`1.<StartDaemonAsync>d__12.MoveNext() in /root/miningcore/src/MiningCore/Blockchain/JobManagerBase.cs:line 66
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at MiningCore.Blockchain.JobManagerBase`1.<StartAsync>d__19.MoveNext() in /root/miningcore/src/MiningCore/Blockchain/JobManagerBase.cs:line 105
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at MiningCore.Blockchain.Bitcoin.BitcoinPoolBase`2.<SetupJobManager>d__9.MoveNext() in /root/miningcore/src/MiningCore/Blockchain/Bitcoin/BitcoinPoolBase.cs:line 260
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at MiningCore.Mining.PoolBase`1.<StartAsync>d__48.MoveNext() in /root/miningcore/src/MiningCore/Mining/PoolBase.cs:line 464
System.AggregateException: One or more errors occurred. (Object reference not set to an instance of an object.) ---> System.NullReferenceException: Object reference not set to an instance of an object.
at MiningCore.Blockchain.Bitcoin.BitcoinJobManager`2.<IsDaemonConnected>d__40.MoveNext() in /root/miningcore/src/MiningCore/Blockchain/Bitcoin/BitcoinJobManager.cs:line 393
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at MiningCore.Blockchain.JobManagerBase`1.<StartDaemonAsync>d__12.MoveNext() in /root/miningcore/src/MiningCore/Blockchain/JobManagerBase.cs:line 66
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at MiningCore.Blockchain.JobManagerBase`1.<StartAsync>d__19.MoveNext() in /root/miningcore/src/MiningCore/Blockchain/JobManagerBase.cs:line 105
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at MiningCore.Blockchain.Bitcoin.BitcoinPoolBase`2.<SetupJobManager>d__9.MoveNext() in /root/miningcore/src/MiningCore/Blockchain/Bitcoin/BitcoinPoolBase.cs:line 260
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at MiningCore.Mining.PoolBase`1.<StartAsync>d__48.MoveNext() in /root/miningcore/src/MiningCore/Mining/PoolBase.cs:line 486
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at MiningCore.Program.<>c.<<Start>b__25_1>d.MoveNext() in /root/miningcore/src/MiningCore/Program.cs:line 524
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at MiningCore.Program.<Start>d__25.MoveNext() in /root/miningcore/src/MiningCore/Program.cs:line 528
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
at MiningCore.Program.Main(String[] args) in /root/miningcore/src/MiningCore/Program.cs:line 86
---> (Inner Exception #0) System.NullReferenceException: Object reference not set to an instance of an object.
at MiningCore.Blockchain.Bitcoin.BitcoinJobManager`2.<IsDaemonConnected>d__40.MoveNext() in /root/miningcore/src/MiningCore/Blockchain/Bitcoin/BitcoinJobManager.cs:line 393
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at MiningCore.Blockchain.JobManagerBase`1.<StartDaemonAsync>d__12.MoveNext() in /root/miningcore/src/MiningCore/Blockchain/JobManagerBase.cs:line 66
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at MiningCore.Blockchain.JobManagerBase`1.<StartAsync>d__19.MoveNext() in /root/miningcore/src/MiningCore/Blockchain/JobManagerBase.cs:line 105
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at MiningCore.Blockchain.Bitcoin.BitcoinPoolBase`2.<SetupJobManager>d__9.MoveNext() in /root/miningcore/src/MiningCore/Blockchain/Bitcoin/BitcoinPoolBase.cs:line 260
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at MiningCore.Mining.PoolBase`1.<StartAsync>d__48.MoveNext() in /root/miningcore/src/MiningCore/Mining/PoolBase.cs:line 486
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at MiningCore.Program.<>c.<<Start>b__25_1>d.MoveNext() in /root/miningcore/src/MiningCore/Program.cs:line 524
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at MiningCore.Program.<Start>d__25.MoveNext() in /root/miningcore/src/MiningCore/Program.cs:line 528<---
Cluster cannot start. Good Bye!
I have an ETC config.
"pools": [{
"id": "etc1",
"enabled": true,
"coin": {
"type": "ETC"
},
"address": "0x3ff93f45e06a0dd7d8acb7d6f5ef2b5d7bfe4ab7",
"rewardRecipients": [
{
"type": "op",
"address": "0x3ff93f45e06a0dd7d8acb7d6f5ef2b5d7bfe4ab7",
"percentage": 0
}
],
"paymentProcessing": {
"enabled": true,
"minimumPayment": 0.50,
"minimumPaymentToPaymentId": 1.0,
"payoutScheme": "PPLNS",
"payoutSchemeConfig": {
"factor": 2.0
}
I am the only miner on this pool during testing with 300MH. A block was found by me. But my pending balance is:
"pendingShares": 56139,
"pendingBalance": 0.421189398082,
"totalPaid": 0.0,
This is on Linux using Claymore. So there is the small dev fee connection. Is it really causing that much of a loss?
When I start dotnet "dotnet MiningCore.dll -c config.json
, I get massage [I] [btc1] [Bitcoin Job Manager] Waiting for daemons to come online ...
.
But daemon is working. http://joxi.ru/GrqGg7ztNOYBk2.
build/config.json has RPC password.
And I have access by curl to RPC.
How can I solve this problem?
Thanks!!!
dotnet: /datadrive/teamcity/6a56927d0d6f3630/submodules/libuv/src/unix/stream.c:933: void uv__write_callbacks(uv_stream_t *): Assertion `(((const QUEUE *) (&(stream->loop)->active_reqs) == (const QUEUE *) (*(QUEUE **) &((*(&(stream->loop)->active_reqs))[0]))) == 0)' failed.
Aborted (core dumped)
do this allowed option to mine directly to exchange ? do it has the option to add rig name and worker name in miner so separately see the stat for all the rig they have ??
Currently setup for ETC. On the hourly stats the poolHashRate seems to be incorrect when it hits 300 million.
{
"stats": [
{
"poolHashRate": 0.0,
"connectedMiners": 0,
"created": "2017-10-30T02:00:00"
},
{
"poolHashRate": 0.0,
"connectedMiners": 1,
"created": "2017-10-30T03:00:00"
},
{
"poolHashRate": 0.0,
"connectedMiners": 1,
"created": "2017-10-30T04:00:00"
},
{
"poolHashRate": 0.0,
"connectedMiners": 1,
"created": "2017-10-30T05:00:00"
},
{
"poolHashRate": 210937280.0,
"connectedMiners": 2,
"created": "2017-10-30T06:00:00"
},
{
"poolHashRate": 252204576.0,
"connectedMiners": 2,
"created": "2017-10-30T07:00:00"
},
{
"poolHashRate": 267447680.0,
"connectedMiners": 2,
"created": "2017-10-30T08:00:00"
},
{
"poolHashRate": 269532768.0,
"connectedMiners": 2,
"created": "2017-10-30T09:00:00"
},
{
"poolHashRate": 257787168.0,
"connectedMiners": 2,
"created": "2017-10-30T10:00:00"
},
{
"poolHashRate": 231941776.0,
"connectedMiners": 2,
"created": "2017-10-30T11:00:00"
},
{
"poolHashRate": 268492480.0,
"connectedMiners": 2,
"created": "2017-10-30T12:00:00"
},
{
"poolHashRate": 264365072.0,
"connectedMiners": 2,
"created": "2017-10-30T13:00:00"
},
{
"poolHashRate": 259825152.0,
"connectedMiners": 2,
"created": "2017-10-30T14:00:00"
},
{
"poolHashRate": 2.692994E+08,
"connectedMiners": 2,
"created": "2017-10-30T15:00:00"
},
{
"poolHashRate": 295922240.0,
"connectedMiners": 2,
"created": "2017-10-30T16:00:00"
},
{
"poolHashRate": 2.680819E+08,
"connectedMiners": 2,
"created": "2017-10-30T17:00:00"
},
{
"poolHashRate": 2.891924E+08,
"connectedMiners": 2,
"created": "2017-10-30T18:00:00"
}
]
}
It does show correct in the pools output:
"donationsPercent": 0.1,
"poolStats": {
"connectedMiners": 2,
"poolHashRate": 311678850
Also why are the miner specific stats ascending and the all the other output is descending times?
Miner stats:
"poolId": "etc1",
"miner": "0x24a0dc797d584f13b92ffcee41449b0f4e6427e6",
"hashrate": 311678850,
"workerHashrates": {
"ferrari": 256070373,
"lambo": 55608478
},
"created": "2017-10-30T18:20:00.0171145Z"
},
{
"poolId": "etc1",
"miner": "0x24a0dc797d584f13b92ffcee41449b0f4e6427e6",
"hashrate": 255308473,
"workerHashrates": {
"lambo": 43238294,
"ferrari": 212070179
},
"created": "2017-10-30T18:10:00.0135562Z"
Hourly stats:
"stats": [
{
"poolHashRate": 0.0,
"connectedMiners": 0,
"created": "2017-10-30T02:00:00"
},
{
"poolHashRate": 0.0,
"connectedMiners": 1,
"created": "2017-10-30T03:00:00"
Dears,
I have following errors during Linux compile, does it ok?
sha3/aes_helper.c:90:19: warning: ‘AES3_LE’ defined but not used [-Wunused-const-variable=]
#define AES3 AES3_LE
^
sha3/aes_helper.c:323:22: note: in expansion of macro ‘AES3’
static const sph_u32 AES3[256] = {
^~~~
sha3/aes_helper.c:89:19: warning: ‘AES2_LE’ defined but not used [-Wunused-const-variable=]
#define AES2 AES2_LE
^
sha3/aes_helper.c:256:22: note: in expansion of macro ‘AES2’
static const sph_u32 AES2[256] = {
^~~~
sha3/aes_helper.c:88:19: warning: ‘AES1_LE’ defined but not used [-Wunused-const-variable=]
#define AES1 AES1_LE
^
sha3/aes_helper.c:189:22: note: in expansion of macro ‘AES1’
static const sph_u32 AES1[256] = {
^~~~
sha3/aes_helper.c:87:19: warning: ‘AES0_LE’ defined but not used [-Wunused-const-variable=]
#define AES0 AES0_LE
^
sha3/aes_helper.c:122:22: note: in expansion of macro ‘AES0’
static const sph_u32 AES0[256] = {
^~~~
gcc -Wall -c -fPIC -O2 -g -Wno-pointer-sign -Wno-unused-function -Wno-strict-aliasing -Wno-discarded-qualifiers -c -o sha3/hamsi.o sha3/hamsi.c
gcc -Wall -c -fPIC -O2 -g -Wno-pointer-sign -Wno-unused-function -Wno-strict-aliasing -Wno-discarded-qualifiers -c -o sha3/hamsi_helper.o sha3/hamsi_helper.c
gcc -Wall -c -fPIC -O2 -g -Wno-pointer-sign -Wno-unused-function -Wno-strict-aliasing -Wno-discarded-qualifiers -c -o sha3/sph_blake.o sha3/sph_blake.c
gcc -Wall -c -fPIC -O2 -g -Wno-pointer-sign -Wno-unused-function -Wno-strict-aliasing -Wno-discarded-qualifiers -c -o sha3/sph_bmw.o sha3/sph_bmw.c
gcc -Wall -c -fPIC -O2 -g -Wno-pointer-sign -Wno-unused-function -Wno-strict-aliasing -Wno-discarded-qualifiers -c -o sha3/sph_cubehash.o sha3/sph_cubehash.c
gcc -Wall -c -fPIC -O2 -g -Wno-pointer-sign -Wno-unused-function -Wno-strict-aliasing -Wno-discarded-qualifiers -c -o sha3/sph_echo.o sha3/sph_echo.c
gcc -Wall -c -fPIC -O2 -g -Wno-pointer-sign -Wno-unused-function -Wno-strict-aliasing -Wno-discarded-qualifiers -c -o sha3/sph_fugue.o sha3/sph_fugue.c
gcc -Wall -c -fPIC -O2 -g -Wno-pointer-sign -Wno-unused-function -Wno-strict-aliasing -Wno-discarded-qualifiers -c -o sha3/sph_groestl.o sha3/sph_groestl.c
gcc -Wall -c -fPIC -O2 -g -Wno-pointer-sign -Wno-unused-function -Wno-strict-aliasing -Wno-discarded-qualifiers -c -o sha3/sph_hefty1.o sha3/sph_hefty1.c
gcc -Wall -c -fPIC -O2 -g -Wno-pointer-sign -Wno-unused-function -Wno-strict-aliasing -Wno-discarded-qualifiers -c -o sha3/sph_jh.o sha3/sph_jh.c
gcc -Wall -c -fPIC -O2 -g -Wno-pointer-sign -Wno-unused-function -Wno-strict-aliasing -Wno-discarded-qualifiers -c -o sha3/sph_keccak.o sha3/sph_keccak.c
gcc -Wall -c -fPIC -O2 -g -Wno-pointer-sign -Wno-unused-function -Wno-strict-aliasing -Wno-discarded-qualifiers -c -o sha3/sph_luffa.o sha3/sph_luffa.c
sha3/sph_luffa.c:147:22: warning: ‘RC34’ defined but not used [-Wunused-const-variable=]
static const sph_u32 RC34[8] = {
^~~~
sha3/sph_luffa.c:140:22: warning: ‘RC30’ defined but not used [-Wunused-const-variable=]
static const sph_u32 RC30[8] = {
^~~~
sha3/sph_luffa.c:101:22: warning: ‘RC14’ defined but not used [-Wunused-const-variable=]
static const sph_u32 RC14[8] = {
^~~~
sha3/sph_luffa.c:94:22: warning: ‘RC10’ defined but not used [-Wunused-const-variable=]
static const sph_u32 RC10[8] = {
^~~~
sha3/sph_luffa.c:87:22: warning: ‘RC04’ defined but not used [-Wunused-const-variable=]
static const sph_u32 RC04[8] = {
^~~~
sha3/sph_luffa.c:80:22: warning: ‘RC00’ defined but not used [-Wunused-const-variable=]
static const sph_u32 RC00[8] = {
^~~~
gcc -Wall -c -fPIC -O2 -g -Wno-pointer-sign -Wno-unused-function -Wno-strict-aliasing -Wno-discarded-qualifiers -c -o sha3/sph_shabal.o sha3/sph_shabal.c
The foundations for supporting ZCash are already implemented
More information can be found here: https://github.com/z-classic/node-stratum-pool/blob/master/lib/blockTemplate.js
Tell me in the array block there is a key networkDifficulty
is the complexity of the network or block?
I noticed that the first update statistics manner of duplicated keys 0
and 1
they contain identical data, should it?
"hashrate": [
{
"poolId": "exp1",
"miner": "0xafd0003a6b93a7129913f21b64c203b4854e8c16",
"hashrate": 80285464,
"workerHashrates": {
"rig1": 78853809,
"rig2": 1431656
},
"created": "2017-10-31T11:40:41.4329909Z"
},
{
"poolId": "exp1",
"miner": "0xafd0003a6b93a7129913f21b64c203b4854e8c16",
"hashrate": 80285464,
"workerHashrates": {
"rig1": 78853809,
"rig2": 1431656
},
"created": "2017-10-31T11:40:41.4329909Z"
}
Then there is all normally
"hashrate": [
{
"poolId": "exp1",
"miner": "0xafd0003a6b93a7129913f21b64c203b4854e8c16",
"hashrate": 84854938,
"workerHashrates": {
"rig1": 83423282,
"rig2": 1431656
},
"created": "2017-10-31T11:50:41.422237Z"
},
{
"poolId": "exp1",
"miner": "0xafd0003a6b93a7129913f21b64c203b4854e8c16",
"hashrate": 80285464,
"workerHashrates": {
"rig1": 78853809,
"rig2": 1431656
},
"created": "2017-10-31T11:40:41.4329909Z"
},
{
"poolId": "exp1",
"miner": "0xafd0003a6b93a7129913f21b64c203b4854e8c16",
"hashrate": 80285464,
"workerHashrates": {
"rig1": 78853809,
"rig2": 1431656
},
"created": "2017-10-31T11:40:41.4329909Z"
}
]
I have a question regarding how the backup daemons work.
From what I can see, blocks are being submitted to all registered daemons but payments are being processed using only the first one in the list.
Won't this be a problem at some point, since blocks could be submitted to other daemons but payments will be processed only from the first daemon/wallet?
I am trying to send out the Dash to my private wallet.
An error occur:
[2017-09-25 14:40:43.3613] [I] [dash] [Bitcoin Payout Handler] Paying out 0.44637 DASH to 1 addresses
[2017-09-25 14:40:43.3729] [E] [dash] [Bitcoin Payout Handler] Daemon command 'sendmany' returned error: Invalid Dash address: xrQsEqFfabd5mGy7W9vjBnvk6K19oc97gB code -5
But My valid address should be:
XrQsEqFfabd5mGy7W9vjBnvk6K19oc97gB
the first X is a capital letter.
I have checked my miner config and the miningcore miner stats. Both are correct.
First not sure why UTC is the default time instead of the systems time?
The logging to a file uses system time but the database uses UTC. As well as the API output. Can we get a standard? Preferably system time.
[2017-11-08 18:08:16.2273] [I] [etc1] [Ethereum Job Manager] Submitting block 4802079
[2017-11-08 18:08:16.2895] [I] [etc1] [Ethereum Job Manager] Daemon accepted block 4802079
2 | etc1 | 4802079 | 1.09895e+14 | confirmed | 1 | | 0xd5ce9a0f8def543b265753b7f325863f6845ddc3fd7230ca01c71a58db1bb3bf:0x001c9249461b82f7 | 5.000420000000 | 2017-11-09 02:08:16.289697
Dears,
I have this error during pool operation with bitcoin.
When this erros occurred then pool stop response and work.
[2017-11-09 14:03:13.0256] [E] [BTC] [Bitcoin Job Manager] Error during UpdateJob System.AggregateException: One or more errors occurred. (A task was canceled.) ---> System.Threading.Tasks.TaskCanceledException: A task was canceled.
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task1.GetResultCore(Boolean waitCompletionNotification) at MiningCore.DaemonInterface.DaemonClient.MapDaemonResponse[TResponse](Int32 i, Task
1 x) in /home/linuxadm/miningcore/src/MiningCore/DaemonInterface/DaemonClient.cs:line 318
at MiningCore.DaemonInterface.DaemonClient.d__111.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at MiningCore.Blockchain.Bitcoin.BitcoinJobManager
2.d__20.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at MiningCore.Blockchain.Bitcoin.BitcoinJobManager2.<UpdateJob>d__49.MoveNext() ---> (Inner Exception #0) System.Threading.Tasks.TaskCanceledException: A task was canceled.<--- at System.Threading.Tasks.Task
1.GetResultCore(Boolean waitCompletionNotification)
at MiningCore.DaemonInterface.DaemonClient.MapDaemonResponse[TResponse](Int32 i, Task1 x) in /home/linuxadm/miningcore/src/MiningCore/DaemonInterface/DaemonClient.cs:line 318 at MiningCore.DaemonInterface.DaemonClient.<ExecuteCmdAnyAsync>d__11
1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at MiningCore.Blockchain.Bitcoin.BitcoinJobManager2.<GetBlockTemplateAsync>d__20.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at MiningCore.Blockchain.Bitcoin.BitcoinJobManager
2.d__49.MoveNext()
[2017-11-09 14:03:18.0391] [E] [BTC] [Bitcoin Job Manager] Error during UpdateJob System.AggregateException: One or more errors occurred. (A task was canceled.) ---> System.Threading.Tasks.TaskCanceledException: A task was canceled.
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task1.GetResultCore(Boolean waitCompletionNotification) at MiningCore.DaemonInterface.DaemonClient.MapDaemonResponse[TResponse](Int32 i, Task
1 x) in /home/linuxadm/miningcore/src/MiningCore/DaemonInterface/DaemonClient.cs:line 318
at MiningCore.DaemonInterface.DaemonClient.d__111.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at MiningCore.Blockchain.Bitcoin.BitcoinJobManager
2.d__20.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at MiningCore.Blockchain.Bitcoin.BitcoinJobManager2.<UpdateJob>d__49.MoveNext() ---> (Inner Exception #0) System.Threading.Tasks.TaskCanceledException: A task was canceled.<--- at System.Threading.Tasks.Task
1.GetResultCore(Boolean waitCompletionNotification)
at MiningCore.DaemonInterface.DaemonClient.MapDaemonResponse[TResponse](Int32 i, Task1 x) in /home/linuxadm/miningcore/src/MiningCore/DaemonInterface/DaemonClient.cs:line 318 at MiningCore.DaemonInterface.DaemonClient.<ExecuteCmdAnyAsync>d__11
1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at MiningCore.Blockchain.Bitcoin.BitcoinJobManager2.<GetBlockTemplateAsync>d__20.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at MiningCore.Blockchain.Bitcoin.BitcoinJobManager
2.d__49.MoveNext()
Regards,
John Ahn
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.