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
10 views

How run c-lightning with the local node bitcoin

I have a bitcoin-core-18.0 with on my linux mint, and I don't have downloaded the bitcoin with the ppa but I downloaded the official zip directory on site bitcoin. Now my question is, c-lightning ...
0
votes
1answer
38 views

Cheap way to attack the bitcoin block chain

Just for educational purpose but might come in handy sometime, what is the cheapest way to attack the bitcoin block chain? is it possible for a block with at least one confirmation to be orphaned ...
0
votes
0answers
14 views

Bitcoin Core Question, Initialization Vector

I am reviewing Bitcoin Core source code. I am following the code which states take a double sha 256 of the public key to get the IV and use the master key for the encryption key for encrypted wallet....
0
votes
0answers
38 views

Checking my bitcoin wallet after two years I find that my bitcoin (0.5 bitcoin) is gone [duplicate]

After checking my bitcoin account after two years, 0.00010757 of a bitcoin remains even though I explicitly remember having half a bitcoin left. My first thought someone somehow stole it. But after ...
4
votes
1answer
29 views

Which parameters in the Bitcoin Core config file need to be set correctly prior to IBD?

The majority of the parameters in the Bitcoin Core config file can be changed during or after IBD (Initial Blockchain Download) with no complications. However, there are some parameters in the config ...
0
votes
2answers
28 views

Some questions on segregated witness

I have some question on how segregated witness work. I'm reading this post and in the answer exist this phrase Since signature data (witness data) is stored outside the transaction (and outside ...
1
vote
2answers
26 views

Transaction from bitcoin core is different from the explorer

In tx 3a4a7087d4ece4503948b33aa77c807cda770575d229cbcb7dd8336ffa77445a the unique input is 1387e35f2c65f6664e15a98a43b7a70831e636635876a7154c99f38d89a9f795 with index vout = 1. When I request this tx ...
4
votes
1answer
284 views

Syncing bitcoin node with multiple cores

I'm syncing my node on 32 CPUs, and it's super slow. Obviously, syncing doesn't go in parallel. I wonder if there is any fundamental obstacle for "divide and conquer" way of doing it. So let's say ...
0
votes
1answer
27 views

How do I monitor a bitcoin blockchain explorer?

I wanted to monitor some four to five bitcoin blockchain explorers ( actually I want to monitor ZEC block explorers as well but starting with BTC as of now). I want to know how do I monitor them - ...
1
vote
1answer
39 views

How do block explorer sites show information that is not available on Bitcoin Core?

As I understood in the following post How to get unspents for a specified bitcoin address?, we should use listunspent only on addresses that belong to our own wallet otherwise will return blank. But ...
0
votes
0answers
17 views

Cannot compile Bitcoin and dependencies. Raspberry pi 4

I'm trying to compile Bitcoin and its dependencies on a Pi 4. The process: - git clone the repo on an external SSD I mounted (path /mnt/ssd/sources/) git clone https://github.com/bitcoin/bitcoin.git ...
0
votes
0answers
20 views

find bitcoin wallet owner [duplicate]

I received a black mail threat that a hacker would post all account access information of my accounts (bank & email information) online and on all social networking sites if I didn't pay $5,000 of ...
0
votes
0answers
33 views

Can't decrypt bitcoin core wallet, did I made a backup at the wrong time?

I am confused on why my bitcoin core wallet password would not work. I am 90% sure I tried the right password(s). wallet has many receiving addresses (10 000), I generated them with Linux from ...
0
votes
1answer
38 views

Is there any full node supporting multiple crypto currencies like BTC, BCH, Litecoin?

I want to use JSON-RPC protocol in my application such that it should support multiple crypto currencies.Is there any single full node supporting multiple cryptocurrencies.
0
votes
0answers
17 views

Curiosity on P2PKH and P2PK [duplicate]

I have some question on the P2PKH and P2PK they are two methods for locking the output, is a correct definition? Why the P2Pkh was introduced inside the bitcoin? Also, the P2PKH is identified with the ...
2
votes
1answer
28 views

Error after reindex

Hello after I got an db error.. I try to reindex my db. But I got this error: ERROR: ReadBlockFromDisk: Errors in block header at FlatFilePos(nFile=75, nPos=117947311) So what can I do to fix it ? ...
1
vote
1answer
14 views

How used the getrawtransaction for fin the tx blockchain

How used the getrawtransaction to find the tx blockchain? inside the documentation says to use the -txindex, can you give me an example for the complete command please?
1
vote
0answers
21 views

Unknown command name and packet magic for bitcoin packets at the start of blockchain transactions

Recently I captured a part of blockchain when my bitcoin wallet started to syncing for the first time. I analyze about 10 Gb of traffic which was for primary transactions of bitcoin. wireshark can ...
0
votes
1answer
29 views

What does the scriptSing contain when it is decoded with RPC framework?

I'm trying to get the wallet id from scriptSing and ScriptPubKey. When I decode the scriptSig, the result does not contain the address address. But when I decode the scriptPubKey, it contains the ...
2
votes
1answer
345 views

Does proof-of-work contribute directly to prevent double-spending?

I know similar questions have been asked before (e.g. How proof of work prevents double spend) but I'm struggling to visualise the solution to double-spending being directly reliant on proof of work. ...
1
vote
1answer
70 views

Bitcoin block headers download

i need all block headers hash (about 500k records), i tried to get from electrum wallet files, but when i convert the file to Ascii, it doesn't have full list. please help.
0
votes
1answer
28 views

Correct way to use joinpsbt for manual coinjoin?

I am developing a feature in my app for "manual coinjoins" which follows this as inspiration: https://github.com/bitcoin/bips/blob/master/bip-0174.mediawiki#Manual_CoinJoin_Workflow I am not an ...
1
vote
1answer
30 views

Coin selection algorithm

Playing around with Bitcoin Core Client v0.18.0, I used this command: $ bitcoin-cli sendtoaddress "mozazucvLK179u41bF5Vd2Agp4wsm7HsPo" 0.1 which created this transaction. I noticed that the ...
0
votes
0answers
14 views

Javascript REST API to connect the local bitcoin node

Is there any javascript API available to connect the local bitcoin node(regtest) for sending the transaction to the network(regtest)?
0
votes
1answer
60 views

How can I turn off the output of bitcoins?

I use bitcoin core v.0.17 on the server. How can I turn off the output of bitcoins through bitcoind or bitcoin-cli or bitcoin.conf?
0
votes
1answer
29 views

Including transactions in a block - rules and time / technical aspect

I’ve a question regarding block and transactions included in the next block that is solved. Let us assume theoretically that there is newly propagated solved block. And now there are: tx0 and tx1 –...
0
votes
0answers
19 views

Missing Bitcoin in Bitcoin Core-Qt after -Zapwallettxes [duplicate]

I had posted a similar question, but wanted to remake as I figured out some things that are not the issue. I used the -zapwallettxes command to allow me to resend a transaction with a higher fee. ...
1
vote
1answer
29 views

Running bitcoin node with already verified blockchain

I'm following this guide https://stadicus.github.io/RaspiBolt/ to setup a bitcoin full node on my new raspberry pi. I already downloaded and verified the blockchain on my host machine. I also pruned ...
0
votes
1answer
49 views

Could not connect to Bitcoin RPC server outside local host using bitcoind-0.18.0

I upgrade bitcoin core from 0.16.3 to 0.18.0, But I can not connect to RPC server outside local host. I use the following parameters as bitcoin.conf: testnet=1 server=1 daemon=1 rpcallowip=0.0.0.0/0 ...
0
votes
2answers
58 views

Installation of Bitcoin Core 0.18.0 on Ubuntu 18.04.2 error

I used "sudo snap install bitcoin-core" and it appeared to install fine except I get the error: "Failed to launch 'Bitcoin Core' Desktop file didn't specify Exec Field." Did I do something wrong? ...
1
vote
1answer
56 views

Bitcoin 0.18: how to send bitcoin from one address to another using Bitcoind?

To transfer bitcoin from one account to another address, we have used sendfrom method and which got deprecated in the latest version Bitcoin 0.18.0 Bitcoin sendfrom method On reading the document of ...
0
votes
0answers
32 views

Missing btc after -zapwallettxes and blockchain rescan

I sent a transaction in Bitcoin Core and realized that the fee was too low. I waited a few days to see if it would confirm and then wanted to try something else. I read that starting bitcoin core with ...
0
votes
0answers
18 views

Signing multisig raw transaction is returning error “JSON value is not a string as expected”

I am trying to sign a multisig unsigned raw transaction but keep getting "JSON value is not a string as expected", I am stumped and have tried many variations. Can anyone point out what I am doing ...
0
votes
1answer
26 views

Issue with sendrawtransaction missing inputs error code -25

Working with Bitcoin-qt 0.16.3 testnet Attempting to sendrawtransaction, however, receive following error: Missing inputs (code -25) From what I have read, this results from attempting to use ...
1
vote
0answers
25 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
1answer
29 views

What happens when i change the encryption password of Bitcoin-Core wallet

What happens when i change the encryption password of Bitcoin-Core wallet? Is first pass lost forever , where is it saved - on the blockchain or on the wallet.dat file? What if encrypt wallet with ...
1
vote
1answer
62 views

Bcoin vs Bitcoin Core: query your node to list transactions of any address

I am trying to set up a Bitcoin node. It should be possible to query the node through JSON RPC to get a list of all transactions (including UTXOs) of any Bitcoin Address, which doesn't necessarily ...
2
votes
2answers
95 views

Why does importmulti not support zpub and ypub?

As far as I can tell importmulti does not work with zpub/ypub. Why not? FWIW I prefer only to deal with xpubs, but I am curious.
0
votes
0answers
16 views

Cannot connect to Bitcoin JSON-RPC Server [duplicate]

I have just started getting my hands dirty with Bitcoin and I have successfully setup a pruned node on a Linux server but I can't seem to connect to this node from my Dev environment. I keep getting ...
0
votes
0answers
41 views

GekkoScience Compac+Raspberry Pi+bfgminer+Slushpool+Bitcoin core

I have installed bitcoin core on my laptop and I have created a slushpool account. Then I have installed bfgminer on my RPi3 using the following commands: sudo apt-get install autoconf libtool uthash-...
1
vote
1answer
18 views

How to import multi sig using importmulti correctly?

I create a 2 of 2 with createmultisig using 02254aba14091e45a9067fbe5b225b3863d1c49650226d583dcede06a7c33f8613 and 02ad64a03b7fc53c02f68eac04743b819bfeeabe6ca7007f473dbaf7c3570f5dc9 pubkeys. I then ...
0
votes
1answer
18 views

listunspent bitcoin core command returns the address as String while getrawtransaction addresses are array

this answers why vout.scriptPubKey.addresses is an array, then why the address in listunspent response is a String? Do you know any transactions in the blockchain have multi addresses in the vout?
0
votes
2answers
59 views

How to get input address and amount from vin using bitcoin core rpc

I am trying to find details of every transaction using bitcoin core rpc. First, I using bitcoin-cli getblock to get the block data, then use bitcoin-cli getrawtransaction to get the transaction ...
0
votes
1answer
44 views

Bitcoin TX decode failed while sending to a the network(regtest)

I have created a signature manually (referring the signature output formats in bitcoin-cli). But i tried to send the same to the network I am getting error code: -22 error message: TX decode ...
4
votes
1answer
60 views

How long are orphaned or stale blocks kept in bitcoin core nodes memory?

If there was a chain reorg, for example: Blockchain: 0a---1a---2a---3a becomes... 0a---1a---2b---3b How long are blocks 2b and 3b kept in memory on the node? If I query the node for block 2b ...
1
vote
1answer
39 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 ...
1
vote
0answers
24 views

Difference between Bitcoin and omni layer [closed]

I am really confused on bitcoin core and omni core. I have several doubts, regards this, it is possible to use bitcoin node for omnicore. can we use the bitcoin address for usdt. if we can, how to ...
3
votes
3answers
60 views

Is there any full node software for bitcoin with serious wallet functionality? [closed]

I'm looking for a bitcoin software with a full-featured wallet functionality and running a full node, but I cannot find any. Bitcoin Core does run a full node and the network capabilities are great, ...
1
vote
1answer
31 views

Original Bitcoin (Core), how did it generate private key?

I'm a newbie at this, but I have a question. How did the original Bitcoin (Core) v0.1 program generate random private keys? I was hoping for the exact source code or at least a good description of ...
2
votes
0answers
22 views

What are the downsides of integrating accumulators like utreexo to bitcoind?

Inspired by the discussion in this question I wonder what would be the downsides of adding accumulators like utreexo (paper at: https://eprint.iacr.org/2019/611.pdf) to bitcoind? On the positive ...