Skip to main content

Questions tagged [bitcoin-core]

A full node implementation of the Bitcoin protocol with a GUI and a wallet. Bitcoin Core is a MIT-licensed Qt 5 GUI application for the original Bitcoin codebase. Additional/previous names include "Bitcoin-Qt", "Satoshi-Client", and "Standard Client".

Filter by
Sorted by
Tagged with
1 vote
0 answers
42 views

Clarity on rpc flag design to pass boolean arguments

I am working with RPCs flags that may have a boolean argument which is extracted using GetBoolArg and there are various ways to pass Boolean arguments. For example -fastprune=1 // true -fastprune=...
Prabhat Verma's user avatar
-1 votes
0 answers
58 views

hi ı have this file in my old harddire ı found it (wallet.Id_6800006af6b0147.dat) and cannot open with bitcoincore how canı use it?

hi ı have this file in my old harddrive ı found it (wallet.Id_6800006af6b0147.dat) and cannot open with bitcoincore how can ı use it?
romeo's user avatar
  • 1
0 votes
0 answers
23 views

C before Amount [duplicate]

I see CAmount mentioned here and elsewhere in the Bitcoin core codebase. What does the 'C' before Amount denote? Is it Consensus?
Eoin's user avatar
  • 349
1 vote
1 answer
89 views

Can a block more than a week old be considered a valid chain tip?

I recently encountered an assertion about this and I have been trying to get to the bottom of it. It's well-known that Bitcoin blocks have timestamps and that there are certain requirements they need ...
Bolton Bailey's user avatar
0 votes
0 answers
19 views

How can i login into my bitcoin account if i forget password and two account [duplicate]

I accidentally crate two bitcoin account, and at the same time I forgot the old account password, so how can I login into my old account
Sonam Choden 's user avatar
1 vote
0 answers
20 views

Identifying Test-Only RPC Arguments

I am trying to identify test-only rpc arguments in init.cpp and wanted to confirm if the test-only options are those with ArgsManager::DEBUG_ONLY with OptionsCategory::DEBUG_TEST, or ArgsManager::...
Prabhat Verma's user avatar
2 votes
1 answer
64 views

Most efficient way to check if utxos are consumed in mempool txs using core rpc and rust

I try to concurrently monitor a bunch of signed but non published transactions. I want to detect asap if any of the inputs into these bond transactions have been used in another transaction in my ...
f321x's user avatar
  • 25
4 votes
1 answer
292 views

DEFAULT_MAX_PEER_CONNECTIONS for Bitcoin core is 125 or 130?

DEFAULT_MAX_PEER_CONNECTIONS is set to 125 by default in core to the best of my knowledge. However, I read in The Optech Newsletter #310 that it is 130... could not validate this info anywhere in the ...
Faisal Qureshi's user avatar
-1 votes
1 answer
34 views

Does Bitcoin Core have Prometheus support?

Does Bitcoin Core have Prometheus support? I am having difficulty finding the code for it in the repo?
lladane's user avatar
  • 11
2 votes
1 answer
54 views

Where exactly is the mining code in Bitcoin Core?

I've been looking for months for the real mining code in the Bitcoin Core source code for the function/s that implement the incrementing of the nonce and hashing blocks for mining and never found ...
Ahmad Naji's user avatar
-1 votes
0 answers
41 views

Can I recover my money lost to a Bitcoin investment scammer? [duplicate]

I lost my bitcoins to an investment scam called Gensmarkets, I invested about $275k with them and they assured me I could withdraw at anytime but as soon as I asked for a withdrawal, they stopped ...
Michael Jones's user avatar
0 votes
0 answers
51 views

How can I effectively trace code paths for fuzz testing in a Bitcoin core?

I want to write a fuzz test to increase the coverage of net_processing.cpp for this piece of code. But I am unable to navigate/trace from where this function is being called . I have checked in ...
Prabhat Verma's user avatar
1 vote
2 answers
41 views

Sparrow to Remote Bitcoin Core 403 issue

Sparrow v1.9.1 Bitcoin Core v27.0 When trying to connect remotely from Sparrow to my remote Bitcoin Core node, I am getting: Could not connect: Server returned HTTP response code: 403 for URL: http://...
Alement's user avatar
  • 43
0 votes
1 answer
74 views

Can I run a Bitcoin Core 27 wallet on two devices at the same time?

I have two machines (desktop and laptop) and I use the laptop as a backup device. Can I use the same wallet on both of them at the same time?
user153720's user avatar
2 votes
0 answers
36 views

Will Bitcoin Core still respond quickly to a rpc-call when new blocks come in fast?

I had my Core Lightning node crash a few times because Bitcoin Core didn't respond in time to a rpc-call. I found that this happens when new blocks are generated quickly, like below: 849683 2024-06-...
sumBTC's user avatar
  • 41
0 votes
1 answer
38 views

error reading configuration file : parse error on line 1 server -1

After installing the program, I encountered this error. How to eliminate this error? When running the program, it gives this error thanks. (bitcoin core)
yasin's user avatar
  • 11
0 votes
1 answer
31 views

Checksum of addr() descriptor

I'm trying to get the checksum of my descriptor (addr(tb1qsvmygjlhq2p9ap262fwdfq3ptfjqlg2s9gcx58wazdge07kwu26q9guuh2)) using the getdescriptorinfo method, but I'm getting an error: -5: Address is not ...
ClickName's user avatar
  • 103
3 votes
4 answers
226 views

Is the OP_PUSHBYTES_X opcode always required after OP_RETURN?

Is the OP_PUSHBYTES opcode always expected after OP_RETURN? For instance, the 2nd output of transaction 6dfb16dd580698242bcfd8e433d557ed8c642272a368894de27292a8844a4e75 is: OP_RETURN OP_PUSHBYTES_11 ...
Lee's user avatar
  • 958
1 vote
0 answers
93 views

How can I use testnet4 with Bitcoin Core today?

As of June 2024, testnet3 is being attacked by block storm. It is borderline unuseable for a development environment. I'd like to try testnet4. How should I configure Bitcoin Core to connect to the ...
RooSoft's user avatar
  • 167
1 vote
2 answers
73 views

Why are there multiple payment addresses associated with a private key?

I use the wallet to generate a receiving address A starting with 3 and temporarily name it "A". I export the private key and temporarily name it "X". I run the command dumpwallet /...
Bitman's user avatar
  • 11
0 votes
0 answers
64 views

Why does bitcoin core has to reindex the chainstate directory in some cases?

I was reading that some people were able to migrate their old index directories to a new machine and not needing to reindex. But for me it acts as if the chainstate directory is "corrupt", ...
Pineapple29's user avatar
3 votes
1 answer
92 views

bitcoin-cli listtransactions fee amount is way off, why?

I am using the default signet network, my txid is 3923927eb3b6213bab5d0bee8364a87eafe357cb4d42ce6c587f0372735c7ff0. bitcoin-cli listtransactions shows a fee of 0.00596777 when in reality the fee is 0....
Fontaine's user avatar
  • 522
0 votes
0 answers
41 views

Can I setup a private testnet full node to reduce the testnet gas?

As the title described, I want to set up a bitcoin private testnet full node, in order to reduce the gas I send the transaction.(the transaction I sent to my node can be mined by my node. But I think ...
Jack Tsia's user avatar
1 vote
1 answer
25 views

How to connect Sparrow with Bitcoin Core on Mac?

Trying to connect sparrow to core. Sparrow gives out this error Could not connect: Cannot find Bitcoin Core cookie file at [file path] Everything was working fine until I toggled with sparrow ...
john's user avatar
  • 31
2 votes
1 answer
101 views

What's the difference between the 3 index directories "blocks/index/", "bitcoin/indexes" and "chainstate"?

What's the difference between the 3 index directories I have in Bitcoin Core: bitcoin/blocks/index/ 129 MB bitcoin/indexes/ 59 GB bitcoin/chainstate/ 5 GB The size of "bitcoin/blocks/index/"...
Pineapple29's user avatar
1 vote
1 answer
190 views

How is the progress field of Bitcoin Core's synchronisation/Initial Block Download debug logs calculated?

The debug.log file during Inital Block Download (IBD) typically includes something like the following1: 2023-09-09T10:04:32Z UpdateTip: new best=...
Lee's user avatar
  • 958
1 vote
1 answer
179 views

Why is there a "progress increase per hour"?

When syncing the blockchain with Bitcoin Core, why is there a "progress increase per hour"? Why wouldn't the syncing rate be constant?
Geremia's user avatar
  • 4,704
0 votes
1 answer
127 views

How can I recover bitcoin core wallet after encryption with password?

I have backup of wallet.dat file before I encrypted it with password. I also do know the password. I deleted my server and all thing has gone but I have back up of wallet.dat file in computer. I send ...
Xavier Uncle's user avatar
1 vote
1 answer
64 views

How does subtractfeefrom work?

From the description of Bitcoin Core, subtractfeefrom is a parameter to define which recipient address would opt-in to receive less and contribute to pay the fee Here is a usecase: Alex has one UTXO ...
Stanley Yuen's user avatar
1 vote
1 answer
85 views

How to configure port forwarding to run Full Node with Bitcoin Core using VPN instead setting up port forwarding on router?

I'm running full node with Bitcoin Core, but unable for incoming connections due possible block of my ISP, port forwarding on router doesn't take effect. Then I created a VPN on Proton VPN service and ...
Gilbert Grissom's user avatar
0 votes
1 answer
62 views

Nonstandard type script's address [duplicate]

I have nonstandard tx output. txid is 03acfae47d1e0b7674f1193237099d1553d3d8a93ecc85c18c4bec37544fe386. And I want to express the tx output with specific unique address. Blockchain explorers all seem ...
Dane's user avatar
  • 1
0 votes
2 answers
105 views

Why changing Bitcoin Cap Limit Is Not Possible

To alter the Bitcoin blockchain protocol, such as increasing the Bitcoin cap, a consensus among the majority (95%) of participants is necessary due to decentralization and the consensus mechanism. ...
Burair abbas's user avatar
1 vote
1 answer
41 views

Old wallet, stuck transaction [duplicate]

I have an old wallet from about 10 years ago that I found in Bitcoin Core. I tried sending the balance to a different wallet I use but the transaction just sat as pending. Looking for help on what to ...
Ricky Tamouli's user avatar
0 votes
1 answer
50 views

Incorrect passphrase after cancelled transaction

Bitcoin Core after sending the transaction showed the incorrect balance and the transaction was cancelled. During that incorrect balance there was a sending operation after which the bitcoin core ...
Victoria's user avatar
0 votes
2 answers
51 views

What is the endianness of the target?

Let's take the latest bits value, at the time of writing: 0x170355f0 And convert it to the target: 0x0000000000000000000355f00000000000000000000000000000000000000000 When comparing a candidate block ...
Lee's user avatar
  • 958
0 votes
1 answer
50 views

How do I find out if I have bitcoins I purchased

I remember when they used to call people and sell Bitcoin over the phone I remember purchasing some and either 2008 or 2009 I ended up getting five of them with an actual coin sent to me how do I find ...
Jonathan Haun's user avatar
0 votes
1 answer
39 views

Does Utreexo work with a pruned node?

Does the Utreexo UTXO accumulator work with with a pruned node, or must the entire blockchain be present on my local drive before running Utreexo?
Geremia's user avatar
  • 4,704
1 vote
1 answer
36 views

What is the "extended private masterkey" line of a dumpwallet file?

What is the "extended private masterkey" in a dumpwallet file? It begins with xprv.
Geremia's user avatar
  • 4,704
0 votes
1 answer
53 views

If I have corrupt/missing blocks but good a chainstate, why do I need to re-download entire chain?

If I have corrupt or missing blocks but good a chainstate, why do I need to re-download entire chain? Why doesn't it just re-download the needed blocks?
Geremia's user avatar
  • 4,704
0 votes
1 answer
65 views

Consensus Question

With all the recent developments of the spammers and those who want to filter them. I have a few things I don't get. They mention the bug that wasn't fixed (CVE-2023-50428). As I understand, this &...
user151596's user avatar
2 votes
1 answer
87 views

What's the simplest way to test and verify that I am the owner of the fund

What's the simplest way to test and verify that I am the owner of the fund except sending a real coin? In fact, this problem contains two aspects. One is to prove to ourself, and the other is to prove ...
foolbear's user avatar
  • 180
1 vote
1 answer
166 views

Understanding Script's number encoding, CScriptNum

What is a simple explanation of CScriptNum, the number encoding used by arithmetic opcodes in Bitcoin Script? What would an illustrative pseudocode/python example look like? What should the encoding ...
Lee's user avatar
  • 958
0 votes
0 answers
56 views

Load PSBT error: Unable to decode PSBT

I test PSBT in my wallet today, create a transaction in Bitcoin Core, click "send" and "create unsigned", then "Load PSBT from ..." from menu, error shows: Unable to ...
foolbear's user avatar
  • 180
0 votes
1 answer
43 views

Bitcoin Core: "Increasing transaction fee failed (Unable to create transaction. Insufficient funds)"

I sent a RBF transaction, and it's in the mempool. I'd like to increase the fee so it confirms sooner. ¿Why does Bitcoin Core say: Increasing transaction fee failed (Unable to create transaction. ...
Geremia's user avatar
  • 4,704
0 votes
1 answer
39 views

How do I get Bitcoin Core's estimated confirmation time for a given transaction?

What RPC command can I run with Bitcoin Core (bitcoin-cli) in order to get a transaction's estimated confirmation time?
Geremia's user avatar
  • 4,704
0 votes
0 answers
23 views

How to decode bitcoin node's chainstate data stored in LevelDB?

I am trying to decode the data available in the chainstate. After doing some research, I see that Google's LevelDB is mentioned (like in this post). However, I am still not sure how to effectively and ...
ram's user avatar
  • 1
2 votes
0 answers
41 views

How to claim funds in a multisig address from a money pool psbt?

Mostly followed this guide on how to create a psbt where multiple users pool money together. Everything is done in regtest. The gist of what I did is as follows: Created 2 different descriptor ...
Psi's user avatar
  • 21
0 votes
0 answers
46 views

Running out of RAM with Bitcoin Core

I'm encountering a persistent issue with RAM exhaustion while running Bitcoin Core on my system. Here's a brief overview of the problem: Problem Description: I have a Bitcoin Core node set up on my ...
Antonio's user avatar
  • 11
0 votes
0 answers
21 views

Need help with bitcoin core HD version 27.0.0 (test) [duplicate]

Bitcoin core (test) version 27.0 is installed, fully synchronized. The wallet.dat file has been moved there, but there are no addresses or coins themselves.
Алла's user avatar
0 votes
1 answer
131 views

How to generate coinbase transaction in Python?

I know that on this forum a lot of questions on this topic, I have checked most of these, but can't find the solution for my task. I am creating my own algorithm for solo mining bitcoin on Python. I ...
Alex Radik's user avatar

1
2 3 4 5
87