Stack Exchange Network

Stack Exchange network consists of 175 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).

1
vote
1answer
78 views

Does P2SH unlocking script only consist of operants?

I have a question about the P2SH unlocking script. Can I put common operants and operators in the P2SH unlocking script? And if yes, how can I create such script? e.g. unlocing script: <sig1> &...
1
vote
1answer
62 views

Blockchain gets stucked if no blocks are mined

Yesterday I decided to fork a project, just for fun and to learn more about it. So, I forked a project, I generated my own genesis block, changed timestamps, nounce, keys, reset the min chain work. ...
0
votes
1answer
281 views

how to get block information using node js

I have used bitcoin-core package in node js to get the information about the block detail using rpc command. For example: var Client = require('bitcoin-core'); const client = new Client({ headers:'...
0
votes
1answer
52 views

RPC get free address

Always when i need free address (not labled) i use: getAccountAddress('') And i want to know: Can it give me an already occupied address (by label) I'm worried that I can get an already address in ...
0
votes
1answer
60 views

bitcoind syncing backwards

I recently upgraded an old bitcoind install (core 0.11) to 0.16.2. After starting it up, it seems that it's syncing backwards: going from higher block numbers to lower ones: 2018-09-12 06:35:20 ...
0
votes
1answer
172 views

How to cleanup mempool

I want to cleanup mempool. I googled and knew -zapwallettxes might clean up mempool. But when I do the following command, mempool is still loaded. ./bitcoind -testnet=3 -server -rest -dbcache=4000 ...
1
vote
1answer
52 views

keypool option with HD wallet

I'm a bit confused. According to https://bitcoincore.org/en/2018/02/26/release-0.16.0/#hd-wallets-by-default HD wallet is enabled by default. However there is still keypool option of bitcoind which ...
0
votes
1answer
149 views

what is the Difference between ./bitcoind and $ ./bitcoind -daemon?

I was trying to interact with bitcoin network with JSON RPC commands, So I referred to the bitcoin wiki page https://en.bitcoin.it/wiki/API_reference_(JSON-RPC)#Java it shows to run the bitcoin using '...
1
vote
1answer
33 views

Does all miners in mining pool increase the nonce variable one by one starting from zero?

Let us consider we have n miners in our mining pool. Now the manager of the pool verified the transactions and packed into a block to be mined. Then it passed the block to all n miners in the pool. ...
0
votes
1answer
232 views

sendrawtransaction and txn-mempool-conflict

When i sendrawtransaction to bitcoind, i get error (exceptions) 18: txn-mempool-conflict (use Bitcoin JSON-RPC denpamusic/php-bitcoinrpc) But the transaction is sent to the network and is subsequently ...
0
votes
1answer
74 views

Can't generate same addresses as bitcoincore using xprv from bitcoin-core

First of all all addresses below are for testing purposes so I don't care about private keys. So dumped wallet created by Bitcoin-qt v0.16.2: extended private masterkey: ...
0
votes
1answer
132 views

Manage multiple users wallets for web wallet service

This already summaries the issue I'm currently trying to figure out to calculate the transaction fee to prevent negative balance. (testnet) I tried using createrawtransaction answered. When I tried ...
1
vote
0answers
148 views

Unable to get balance with bitcore lib

Using latest version of bitcore lib , want to check balance for making tx but once I include var explorers =require('bitcore-explorers'); after var bitcore =require('bitcore-lib'); Error: More ...
0
votes
1answer
122 views

Where does the mining reward in regtest go?

After using the bitcoind -regtest generate 1 command, where does the mining reward go? I tried list accounts and check balance for account "", but the balance always showed 0.000000.
0
votes
1answer
14 views

is it available to pay for my multiple inputs at one time?

I have a Bitcoin wallet and there is a large number of spendable addresses. if i make a transaction and there is a multiple inputs which is belonged to me(my wallet), is it possible to pay a fee by ...
0
votes
1answer
14 views

relationship between inputs in single transaction

I'm a student to learn about bitcoin. i saw a lot of transactions from Blockchain.info for study, and some of transactions can not be understood. why address '367f4YW...' pay to itself? is it ...
1
vote
2answers
374 views

running live and test node simultaneously

it took me 4 days to fully synchronize my node, but its finally running and i can create wallets etc.. I wanted to experiment with some transactions on testnet, so need to either change my config or ...
0
votes
1answer
60 views

VPS with 80 GB Space, can't download the whole blockchain?

I am using an application and WordPress that allows people to pay with Bitcoin in a small multi vendor marketplace for trading hobby items. The plugin that I'm using is recommending that I run a ...
1
vote
1answer
94 views

Deposit flow, user balances

I am a working on website where people should be able to deposit BTC to thier account balances and then do something with these balances. I figured out that I need deterministic wallet and generate ...
0
votes
1answer
166 views

bitcoin-cli not stopping bitcoind

I tried stopping bitcoind using bitcoin-cli stop and got the following error. bitcoin-cli stop error: Could not locate RPC credentials. No authentication cookie could be found, and RPC password is ...
0
votes
1answer
61 views

json-rpc api works locally but getting “Connection Refused” remotely

code: from bitcoinrpc.authproxy import AuthServiceProxy class ProxyService: def getProxy(self) -> AuthServiceProxy: return AuthServiceProxy("http://%s:%s@xx.xx.xx.xx:8332" % ("xx", "...
0
votes
1answer
61 views

How to perform atomic swap Bitcoin-Litecoin

I am running Bitcoin and Litecoin nodes fully synced on testnet.Can I perform atomic swapping by using this networks? I heard it can be done through HTLC(Hash Time Locked Contracts). How can I do ...
0
votes
3answers
57 views

If I invest £2,000 in bitcoin and the price goes down, can I lose more than my investment. Could i Have to sell my house to pay back the losses?

If I invest in Bitcoin is it possible to lose more than my initial investment ? In other words if the price goes down substantially, to well below that of when I initially invested; is it possible ...
0
votes
1answer
18 views

bitcoin daemon use 99.99% io

bitcoin daemon always use 99.99% IO, without using the Internet <1mbit this is normal? bitcoin-0.16.0 bitcoin-0.16.2 iotop: 99.99 % bitcoind -daemon [bitcoin-schedu Debian 8 x64
1
vote
1answer
105 views

Bitcoind list all transactions from all accounts with listtransactions cli command

If you run bitcoin-cli listtransactions "" 9999999 you receive a list of transactions from your default bitcoind account. I would like to receive the transactions of all accounts on my daemon, ...
0
votes
1answer
34 views

verifying my modifications to bitcoind w/o broadcasting anything

I want to verify that my updates to the bitcoind source code don't break anything. One way that I thought of doing that was through loading the mainnet data into a regtest instance. To do that I first ...
2
votes
1answer
189 views

Difference between wallet,accounts and addresses

I know this question has been asked several times, But it never made any sense reading each of them. Can Anyone really explain deeply by using technical language so that I could really understand pros ...
0
votes
1answer
127 views

how to get bitcoind to launch on startup/reboot? ubuntu 16.04

Is there an easy way to ensure that bitcoind restarts on system reboot? I tried placing the systemd service file in /etc/systemd/system but that didn't seem to work... thanks in advance
1
vote
1answer
168 views

“mandatory-script-verify-flag-failed (signature must be zero for failed check(multi)sig operation)”

I forked the openwallet-android so that I could add my coin - (placeholders) placeh.io. The openwallet-android connects to electrumx server. I am able to get my chain to load correctly in electrumx ...
0
votes
1answer
117 views

How do I add a multi-sig address to account to watch balance in Bitcoin CLI

I have already created a multi-sig address with funds, and I have already made transactions (2 of 4 Signatures needed). No problem. But I want to add it to one of my accounts, or a new account, so I ...
0
votes
2answers
231 views

How do I solo mine my own modified altcoin

I forked DASH a week ago. I am able to generate genesis block hash, merkle hash. I created one VM (ubuntu 16.04) for rpc server. Another one VM For mining. I am able to establish connetion between two ...
0
votes
1answer
29 views

How accounts, wallets and addresses are related

I have downloaded litecoin code (version of 14 september,2014) and built it. so right now I have a wallet. i have account which's name is just "". then i connected my miner to my node. It solved the ...
1
vote
2answers
213 views

Find all transactions for a bitcoin address [duplicate]

I'm looking for a way to query all transactions related to a particular bitcoin address - I periodically need to find all transactions for numerous addresses. I've seen info about bitcoind ...
2
votes
2answers
193 views

Specific explanation of “timeout” configuration option in Bitcoin

According to Running Bitcoin - Bitcoin Wiki, timeout is described as following: Specify connection timeout in milliseconds To my understanding it would mean that if a response was expected, if not ...
1
vote
3answers
726 views

bitcoin testnet is mining about 50 blocks per minute right now - why? [duplicate]

The bitcoin test network is mining about 50 blocks every minute for the last several hours. What is going on? You can see here: https://www.blocktrail.com/tBTC
1
vote
0answers
52 views

Why is the Serialization limit set to 0x02000000?

In addition to the block size limit, there is a limit on the maximum message size. Is there a rationale behind the 32MB limit set in src/serialize.h or was it picked because it's just a nice round ...
1
vote
1answer
33 views

How do I know one transaction has confirmed?

I am running my bitcoind with -zmqpubhashtx optional, and I receive notification once a new transaction has broadcast to public chain! I can also parser it by getrawtransaction and ...
0
votes
1answer
52 views

How do you calculate fees with bitcoind?

Here is the transaction id as an example, please help me calculate using bitcoind: 10ff046cb00483c4b4222fe3d1798b98d5a17af55ff7fc0a6e1e2398b86c13bd
1
vote
1answer
123 views

Share balance between lnd and bitcoind

I have a bitcoind instance with some balance. When I run lnd (which is connected to this bitcoind instance) it seems to use its own wallet. Is there any way I can use lnd with the bitcoind balance ...
3
votes
1answer
515 views

Whats the difference between “txid” and “hash” - getrawtransaction bitcoind

Sometimes the txid key is the same as the hash key in the return of getrawtransaction, sometimes different. I'm trying to understand more about these... What are the differences, and why are they ...
1
vote
1answer
206 views

Can't specify rpcport for testnet

Was there a recent change where it is no longer possible to specify rpcport? I noticed these two warnings: Warning: Config setting for -addnode only applied on test network when in [test] section. ...
0
votes
1answer
75 views

bitcoind getrawtransaction has no value for vin, what am I doing wrong?

I’m able to get the value for vout but my node is not returning the value for vin, how do I get the value for vin?
1
vote
1answer
178 views

Failed to start lnd.service: Unit bitcoind.service not found. (lnd installation)

I installed my bitcoind and lnd correctly. I put my datadir=/mnt/vdb to bitcoind.conf file and it allows me to start bitcoind with this command: bitcoind -daemon. As a final step, I want to learn lnd ...
1
vote
1answer
92 views

What does this comment in Chainparams.cpp mean?

There is a comment in the Bitcoin source code under src/chainparams.cpp /** * Build the genesis block. Note that the output of its generation * transaction cannot be spent since it did not ...
1
vote
3answers
157 views

bitcoind getrawtransaction returning numbers and letters

I’m not sure how to get this data in a format I can use and consume? I was expecting some kind of JSON structure, hopefully there’s a way to get this info easily?
1
vote
1answer
31 views

How to move sync's data to another partition after run Bitcoind for a while?

I have download a new bitcoin package from official site. And then I ran it with daemon mode also with default configuration (Default means not bitcoin.conf file was created in ~/.bitcoin/.bitcoin....
1
vote
2answers
244 views

Bitcoin regtest mining

I wonder if I can do mining with Bitcoin-0.16.1 in regtest mode, just for simulating mainnet situation where there are new blocks coming in constantly. I am aware that I can use generate to generate ...
0
votes
1answer
240 views

How to Connect already running bitcoind in AWS to Insight API in different AWS Server

Need to create a bitcoin explorer using bitcoind. I am using bitcore and insight API for this purpose. Currently running bitcoind in AWS Server with all port open. Need to connect this running ...
0
votes
0answers
52 views

reindex zcash syncing issue

I have installed zcash-bitcore-node & follow this site https://www.npmjs.com/package/zcash-bitcore-node. It started syncing by using sudo zcash-bitcore-node start, but when I stop zcash server it ...
0
votes
1answer
35 views

lot of bitcoinj clients have connected to me

Looking at my peers list in the debug window for my node, I can see that a lot of bitcoinj clients have connected to me. Is this any cause for concern?