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
11 views

Using bitcoind RPC to identify an incoming transaction that has been replaced using BIP125 Replace-By-Fee

In the context of running a web service that accepts payments in Bitcoin, how can we use bitcoind to identify a transaction that has been replaced using BIP125 Replace-By-Fee? When RBF is used, a new ...
1
vote
1answer
20 views

Does bitcoind store timestamp at which private key was imported?

If we import a private key using bitcoin-cli importprivkey <key>, is there anyway to find out when the import was done? I am hoping a timestamp is included.
1
vote
1answer
17 views

Good documentation on starting bitcoind and bitcoin-cli after building them on Ubuntu Bionic

I have been following Antonopoulos book but it seems to be outdated. I am having elementary problems. Which command to run when, after I build bitcoind and bitcoin-cli. How am I to get blockchain to ...
0
votes
2answers
16 views

Where is bitcoin.conf and why doesn't bitcoind find existing datadir v0.17.1

Just built no gui, no wallet bitcoin on WSL Ubuntu Bionic, Bitcoin v0.17.1. I want to experiment with bitcoin-cli. I followed recommendation to run bitcoind -princonsole and it says: Using config ...
1
vote
1answer
28 views

How does `bitcoind` generate the private key?

My question is how the bitcoin core client generates a (master) private key(s)? I know from other wallets, that they take the mnemonic and generate a HD wallet master key. With the master key, the ...
0
votes
0answers
16 views

Bitnodes for node on testnet

I have used the bitnode's own script to install a full node on an Ubuntu 16.04 Digitalocean droplet. I can verify that my node is up and running by checking the IP with port 8333 on Bitnode's check ...
0
votes
1answer
16 views

in transaction, what is 'hash' data?

i'm studying Bitcoin: A Peer-to-Peer Electronic Cash System Satoshi Nakamoto and this paper introduce a transaction model. (above picture) but i don't understand what is 'Hash' means exactly i ...
1
vote
1answer
14 views

What are the network requirements of running a bitcoin node?

I have been hosting my bitcion node in a simple Kuberenetes setup (without istio). I recently learnt about istio https://istio.io/ and want to use it for hosting my bitcoin node. However, I am not ...
0
votes
2answers
54 views

how bitcoin reject invalid transaction? (with createrawtransaction)

i'm studying 'Mastering Bitcoin' and have a questions, in this book, we can send coin to other wallet by createrawtransaction but there is no enough secure method. we can find other's wallet ...
3
votes
3answers
46 views

Does a bitcoin node broadcast that it is full synced?

When a bitcoin core node is fully synced, does it broadcast to the rest of the network that is has finished syncing? If yes, where in the bitcoin-core source code is this implemented?
0
votes
0answers
26 views

Bitcoin Address Index, now that Bitpay/Bitcore is not reliable

Other than Bitpay/Insight-UI, are there other tools that index addresses from the Bitcoin blockchain. I want to be able to query the index like this "https://btc.com/...
-5
votes
1answer
35 views

Can I modify bitcoin as per my requirement?

I have taken bitcoin code,and have builded the coin successfully, now i want to change the parameters of my coin so could it possibe suppose i want to define parameters like i want to generate total ...
0
votes
1answer
15 views

getrawtransaction not working for 0th BTC block transaction

I am trying to insert BTC blocks and transactions in MONGODB collection from count 0 using Python3. getrawtransaction is giving output for block 1 but not for block 0. Can somebody help me why this ...
-2
votes
0answers
19 views

bitcoin-0.8.1 version how to generate exe file

i am try to get the exe file from bitcoin-0.8.1 version .In bitcoin latest version we can get easily exe file but bitcoin-0.8.1 version its not like latest version so if anyone can help to generate ...
1
vote
1answer
27 views

Could bitcoind support SPV mode by setting different args

There are multi nodes type could be used in bitcoin network. Could bitcoind support running different types of nodes by different sets of args? I found many discussion here, but seems no clear ...
0
votes
1answer
21 views

addnode vs seednode

Could someone please elaborate on the difference between the addnode and seednode settings in the bitcoind configuration file. -addnode=<ip> Add a node to connect to and attempt to keep the ...
-1
votes
0answers
24 views

Insert BTC blocks and transactions in mongodb

I am trying to insert bitcoin transactions into MongoDB using python3. Below is my code : import pymongo import sys import json import time from bitcoinrpc.authproxy import AuthServiceProxy, ...
-1
votes
0answers
33 views

Sharing datadir for multiple bitcoind on a host

I was skeptical about sharing a datadir for multiple bitcoind running on single host (in containers). [Sharing because it saves disk bandwidth and space] Because older blocks are immutable, they ...
0
votes
1answer
29 views

Is there a way to create 9995000 spendable BTC on regtest?

I'm doing to a large stress test on 1000 node network where each node sends transactions to one another at a specific rate, and I need a way to create the funds for running it, enough so that each ...
0
votes
1answer
29 views

json-rpc of bitcoin not working for testnet(curl command)

I am trying this command to get transaction from bitcoin testnet: curl --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "gettransaction", "params": ["txId"] }' -H 'content-type: text/...
0
votes
1answer
22 views

Can't use bitcoin-cli commands, error message says “could not connect” from localhost

I am simply trying to run bitcoin-cli getinfo on the same machine that my bitcoin node is running on (with bitcoind -daemon) my bitcoin.conf file is as follows: server='1' rpcuser='username' ...
0
votes
1answer
21 views

Unable to get transaction with json-rpc command

I am trying this command to get transaction from bitvoin testnet: curl --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "gettransaction", "params": ["txId"] }' -H 'content-type: text/...
1
vote
1answer
80 views

What are the issues of running lightning daemon with pruning node?

Most lightning implementations I came across don't officially support pruned full node. Why is pruned mode implementation a challenge? What risk am I taking when I run lnd with pruned bitcoind?
-1
votes
0answers
13 views

bitcoin-transaction npm showing Bad Request in response

I am using bitcoin-transaction node npm package for transfer satoshi from one address to another on testnet. I have 0.67779124 satoshi in my testnet address. and I want to transfer it to another ...
0
votes
1answer
56 views

Create simple and secure transaction without checksig?

According to my previously asked question (P2SH secure spending. How?) creating transactions without signature checking is probably not secure. Anyway, I see many transactions (for ex.:...
1
vote
1answer
49 views

Bitcoin RPC connection

I am trying to insert bitcoin transactions into MongoDB using python3. Below is my code : import pymongo import sys import json import time from bitcoinrpc.authproxy import AuthServiceProxy, ...
0
votes
2answers
46 views

P2SH secure spending. How?

Maybe my question is stupid, but imagine that I'm trying to spend inputs from p2sh. For example, p2sh scriptPubKey looks like: OP_SHA256 ...
1
vote
1answer
29 views

Passing a wallet to rpcwallet in bitcoind JSON RPC

I want to set a wallet as default wallet in the commands that run with json-rpc calls. the -rpcwallet=blah sets the blah wallet as the wallet which command will run on it; how can I simulate the ...
3
votes
1answer
24 views

Why bitcoind will shutdown after encryptwallet?

As mentioned in the bitcoin-cli document for encryptwallet command, bitcoin daemon will shut down after encrypting a new or unencrypted wallet. My question is about the reason for shutting the node ...
1
vote
1answer
49 views

Txindex=1: how to recognise the blockchain with this option?

This might be a dumb question: I started the Bitcoin daemon for an initial blockchain download. It immediately started downloading, I edited the Bitcoin.conf file with txindex=1. Stopped and restarted ...
1
vote
2answers
90 views

Operation not valid with the current stack size

According to bip65 https://github.com/bitcoin/bips/blob/master/bip-0065.mediawiki I can use expressions like IF ... ELSE ... ENDIF Here is example script from this document: IF HASH160 <...
2
votes
1answer
108 views

Error parsing JSON in bitcoin-cli signrawtransactionwithkey

I have issues trying to sign a 2/3 multisig tx with the first private key. What am I doing something wrong or am I missing something for the arg? Command format: /usr/bin/bitcoin-cli -testnet ...
2
votes
0answers
33 views

How to get multiple connections to the same node

I'm playing around with connecting my node to another one of my nodes to see how many incoming connections I can handle. Whenever I add node A from node B with bitcoin-cli addnode 1.1.1.1 add after ...
2
votes
1answer
31 views

Generate new .onion address for bitcoind over tor

Been following this guide just to tinker around with bitcoind over tor. According to the guide, when bitcoind controls the tor daemon using controlport=9051 whenever you restart bitcoind tor should ...
1
vote
0answers
33 views

What is the best way to test new consensus protocol?

I wanted to test a new consensus protocol. However, the bitcoin core is a large codebase (>100k lines). Is there any small codebase which is designed to test new consensus protocols and includes only ...
0
votes
1answer
15 views

How can I have Bitcoind.exe use the core data from Bitcoin-QT on my D drive. Using Windows 10 [duplicate]

I down loaded Bitcoin core to my D drive, because it's too big for my C drive. Bitcoind.exe keeps creating AppData/Roaming/bitcoin where the core is down loaded. However I already have the core fully ...
1
vote
1answer
27 views

Bitcoin full node sharing blockchain

Does anyone know how one might run two bitcoin full nodes on the same machine with both these nodes sharing the same blocks and chainstate files, is a symlink to these files enough or must something ...
1
vote
2answers
37 views

how to set the transactions fee using the RPC call?

I am creating the web wallet for the bitcoin , I want to allow web wallet users to set the transactions fee . Is their is any rpc call available for setting the transactions fee (for setting ...
1
vote
0answers
62 views

Running multiple Bitcoin nodes on same network

I want to run a bitcoin node on two separate devices (computer + dedicated hardware device) on the same network (and would like them to be externally accessible). Specifically, I have a Casa Node ...
1
vote
1answer
64 views

Bitpay xPrivKey to private key

Network: BCH testnet Client: bitcoin-abc-0.18/bin/bitcoind and bitcoin-cli I want to convert xPrivKey which is from exported Bitpay wallet file to private key for using bitcoin-cli importprivkey ...
2
votes
1answer
35 views

ScriptSig Conversion in Python

I'm trying to convert a scriptsig into bytes so that I can better extract R & S values, but when I try and convert, I'm missing some of elements that should be there, like x30 for example. ...
0
votes
1answer
42 views

Private key only wallet for Bitcoin Core regtest

I'm running a private regtest network on GCP. I generated a list of 2000 vanity testnet addresses ordered sequentially from prefixes mooo1 to n2ooo with their respective pub/priv key pairs, and to ...
1
vote
0answers
16 views

Lightning network (lnd): What's the best way to report lnd server issues/ask for help with channels that won't close?

I've been running a lnd/bitcoind node (mainnet) for a few months now. I had a couple open channels, made a couple purchases, things seemed pretty stable. But then I moved cross country, and in the ...
0
votes
1answer
24 views

EXCEPTION: 15dbwrapper_error

I'm running Bitcoind 0.17 on a raspberry Pi 3. Everything ran smoothly until I did something wrong (I guess) but can't figure out what happened. Now I got this error. Has someone experience with this ...
1
vote
1answer
27 views

Run multiple wallets on the same system

Setup: 10 clients. Each client has his own wallet on my secured system. An API service manages these wallets. Leading Questions: Each wallet should run as a separate process of "bitcoind"? If so, ...
1
vote
0answers
25 views

What is the cheapest way to pull the data from bitcoind/bitcoin-core?

I am wondering if there is a cheap way to scrape the bitcoind data. I am using a remote server and cannot spend too much time running this program otherwise it would be expensive. I am wondering if ...
2
votes
1answer
26 views

Pruned nodes update tip performance

If I run a node with prune=550 does the Bitcoin Daemon still receive update tips (mined blocks) just as fast as a full node?
0
votes
1answer
42 views

What is the algorithm behind multisignature address and redeem script?

I know you can create a multisignature address with the command: bitcoind createmultisig 2 ["pubkey1", "pubkey2", "pubkey3"] As described here: https://gist.github.com/gavinandresen/3966071 This ...
0
votes
1answer
41 views

bitcoin core wallet transactions syncing

ill explain the steps i want figure out. I have an empty bitcoin core wallet . Step 1. I backup the wallet and go offline. Step 2. Someone send me a bitcoin to this wallet and i can see it(in ...
0
votes
1answer
72 views

LoadBlockIndexDB: transaction index disabled after copying blockchain

Previously discussed here: LoadBlockIndexDB: transaction index disabled but thread was abandoned. Started a new thread here. Twice I have gotten the same error: 2018-11-20 15:43:41 LoadBlockIndexDB:...