Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    yaronvel
    @yaronvel
    which is different
    Here, the submission is not real time.
    So only after metropolis we could consider comparing prev block hash
    Dexaran
    @Dexaran
    Yeah. It seems to be relevant.
    yaronvel
    @yaronvel
    (and metropolis won't be relevant for ETC and UBQ anyway)
    technically, a change to the contract could prevent it. We could query block diff as you suggested. But for now it is not implemented.
    Dexaran
    @Dexaran
    Do you have any tool to upload DAG changes to the pool contract? I don't really enjoy computing these inputs with my own hands :worried: ...
    yaronvel
    @yaronvel
    we do. @tranvictor ?
    Victor Tran
    @tranvictor
    @Dexaran we do have
    it’s not documented but it’s pretty easy to use, you just need to run that tool
    you can compile it with /cmd/epoch entry point
    use this script to compile it
    Dexaran
    @Dexaran

    @tranvictor I've compiled the epoch updater.
    What exactly RPC functions do it need? I'm trying to get 0 to 10 epoch data using mew api :

    ./epoch --from 0 --to 10 --gateway 0x488c9e2df11ac9d19eb07df362cb174ffd4724d8 --keystore '/home/0x100/' --rpc http://mewapi.epool.io

    but it throws "Node RPC server is unavailable" error

    Victor Tran
    @tranvictor
    we never tested it with mew public node
    it is better if you can try with a local node
    or infura
    Dexaran
    @Dexaran
    infura doesn't have ETC node
    Victor Tran
    @tranvictor
    is there any chance that you have a local node for ETC?
    Dexaran
    @Dexaran

    I can install it but syncing with ETC blockchain is a real headache. I did it earlier but I don't have it synced now.

    To be honest I don't need a script to update epoch. I can use any web UI to send a transaction call to the contract with data attached. The problem is I don't know what data do I need to attach now...

    Victor Tran
    @tranvictor
    yeah sorry about that, we didn’t plan to be adopt by someone else this soon so that tool is very internal
    Dexaran
    @Dexaran
    I think it will be better to generate epoch-update data with a script and output it somewhere. Then I will pick it and send a transaction with any node I can connect to.
    Victor Tran
    @tranvictor
    wait a bit, let me see where do you print the data
    Dexaran
    @Dexaran
    Victor Tran
    @tranvictor
    yes, but if you want to dump the signed data you need to dig deeper
    this is the closest function to signed transaction
    however this is generated by geth’s gobinding tool
    Dexaran
    @Dexaran
    btw, the thing that you're calling "gateway" is Ethash contract in fact, right?
    Victor Tran
    @tranvictor
    no, gateway is a place so the client can constantly lookup for client version, ethash and contract address in order to warn miners to restart whenever we want to deploy a new version
    it is not needed except you have some critical fixes that you need miners to switch to it immediately
    ethash contract is where we keep all of the epoch data
    we separate it so different smartpool contract can reuse the data
    feeding epoch data is costly
    Dexaran
    @Dexaran
    Is here "gateway" contract source code published?
    I've seen the SmartPoolVersion.sol contract but it doesn't contain the address of Ethash contract but only pool versions.
    https://github.com/Dexaran/contracts/blob/develop/contracts/SmartpoolVersion.sol
    Victor Tran
    @tranvictor
    ah yeah, that’s it
    Cody Burns
    @realcodywburns
    Good morning
    Victor Tran
    @tranvictor
    Hi Cody
    Scott G
    @zeroping
    "Got error submitting claim to contract" Anyone want to help investigate?
    I don't want to accidentally cause debugResetSubmissions to get called...
    yaronvel
    @yaronvel
    @zeroping from the contract side, it expected you to provide a proof for the batch of shares. But instead you submitted another claim. Did you changed some parameters before submission maybe? maybe @tranvictor could also take a quick look.
    Frank Yang
    @puilp0502
    Hi, I'm trying to mine on a smartpool. I finished setting up smartpool client and miners. But how can I withdraw my share?
    Antonios Hadjigeorgalis
    @AntoniosHadji
    Is smartpool running in production yet? or only on testnet
    ?
    Dexaran
    @Dexaran
    It is currently deployed
    Antonios Hadjigeorgalis
    @AntoniosHadji
    @Dexaran Thank you. Do I just need to install the software to start mining?
    Le Ba Nang
    @LeBaNang_twitter
    When the token sale begin?
    390g
    @tag390g_twitter
    is there a token sale
    Ronis Gracie
    @RonisGracie_twitter
    hey