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

0
votes
0answers
8 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 ...
0
votes
1answer
17 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
votes
0answers
8 views

How to find ROI of bitcoin?

https://masternodes.online/ provides detailed information of a coin where they provide Price, Change, Volume, Marketcap, ROI, Nodes, required, Mn Worth. I am able to get price, change, volume, ...
1
vote
0answers
22 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
19 views

Raw Transaction Fee - 256: absurdly-high-fee error

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

code : -26 message : “16: bad-txns-time-earlier-than-input”

I'm trying to sendrawtransaction using bitcoin-cli and getting the error { code:-26 message:"16: bad-txns-time-earlier-than-input" } I've decoded the raw tx { Time:0 locktime:0 size:123 ...
0
votes
1answer
13 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
0answers
16 views

couldn't connect to server: EOF reached (code 1)

I'm running a full node on my raspberry pi3. I try to do a simple command such as bitcoin-cli getblockchaininfo but I always get this error: error: couldn't connect to server: EOF reached (code 1) (...
0
votes
1answer
13 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
0answers
31 views

How to fork in existent altcoin?

I am running altcoin from old bitcoin and am gonna hardfork. By Research, I know I should add my mined hash and time in checkpoint.cpp. To do so, I need to mine first, seperated from all peers to not ...
0
votes
0answers
10 views

Samourai Trusted Node Setup

After following the instructions here: https://support.samourai.io/article/40-configure-your-node-for-samourai-wallet and https://support.samourai.io/article/39-enable-trusted-node-in-your-wallet I ...
0
votes
1answer
36 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> &...
0
votes
0answers
28 views

How to setup a node for tether(USDT)

How to setup the tether node as like as the bitcoin? and is there any RPC command for that. Any suggestion please. Thanks in advance.
1
vote
1answer
22 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
21 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
17 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
19 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
0answers
21 views

Best configuration to use for optimization of JSON-RPC calls?

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. The script I am using iterates through each block ...
0
votes
0answers
25 views

What would be the ubuntu server configutation for runngin 10 bockchain nodes?

I have list of cryptocurrencies nodes like, BTC, LTC, DOGE, DASH, QTUM, ZCASH,BCH etc. All most Ihave ten coins, I would like to run the daemon for all the coin nodes on a ubuntu server. What would ...
1
vote
1answer
40 views

How to convert script hash to base58 address?

For example : take a look at this 37d1d453311ea5682cdb31468826178db15fa731722a5dbb09525ea901f1c41c scripthash. I need help converting it to base58 address. Thank you.
1
vote
1answer
29 views

How to extract addresses from input in raw transaction

I need help to get input addresses from "vin" in offline mode. I don't know how https://live.blockcypher.com/btc/decodetx/ is doing it. Example raw transaction: txn id : ...
0
votes
1answer
26 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
19 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
17 views

How does a wallet tool to store user's private keys [closed]

I would like to ask about how a wallet tool can safely save a private key. This wallet tool can help you send a transaction. You only need to click the button to send it. How should you help the user ...
0
votes
0answers
31 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
31 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 '...
0
votes
1answer
22 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
12 views

Can't compile bitcoin-qt on Ubuntu

I am using Ubuntu in a virtual machine I've cloned the git the source code of Bitcoin. I want to compile in Ubuntu. But something seems to go wrong. Makefile:3678: recipe for target 'install-...
0
votes
0answers
23 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
15 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
31 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
17 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
32 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
47 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 ...
0
votes
0answers
13 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
17 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
9 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
11 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 ...
0
votes
0answers
19 views

Laravel homestead and bitcoind rpc

I use in my work Laravel homestead... Before, bitcoin node run on vps and all work fine. But now i installed bitcoin node on my local computer and homestead can't connect to bitcoind rpc (Connection ...
0
votes
2answers
40 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
23 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 ...
0
votes
1answer
37 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
27 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
0answers
30 views

Installing and setting up Bitcoind - ZMQ errors

I'm trying to install Bitcoind. I am running Ubuntu 18.04. Here are the commands I ran to start it. sudo add-apt-repository ppa:bitcoin/bitcoin sudo apt install bitcoind Here is my bitcoin.conf ...
0
votes
1answer
26 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
0answers
11 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
51 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
15 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
0
votes
1answer
11 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
18 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 ...