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).

1
vote
0answers
51 views

Ubuntu Bitcoin Core Node Upgrade - Keeps starting v0.16.0

I have done this: sudo add-apt-repository ppa:bitcoin/bitcoin sudo apt-get update sudo apt-get install bitcoin-qt But whenever I start bitcoin-qt from my console, it starts up 0.16.0. How can I fix ...
3
votes
1answer
92 views

Regarding CVE-2018-17144 and test cases

Regarding the serious bug found (CVE-2018-17144) I am note sure if I understand the full scope of it correctly. As far as I understand, any block containing a double-spend of a transaction output ...
1
vote
0answers
29 views

How to find reward of total bitcoin?

I have been developing an application for few coins to get details of the coin, it's more like https://masternodes.online/, where we need to show the ROI, Nodes, required, Minimum Worth of a bitcoin, ...
0
votes
1answer
186 views

Raw Transaction Fee - 256: absurdly-high-fee error [duplicate]

I'm running the following codes, respectively. bitcoin-cli -testnet createrawtransaction ''' [ { "txid":"751b6361cd8d621de00466363120e5da2176c3cc092cb3f0b7373b02591372d2", "vout" : ...
0
votes
1answer
63 views

What applications of clients use bitcoin JSON-RPC?

As far as I understood, the Bitcoin JSON-RPC is one of the ways (if not the only way) in which applications can be built that can access the bitcoin wallet. So, the RPC server here gives that access ...
0
votes
1answer
46 views

Manually create a transaction to spend the output of a P2SH tx

I want to manually create a transaction to spend the output of a P2SH tx, but I don't know where the redeem script should be placed in the new transaction? I followed an online tutorial Building a ...
1
vote
1answer
69 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
55 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
188 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
38 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
51 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
115 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
44 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
0answers
216 views

Error code -28: loading block index (Raspberry pi)

I'm new here and searched everywhere but couldn't find an answer on my question. I want to set up my Raspberry PI fullnode for LND lightning. But it keeps giving me this error: admin@P2P:~ $ ...
0
votes
1answer
84 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
29 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
0answers
49 views

How to flush bitcoind cache?

I have been working with a bitcoin full node trying to implement a personal blockchain explorer using RPC API calls to populate an external database. After trying to gather some statistics on RPC ...
0
votes
0answers
88 views

Bitcoin/PIVX JSON-RPC and CURL just returns Unauthorized

No matter what I try, I cannot get a request to PIVX wallet / Blockchain Api. It works 100% in curl from CMD. curl --user user:pass --data-binary "{\"jsonrpc\": \"1.0\", \"id\": \"curltest\", \"...
0
votes
1answer
171 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
0answers
26 views

Bitcoin Tools for 'testers'

I am writing a Bitcoin application and want to give my testers the opportunity to see what is going on on the blockchain. The plan is to test the application mainly on a local Regtest network. I did ...
0
votes
1answer
57 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
106 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
97 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
83 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
13 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
201 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
42 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
79 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
108 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
51 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
30 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
67 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
0answers
33 views

sending & receiving bitcoin transactions - Semi - Automated

Hi I'm looking for a way to send transactions and track incoming transactions using some kind of software&/database/code that will let me choose how much to send dependant on preset formulas from ...
0
votes
1answer
28 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
147 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
92 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
128 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
79 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
0answers
37 views

gitian-builder fails when building a windows wallet

GItian-builder fails when I run deps-win32.yml. I am using bitcoin's earlier version so that to learn creating new coin. I'm using 0.8.7.4 and in that gitian-builder version there's a package ...
0
votes
2answers
195 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
27 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
104 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
113 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
566 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
46 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
31 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
44 views

How do you calculate fees with bitcoind?

Here is the transaction id as an example, please help me calculate using bitcoind: 10ff046cb00483c4b4222fe3d1798b98d5a17af55ff7fc0a6e1e2398b86c13bd