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
2answers
32 views

how bitcoin reject invalid transaction?

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
38 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
24 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
32 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
14 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
17 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
19 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
23 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
31 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
27 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
25 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
20 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
20 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
72 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
votes
0answers
17 views

How to reuse the blockdata download in a ubuntu in a mac?

I have a ubuntu machine which has complete new block data in ~/.bitcoin/, since I need start bitcoind from a mac, I copied all the files from ubuntu to proper location in mac (which is ~/Library/...
1
vote
1answer
42 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
votes
0answers
19 views

Bitcoin IBD cache usage goes back in size every few minutes, why?

I am running bitcoin-core with config options dbcache=16384 and maxmempool=8192 on a 8core 32G ram machine. In the debug.log, I can see the cache size increasing till around 710mb, and then starts ...
1
vote
1answer
25 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 ...
-1
votes
0answers
15 views

What is the actual second receiver address after called “sendtoaddress” RPC command? [duplicate]

Yesterday I made a transaction(tx id: 723dce1992811e29e382f89ce55f3e430fc3d7446c085025d5b605b879b64e62) , to send 0.003 BTC to an adress: 34shDKnPjUzLvFuVn2y1wGGfsuMNFrCHAK My RPC commands are 2 ...
3
votes
1answer
21 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
votes
0answers
25 views

Is there is any one who can provide the logic to set the transaction fee for bitcoin transcation?

I am searching for the rpc function that will set the transaction fee . So far i am not able to find. how can we set the transactions fee for setting the transactions priority.
1
vote
1answer
46 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
85 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
97 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 ...
-1
votes
0answers
23 views

When was segwit released? I need to know the year that transactions hashes started switching over to segwit from legacy [duplicate]

I am just wondering when transaction hashes were able to be segwit rather than legacy. Thanks I need to know the year preferably.
2
votes
0answers
32 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 ...
-1
votes
0answers
18 views

sendfrom api taking txin for entire wallet.Not only for sender address txin [duplicate]

I've multiple accounts(label) in single wallet(wallet.dat). (Multi wallet is not added in final/master branch of Litecoin Ref link) Now when I use sendfrom api to transfer from one account to another ...
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
36 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
58 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
63 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
41 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
14 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
26 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
25 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
41 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
40 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
68 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
54 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
28 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 ...