Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [bitcoind]

This tag should be used for questions related to bitcoind, the command-line software for Bitcoin Core. It stands for "Bitcoin Daemon" where a daemon is any computer process which runs in the background ("service" in Windows terminology).

2
votes
1answer
135 views

20% difference between settxfee and actual transaction

I set transaction fee with : $ bitcoin-cli settxfee 0.00003000 Here is what i observe from block explorer for my transaction : https://testnet.blockexplorer.com/tx/...
6
votes
5answers
190 views

What is the transaction rate bottle neck?

I recently read (Scalability link) that bitcoin can do 3.3 to 7 transactions per second... I am curious, what is the bottle neck for the transaction rate? Is it verifying the signatures? or maybe it'...
1
vote
1answer
143 views

Bitcoind Cannot assign requested address

I'm trying to run a regtest bitcoind node but I'm always receiving the following error connect() to [2a05:d01c:a35:2902:6e18:7290:ff27:e9aa]:18444 failed: Cannot assign requested address (99) ...
1
vote
2answers
94 views

How to sweep a Bitcoin Core wallet?

I have created an account in a bitcoind wallet which has got some 1.055btc which has to be wiped out to 0.00BTC to another account. so the actual BTC has to be sent is 1.055 - transaction fee. Is ...
0
votes
0answers
73 views

My IP address is showing 0.0.0.0 on Lightning Network Explorer Testnet, can someone assist me with this issue?

I set up my lightning node on a raspberry pi using the raspibolt instructions on medium, after buy from starblocks and waiting a few weeks I see this on Lighting Explorer can anyone point me in the ...
2
votes
2answers
161 views

How do the nodes divide after a hard fork? Soft Fork?

After a hard fork, what happens to the full nodes? Say 11,000 BTC full nodes existed prior to the fork. Do all 11,000 end up supporting both BCH and BTC? Or does BCH start building it's own network of ...
1
vote
1answer
89 views

getblocktemplate fails in regtest mode even when it is connected to the other node

I have created two nodes and connected the 1st node with the 2nd node in regtest mode . Now when I make the getblocktemplate command using bitcoin-cli . It fails with bitcoin is downloading the block. ...
1
vote
1answer
337 views

How to check ownership of wallet with segwit address

So .. this seems like a simple question. If i have a wallet and someone wants to send me BTC. I want to make sure they own the wallet they claim to be sending funds from. Usually people do something ...
1
vote
2answers
273 views

How to store data on blockchain?

I want to store the data on blockchain so that people can see and verify the data. The data format will be a simple JSON like the user details. {'user_id': userid, 'amount': amount, 'product_id': ...
1
vote
1answer
73 views

how to create web wallet for bitcoin

I want to create a web wallet for bitcoin in which anyone can create their account and do the transactions but my node allow me to create one desktop wallet only. so i am not getting how this ...
0
votes
2answers
355 views

Bitcoin Solo Mining with bfgminer

I am trying to do solo mining with bfgminer but it does not seems to be working ./bfgminer --url 127.0.0.1:18443 --user test --pass test On bitcoind logs I can see the request logs 2018-05-14T10:...
1
vote
2answers
102 views

Is there a way to disable a blockchain validation?

I installed Bitcoin Full Node on Raspberry pi 3b+. Blockchain sync is dead slow because of less CPU. I Guess blockchain validation is time/CPU consuming thing. Is there a way to disable the validation ...
1
vote
1answer
109 views

Check number of active peers a node has

I saw here that you can run bitcoin-cli getinfo to see the total number of connections that a node you're running is connected to. Is there a way to get this information remotely? For example, say I ...
0
votes
1answer
95 views

When ipv6 is enabled my ipv4 address does not appear in getnetworkinfo localaddresses

After enabling ipv6 (Google WiFi/Ubuntu 16.04) I noticed that my node's upload bandwidth dropped a lot. Investigating showed: ifconfig lists one ipv4 address and three ipv6 addresses. bitcoin-cli ...
1
vote
1answer
184 views

List imported watch-only adresses

I can import addresses without private key just to track incoming transactions as it is provided in RPC calls : https://bitcoin.org/en/release/v0.10.0#watch-only-wallet-support But how can i see my ...
1
vote
1answer
235 views

What is the difference between bitcoin core vs bitcoinj vs bitcoind vs bitcoinqt?

What is the difference between bitcoin-core vs bitcoinj vs bitcoind vs bitcoin-tx vs bitcoin-cli vs bitcoinqt? There are many github repo with different names around bitcoin. Can someone really help ...
1
vote
2answers
230 views

How to stop another bitcoind service?

I created two bitcoind service in my server. First using default configuration, and second use new configuration. I am able to stop first bitcoind using bitcoin-cli stop, but the second bitcoind still ...
0
votes
1answer
153 views

bitcoin-cli not working

Whenever I try running some command like: bitcoin-cli getinfo The prompt just hangs and does not return anything, similar to SQL interface if you do not enter semicolon. Running only "bitcoin-cli" ...
0
votes
0answers
16 views

Hash Time Locked Contract (HTLC) using bitcoin-qt [duplicate]

Is it possible to manually create a Hash Time Locked Contract using the bitcoin-qt command line? I have dabbled with manually creating createrawtransaction / sendrawtransaction using the bitcoin-qt ...
0
votes
1answer
336 views

lightning node daemon hangs at “waiting for chain backend to finish sync, start_height=521042”

I'm using Lightning Networks' lnd 0.4.1-beta node in Windows, with a Bitcoin Core bitcoind full node backend. The bitcoind full node has the --txindex option, and is fully synced according to ...
1
vote
1answer
76 views

Transaction fee in Bitcored

Does the transaction fee of bitcored or bitcoind change everyday? Am I required to set transaction fee of bitcoind by using settxfee method?
0
votes
1answer
46 views

Get input address using VIN txid?

I have written following script to get Vin address from Vin txids. #!/usr/bin/python # -*- coding: utf-8 -*- import requests,json url="http://asd:asdf@localhost:2332" payload={} payload = {"jsonrpc":...
0
votes
1answer
53 views

What will happen if i change the checkpoint data from bitcoin source code and try to synchronice with blockchain?

Suppose i have fully synchronosed bitcoin node running in my local machine and i change its checkpoints data apart from its genesis block and recompile the code. Now what will happen when i try to run ...
0
votes
3answers
148 views

What are the realistic system requirements to run bitcoin core for generating wallets, signing and verifying messages on a laptop?

I need to be able to verify messages and check that funds in wallets are valid and that the claimed owner possesses the private keys (hence checking messages signed). I know that I need to be able ...
3
votes
2answers
379 views

How do I download specific blocks directly from peers, without downloading the entire chain?

My dev environment is quite limited in terms of bandwidth and storage. I need to make a database out of transactions containing opcode 0x6a since a given epoch. [Scan blocks, going backwards from the ...
0
votes
0answers
36 views

Litecoin RPC Calculate the commission (PHP)

I have a small problem. I can not calculate the commission in any way. Implementation example: $litecoin = new jsonRPCClient('http://user:password@127.0.0.1:9332/'); echo "<pre>\n"; ...
0
votes
0answers
21 views

How do I decipher the output script one op code at a time [duplicate]

I have an output script: OP_DUP OP_HASH160 629dba50de30602afbf52b89bd0de056b0ad0e92 OP_EQUALVERIFY OP_CHECKSIG and an input script for a next transaction: script_asm" : "...
1
vote
1answer
117 views

64: non-mandatory-script-verify-flag while broadcasting P2WPKH Bech32 with specific inputs

Note: This happens with specific input, even though I've used the same code for other inputs and it works. I have created a raw transaction using the following unspent: Array ( [0] => Array ...
0
votes
1answer
22 views

Why is the value of the input way higher than the output resulting in a second change output? [duplicate]

Background: I'm experimenting on the LTC testnet client. My client has a balance of 0.4 LTC and I sent 0.1 LTC to another wallet address. https://chain.so/tx/LTCTEST/...
0
votes
1answer
1k views

How to send Bitcoin in the Testnet?

I'm using this library: https://github.com/lian/bitcoin-ruby And here's my code: require 'open-uri' require 'net/http' require 'net/https' require 'json' require 'bitcoin' Bitcoin.network = :...
3
votes
1answer
70 views

Will running a pruned node make my store less secure?

We run our own nodes to verify transactions for our store and I was wondering what will be the downsides to me running a pruned node? I read they can fully verify a transaction so I'm not too sure why ...
0
votes
0answers
100 views

Bitcoind installs wrong on OS X, zeromq does not work either

I want to test out zeromq and the rawtx feature on my computer (macOS Sierra) and I’ve downloaded and compiled both the sources for litecoind and bitcoind (0.16.0), but neither work. I built it ...
3
votes
1answer
66 views

If 30% of the network are malicious, how many nodes would an SPV need to connect to, to be sure?

If we assume that 30% of the network is malicious and colluding together to trick an SPV client, by telling him wrong information. How many random connections would the SPV client, need to connect to ...
1
vote
1answer
32 views

Fail to encrypt scriptPubKey in testnet

I have the following testnet wallet address: 2MsQEtPJ6JJZszMYrD6udjUyTDFLczWQrv9 Which I am trying to encode as pubkeyhash to the coinbase TX in testnet. When i run decode58, I get this ...
0
votes
0answers
35 views

getnewaddress “account” using an address already given to another account

So I have an issue with getnewaddress "myaccount" It sometimes gives an address already given (but not used) to someone else. I have searched around and the only thing I can think of is keypool? ...
2
votes
1answer
243 views

How can I get the raw tx hex from bitcoind with the txid?

Is there any way to get the raw tx hex when I know the txid using bitcoind not third party. Currently I'm using a thirdparty (blockcypher) but now I want to switch to bitcoind.
3
votes
1answer
213 views

Bitcoind with -txindex=1 still no mempool transactions

I'm reading through Mastering Bitcoin and trying to follow along the examples. When I first initialized bitcoind, I set txindex=1 in my bitcoin.conf file. In a later example I was unable to ...
0
votes
3answers
84 views

how to get confirmations about many transaction at once using bitcore node or bitcoind rpc?

how to get the confirmations of many transaction at once using bitcore node or bitcoind rpc? I think it's possible to get the confirmation of a single transaction using getrawtransaction of bitcoind ...
0
votes
1answer
133 views

Use json-rpc without full blockchain

So i want trying to use both bitcoin and bitcoin-abc json-rpc on raspberry pi but they will overload the whole pi when downloading and sync @ same time. So is there anyway to use json-rpc without ...
1
vote
1answer
229 views

bitcoind starting and then quickly shutting down automatically

Lenovo E460, 8GB RAM, Fedora 26, bitcoin core command line version 0.16.0, All blocks completely downloaded on a flash drive with 256GB capacity. I rebooted my machine today without stopping the ...
0
votes
0answers
85 views

Relevance of PIDfile setting in systemd service

According to this answer, https://serverfault.com/a/817560/465916, systemd is able to keep track of processes PIDs very well, without having to rely on PIDFile=/run/bitcoind/bitcoind.pid and ExecStart=...
0
votes
1answer
848 views

bitcoind daemon mode

When running bitcoind from a systemd service, as in https://github.com/bitcoin/bitcoin/blob/master/contrib/init/bitcoind.service, what is the role of the -daemon flag? Basically I'm asking what does -...
0
votes
1answer
133 views

bitcoind systemd service: forking or simple?

When creating a systemd service file for bitcoind (for example https://github.com/bitcoin/bitcoin/blob/master/contrib/init/bitcoind.service), does it matter if Type=forking or Type=simple? What is the ...
0
votes
1answer
464 views

ModuleNotFoundError: No module named 'bitcoin'

Here's my code: from bitcoin.rpc import RawProxy # Create a connection to local Bitcoin Core node p = RawProxy() # Run the getinfo command, store the resulting data in info info = p.getinfo() # ...
0
votes
0answers
64 views

How to find bitcoin address from bitcoin privatekey

How to find bitcoin address from bitcoin privatekey using bitcoind json rpc or any other way?
0
votes
1answer
36 views

Where do mined bitcoins go?

I am running a bitcoin node with the following bitcoind.conf # bitcoind.conf bind=127.0.0.1 # use minimum disk space prune=550 # Pare down traffic to bare minimum blocksonly=1 maxconnections=20 ...
0
votes
1answer
33 views

How do you exactly earn bitcoins… ive been confused frankly [duplicate]

I get the concept of it just dont know how.
2
votes
0answers
115 views

Speeding up walletnotify

In the case of a notice at 0 confirmations, I'm seeing the transaction end up on blockchain.info a lot faster than bitcoind is calling the walletnotify callback - about 10 minutes faster. Is it ...
0
votes
2answers
290 views

How to decode the block hash?

I got the block hash from zmq. 00000000000000000045c639280aee532c5b12b03c80bfdec7aae674fd8246e0 I want to decode the above block hash. Could anyone tell me how to decode the above block hash?
0
votes
0answers
84 views

Failing on autogen.sh for bitcoind

I am installing bitcoin core. I cloned bitcoind source code from github. Before starting to install it, I already downloaded all dependencies by referencing on here. https://github.com/bitcoin/bitcoin/...