Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    rnkhouse
    @rnkhouse
    @suprnrdy What do you mean by that? Can you please tell me what needs to be changed?
    you need to search how to set up your server to allow for CORS
    Or you need to make the pool API accessible through your URL
    then you change the api url to use that
    @aion-Ross I used this command to check peer connection: curl -H "Content-Type: application/json" -X POST --data '{"jsonrpc":"2.0","method":"net_peerCount","params":[],"id":74}' http://127.0.0.1:8545
    aion-Ross
    @aion-Ross
    Did you return the correct number of peers?
    Did it*
    BBUI
    @suprnrdy
    Yes, when running curl I got 16 peers connected
    When checking ui pool api I get 0
    aion-Ross
    @aion-Ross
    Okay sounds like there might be an issue with the api, could you open an issue? I'll try to take a look asap
    BBUI
    @suprnrdy
    Yea sure.
    BBUI
    @suprnrdy
    @aion-Ross submitted, let me know if you need more details
    sukich
    @sukich
    Hello!
    @aion-Ross Do you know which file allows me to configure how often the UI calls the kernel API for updating hashrates
    aion-Ross
    @aion-Ross
    Hi @sukich , is it the miner hashrates or pool percentage hashrate you're looking for?
    sukich
    @sukich
    The Pool Hashrate and Miner Hashrates
    Im guessing that the UI calls the kernel for hashrate updates, and sometimes it calls during a new share which results in showing 0 hashrate
    so I would like to increase the UI call interval
    aion-Ross
    @aion-Ross
    I don't believe those are configurable at the moment. The UI should only be calling the pools API; the pool is calculating miner hashrates itself while total pool hashrate can be retrieved from the kernel
    sukich
    @sukich
    or maybe even just have the UI grab a non-zero int, else use last hashrate
    hmm
    so we are stuck with the UI showing 0 periodically throughout the day?
    aion-Ross
    @aion-Ross
    For the moment still investigating whats going on. Hopefully have it sorted out soon
    sukich
    @sukich
    Alright sounds good
    sukich
    @sukich
    Let me know when you guys have sorted the kernel out =)
    aion-Ross
    @aion-Ross
    @sukich Would you mind describing the hardware your running the pool & kernel on? Trying to get an idea of if theres a hardware element effecting performance.
    sukich
    @sukich
    running the kernel on digitalocean
    6 vCPUs
    16GB / 320GB Disk
    ssd
    aion-Ross
    @aion-Ross
    Thanks
    BBUI
    @suprnrdy
    @aion-Ross mine is about the same
    My memory, disk usage, and cpu usage are all well below the top though
    BBUI
    @suprnrdy
    @aion-Ross any luck looking at the API? still can't trace down why the pool isn't able to unlock coinbase and make payments
    sukich
    @sukich
    @aion-Ross I figured this issue out. Make sure you have a valid key wallet in your kernel's keystore folder
    BBUI
    @suprnrdy
    @sukich what issue is that for?
    BBUI
    @suprnrdy
    @aion-Ross I closed the issue with pool. Reinstalled the kernel and started working after 2nd time. Not sure why i was able ots end RPC commands through curl, but the pool wasn't successful.
    aion-Ross
    @aion-Ross
    @suprnrdy Glad to hear it worked, weird that you had to reinstall the kernel though. Maybe some weird setting that got reset when reinstalled.
    @sukich So having a valid keystore solved the issue you were seeing showing zero hashrates for the pool and miners?
    Acrylixa
    @Flazky
    @aion-Ross sent you a dm in regrds to the pool code
    Hans Fraiponts
    @HansF
    Hey, has anyone set up the pool software with the kernel running on another machine ? What are the needed specs ?
    aion-Ross
    @aion-Ross
    Hey @HansF, you can definitely set up the kernel to run on another machine. The kernel is the more resource hungry piece, you could probably get away with 16 GB memory and 4 vCPU (assuming a cloud setup) to run the kernel. The pool software is much lighter that the kernel, you should be able to use a smaller machine with 8 GB memory and 4 vCPU; your mileage may vary based on the number of miners you have connected.
    To connect the pool to the kernel you'll need the kernels rpc port to be open to the pool; you'll need to secure that connection to ensure it isn't open to the public
    Hans Fraiponts
    @HansF
    Thanks @aion-Ross , another question I had, would I be able to create edge servers in different locations and use just one kernel server? will this have an impact on the miners, or would you suggest having a running kernel on each location I intend to deploy to.
    edge servers : aion pool servers
    aion-Ross
    @aion-Ross
    You could use a single kernel but I would recommend running a kernel at each site, you'd want to reduce latency between the pool and kernel as much as possible.
    Hans Fraiponts
    @HansF
    Awesome, thanks for the info.
    aion-Ross
    @aion-Ross
    No problem, feel free to message me if have any issues getting it running.
    Hans Fraiponts
    @HansF
    thanks, just playing with the software now, trying to find a good setup for zero-downtime, and good monitoring for the server and the connected clients.