8000 Addition of Bitconnect Coin · Issue #77 · oliverw/miningcore · GitHub
[go: up one dir, main page]

Skip to content
This repository was archived by the owner on Oct 20, 2023. It is now read-only.
This repository was archived by the owner on Oct 20, 2023. It is now read-only.

Addition of Bitconnect Coin #77

Closed
Closed

Description

@Mer-idium

Can we add this to the coin list please :)

Activity

  1. oliverw commented on Nov 17, 2017

    @oliverw
    Owner

    It appears to be a scrypt coin so adding it should be easy. What about a PR? 😄

  2. Mer-idium commented on Nov 17, 2017

    @Mer-idium
    Author

    @oliverw Just trying now.

            // SHA256
            { CoinType.BTC, sha256Coin },
            { CoinType.BCC, sha256Coin },
            { CoinType.NMC, sha256Coin },
            { CoinType.PPC, sha256Coin },
        { CoinType.GLT, sha256Coin },
    

    What is the BCC sha256Coin? Bitconnect has the abbreviation of BCC and is scrypt.

    I changed it to BCH as i think you mean Bitcoin Cash which is actually BCH

  3. oliverw commented on Nov 17, 2017

    @oliverw
    Owner

    Ok, let me just do it in a branch. I'll tell you when it's ready later today.

  4. Mer-idium commented on Nov 17, 2017

    @Mer-idium
    Author

    @oliverw I have fixed the BCH issues and added BCC and also tried to implement peercoin. No errors appear but both of them just continually say "Waiting for daemons to come online...".

    I have used the same configuration file for the previous coins which has been working well. I have even copied the default configuration file from both BCC and PPC sources but still no success.

    I can also use telnet IP:PORT and it comes out as connected but the server refuses to connect. Any ideas?

  5. oliverw commented on Nov 17, 2017

    @oliverw
    Owner

    Are you sure that the daemon runs at the correct port matching the pool config?

  6. oliverw commented on Nov 17, 2017

    @oliverw
    Owner

    And you are right Bitcoin Cash is using the wrong symbol BCC. That needs to be changed.

  7. Mer-idium commented on Nov 17, 2017

    @Mer-idium
    Author

    Yep the config port matches the port in the conf file for each coin. I have been using:

    rpcuser=user
    rpcpassword=password
    rpcallowip=internal address of the server
    rpcport=high port nu 8000 mber
    listen=1
    server=1
    daemon=1

  8. oliverw commented on Nov 17, 2017

    @oliverw
    Owner

    What happens if you run this (make sure to replace 1234 with the actual daemon port):

    curl -u user:pass --data-binary '{"jsonrpc": "2.0", "id":"1", "method": "getnetworkinfo", "params": [] }' -H 'content-type: application/json' -X POST http://127.0.0.1:1234
    

    If you need curl for windows look here: https://curl.haxx.se/download.html and use this command line:

    curl -u user:pass --data-binary "{'jsonrpc': '2.0', 'id':'1', 'method': 'getnetworkinfo', 'params': [] }" -H "content-type: application/json" -X POST http://127.0.0.1:1234
    
  9. Mer-idium commented on Nov 17, 2017

    @Mer-idium
    Author

    Both result in the same.

    {"result":null,"error":{"code":-32601,"message":"Method not found"},"id":"1"}

    Does this mean that the server is trying to call "getworkinfo" but these coins dont have the corresponding rpc command?

  10. oliverw commented on Nov 17, 2017

    @oliverw
    Owner

    Looks like. Try "getinfo", "getmininginfo" and "getpeerinfo".

  11. Mer-idium commented on Nov 17, 2017

    @Mer-idium
    Author

    All of those work for the two coins :)

  12. oliverw commented on Nov 17, 2017

    @oliverw
    Owner

    Supporting them would be a bit more involved since I just phased out support for getinfo a couple days ago since all major coins will stop supporting it soon.

  13. Mer-idium commented on Nov 17, 2017

    @Mer-idium
    Author

    Ah dam, any idea when this will be done?

  14. oliverw commented on Nov 17, 2017

    @oliverw
    Owner

    I'll see what I can do. No promises though.

  15. Mer-idium commented on Nov 17, 2017

    @Mer-idium
    Author

    Awesome thanks

  16. added a commit that references this issue on Feb 21, 2018
    3988706
  17. added this to the 0.17 milestone on Feb 21, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      0