Discussion about Bitcoin development http://bitcoincore.org http://github.com/bitcoin/bitcoin http://twitter.com/BitcoinCoreOrg List in: @Crypto @CryptoCurrencies Rules: All participants require username & image set No altcoin/ICO discussion or promo
I’m running a bitcoind daemon on testnet and am able to issue getblockchaininfo
through the bitcoin-cli command. But I’m trying to get the same result using a curl command, which, following examples online, I’m trying:curl --user myrpc01 --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getblockchaininfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:18334/
But no matter what I do, I just get: curl: (52) Empty reply from server
I’ve googled this, and tried suggestions that I’ve found, to no avail. What could I possibly be missing?
My ~/.bitcoin/bitcoin.conf file contains the following:
[test]Читать полностью…
rpcuser=myrpc01
rpcpassword=password01
fallbackfee=0.0002
txindex=1
server=1
rpcbind=127.0.0.1
Any ideas? Much appreciation to anyone who can offer suggestion. Bitcoin dot conf file does contain server=1
and rpcuser and rpcpassword entries under [test]
heading.
I am trying to get results of getblockchaininfo
as a first example. I can get the info using bitcoin-cli, so I assume bitcoin-cli can talk to bitcoind, but if I try to "do what I assume bitcoin-cli is doing" with curl, I get the "empty reply".
Anyway, absent details, question boils down to — running a testnet node and trying to access JSON-RPC via curl. Following examples online, but getting curl: (52) Empty reply from server
Tried googling, but suggestions in search results did not help.
yes it should work with 1 link to code and your question
Читать полностью…https://github.com/bitcoin-core/bitcoincore.org/pull/740 ?
Читать полностью…Question: Is there an open-source implementation of the blockchain dot info public API that I could run on a private server? Looking for something that can get current head block, retrieve blocks, and get transaction history by address as parsed JSON blobs that are both human and machine readable. Any options?
Читать полностью…I know it does not make sense to mine btc with a gpu nowadays, but just to settle my curiosity, because I have access to a few at work. I am probably not allowed to test them on this though, hence the question :)
Читать полностью…anti forking culture is mostly about consensus rules, and even consensus code, but not about ui
Читать полностью…I am sure the right answer for me is the second option. I do not want to fork core, and as in the philosophy of Bitcoin, want CONSENUS from my proposals from the main network. Forking is the last thing I want to do. I would like that people can CHOOSE whether the classic UI or the "user friendly UI" that way more people use core, not only devs. Also I believe the more people use Core the more people will move away from Centralized exchanges which are the opposite of the concept bitcoin was made for (decentralizing currency)
Читать полностью…i think you have to decide first what you want to do; core for normies, or just work with core and make its industrial design less ugly?
Читать полностью…its like trying to explain it to linux people that terminal is not really the ui 😁
Читать полностью…i mean you should still try to speak with core devs about it for sure, maybe there is an apetite for the rewrite, who knows?
Читать полностью…excuse the inconvenience, we have an overzealous bot. You can try again now
Читать полностью…curl command was: curl --user myrpc01 --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getblockchaininfo", "params": [] }' -H 'content-type: text/plain;' (localhosturl)
^^ OK, it lets me post THAT much of the question.
Читать полностью…Will try... but... can I then link to the question?
Читать полностью…Help please: How can I post a question that won't get deleted? I'm assuming a bot is killing my question for containing "links" but the question involves a curl command and contents of bitcoin conf file that contain localhost URLS, and my post keeps getting deleted. I tried putting spaces between the dots... question still gets killed.
Читать полностью…President Joe Biden has frozen Steve Mnuchin's proposed FinCEN rule that targets “unhosted” cryptocurrency wallets. https://whitehouse.gov/briefing-room
Читать полностью…Blockstream-esplora (blockstream dot info) is open-source, but it's heavy as hell
Читать полностью…you can try something like nicehash, they pick the chain for you and send you back bitcoin
Читать полностью…Does anyone have an idea what hashrate one could get on a Tesla V100 GPU?
Читать полностью…just kidding, but there is some reluctance to make core for normies, mainly because that would mean people would be more dependent on just running it and never verifying anything
Читать полностью…Why would it be hard, who would be against such an "improvement"? does it take away from Satoshi's pure code if we make it more appealing/user friendly?
Читать полностью…