New answers tagged

0

As with any other RPC, of course the RPC client can run on a different machine than the RPC server. As such, that happens with bitcoin-cli and bitcoind. Your confusion simply arises from the historic accident that the Bitcoin Core GUI currently accesses the local bitcoin node using an inner procedure call interface instead of a remote procedure call ...


3

Bitcoin-qt does not interact with bitcoind at all. Bitcoin-qt is a full node by itself, entirely stand-alone. There is a tool shipped with Bitcoin Core called bitcoin-cli which allows RPC commands to be issued. You can certainly interact with your Bitcoin Core node from another machine via the RPC (remote).


3

You can make it with getheaders p2p message, will return headers of blocks in a range. Remember of handshaking and setting tx-relay to false.


0

It seems that the whole blockchain has to be synced before it will send the index and blocks to inbound requests. Explained in this issue: https://github.com/bitcoin/bitcoin/issues/6971


0

In bitcoind side, that's perfectly normal and safe operation. Timeout happens only client side. For a more elegant client (bitcoin-cli) operation, can use: -rpcclienttimeout=0. Timeout in seconds during HTTP requests, or 0 for no timeout (default: 900)


3

You can't ask for UTXOs from arbitrary nodes on the networks, because there is no way to verify that information. You need to ask for blocks. And a pruned node cannot provide those.


1

Bitcoin cannot reasonably be mined on commodity hardware, and Bitcoin Core does not include any functionality to mine by itself anymore. The profit would be orders of magnitude smaller than your electricity bill and wear and tear to your hardware. If you want to mine BTC, you need specialized hardware (called ASICs).


1

As @Andrew Chow said: Bitcoin-qt is not just a frontend GUI or wallet handling software. It is bitcoind with a GUI. There is a WIP project for separating things and make this possible, but it's still very early and not recommended for end users. What are some common wallets that support this feature? (trusted nodes via RPC or SPV to a bitcoind full node) ...


1

Is your core compiled with the wallet? Because gettransaction RPC get wallet transactions, and hence need wallet capabilities. For general transactions, you should use getrawtransaction instead. I ran it here (with wallet enabled) and works just fine.


0

You try Bitpay's API to you are not experienced with coding, I think it is easy to implement on your e-commerce site. or, you should generate a single-use bitcoin address for every transaction and make sure to maintain the record for each transaction. Also, make sure to keep the private keys offline. above all, try hiring a bitcoin developer if your needs ...


1

You can keep generating addresses. Bitcoin Core is capable of generating and keeping track of millions of addresses. You don't need to worry about gap limit, as you are using bitcoin core. Gap limit issues mostly arise when you are deriving adresses from xpub Yes, you can create multiple wallets in bitcoin core using multiple wallet finds. About limits on ...


0

Yes, you'd need to maintain the full record of all addresses, because you don't know whether they'd still receive a payment eventually, after they've been seen by someone. Otherwise, you will miss getting paid and need to rescan later, so you might as well keep the full body in the first place. bitcoind is probably not the right tool to track a multitude of ...


0

If you do not like reading json output, get the jq command do it for you bitcoin-cli getnetworkinfo | jq .version


0

You could try solo mining another SHA256 PoW coin with a much lower difficulty factor, just to see what it looks like when your setup does solve a block and it's accepted by the other nodes in the network. A couple of low difficulty SHA56 PoW coins to try: Deutsche eMark (DEM) has a current difficulty factor of 2844931 (https://github.com/emarkproject ...


1

Regarding question 4, you need to manually create/request a new address each time you need one.


Top 50 recent answers are included