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.

Filter by
Sorted by
Tagged with
2
votes
1answer
2k views

Difference between createmultisig and addmultisigaddress?

What is the functional difference between createmultisig and addmultisigaddress in bitcoincore (v 0.10)? To be clear, I understand how both function. ie. multisigCmd n ["address1 public key as hex", ...
2
votes
2answers
410 views

How can I download the blockchain from own, trusted source?

I have two computers with two different bitcoin-qt wallets: Very heavy-weight desktop with a great internet connection. Less powerful laptop with relatively slow internet. I would like to download ...
2
votes
1answer
58 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
1answer
155 views

Would first-seen prevent a double spend attack?

It takes approx. 8 seconds for a transaction to propagate through the entire Bitcoin network. If we got rid of the concept of replace-by-fee and replaced it (no pun intended) with a first-seen ...
2
votes
3answers
2k views

Convert between String/Hex/Byte in Java for sha256 - wrong format?

I am trying to convert a bitcoin address and have the following code from here (Calculate Segwit address from public address, 2nd answer): Step1: $ printf 1L88S26C5oyjL1gkXsBeYwHHjvGvCcidr9 > adr....
2
votes
2answers
12k views

Bitcoins not showing up in Bitcoin-Qt wallet [duplicate]

I bought 1 BTC from localbitcoins.com and received my bitcoin in my online wallet with no problems at all, after that I then sent it to my "bitcoin-qt wallet" address located inside the Bitcoin wallet ...
1
vote
1answer
1k views

how to use bitcoind jsonrpc for regtest or testnet server in php?

i used bitcoind with jsonrpc service. but i added regtest=1 in bitcoin.conf at .bitcoin folder. used: bitcoin-cli -regtest generate 101 bitcoin-cli -regtest getbalance 50.00000000 but ...
1
vote
1answer
313 views

When I use importmulti with an xprv it never imports the private keys. What am I doing wrong?

When I call: bitcoin-cli getdescriptorinfo "pkh(tprv8iDvhA6eaMDbRuH3D2DTNuH6N6LvMTVrcv7z6sVxyyYvThSaCSa3i3qFVqUgVL4NbVkACxjx3KPWLoP5jvDU3i16hjTnzEFnZuqsnTJ5F4n/*)" it returns: { "descriptor": "...
1
vote
1answer
165 views

Protection against malware attacks

Does bitcoin or Blockchain protect against malware attacks that install a trojan to steal data from a device, on which bitcoin application is installed? Cause a trojan can steal the user's private key,...
1
vote
1answer
107 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. ...
1
vote
1answer
208 views

How happens the serealization the data in the file blkxxxx.dat in the bitcoin

I'm writing a blockchain parser for bitcoin core with C++ and now I want to enrich the data I read with the raw transaction and the previous and next block hashes. I used this library to convert the ...
1
vote
2answers
640 views

Is it possible to get bitcoin-cli without having to build all bitcoin source?

I'd like to use the bitcoin client to examine some of the inner workings of bitcoin-qt (non-invasively, using gets and lists mostly). Is it possible to do this alongside the standard executable? I don'...
1
vote
1answer
582 views

Where are the new smart fee estimate data saved? Can the file be re-used?

Are the data for smart fee estimation (in bitcoin core with version 0.15.0 or larger) saved? Where is it saved, what is the format? Can they be re-used on a different node - so the estimates are ...
1
vote
1answer
58 views

How to get info for public address from bitcoin-cli + local db? (Can it be done without creating a wallet?)

I just started running my own full node. IBD is finished, and I'm now learning how to use bitcoin-cli. First I would like to extract all the available information for one or more public addresses ...
1
vote
1answer
165 views

Zeros in blk00*.dat files

When writing a blockchain parser I've found that some blk00*.dat files contain zeros instead of blocks. (I got zero where magic bytes were expected, looked in the file and saw there are more zeros.) ...
1
vote
2answers
257 views

Calculate transaction fee for external addresses which doesn't belong to my local bitcoin-core server?

I am doing transaction on addresses which are created outside of my local bitcoin-core server using third party lib. I am having its private/public key. I am able to create raw transaction using "...
1
vote
2answers
1k views

Found old Bitcoin wallet of mine, but has unconfirmed transactions from 2013

I found one of my old wallets.dat from way back, so I loaded it up and see that I had transactions but they never got confirmed. I can't remember if I just never let them run? But how would it be ...
1
vote
2answers
39 views

How does vin[] have to look like with multiple inputs in a raw transaction?

I've successfully created, signed an broadcasted a raw transaction. But this transaction had just one input. Now I would like to create a raw transaction where I take the funds from multiple ...
1
vote
1answer
242 views

How transaction becomes confirmed by miners if InputScript has only the Sig

Please help me to understand how bitcoind client verifying TX with Input Script which consist only from the Sig. For example TX 6D5DF6C0D66CFFC25CC1ABA3655952D7B081ED4E9EA3B70FCD964FDBBA01E91E has ...
1
vote
1answer
603 views

What is a workaround to fundrawtransaction for watchonly addresses

I have imported watchonly addresses in Bitcoin and trying to createrawtransaction with input watchonly listunspend which has spendable=false, scriptSig=empty. after that, I'm getting an error on ...
1
vote
0answers
35 views

Bitcoin SPV not able to fetch transactions [closed]

I am developing a Bitcoin wallet SPV and using 3rd party SDK for the same. However, I tried to create wallet and it gets successfully created and I can also restore those wallets but amount and ...
1
vote
1answer
635 views

What happens to wallet.dat if I uninstall and re-install on Windows Bitcoin desktop client?

If I uninstall Bitcoin Core desktop client, what happens to the wallet.dat? Is this erased or left in place? If I install Bitcore Core desktop again, does my wallet.dat get overwritten?
1
vote
1answer
86 views

“New rules activated” warning after upgrading to 0.20.0

I've upgraded a node from the previous release. It's up and running but for some reasons I get this warning. How can it be related to the upgrade? $ bitcoin-cli -testnet getblockchaininfo | jq { "...
1
vote
2answers
443 views

How much space does a backup of a wallet usually take?

I have a Bitcoin QT v0.8.5-beta wallet (downloaded in 2013) which I will backup before trying to export the private keys to a Electrum wallet. I have found a backup button in the QT wallet, but it ...
1
vote
1answer
425 views

Migrate from Bitcoin Core Wallet to somewhere else before sync completed

I created a Bitcoin wallet yesterday using Bitcoin Core Wallet application and bought some bitcoin via buy.bitcoin.com to the address mentioned in File>Recieving Address in my Bitcoin Core Wallet. ...
1
vote
1answer
88 views

Do full nodes store the complete merkle tree or do they regenerate it when creating a merkle proof?

I understand what the merkle root is for. And I understand that blocks don't store the merkle tree. Question 1) Is there any place that the complete merkle trees get stored? I don't mean the merkle ...
1
vote
2answers
395 views

Is it possible to create batches of transactions in bitcoin blockchain?

Scenario: Suppose that I have to make three transactions simultaneously to Alice, Bob and Claudia. Now the condition is if any one transaction fails the other two must also not go through. Query: ...
1
vote
0answers
82 views

Bitcoin “scantxoutset” rpc command return response too slow

For one of our decentralized mobile wallet, We need to fetch balance of imported BTC address quickly. After lot of research on google then I found Bitcoin deamon rpc command "scantxoutset", ...
1
vote
1answer
802 views

Where can I find my Bitcoin core key? [duplicate]

I bought some bitcoins a few years ago using Bitcoin Core. I have since discarded my computer as it broke. Where/how can I find my bitcoins?
1
vote
1answer
2k views

How do I open my RPC console?

Someone just asked me to open the RPC console, as part of debugging something else. How do I do that? I'm using Bitcoin-Qt.
1
vote
3answers
459 views

Verifying old blocks

I have a question about an implementation detail - when are old blocks verified by each full node? I.e. when will I be "caught" if I change the contents of an old block (and thus break the hash chain) ...
1
vote
1answer
330 views

ZeroMQ support in Bitcoin Core 0.16.0 out-of-the-box?

In my previous question, I'm wondering why Lightning Networks lnd cannot talk to my Bitcoin Core bitcoind backend. The docs for lnd says it requires ZeroMQ compiled into bitcoind. Does the binary ...
1
vote
2answers
91 views

When increase transaction fee three times in few minutes - transaction had an attempted double-spent?

I make transaction from my wallet - send BTC. After I send, I increase transaction fee three times, in a few minutes. Now I see - Status: conflicted with a transaction with 21 confirmations I use ...
1
vote
1answer
486 views

Can somebody show me a working gettxoutproof / verifytxoutproof pair?

Can somebody please show me a working gettxoutproof / verifytxoutproof pair, I am looking for the input used on bitcoin-cli or console window in Bitcoin Core to make this happen, and the outputs. For ...
1
vote
0answers
196 views

sendtoaddress not deducting from account

I have two accounts called "hot" and "cold" and have few address and transactions in each of them. I am trying to move some funds between "hot" to "cold" and using sendtoaddress like this bitcoin-...
1
vote
1answer
39 views

Can an account define conditional tags to blockchain

Let me try to specify my question with an example: Consider that there are 4 accounts ( AccountA and AccountB and AccountC (Taged as Store) and and AccountD (Taged as Night Club)), and AccountA wants ...
1
vote
1answer
133 views

How does difficulty is defined for block '55798'?

I know that the formula for calculating the difficulty is below - Difficulty = T (max) / T Where T (max) = 1d00ffff in decimal it is 486604799. As you can see in the above screenshot the difficulty ...
1
vote
2answers
3k views

How to retrieve unclaimed BTC for wallets whose private key is lost [duplicate]

How to retrieve unclaimed BTC for wallets whose private key is lost Kindly share details
1
vote
1answer
755 views

Bitcoin node 403 json-rpc

have read all possible examples on the internet but still cannot connect to btc node from Java. I'm using btcd-cli4j but have tried all other rpc libs as well, result is the same. This is the command:...
1
vote
4answers
1k views

Bitcoin qt synchronization problems!

So bought my first Bitcoins the other day (27 & 28/11/13) on localcoins, then transferred them to a MultiBit wallet. No problems. I decided to use a 'safer' wallet, therefore I moved the coins to ...
1
vote
1answer
1k views

How does the bitcoin transaction fee get paid to miner(s)?

According to https://bitcoinfees.info/ The current "cheap" rate for a bitcoin transaction is $22. How does this get paid to the miners? Is it just one miner that verifies the transaction, puts it ...
1
vote
1answer
133 views

Upgrading/converting bitcoin core wallet between platforms

After 2 years of being shut down, I am trying to revive my bitcoin full node, while both switching platforms and upgrading to the current version in the process. Everything works but the wallet. The ...
1
vote
1answer
1k views

Failing to build bitcoin-core v0.13.1 on debian stretch

I have recently set up a new machine on debian stretch: $ uname -a Linux front 4.8.0-1-amd64 #1 SMP Debian 4.8.7-1 (2016-11-13) x86_64 GNU/Linux I am now attempting to install bitcoind. I have ...
1
vote
0answers
276 views

Estimated number of hashes

This is not a duplicate of previous, similar questions I've read on StackExchange, since none of those questions, nor the answers, go into the difficulty theory, as espoused on the Bitcoin Wiki. ...
1
vote
0answers
168 views

It's October 2018. ./bitcoin-qt -reindex-chainstate takes forever. Is there a way to speed this up?

Current version: Bitcoin Core 0.16.3 I think I have a corrupted blockchain download as my VM box was shut down in the middle of syncing. Which is why I'm doing a -reindex-chainstate I have the ...
1
vote
1answer
74 views

Why does Bitcoin Core keep saying “X days left” every single day?

I turn my PC on every day. I don't sleep more than 8 hours. Yet Bitcoin Core, after I verify that it has fully synced every day, keeps saying "7 days remaining" for example, as if it deletes ...
1
vote
1answer
130 views

Create transaction with bitcoin core

Currently i'm working with bitcoin-qt for a while and now i have some issue that i wanna ask. -Is there a way to create transaction then submit it to network from wallet that NOT inside this bitcoin ...
1
vote
1answer
383 views

I bought a bitcoin before my client sychronization was finished. Will I get the coin?

I bought a bitcoin before my client synchronization was finished. Will this stop me from getting the coin or will it just come later when the wallet is synchronized?
0
votes
1answer
61 views

Bitswallet core

Please does anyone know how to synchronise bitswallet with network. Have been trying to synchronise mine with network. But it does not seem to be synchronising with the network. I need help fixing it. ...
0
votes
1answer
42 views

Storing your private key on a “security server”?

One of the suggested security precautions when storing Bitcoin of users on a server is to store the private keys on a separate server: The database storing the private keys or the seeds in case of ...

1
4 5 6
7
8