Skip to content

aion_pool2 connection issue #3

@equ1miner

Description

@equ1miner

os & version: ubuntu 18
branch: aionr-0.1.1-20190123


Nice implementation is way lighter weight than the java! Can you advise it does say the aion_pool2 supports aionr. Thanks

aion_pool2 payout failure and current block height and network data not retreived on startup

!!!!!!BLOCK SUBMIT I HAVE VERIFIED DOES WORK 100% OK!!!!!!

__________________httpRPC in config.toml
[http]
disable = false
port = MYINFOHERE
interface = "local"
apis = ["all", "-pubsub"]
hosts = ["none"]
cors = ["none"]
#server_threads = None

________________from pool debug logs
Mining Pool: aion
Coin Type: AION
Network Connected:
Detected Reward Type:
Current Block Height: 0
Current Connect Peers: 0
Network Difficulty: 0
Network Hash Rate: 0 KH/s
Stratum Port(s): 3333
Pool Fee: 0.8%

[2019-02-08 06:38:36.1351] [E] [PayoutManager] [aion] Payment processing failed Newtonsoft.Json.JsonSerializationException: Error converting value "0x245767" to type 'System.Nullable1[System.UInt64]'. Path 'transactions[0].blockNumber'. ---> System.FormatException: Input string was not in a correct format. at System.Number.StringToNumber(ReadOnlySpan1 str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
at System.Number.ParseUInt64(ReadOnlySpan1 value, NumberStyles options, NumberFormatInfo numfmt) at System.String.System.IConvertible.ToUInt64(IFormatProvider provider) at System.Convert.ChangeType(Object value, Type conversionType, IFormatProvider provider) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReader reader, Object value, CultureInfo culture, JsonContract contract, Type targetType) --- End of inner exception stack trace --- at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReader reader, Object value, CultureInfo culture, JsonContract contract, Type targetType) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonProperty property, JsonConverter propertyConverter, JsonContainerContract containerContract, JsonProperty containerProperty, JsonReader reader, Object target) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(Object newObject, JsonReader reader, JsonObjectContract contract, JsonProperty member, String id) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateList(IList list, JsonReader reader, JsonArrayContract contract, JsonProperty containerProperty, String id) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateList(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, Object existingValue, String id) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonProperty property, JsonConverter propertyConverter, JsonContainerContract containerContract, JsonProperty containerProperty, JsonReader reader, Object target) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(Object newObject, JsonReader reader, JsonObjectContract contract, JsonProperty member, String id) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent) at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType) at Newtonsoft.Json.Linq.JToken.ToObject(Type objectType, JsonSerializer jsonSerializer) at Newtonsoft.Json.Linq.JToken.ToObject(Type objectType) at Newtonsoft.Json.Linq.JToken.ToObject[T]() at System.Linq.Enumerable.WhereSelectArrayIterator2.MoveNext()
at System.Linq.Enumerable.WhereEnumerableIterator1.ToArray() at System.Linq.Enumerable.ToArray[TSource](IEnumerable1 source)
at MiningCore.Blockchain.Aion.AionPayoutHandler.FetchBlocks(Dictionary2 blockCache, Int64[] blockHeights) in /home/aionm/aion_pool2/aion_pool/src/MiningCore/Blockchain/Aion/AionPayoutHandler.cs:line 259 at MiningCore.Blockchain.Aion.AionPayoutHandler.ClassifyBlocksAsync(Block[] blocks) in /home/aionm/aion_pool2/aion_pool/src/MiningCore/Blockchain/Aion/AionPayoutHandler.cs:line 125 at MiningCore.Payments.PayoutManager.UpdatePoolBalancesAsync(PoolConfig pool, IPayoutHandler handler, IPayoutScheme scheme) in /home/aionm/aion_pool2/aion_pool/src/MiningCore/Payments/PayoutManager.cs:line 117 at MiningCore.Payments.PayoutManager.ProcessPoolsAsync() in /home/aionm/aion_pool2/aion_pool/src/MiningCore/Payments/PayoutManager.cs:line 95 at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReader reader, Object value, CultureInfo culture, JsonContract contract, Type targetType) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonProperty property, JsonConverter propertyConverter, JsonContainerContract containerContract, JsonProperty containerProperty, JsonReader reader, Object target) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(Object newObject, JsonReader reader, JsonObjectContract contract, JsonProperty member, String id) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateList(IList list, JsonReader reader, JsonArrayContract contract, JsonProperty containerProperty, String id) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateList(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, Object existingValue, String id) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonProperty property, JsonConverter propertyConverter, JsonContainerContract containerContract, JsonProperty containerProperty, JsonReader reader, Object target) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(Object newObject, JsonReader reader, JsonObjectContract contract, JsonProperty member, String id) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent) at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType) at Newtonsoft.Json.Linq.JToken.ToObject(Type objectType, JsonSerializer jsonSerializer) at Newtonsoft.Json.Linq.JToken.ToObject(Type objectType) at Newtonsoft.Json.Linq.JToken.ToObject[T]() at System.Linq.Enumerable.WhereSelectArrayIterator2.MoveNext()
at System.Linq.Enumerable.WhereEnumerableIterator1.ToArray() at System.Linq.Enumerable.ToArray[TSource](IEnumerable1 source)
at MiningCore.Blockchain.Aion.AionPayoutHandler.FetchBlocks(Dictionary`2 blockCache, Int64[] blockHeights) in /home/aionm/aion_pool2/aion_pool/src/MiningCore/Blockchain/Aion/AionPayoutHandler.cs:line 259
at MiningCore.Blockchain.Aion.AionPayoutHandler.ClassifyBlocksAsync(Block[] blocks) in /home/aionm/aion_pool2/aion_pool/src/MiningCore/Blockchain/Aion/AionPayoutHandler.cs:line 125
at MiningCore.Payments.PayoutManager.UpdatePoolBalancesAsync(PoolConfig pool, IPayoutHandler handler, IPayoutScheme scheme) in /home/aionm/aion_pool2/aion_pool/src/MiningCore/Payments/PayoutManager.cs:line 117
at MiningCore.Payments.PayoutManager.ProcessPoolsAsync() in /home/aionm/aion_pool2/aion_pool/src/MiningCore/Payments/PayoutManager.cs:line 95

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions