archit120 / Monero-Pool

An open source monero Pool written in C# and C++ for maximum speed and efficiency. Uses Redis as database
20 stars 12 forks source link

Problem after start moneropool.exe on Ubuntu 14.04 #1

Open sflyer opened 7 years ago

sflyer commented 7 years ago

Hello! After start pool i'm have error. Pool not starting

[10.07.2017 12:47:50] [Thread Count : 12]Current pool hashrate : not number Hashes/Second
[10.07.2017 12:47:50] [Thread Count : 12]System.OverflowException: Number overflow.
  at System.Int64.System.IConvertible.ToInt32 (IFormatProvider provider) [0x00000] in <filename unknown>:0
  at System.Convert.ToInt32 (System.Object value, IFormatProvider provider) [0x00000] in <filename unknown>:0
  at Newtonsoft.Json.Linq.JToken.op_Explicit (Newtonsoft.Json.Linq.JToken value) [0x00000] in <filename unknown>:0
  at MoneroPool.BackgroundStaticUpdater+<Start>c__async0.MoveNext () [0x00000] in <filename unknown>:0

Any idea how fix this?

archit120 commented 7 years ago

Hello,

The pool software is incomplete, I'll recommend you to use one of the other freely available monero opensource pool.

On Mon, Jul 10, 2017 at 1:21 PM, sflyer notifications@github.com wrote:

Hello! After start pool i'm have error. Pool not starting

[10.07.2017 12:47:50] [Thread Count : 12]Current pool hashrate : not number Hashes/Second [10.07.2017 12:47:50] [Thread Count : 12]System.OverflowException: Number overflow. at System.Int64.System.IConvertible.ToInt32 (IFormatProvider provider) [0x00000] in :0 at System.Convert.ToInt32 (System.Object value, IFormatProvider provider) [0x00000] in :0 at Newtonsoft.Json.Linq.JToken.op_Explicit (Newtonsoft.Json.Linq.JToken value) [0x00000] in :0 at MoneroPool.BackgroundStaticUpdater+c__async0.MoveNext () [0x00000] in :0

Any idea how fix this?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/archit120/Monero-Pool/issues/1, or mute the thread https://github.com/notifications/unsubscribe-auth/ADrY8snrnuB8a_LoKg-9LmTrBKdrTaseks5sMdgSgaJpZM4OSelj .

JamieShelley commented 6 years ago

Same issue here on windows (int64 to int32 overflow), any chance of a fix? It's been over 4 months :L

archit120 commented 6 years ago

I've really not touched the codebase for years now. It worked back then so it should still work. You're probably missing some piece or a configuration error. I don't remember how far the progress was made on the pool but it is not complete and I strongly suggest looking to the node.js alternative,

JamieShelley commented 6 years ago

Thanks for the reply. I don't see how a conversion issue can be causes by settings, however I am aware older build tools would succeed in this conversion via overflow. nodejs really isn't an option for us I'm afraid. But thanks for the suggestion.

archit120 commented 6 years ago

I'm a senior at highschool so really busy these days. If it's not of immediate priority and you're willing to assist, we could work together and complete this code as soon as I get done with high school, which will take a couple of months I'm afraid.

archit120 commented 6 years ago

It's also possible that something was changed with monerod which is why the pool is not working. In that case, the code is broken and would need major revamps.