Node.js 守护程序实例0上的validateaddress rpc错误

Node.js 守护程序实例0上的validateaddress rpc错误,node.js,port,daemon,p2p,host,Node.js,Port,Daemon,P2p,Host,我已经在ubuntu上建立了一个私有的vertcoin池(因为我不能重复一些重要的步骤,所以不得不从CentOS交换) 我保存了我的Vertcond(默认)守护程序设置的图片,以防这很重要: 现在使用node.js地层池 我得到这个错误: error: [validateaddress rpc error on daemon instance 0 - {"type":"request error","message":"socket hang up"}] undefined error: [C

我已经在ubuntu上建立了一个私有的vertcoin池(因为我不能重复一些重要的步骤,所以不得不从CentOS交换)

我保存了我的Vertcond(默认)守护程序设置的图片,以防这很重要:

现在使用node.js地层池

我得到这个错误:

error: [validateaddress rpc error on daemon instance 0 - {"type":"request error","message":"socket hang up"}] undefined
error: [Could not start pool, "not all addresses are valid"] undefined
我的代码中我不确定的部分是:

"ports": {                                          // Each pool can have as many ports for your miners to connect to as you wish. Each port can be configured to use its own pool difficulty and variable difficulty settings. varDiff is optional and will only be used for the ports you configure it for.
    "9174": {                                       // A port for your miners to connect to
        "diff": 32,                                 // the pool difficulty for this port
        "varDiff": {                                // Variable difficulty is a feature that will automatically adjust difficulty for individual miners based on their hashrate in order to lower networking overhead
            "minDiff": 8,                           // Minimum difficulty
            "maxDiff": 512,                         // Network difficulty will be used if it is lower than this
            "targetTime": 15,                       // Try to get 1 share per this many seconds
            "retargetTime": 90,                     // Check to see if we should retarget every this many seconds
            "variancePercent": 30                   // Allow time to very this % from target without retargeting
            }}},
"daemons": [{                                       // Main daemon instance// Recommended to have at least two daemon instances running in case one drops out-of-sync or offline. For redundancy, all instances will be polled for block/transaction updates and be used for submitting blocks. Creating a backup daemon involves spawning a daemon using the "-datadir=/backup" argument which creates a new daemon instance with it's own RPC config. For more info on this see: - https://en.bitcoin.it/wiki/Data_directory & https://en.bitcoin.it/wiki/Running_bitcoind 
    "host": "127.0.0.1",
    "port": 5889,
    "user": "benzvertcoinwalletaddess",
    "password": "benzlongsecret"
    }],
"p2p": {                                            // This allows the pool to connect to the daemon as a node peer to recieve block updates. It may be the most efficient way to get block updates (faster than polling, less intensive than blocknotify script). However its still under development (not yet working).
    "enabled": false,
    "host": "-stratum+tcp://benzserver.private.com",
    "port": 9174,
    "magic": "0xfbc0b6dbL",                         // Magic value is different for main/testnet and for each coin. It is found in the daemon source code as the pchMessageStart variable. For example, litecoin mainnet magic: http://git.io/Bi8YFw & for litecoin testnet magic: http://git.io/NXBYJA
    "protocolVersion": 1300,                        // Found in src as the PROTOCOL_VERSION variable, for example: http://git.io/KjuCrw
    }
上面的代码是直接从npm/github for stratum pool中提取的(我只是缩进了我的方式,以使它更易于我自己阅读,显然我已经尝试将我的细节放进去)

阅读评论和四处研究给我的印象是,使用此脚本,您将本地连接到守护进程(在本例中为服务器),以获取块/事务更新,并将块提交到层

接下来,脚本将连接到p2pool。。我认为这个评论是错误的,它说“这允许池连接到守护进程”。当然,我服务器上的脚本连接到p2pool并告诉它我服务器上的守护进程,然后p2pool可以作为节点对等方连接到守护进程以接收块更新!(我错了吗?)

它连接到p2pool的部分我将p2pool server3端口9174放在那里(为此,我使用了该版本,因为p2pool vtc不支持server3)

我选择5899指定p2p端口的部分,因为如果我查看内部

vi ~/.vertcoin/vertcoin.conf
你可以看到我写的(指南):

rpcport

我有点不对劲!有人能帮忙吗

"daemons": [{                                       
"host": "127.0.0.1",
    "port": 5899,// don't know where this originated from
    "user": "benzvertcoinwalletaddess",
    "password": "benzlongsecret"
    }],
"p2p": {                                            
    "enabled": false,
    "host": "127.0.0.1",
    //"port": defaults, //vertcoind --help
    "magic": "0xfbc0b6dbL",                         
    "protocolVersion": 1300,
    }
这是工作

"daemons": [{                                       
"host": "127.0.0.1",
    "port": 5899,// don't know where this originated from
    "user": "benzvertcoinwalletaddess",
    "password": "benzlongsecret"
    }],
"p2p": {                                            
    "enabled": false,
    "host": "127.0.0.1",
    //"port": defaults, //vertcoind --help
    "magic": "0xfbc0b6dbL",                         
    "protocolVersion": 1300,
    }