People who code: we want your input. Take the Survey

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.

633 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
5
votes
0answers
2k views

Format of mkey field in encrypted wallet.dat file

I am writing a C++ application to scour large files (typically disk images) for wallet.dat files, with the intention of recovering the private keys. At the moment I am struggling the data contained ...
5
votes
1answer
450 views

Can*t call chainActive.Tip()->nHeight in core.cpp

I want to call chainActive.Tip()->nHeight in core.cpp. It is not possible, I am interested in every idea. https://github.com/LIMXTEC/BitSend/blob/DEV-joshafest/src/core.cpp Here is an example : ...
5
votes
2answers
881 views

bitcond and bitcoin-Qt system configuration and bandwidth requirements

What is the best operating system configuration for a computer to run (bitcoind or bitcoin-Qt) and (BFGminer or CGMiner) under Linux, assuming that it will be connected to a 3 Terrahash mining rig on ...
4
votes
0answers
5k views

How to recover corrupted Bitcoin-Core blockchain?

I recently experienced a I/O error resulting in data block corruption or index corruption cause bitcoin-qt wasn't quitting so I forced bitcoin core to shutdown without killin it properly. I checked ...
4
votes
0answers
772 views

To sign raw transaction with Segwit Address in the TestNet

I am using Bitcoin core 0.14.1 testnet. I created a Segwit address. transfer some coins to this address. Now I want to spend it. I created a raw transaction using console command i.e. ...
3
votes
0answers
58 views

Compiling Bitcoin Core 0.21.1 on Apple M1 architecture

I'd like to upgrade from 0.21.0 to 0.21.1 on Mac Mini (Big Sur 11.1), compiling from source. When trying to compile the dependencies by running 'make' in /depends subdirectory, I get the following ...
3
votes
2answers
45 views

Bitcoin Core: Unit Test Failure: system_tests.cpp: Line 48 BOOST_AUTO_TEST(run_command)

I cloned the Bitcoin Core and did the build. But, I am experiencing a Unit Test Failure in system_tests.cpp, Line 48 BOOST_AUTO_TEST(run_command). First, my environment: Hardware: Intel i7-8550U @1....
3
votes
0answers
65 views

Various caches are defined in the Bitcoin source code. What do these caches refer to?

The source code is as follows: //! -dbcache default (MiB) static const int64_t nDefaultDbCache = 450; //! -dbbatchsize default (bytes) static const int64_t nDefaultDbBatchSize = 16 << 20; //...
3
votes
0answers
111 views

Is it safe to skip the initial block verification at startup?

The longest step in bitcoin core initialization is "Verifying last 6 blocks at level 3". The number of blocks checked at startup went down from 288 in 2014 to 6 now. Therefore, in order to speedup ...
3
votes
1answer
168 views

How do I calculate transaction fee for call to createpsbt()?

When my user invokes my app, he passes as an input parameter the desired value of the TX fee in satoshis per byte. I create a PSBT by calling createpsbt(). I exert complete control over the ...
3
votes
0answers
58 views

How to segregate wallet from bitcoin core | Run multiple wallets in different servers on one centralized bitcoin node

I am running bitcoin full node in a centralized server. I have many web applications running in various places. I want to connect this web applications with centralized full bitcoin node. How to ...
3
votes
0answers
98 views

Bitcoind 0.5.3 stuck at block 364,670 - what to do?

I compiled bitcoind using the same steps as last year. In particular I set DB_CONFIG: set_lg_dir database set_lk_max_locks 537000 Unfortunately once I hit block 364,670 (2015-07-10) I'm treated with:...
3
votes
1answer
1k views

How to build Bitcoin binaries for Windows on Ubuntu using cross-compile

I am trying to build Bitcoin 0.13 for Windows. I've always used this guide for building previous versions. Now seems that developers have changed their mind regarding Windows, and the new way seems ...
3
votes
0answers
1k views

How to choose between so many open-source bitcoin pool software

I am now in the venture of finding and setting up a bitcoin pool company. However, after some research, I found out that there are plenty of bitcoin pool software. There are: CoiniumServ Cryptonote ...
3
votes
1answer
367 views

Bitcoin Core 0.13 How many addresses it can **effectively** manage?

I want to know, what's the maximum amount of addresses that Bitcoin Core 0.13 can manage? All addresses should belong to the default account. I want to use walletnotify feature How startup time ...
3
votes
0answers
318 views

How to ignore balance check to cancel unconfirmed transaction (double spending)

I need to cancel a transaction that was sent without fee (using Blockchain.info). It is currently "Unconfirmed". The only way I have found is to do a double spend of the whole wallet, specifying a ...
3
votes
1answer
2k views

Bitcoin Core keeps crashing

I have Bitcoin Core v0.11.0 installed on a machine that's running Windows XP. After waiting several days to completely synchronize, I decided to update the bincoin.conf file. I didn't see one where ...
3
votes
1answer
497 views

What are the weakest cryptographic guarantees in Bitcoin?

I read in this Github pull that Bitcoin relies on weaker cryptographic guarantees than SHA256. What are the weaker cryptographic guarantees being referred to? Could it be that RipeMD is 160 bits? ......
2
votes
1answer
41 views

How to save the mempool information immediately before the node receives a block?

I want to use Bitcoin RPC API 'getrawmempool' to save the snapshot of the mempool immediately before my full node receives a block. This requires modification of the Bitcoin source code. How should I ...
2
votes
0answers
76 views

How to “create new receiving address” from recently installed full node, (0.21.0) with new encrypted wallet?

On March 11th, 2021, I completed my downloaded of the full node from Bitcoin Core, (Bitcoin-0.21.0-win64-setup), on my Intel(R) Core(TM) i7-10700 CPU @ 2.90GHz - 16.0GB, Windows 10Pro. I created a ...
2
votes
1answer
70 views

Unable to use `blocks` and `chainstate` from external drive

I want to use data directory from a different location (external SSD) on a Windows machine. When I save the path for it in bitcoin.conf it still uses old data directory. How can I use datadir in ...
2
votes
0answers
49 views

How to reliably check if your bitcoin onion node is reachable as advertised?

If getpeerinfo returns a good number of outbound onion peers but none show up as inbound:true, how do you check if your node is properly reachable as advertised? Several guides and forum answers ...
2
votes
0answers
58 views

Linking libsecp256k1 as shared library to Bitcoin Core

I'm not sure if this question is better suited in the context of Autotools, but since it's about Bitcoin Core, I'll try to ask it here. I am trying to Compile/Link libsecp256k1 as a shared library ...
2
votes
0answers
34 views

Does a Bitcoin Core wallet backup cover receiving addresses?

I have a Bitcoin Core wallet installed on my computer (from https://bitcoin.org/en/download). When I create a backup, will it also back up my receiving addresses? For example, I have give my address ...
2
votes
0answers
41 views

How to split a Bitcoin Core wallet

I have an 'omnibus' wallet.dat which holds balances for multiple parties which I would like to disentangle and split. The UTXOs are not blended, each UTXO is owned by a given party in whole and there ...
2
votes
0answers
38 views

Does the mempool size as reported by Blockchain.com include the size of txs only?

Does the mempool size as reported by (for instance Blockchain.com) include the sum of the 'size' of transactions only? Or does it also include the overhead (due to indexes, allocation overhead, ...
2
votes
0answers
46 views

How many times has the dust limit and minRelayTxFee changed?

I understand that there's no minimum tx fee or minimum tx output amount in the consensus rules. However, the default minimum values for a transaction to be considered 'Standard' in Bitcoin Core have ...
2
votes
0answers
602 views

Intermittent error “min relay fee not met” even with decent fee and custom Electrumx+Bitcoind

I have an automated system that sends BTC payments via Electrum for a client. Now, it happens again and again that payments keep failing with "min relay fee not met" (RPC call failed: {"code":-32603,"...
2
votes
0answers
214 views

Is it possible to use Bitcoin-core for multisig? Can it handle change addresses?

I have tried to import three xpub in a watch-only wallet as keypool with importmulti and a multisig output descriptor and to fill the first address with some BTCs. When I try to spend the newly ...
2
votes
0answers
99 views

what is fee_estimates.dat data format?

I'm trying to parse the file fee_estimates.dat. What is the format of the binary data inside fee_estimates.dat ? I didn't find any information about it in the dev documentation of Bitcoin. This is ...
2
votes
1answer
160 views

Why can't a user import keys to the keypool for a blank wallet?

I am creating a blank wallet with the intention of adding keys to the keypool but get an error keys can only be imported to the keypool when private keys are disabled Why? It would be beneficial for ...
2
votes
2answers
101 views

What is a mechanism of providing Merkle Path?

In the Bitcoin, SPV node can query that its transaction is included specific block to full node that provides merkle path which has super fast calculation. In terms of full nodes, they have full-...
2
votes
0answers
349 views

Bitcoin Core Blockchain Sync Fatal Internal Error - Corrupt Block - Linux

I'm trying to perform the IBD on Bitcoin Core 0.18 and I continually receive "Fatal Internal Error" at seemingly random intervals, closing bitcoin-qt and preventing me from fully syncing. Farthest I'...
2
votes
2answers
573 views

RPC call to get unconfirmed balance on a watch only wallet

We have a bitcoin core client running on a production machine. This machine cannot have the private key so each address is added as watch only. So far it has worked perfectly, but recently we need to ...
2
votes
0answers
469 views

How to sign bitcoin raw transactions with Python offline

I have a raw bitcoin transaction created using createrawtransaction unsigned_tx = "...
2
votes
0answers
25 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?
2
votes
2answers
671 views

Is it possible to run two Lightning Network nodes on top of single Bitcoin Core node?

I would like to simultaneously run LND and Eclair nodes on top of single Bitcoin Core bitcoind node. Is it possible? I wasn't been able to pull it off so far. If possible, how to set up ZMQ and ...
2
votes
0answers
64 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
0answers
86 views

Does Bitcoin Core v0.17.0 run on native wayland?

I'm trying to run bitcoin core v0.17.0 on Wayland on Fedora 29. When I run bitcoin-qt I receive Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland ...
2
votes
0answers
111 views

Why does a node get stuck in “Loading wallet…”

I've deleted wallet related things from .bitcoin folder including: .bitcoin/wallets and .bitcoin/chainstate and run bitcoin using bitcoind -reindex. This takes longer than just starting over from ...
2
votes
2answers
1k views

Issue on configuring the bitcoin core build on Ubuntu-18.0.4

I am trying to configure the bitcoin core build , as I use make , I received the following issue . ~/Desktop/bitcoin$ make Making all in src make[1]: Entering directory '/home/fu/Desktop/bitcoin/src'...
2
votes
0answers
99 views

Post SegWit Inclusion, how long until Lightning Network is included in the core?

Introduction - Reason for asking this question With most of the money in the cryptocurrency domain still being utilized in transactions on crypto-exchanges and the numerous hacks that have previously ...
2
votes
0answers
79 views

Why does the feature_block.py bitcoin functional test fail in tagged release 0.16.0?

I tried running the unit and functional tests from the latest tagged release (0.16.0) from https://github.com/bitcoin/bitcoin.git. To my surprise, there is one functional test that persistently fails ...
2
votes
1answer
331 views

Upgrade from Bitcoin QT 0.8.5 to latest Bitcoin Core 0.15.X

I bought and transacted BTC in 2013/2014. I had a Bitcoin QT 0.8.5 wallet. I plugged it in and it updated correctly to the latest block. It correctly showed my BTC balance. I made a transaction ...
2
votes
0answers
153 views

What is the alternative of Bitcoin-RPC-Client?

I am implementing Bitcoin-RPC-Client for web application but I found bitcoin-RPC-client is better than bitcoinj and what are the advantages and disadvanatges of Bitcoin-RPC-client.
2
votes
0answers
424 views

Abandon Transaction or Increase fee

I'm using Bitcoin core v0.15.1 and I am trying to send my BTC to coinbase. I have waited over 72 hours since initiating a transaction and when I right click the "abandon transaction" and "Increase fee"...
2
votes
1answer
1k views

Trying to open an old bitcoin core wallet.dat file fails

I am trying to open an old (~2012) bitcoin core wallet.dat with a bitcoin.com wallet, and it says that my password is incorrect, although it works great on my bitcoin core wallet. Was there any ...
2
votes
0answers
400 views

How to delete last n blocks / roll back to specific block number in Bitcoin Core? (Like `monero-blockchain-import --pop-blocks n`)

I have Bitcoin Core's bitcoind running and synced in a VM. Now I want to clone the VM and run one of the various hard forks (such as Bitcoin Cash) in the clone. The plan is to roll back my copy of the ...
2
votes
0answers
61 views

Share pre-fork blockchain between Bitcoin and Bitcoin Cash

I run full-node of Bitcoin on Bitcoin Core software. Now I want to also run full-node of Bitcoin Cash. I googled around and found three softwares which support Bitcoin Cash: Bitcoin ABC, Bitcoin ...
2
votes
1answer
393 views

Understanding a Wallet Restore

This is my first post on block chain related programming so please excuse my ignorance. I find the terminology in the BIP32 and BIP39 specs hard to understand so I'm trying to confirm my understanding ...

1
2 3 4 5
13