Stack Exchange Network

Stack Exchange network consists of 175 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 [bitcoin-core]

This tag should be used for questions pertaining to Bitcoin Core. Bitcoin Core is an MIT-licensed Qt 5 GUI application for the original Bitcoin codebase. Additional/previous names include "Bitcoin-Qt", "Satoshi-Client", and "Standard Client". This tag should be used when referring to the Bitcoin Core software.

2
votes
1answer
21 views

How to revert back several blocks in Bitcoin Core without re-syncing from scratch

My node was running on a computer that I accidentally unplugged and it died. When trying to restart Core now it is not working, presumably because the computer dying forced Core to exit non-gracefully....
0
votes
0answers
39 views

Bitcoin walletnotify doesn't pass the txid as %s

Thoroughly searched this online but haven't found an answer yet. Basically I'm using the below line in my conf file: walletnotify=C:\pathname\filename.py %s It is supposed to run my python file ...
0
votes
2answers
60 views

Lightning - Question about force-closures of channels and its impact on recovering funds

Dear Lightning experts, someone mentioned in context with lightning channels the following things, and I would like to ask you if this statements are true, and if yes, is this a problem in a future ...
0
votes
0answers
13 views

Is their a way to use Bitcoin's Testnet/LN Testnet within CLI without downloading Bitcoind?

I'd like to start working with Bitcoin's & Lightning's Testnet but don't want to download bitcoind on my current computer.
0
votes
0answers
24 views

Can I safely delete database.bak from wallet folder?

In order to save space. I cleaned it up and now my bitcind in freezing, but this might not be the cause.
0
votes
1answer
22 views

How do I run the bitcoin bx tool in my terminal

I am reading the book Mastering Bitcoin. At some point, I came accross the bx command and tried to run it in the same way as bitcoin-cli (I've got a bitcoin core node running). But I just get the ...
1
vote
1answer
45 views

Witness program hash mismatch while signing bech32 transaction

I'm trying to sign a transaction using signrawtransactionwithkey on bitcoin-core 0.17 but I'm getting the following error: {"ERROR":"[{"txid":"...
0
votes
1answer
18 views

sendtoaddress command doesn't work with bech32 bitcoin core 0.17

I have bitcoin-core 0.17 working on regtest mode and when I try to send to a bech32 testnet address I get invalid address I have set addresstype=bech32 on my bitcoin.conf
0
votes
0answers
23 views

python-bitcoinrpc: modulenotfounderror no module named 'bitcoinrpc'

I'm running bitcoind/ bitcoind -regtest on Windows 10 and am already able to use bitcoin-cli -regtest along with json-rpc methods to perform basic operations and get balances etc. When I try to do ...
0
votes
0answers
24 views

Is it possible to get a block by timestamp?

I use Bitcoin Core API and I can retrieve a block by header hash as parameter using the getblock method. I need to get a block by given timestamp (median time). I found some solution. ...
0
votes
1answer
22 views

Bitcoind live wallet backup (by copying wallet.dat)

Is it safe to copy wallet.dat while the daemon is running, or should the daemon be stopped before doing so? I'd imagine it would be safe unless addresses are being generated exactly at the same time.
3
votes
1answer
31 views

What information does a lightning network node hold?

Just setup my first lightning network node, what information exactly am I downloading when syncing?
0
votes
0answers
22 views

How to most efficiently keep in sync blockchain on offline computer (including through bitcoin-qt upgrades)?

I have bitcoin-qt running on online computer. I want to: copy blockchain to offline computer (preferably using WORM media for security reasons) from time to time update offline copy with newest ...
0
votes
1answer
24 views

What's partial spending? What does avoidpartialspend do?

Group outputs by address, selecting all or none, instead of selecting on a per-output basis. Privacy is improved as an address is only used once (unless someone sends to it after spending from it), ...
0
votes
1answer
54 views

Bitcoind could not locate RPC credentials but rpcuser and password are set

I installed bitoind and synced it. But when i'm trying to connect from my php website i getting: Unable to connect to http://user:password@my.bitoind.server.ip:18332/. Also when i'm trying to see ...
0
votes
0answers
24 views

Wallet error ErrorFile=… /testnet3/wallets/db.log

I want to use two deamon for sync mainnet and testnet. I Run $ bitcoind for mainnet without problem After I run $ bitcoind -testnet But I get this error BerkeleyEnvironment::Open: LogDir=/home/...
3
votes
1answer
54 views

Are Bitcoin core devs contributing to ISO/TC 307 Blockchain and distributed ledger technologies

I was just being made aware of the standardization process about blockchain and distributed Leger technologies. https://www.iso.org/committee/6266604.html In this picture from the talk that I am ...
0
votes
1answer
30 views

HD wallets and multisig

Is there any standardized way to define HD wallet accounts used to participate in multi-signature transactions? How do existing multisig wallets derive their keys from the seed it? How is Bitcoin Core ...
0
votes
1answer
31 views

Bitcoin core node is not starting after -prune is applied in bitcoin.config file

I have a bitcoin core full node version 0.17.1 running on my machine. I want to enable prune on the node to save space on the disk. When I apply -prune=15000 in bitcoin.config file and restart bitcoin ...
0
votes
0answers
20 views

Bitcoin Core download

How long it normally takes to download full database of blocks in Bitcoin Core I have fast internet, but after 72 hours I'am only on 50 percent. Thank you
0
votes
1answer
18 views

Does pruning node keep old wallet's transactions?

Does pruning node keep old wallet's transactions? For example I need to use the gettransaction API to retrieve a wallet's transaction in a deleted block, should I use the pruning mode? I cannot find ...
0
votes
1answer
35 views

Bitcoin RPC. How to close wallet files opened by bitcoin?

Bitcoin RPC unloadwallet command does not close files opened by bitcoind process. I want to generate addresses for multiple wallets (over 1000) and get 'Too many opened files error'. Is there a way to ...
0
votes
2answers
22 views

Bitcoin core make error

I am new to bitcoin core development. I have created a clone using bitcoin core on a mac os mojave 10.14.3. I am have installed all dependencies and am able to run the autogen.sh and configure with ...
0
votes
0answers
20 views

How to convert fee_estimates.dat into a human-readable format?

I would like to take a look inside fee_estimates.dat to understand a bit better how the RPC command estimatesmartfee works. However, when I open the file in a text editor, the content is not readable. ...
0
votes
1answer
34 views

Implementation of getdata

I am confused about how getdata() is actually implemented at full nodes. Suppose a full node receives a getdata() request with MSG_BLOCK flag and a hash H of some block B. Then would it simply look ...
1
vote
1answer
54 views

estimatesmartfee outputs very different results

Around block 564815 (2019-02-26 23:40 UTC), the mempool was empty. I noticed that my two nodes are giving very different estimates for transaction fees to be used: Node 1 Version: 17.1.0 Number of ...
0
votes
1answer
50 views

Bitcoin Core has some confusing UI text

I'm trying to localize following UI texts of Bitcoin Core, but I cannot understand them: Cannot upgrade a non HD split wallet without upgrading to support pre split keypool. Please use -...
1
vote
2answers
64 views

How to complete install of bitcoin-0.17.1 on linux (fedora 29)

So I downloaded and unzipped bitcoin core. I now have bitcoin-0.17.1 sitting in my home directory . What next? How do I install and run this? (Obviously I am a newb, help much appreciated.)
0
votes
1answer
97 views

Bitcoind daemon: error connecting to the server?

I am trying to create a new bitcoin address and store it in a shell variable $NEW_ADDRESS. When I run this command: $NEW_ADDRESS=$(./bitcoin-cli getnewaddress) I get the following errors: error: ...
3
votes
1answer
65 views

What will happen if all bitcoin nodes are pruned?

Does Bitcoin handle the case where all nodes are pruned? How a new node would get the full Blockchain?
0
votes
0answers
30 views

How to calculate difficulty re target?

I am trying to re-calculate difficulty and verify by using the formula T${new}$ = T${old} \times \frac{Time~ taken~ for~ previous~ 2016~ blocks}{2016~\times ~600}$ I used block #s 564697 and 562681 ...
0
votes
1answer
31 views

.indexes & .tesnet3 not located on my Bitcoin dir

started fresh a new lightning node using the raspiblitz guide but while synching the client from my desktop pc (MAC) i wasnt able to locate these files ( “.indexes .testnet3” ) required by the guide ...
0
votes
1answer
58 views

Bitcoin-qt -testnet 0.17.1 Send and Receive buttons do nothing

Fully synced on testnet blockchain after building Bitcoin with UI and wallet enabled on Ubuntu 18.10. Pressing Send and Receive buttons results in no UI displayed. Receiving addresses dialog doesn't ...
0
votes
1answer
54 views

transaction issue

In the absence of someone at home, I noticed two incomprehensible transactions. Why does a large transaction with a n/a address? Or is this some kind of trick of the BItcoin Core client?
0
votes
1answer
63 views

Bitcoind doesn't start

Im trying to make Stadicus guide work for both Bitcoin Core & LND I did download the blockchain and moved to the HDD on my Rasp3 However, when starting the bitcoind service, im having this debug....
0
votes
0answers
41 views

How to create Bitcoin HD waller in node.js?

I know that there were similar questions to mine before but most of them was verry old and I couldn't find any helpful answer. So I want to make deposit system on my website where every user will have ...
0
votes
2answers
29 views

Does a Node connect to all the peers?

Does a Node connect to all the peers in the network? Or just a few? If its just a few, how many? If its just a few, what about if all of those nodes in the list are malicious?
0
votes
0answers
47 views

“Processing blocks on disk” taking forever

I started download the bitcoin blockchain on a 250GB hardrive with prune=0, txindex=1 on bitcoin.conf file. I downloaded like 95% at a rate of around 10% per 8 hours. I didn't have enough free space ...
0
votes
1answer
51 views

Setup a full node on server for frond end Wallet

I am a new in bitcoin technologies. I want to setup a full node on cloud server. Also I need to use RPC of this server for front end app.That is creating bitcoin wallet and its further operations(such ...
0
votes
1answer
69 views

What is the difference between P2SH redeem script on Bitcoin and on Litecoin?

I am building a service that is based on multisig wallets. My current progress is so that I've implemented the multisigs for Bitcoin network and it works fine. Now I am on Litecoin and I am facing ...
0
votes
1answer
34 views

Bitcoin core and transaction fees

I'm using combination of 'createrawtransaction' and 'fundrawtransaction' API calls to create my transactions. I don't pass 'feeRate' option to 'fundrawtransaction' and rely on bitcoin wallet to figure ...
0
votes
1answer
45 views

Transaction created, but txid not found on blockchain explorers

Transaction created as same others, but status - 0/unconfirmed And txid nod found in block explorers Transaction ID: e9c858f852a1de7c70e6f8377f2147f3def1d4b1d85a5947d028bb9c13450318 How to succefuly ...
9
votes
2answers
141 views

BIP44: What's the use of internal addresses?

I've read other questions (and their answers) on this but I still don't see the use for internal addresses. I get that you're supposed to send the change of a transaction there but I don't see how ...
2
votes
1answer
38 views

Whats the difference in way you installing full nodes

I'm newbie in blockchain world, so I'm curious what is the difference between installing full node by using libs such as bitcore-lib (using node.js) and installing it through the daemon (mentioned ...
0
votes
2answers
49 views

Is it possible to generate(mine) a block with specific transaction via bitcoin-cli on regtest?

I want to generate a block with specific transaction via bitcoin-cli on regtest. The "generate" command does not have the option. It collects transactions in mempool by the default rule. I guess I ...
1
vote
1answer
58 views

How to discover startup flags or command-line options for bitcoind?

I'd like to query the Bitcoin daemon (bitcoind) to find out what startup flags (command-line options) were sent to it on startup (or the current state if it has changed, e.g. -server=0/1 changing). ...
0
votes
0answers
16 views

How to sign an omnilayer transaction without setting up omnicore node in NodeJs?

It seems that i'm able to do all a wallet endpoints could make with omniexplorer's API here: https://api.omniexplorer.info/#request-v1-properties-gethistory-property-id except not knowing how to sign ...
2
votes
0answers
18 views

how does PACKAGE_NAME defined and used in bitcoin source code?

In bitcoin source, I found a variable named PACKAGE_NAME, how does it works?
0
votes
2answers
40 views

Why is there a finite amount of bitcoin addresses and how is the range of possible addresses determined

My first question is what the precise logical/theoretical reason is that there are only a fixed amount of possible bitcoin addresses. Secondly, I can generate a bitcoin address by using address(sha256(...
0
votes
1answer
49 views

mining difficulty is not changed on regtest

I want to see the automated mining difficulty change on regtest but it did not change even I generated 2016 blocks. How can I see it? // initial difficulty $ ./bitcoinA/src/bitcoin-cli -rpcuser=...