New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compiling-errors #2
Comments
Hi Coinflow, |
Compiler warnings are safe to ignore. |
Quite some. Qt is only the second step and not needed for a daemon.
Would be better to not have them. Moreover: warnings and errors are different things as you know.
The reason for the question: Error-message from p2pool: "Check failed! Make sure that you're connected to the right bitcoind with --bitcoind-rpc-port!" |
I had moonrush.org up and running (once synced) within about 10 minutes. Heres the launch parameters I use on moonrush.org: RPC password is 30 characters long, as short passwords would not let my stratum authenticate to the daemon (this was an issue with the older clients too). |
oh dear, p2pool doesnt rely on getwork does it still |
RPC password is 30+ characters long. lsof -i gives Mooncoind ... IPv4 ... TCP ip6-localhost:44663 (LISTEN) For Novacoin, the output on the same machine looks like this, for example: novacoind ... IPv6 ... TCP *:8344 (LISTEN) Novacoin p2pool connects seamlessly, as did both older mooncoind. Result from p2pool: |
No such thing as standardized in cryptocurrency there matey. Can I get you to run the following command on the host: |
That's why I put it into quotation marks. :-) But it simplifies things. No big deal, to alter all relevant mooncoin to Mooncoin in the conf-dirs and -files, but would not have to be ... curl gives the expected: {"result":{"version":100500,"protocolversion":70002,"blocks":1101846,"timeoffset":0,"connections":25,"proxy":"","difficulty":4.66879760,"testnet":false,"relayfee":0.00100000,"errors":""},"error":null,"id":"curltext"} So no problem with that. |
Ok, we've verified comms are fine, onto the next step: curl --user rpcuser:rpcpassword --data-binary '{"jsonrpc":"1.0","id":"curltext","method":"getwork","params":[]}' -H 'content-type:text/plain;' http://127.0.0.1:44663 curl --user rpcuser:rpcpassword --data-binary '{"jsonrpc":"1.0","id":"curltext","method":"getblocktemplate","params":[]}' -H 'content-type:text/plain;' http://127.0.0.1:44663 |
{"result":null,"error":{"code":-32601,"message":"Method not found"},"id":"curltext"}
{"result":null,"error":{"code":-10,"message":"Mooncoin is downloading blocks..."},"id":"curltext"} It throws the latter result every time. |
Have you tried restarting the daemon since? At the crossover to block 1,100,000 Aikapool forked off causing potential issues. |
Yes, several times; just now again and ~/mooncoin/src/Mooncoin-cli getinfo afterwards gives: { curl: Maybe interesting for you (if you don't know the thread already): Excerpt:
Which could answer your above question about getwork ...? |
Something is wrong with your copy of the chain if its still doing that. |
coinflow, |
Ended up being resolved in 2688e58, please update your nodes. |
Compiling with
./autogen.sh
./configure --disable-wallet
make -f Makefile USE_UPNP=- USE_IPV6=- USE_QRCODE=-
gives some errors (only two copy&pasted):
main.cpp: In function 'CAmount GetBlockValue(int, const CAmount&, uint256)':
main.cpp:1406:16: warning: comparison is always false due to limited range of data type [-Wtype-limits]
if (nHeight > 5432099999) {
^
At global scope:
cc1plus: warning: unrecognized command line option "-Wno-self-assign" [enabled by default]
...
script/interpreter.cpp: In function 'bool IsLowDERSignature(const valtype&, ScriptError*)':
script/interpreter.cpp:169:18: warning: unused variable 'nLenS' [-Wunused-variable]
unsigned int nLenS = vchSig[5+nLenR];
^
script/interpreter.cpp:170:26: warning: unused variable 'S' [-Wunused-variable]
const unsigned char *S = &vchSig[6+nLenR];
^
At global scope:
cc1plus: warning: unrecognized command line option "-Wno-self-assign" [enabled by default]
It finishes the process and the wallet is usable afterwards, but would be worth to check that out and correct it, in order to get a flawless compiling-process ...
Furthermore: Have you checked/specified the correct ports for RPC and P2P in the code?
See https://github.com/realmooncoin/mooncoin
-->
Ports
RPC 44663 P2P 44664
The text was updated successfully, but these errors were encountered: