Bitcoin Forum
May 28, 2024, 09:32:58 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN][CRC]🚀CrowdCoin POW| MASTERNODES | ZERO TX FEE | NO ASIC | VC on: February 09, 2018, 01:07:51 AM
Setup new Masternode and it has been running for more than a day.

No rewards yet..

any idea guys?

- masternode successfully running
- sentinel installed n tests ok
2  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN][CRC]🚀CrowdCoin POW| MASTERNODES | ZERO TX FEE | NO ASIC | VC on: February 07, 2018, 07:12:26 PM
add the rpcport parameter in your crowdcoin.conf file

rpcport=9998

hope this helps.. worked for me..
===============================


Hi,

I need some help to install mn by COLD_WALLET_ON_WINDOWS_WITH_LINUX_VPS.pdf.
I typed "./venv/bin/py.test ./test" but it returned an error.
I have no idea to solve it...

root@xxxx:~/.crowdcoincore/sentinelLinux$ ./venv/bin/py.test ./test
======================================= test session starts ========================================
platform linux2 -- Python 2.7.12, pytest-3.0.1, py-1.4.31, pluggy-0.3.1
rootdir: /root/.crowdcoincore/sentinelLinux, inifile:
collected 23 items

test/integration/test_jsonrpc.py F
test/unit/test_crowdcoin_config.py .
test/unit/test_crowdcoind_data_shims.py ..
test/unit/test_crowdcoiny_things.py ......
test/unit/test_misc.py .
test/unit/test_models.py ..
test/unit/test_submit_command.py .
test/unit/models/test_proposals.py ....
test/unit/models/test_superblocks.py .....

============================================= FAILURES =============================================
_________________________________________ test_crowdcoind __________________________________________

    def test_crowdcoind():
        config_text = CrowdcoinConfig.slurp_config_file(config.crowdcoin_conf)
        network = 'mainnet'
        is_testnet = False
        genesis_hash = u'000007db550074c6535ce41c2a6043d0afbc86f17f1762b06e2cd65d100f7b5f'
        for line in config_text.split("\n"):
            if line.startswith('testnet=1'):
                network = 'testnet'
                is_testnet = True
                genesis_hash = u'00000a8d0db898c786060f839e63529700bd00e4708b028206a8a60f391566d8'

        creds = CrowdcoinConfig.get_rpc_creds(config_text, network)
        crowdcoind = CrowdcoinDaemon(**creds)
        assert crowdcoind.rpc_command is not None

        assert hasattr(crowdcoind, 'rpc_connection')

        # Crowdcoin testnet block 0 hash == 00000bafbc94add76cb75e2ec92894837288a481e5c005f6563d91623bf8bc2c
        # test commands without arguments
>       info = crowdcoind.rpc_command('getinfo')

test/integration/test_jsonrpc.py:34:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
lib/crowdcoind.py:42: in rpc_command
    return self.rpc_connection.__getattr__(params[0])(*params[1:])
venv/local/lib/python2.7/site-packages/bitcoinrpc/authproxy.py:136: in __call__
    'Content-type': 'application/json'})
/usr/lib/python2.7/httplib.py:1057: in request
    self._send_request(method, url, body, headers)
/usr/lib/python2.7/httplib.py:1097: in _send_request
    self.endheaders(body)
/usr/lib/python2.7/httplib.py:1053: in endheaders
    self._send_output(message_body)
/usr/lib/python2.7/httplib.py:897: in _send_output
    self.send(msg)
/usr/lib/python2.7/httplib.py:859: in send
    self.connect()
/usr/lib/python2.7/httplib.py:836: in connect
    self.timeout, self.source_address)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

address = ('127.0.0.1', 9998), timeout = 30, source_address = None

    def create_connection(address, timeout=_GLOBAL_DEFAULT_TIMEOUT,
                          source_address=None):
        """Connect to *address* and return the socket object.

        Convenience function.  Connect to *address* (a 2-tuple ``(host,
        port)``) and return the socket object.  Passing the optional
        *timeout* parameter will set the timeout on the socket instance
        before attempting to connect.  If no *timeout* is supplied, the
        global default timeout setting returned by :func:`getdefaulttimeout`
        is used.  If *source_address* is set it must be a tuple of (host, port)
        for the socket to bind as a source address before making the connection.
        A host of '' or port 0 tells the OS to use the default.
        """

        host, port = address
        err = None
        for res in getaddrinfo(host, port, 0, SOCK_STREAM):
            af, socktype, proto, canonname, sa = res
            sock = None
            try:
                sock = socket(af, socktype, proto)
                if timeout is not _GLOBAL_DEFAULT_TIMEOUT:
                    sock.settimeout(timeout)
                if source_address:
                    sock.bind(source_address)
                sock.connect(sa)
                return sock

            except error as _:
                err = _
                if sock is not None:
                    sock.close()

        if err is not None:
>           raise err
E           error: [Errno 111] Connection refused

/usr/lib/python2.7/socket.py:575: error
=============================== 1 failed, 22 passed in 1.48 seconds ================================
3  Alternate cryptocurrencies / Service Discussion (Altcoins) / Re: Crowdcoin masternode setup issue - SENTINEL test fails on: February 07, 2018, 06:05:57 PM
hey jki123, thanks a lot for taking time to help me out. i figure out the issue...
it was a port mismatch.. my rpc was defaulting to 11998 and sentinel was looking for it at 9998
i added the 'rpcport' parameter to crowdcoin.conf and volla!! sentinel tests passed !!

waiting on the wallet reindex and hopefully will get out of the watchdog_expired status finally!
4  Alternate cryptocurrencies / Service Discussion (Altcoins) / Re: Crowdcoin masternode setup issue - SENTINEL test fails on: February 07, 2018, 05:22:39 PM
yes. i do. the basic firewall..

i have the following ports allowed - 12875, 9998, 11998

Here's the ports listening -

xxxx:~/.crowdcoincore/sentinelLinux# lsof -i -P -n | grep LISTEN
sshd        810 root    3u  IPv4  17480      0t0  TCP *:22 (LISTEN)
sshd        810 root    4u  IPv6  17482      0t0  TCP *:22 (LISTEN)
crowdcoin 23416 root    9u  IPv6  50085      0t0  TCP [::1]:11998 (LISTEN)
crowdcoin 23416 root   10u  IPv4  50087      0t0  TCP 127.0.0.1:11998 (LISTEN)
crowdcoin 23416 root   12u  IPv6  50088      0t0  TCP *:12875 (LISTEN)
crowdcoin 23416 root   13u  IPv4  50089      0t0  TCP *:12875 (LISTEN)
5  Alternate cryptocurrencies / Service Discussion (Altcoins) / Re: Crowdcoin masternode setup issue - SENTINEL test fails on: February 07, 2018, 08:35:48 AM
yes. I have the crowdcoin.conf updated with the parameters and sentinel.conf is pointing to the crowdcoin.conf.. 
when i tried to check the ports being used here's what i found..

.... :~/.crowdcoincore/sentinelLinux# lsof -i -P -n | grep LISTEN
sshd      1079 root    3u  IPv4  14355      0t0  TCP *:22 (LISTEN)
sshd      1079 root    4u  IPv6  14364      0t0  TCP *:22 (LISTEN)
crowdcoin 1599 root    9u  IPv6  16319      0t0  TCP *:11998 (LISTEN)
crowdcoin 1599 root   11u  IPv6  16322      0t0  TCP *:12875 (LISTEN)
crowdcoin 1599 root   12u  IPv4  16323      0t0  TCP *:12875 (LISTEN)

it seems like sentinel is trying to get the listener at 9998 but the server is listening at 11998. Not sure if my understanding is correct.. does that make sense ?
6  Alternate cryptocurrencies / Service Discussion (Altcoins) / Re: Crowdcoin masternode setup issue - SENTINEL test fails on: February 07, 2018, 05:10:00 AM
Here's what i get from crowdcoin-cli getinfo

...# ./crowdcoin-cli getinfo
{
  "version": 120106,
  "protocolversion": 70206,
  "walletversion": 61000,
  "balance": 0.00000000,
  "privatesend_balance": 0.00000000,
  "blocks": 47837,
  "timeoffset": 0,
  "connections": 14,
  "proxy": "",
  "difficulty": 305.9925585467279,
  "testnet": false,
  "keypoololdest": 1517892591,
  "keypoolsize": 1001,
  "paytxfee": 0.00000000,
  "relayfee": 0.00010000,
  "errors": ""
}

Thanks for looking into it.
7  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN][CRC]🚀CrowdCoin POW| MASTERNODES | ZERO TX FEE | NO ASIC | VC on: February 06, 2018, 06:32:20 AM
Facing issues setting up Sentinel.. anyone has any idea how to fix this or get around it.. also how do i know MN is up and running fine ?

================================================ test session starts ================================================
platform linux2 -- Python 2.7.12, pytest-3.0.1, py-1.4.31, pluggy-0.3.1
rootdir: /root/.crowdcoincore/sentinelLinux, inifile:
collected 23 items

test/integration/test_jsonrpc.py F
test/unit/test_crowdcoin_config.py .
test/unit/test_crowdcoind_data_shims.py ..
test/unit/test_crowdcoiny_things.py ......
test/unit/test_misc.py .
test/unit/test_models.py ..
test/unit/test_submit_command.py .
test/unit/models/test_proposals.py ....
test/unit/models/test_superblocks.py .....

===================================================== FAILURES ======================================================
__________________________________________________ test_crowdcoind __________________________________________________

    def test_crowdcoind():
        config_text = CrowdcoinConfig.slurp_config_file(config.crowdcoin_conf)
        network = 'mainnet'
        is_testnet = False
        genesis_hash = u'000007db550074c6535ce41c2a6043d0afbc86f17f1762b06e2cd65d100f7b5f'
        for line in config_text.split("\n"):
            if line.startswith('testnet=1'):
                network = 'testnet'
                is_testnet = True
                genesis_hash = u'00000a8d0db898c786060f839e63529700bd00e4708b028206a8a60f391566d8'

        creds = CrowdcoinConfig.get_rpc_creds(config_text, network)
        crowdcoind = CrowdcoinDaemon(**creds)
        assert crowdcoind.rpc_command is not None

        assert hasattr(crowdcoind, 'rpc_connection')

        # Crowdcoin testnet block 0 hash == 00000bafbc94add76cb75e2ec92894837288a481e5c005f6563d91623bf8bc2c
        # test commands without arguments
>       info = crowdcoind.rpc_command('getinfo')

test/integration/test_jsonrpc.py:34:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
lib/crowdcoind.py:42: in rpc_command
    return self.rpc_connection.__getattr__(params[0])(*params[1:])
venv/local/lib/python2.7/site-packages/bitcoinrpc/authproxy.py:136: in __call__
    'Content-type': 'application/json'})
/usr/lib/python2.7/httplib.py:1057: in request
    self._send_request(method, url, body, headers)
/usr/lib/python2.7/httplib.py:1097: in _send_request
    self.endheaders(body)
/usr/lib/python2.7/httplib.py:1053: in endheaders
    self._send_output(message_body)
/usr/lib/python2.7/httplib.py:897: in _send_output
    self.send(msg)
/usr/lib/python2.7/httplib.py:859: in send
    self.connect()
/usr/lib/python2.7/httplib.py:836: in connect
    self.timeout, self.source_address)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

address = ('127.0.0.1', 9998), timeout = 30, source_address = None

    def create_connection(address, timeout=_GLOBAL_DEFAULT_TIMEOUT,
                          source_address=None):
        """Connect to *address* and return the socket object.

        Convenience function.  Connect to *address* (a 2-tuple ``(host,
        port)``) and return the socket object.  Passing the optional
        *timeout* parameter will set the timeout on the socket instance
        before attempting to connect.  If no *timeout* is supplied, the
        global default timeout setting returned by :func:`getdefaulttimeout`
        is used.  If *source_address* is set it must be a tuple of (host, port)
        for the socket to bind as a source address before making the connection.
        A host of '' or port 0 tells the OS to use the default.
        """

        host, port = address
        err = None
        for res in getaddrinfo(host, port, 0, SOCK_STREAM):
            af, socktype, proto, canonname, sa = res
            sock = None
            try:
                sock = socket(af, socktype, proto)
                if timeout is not _GLOBAL_DEFAULT_TIMEOUT:
                    sock.settimeout(timeout)
                if source_address:
                    sock.bind(source_address)
                sock.connect(sa)
                return sock

            except error as _:
                err = _
                if sock is not None:
                    sock.close()

        if err is not None:
>           raise err
E           error: [Errno 111] Connection refused

/usr/lib/python2.7/socket.py:575: error
======================================== 1 failed, 22 passed in 0.57 seconds ========================================
8  Alternate cryptocurrencies / Service Discussion (Altcoins) / Crowdcoin masternode setup issue - SENTINEL test fails on: February 06, 2018, 05:53:17 AM
hi guys, i am new to the masternode setup. trying to setup a Crowdcoin masternode. Followed all install steps as per the guide.. all succeeded except the Sentinel Test at the end..
Not sure if this means the core server is not up or not able to communicate.. below is the error message when i run the Sentinel test -

Please help..

command executed from the Sentinel folder -
./venv/bin/py.test ./test


error message -

address = ('127.0.0.1', 9998), timeout = 30, source_address = None

    def create_connection(address, timeout=_GLOBAL_DEFAULT_TIMEOUT,
                          source_address=None):
        """Connect to *address* and return the socket object.

        Convenience function.  Connect to *address* (a 2-tuple ``(host,
        port)``) and return the socket object.  Passing the optional
        *timeout* parameter will set the timeout on the socket instance
        before attempting to connect.  If no *timeout* is supplied, the
        global default timeout setting returned by :func:`getdefaulttimeout`
        is used.  If *source_address* is set it must be a tuple of (host, port)
        for the socket to bind as a source address before making the connection.
        A host of '' or port 0 tells the OS to use the default.
        """

        host, port = address
        err = None
        for res in getaddrinfo(host, port, 0, SOCK_STREAM):
            af, socktype, proto, canonname, sa = res
            sock = None
            try:
                sock = socket(af, socktype, proto)
                if timeout is not _GLOBAL_DEFAULT_TIMEOUT:
                    sock.settimeout(timeout)
                if source_address:
                    sock.bind(source_address)
                sock.connect(sa)
                return sock

            except error as _:
                err = _
                if sock is not None:
                    sock.close()

        if err is not None:
>           raise err
E           error: [Errno 111] Connection refused

/usr/lib/python2.7/socket.py:575: error
================================= 1 failed, 22 passed in 0.78 seconds =================================
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!