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

Filter by
Sorted by
Tagged with
0
votes
1answer
65 views

How to completely remove Bitcoin Lightning from Raspberry Pi

I finished the installation of Bitcoin Core and Lightning but somehow i messed up with the certificates and the creation of the wallet and now im struggling to run lightning with the right users and ...
2
votes
0answers
48 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
41 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
42 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
108 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 ...
2
votes
1answer
152 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 ...
1
vote
2answers
182 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
35 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 ...
2
votes
1answer
40 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
186 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
126 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?
-5
votes
1answer
46 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
40 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 ...
1
vote
1answer
85 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
78 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 ...
0
votes
1answer
72 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
58 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
96 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
104 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
195 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?
0
votes
1answer
73 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
251 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
86 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
149 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
53 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
156 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 ...
2
votes
2answers
210 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
681 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
51 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
91 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
50 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
23 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
43 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
93 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
310 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 ...
2
votes
1answer
205 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
59 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
106 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
37 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 ...
1
vote
1answer
114 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
268 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
28 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
64 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
61 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
111 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
176 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:...
0
votes
1answer
77 views

nSequence win OP_CSV in child tx must be equal to nSeq parent tx?

When I create OP_CSV transaction I need to set nSequence to the same number (in blocks) e.g. 3 OP_CHECKSEQUENCEVERIFY nSequence = 3 But when I trying to spend this tx (after 3 blocks confirmation)...
0
votes
1answer
34 views

Migrating from bitcoin core to bitcoind

I have installed bitcoin core in my ubuntu-14.04 which is working fine. Now I want to install bitcoind in the same Machine. Can I install bitcoind along with bitcoin core or I need to uninstall ...
0
votes
1answer
202 views

how to see bitcoin blockchain and addressess for testnet [duplicate]

in my site the user has a link to check the transactions and his wallet address. right now I am using this: blockchain: https://blockchain.info/tx/#{txid} address_url: https://blockchain.info/...
1
vote
1answer
210 views

How do you set txindex to 1?

I am using bitcoin.rpc.RawProxy to connect to bitcoind and scrape the data. But I am getting an error when I gettransaction and I have to reindex the blockchain. Thus I am wondering how I set the ...