On Windows, using Bitcoin Core , this works fine (rpc/rpc): natur-holzbausteine.de -rpcuser=rpc -rpcpassword=rpc -testnet=1 getinfo. It's either specific to your build or maybe some of the parameters and arguments have issues. bitcoin-cli [options] [params] -rpcuser= Username for JSON-RPC connections-rpcwait. Wait for RPC server to start-rpcwallet= Send RPC for non-default wallet on RPC server (needs to exactly match corresponding -wallet option passed to bitcoind). bitcoin-cli -testnet -rpcuser= -rpcpassword= getbalance notice that I intentionally changed -rpcpassword to a wrong password. But I still can get a correct result. This is really unpredictable and obviously a mistake.
Bitcoin-cli rpcuserbitcoin-cli(1) — bitcoind — Debian testing — Debian Manpages
Authentication over basic auth cookie via bitcoin-cli works. This is normally the contents of a debug. Raw text or a link to a pastebin type site are preferred. The text was updated successfully, but these errors were encountered:. Purpose of this section is to ensure reproducibility, eliminate guesswork and save time.
What was the content of this "test" in terms of commands you issued against the server? The error message is: error: incorrect rpcuser or rpcpassword authorization failed. I put a std::cout in RPCAuthorized in httprpc. On Windows, using Bitcoin Core 0. It's either specific to your build or maybe some of the parameters and arguments have issues. Simple RPC-focused test without using config files:.
It works the same everywhere, I was at my Windows desktop at the time. Why speculate when you can simply run the same command and provide your output? Make sure the server is using the expected configuration file, and that the configuration file specifies rpcpassword. For future googlers: the password should not contain the pound sign as this is treated as a comment! I had rpcuser and rpcpassword in the config file, but I was getting error when I called the jaon-rpc api.
The same setup with litecoin, dash or dogecoin works fine. So, I guess, the bug was introduced in bitcoin recently. Workaround by Kiza helped me. The rpcuser and rpcpassword set in the conf file are not being used by the rpcserver. I'm having same issue on Debian when using python-bitcoinrpc , Kiza 's workaround works for me. Always be wary of special characters. Well if anyone wonders why rpcallowip is not working on master build - it could be i suspect because it's not intended for production use perhaps?
However I had to revert to 0. And it's not a config file issue it seems because the same config worked on this earlier version not to mention many many other altcoins. Since 0. Infact, it seems the default was to listen on all interfaces prior to this change. Skip to content. Will require enough P2PKH inputs with 5 or more confirmations in a wallet. Transaction will have two or more inputs from your wallet and two additional change outputs going back to your wallet in addition to recipients.
Or use tippin. Skip to content. Go back. Launching Xcode If nothing happens, download Xcode and try again. Latest commit. Git stats commits. Failed to load latest commit information. View code. Script Description blockheightat. Could be useful if you want to send identical amount of funds to more than one recipient.
Note that it does not analyze input amounts as it's hard to do without -txindex , so will likely give a lot of false positives. Round number amounts can decrease your privacy. Examples Send random amount between 0. About Various shell scripts, mainly to be used together with Bitcoin Core bitcoind or bitcoin-qt wallet. Topics bitcoin coinjoin. Releases 1 tags. Packages 0 No packages published.