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
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
25 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 ...
0
votes
2answers
52 views

If you download the bitcoin blockchain via a torrent, can you then prune it?

I want to get started as quick as possible and it seems torrenting is the fastest way, but I'm curious if I can then prune?
0
votes
1answer
27 views

Could any one show me how to get pubkey in Bitcoin Core?

I am new in Bitcoin Core, and I want to get my public key. Could anyone please show me how to get the pubkey?
0
votes
0answers
26 views

How to rebuild the balance of a Bitcoin address using bitcoin

As from the title of the question. I'm using these biconij 0.15.2 and following jar libraries: guava 0.28 bcprov-ext-jdk15on slf4j-2.0 and have downloaded all the full node blockchain Bitcoins. I ...
0
votes
1answer
45 views

Bitcoin Core `getaddressesbyaccount` method not found (-32601)

On macOS Mojave I have a full bitcoin node synced using bitcoind. I want to get the public address of the default account (i.e. the empty string ""). So I run bitcoin-cli getaddressesbyaccount "" ...
0
votes
1answer
74 views

Bitcoin core crash during IBD

I've been running bitcoin core on an android device (nexus 5x) and emulator, and sync on testnet always fails at around 3% progress the last thing logged is “pre-allocating up to position 0x900000 ...
0
votes
1answer
28 views

Bitcoin transactions between two parties

Lets say bitcoin become a global currency which replace fiat money.. If someone (physically )is asking for bitcoins and its urgent and i don't have phone to access the network and the one whos asking ...
0
votes
1answer
15 views

Finding wallet address on peer 2 peer network

does anyone here knows how to find the addresses from a tx object from the bitcoin protocol documentation on the peer to peer network?? in the document it says that tx message is only consist of ...
0
votes
1answer
24 views

Checking external bitcoin address balances via JSON-RPC API

I'm using bitcoin core json-rpc api in python and am wondering why... getreceivedbyaddress() ...doesn't allow me to specify an address that isn't in my local wallet? The whole blockchain is open, ...
1
vote
1answer
81 views

Finding a transaction in the blockchain [duplicate]

I wanna understand how can a user find a certain transaction he created on the blockchain without him knowing on which block it belongs ? does he have to go over all the blocks using bloom filters to ...
0
votes
1answer
41 views

ScriptSig does not validate with seemingly valid signature

I am trying to build raw transactions from scratch to improve my understanding. For comparison I am using the hexoutput from https://coinb.in/ as I can choose Testnet on there. I am trying to ...
0
votes
1answer
26 views

When a new block is propagated, nodes validate from genesis block to propagated block?

For example, I have a nth block and when n + 1 th block is propagated, i have to compare with n+1 block's previous hash and nth block's hash for validation. It is pretty trivial. But do i have to ...
1
vote
1answer
74 views

Exporting secure seed using bitcoin core

I am trying to secure my own bitcoin. I want to generate a bunch of addresses from a HD Seed, however I am paranoid about the security of any seed generated from any website and so only trust in ...
3
votes
1answer
73 views

How does the tx fee in sendmany method get calculated?

In sendmany there is a conf_target parameter with the comment "Confirmation target (in blocks)". Does that mean that Bitcoin Core implicitly calculates and sets a smart fee for a given block target? ...
0
votes
0answers
81 views

submitblock to btc-core fails to decode

I'm trying to create a little mining-script that connects over rpc to bitcoin core. I have problems following the documentation and all attempts to create a valid block (with dummy-nonce for testing) ...
0
votes
1answer
37 views

Decrypting Bitcoin Wallet for Android

Does anyone know how to decrypt on a mac? I used openssl enc -aes-256-cbc -md md5 -a -in /Users/adriangonzalez/Desktop/bitcoin-wallet-backup-2019-06-26-22-20 -out ~/Desktop/file.txt, but the resulting ...
2
votes
1answer
35 views

Why is a library's signature of a segwit tx different from Bitcoin Core signature?

I have been writing a (yet another) Bitcoin python library primarily for educational purposes; for me and my students. Signing a non-segwit transaction results in a signed tx that is identical to ...
2
votes
1answer
40 views

Does assumevalid lower the security of Bitcoin?

Bitcoin's assumption was to download the blocks and verify it in order to prevent getting fooled. But by default, the assumevalid option is enabled in the software, which, as I understand it, makes ...
1
vote
0answers
25 views

Can't inititate network handshake with my full node

I am running a custom Python script to initiate network handshakes with other nodes. While testing the code I decided to initiate an handshake with my own node but I am getting a timeout error. ...
1
vote
1answer
40 views

Under what circumstances will a full node disconnect a peer?

I know a full node will disconnect from a node if that node "misbehaves". For example, a node's connection will be dropped if it sends too many messages that don't follow the rules (what rules?) and ...
6
votes
1answer
2k views

How do I delete a Bitcoin full node from my hard drive?

I was using Bitcoin Core as my wallet (recently installed), but a couple of hours of syncronizing, all of a sudden, I have no space at all in my hard drive. I deleted bitcoin Core, but that did ...
0
votes
1answer
23 views

Hash of backed up wallet file not the same as hash of wallet currently in use

A couple of months ago I had backed up the wallet.dat (I use bitcoin-qt) file and saved it some place else. Lately I've opened the data folder for the current running node (also bitcoin-qt) and I ...
2
votes
1answer
189 views

Bitcoin Core 0.18.0 in Docker container: Could not connect to the server

This is likely me not understanding how Docker works, but I've tried everything I can think of. I'm trying to start bitcoind in regtest mode inside a Docker container, then execute JSON-RPC commands ...
0
votes
0answers
48 views

Bitcoin Wallet QT - passphrase

Hello when the Bitcoin Core wallet is loading it shows: Bitcoin Core version 0.14.2. When the wallet is loaded, the heading is still bitcoin core wallet. however under about it shows Qt version 5.7. I ...
0
votes
1answer
106 views

How to properly use importmulti with coldcard wallet BIP84 xpub?

I have seen the HWI scripts but I am trying to do this while keeping my Coldcard airgapped. First I create a wallet in bitcoin core with private keys disabled. I dump the wallet summary onto the ...
0
votes
0answers
10 views

I can´t open BFGminer

I try to open bfgminer, but I can't. The window appears but immediately closes. What can I do? the window is like a cdm.exe
0
votes
1answer
40 views

importmulti with BIP84 derivation always fails

I have been trying to test importmulti with BIP84 derivation like so: bitcoin-cli -rpcwallet=BIP84Test importmulti '[{ "desc": "wpkh([18734cbe/84'/0'/0']...
0
votes
1answer
27 views

These testnet outputs are not making sense to me

Today I took some time to mess around with the bit Python library, which I find pretty easy to use. I have been wanting to do some Bitcoin programming for a while, so I decided to create a simple web ...
0
votes
1answer
27 views

Using importmulti with internal set to true does not add any change keys. What am I doing wrong?

First I call: curl --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "createwallet", "params":["ColdWallet", true] }' -H 'content-type: text/plain;' http://user:password@127.0.0.1:18332/ ...
0
votes
0answers
32 views

How to use bitcoind-rpc.js to create raw transaction?

I am using bitcoind-rpc in javascript but i couldn't use the function/api that require 2 or more arguments. For example, what is the proper format of the arguments needed for createRawTransactions? ...
0
votes
1answer
74 views

My passphrase doesn't work and I can't send any bitcoins from my wallet

When I encrypted my wallet, I created a passphrase and wrote it down very carefully. Now, when I try to make a payment to an address, I received the following message: "Wallet unlock failed: The ...
1
vote
1answer
89 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": "...
0
votes
1answer
86 views

Can Bitcoin and Bitcoin Cash potentially have the same address?

Because Bitcoin Cash is forked from Bitcoin, what happens if two separate users create a wallet, could their address potentially be the same? Let's call that address xyz. Then if someone sends money ...
3
votes
1answer
96 views

Has Bitcoin Cores encryption wallet security ever been bypassable?

Every few years there seems to be an exploit found in Trezor that allows people to bypass the security. I was wondering has there every been the same case for Bitcoin Core wallet encryption?
1
vote
0answers
68 views

demonstrate tracking some bitcoin transactions with a program like an explorer

Recently I started to read BITCOIN protocol and it's events when a transaction created. I want to create a program a bitcoin explorer. as you know probably, Each non-coinbase input spends an outpoint ...
3
votes
2answers
67 views

What if bitcoin has a bug?

If a fundamental bug is found in bitcoin does that mean that the only way to patch it would be a hard fork? I'm confused at how this software that only has one version is running for 10 years without ...
0
votes
0answers
12 views

How to recover from “failed with non-mandatory-script-verify-flag (Script evaluated without error but finished with a false/empty top stack element)”?

I'm getting: 2019-06-14T01:16:35Z ERROR: ConnectBlock(): CheckInputs on c2de0a7014853898bde9319cb347225d4ee6cef9025dc56773b0b57010060d48 failed with non-mandatory-script-verify-flag (Script evaluated ...
1
vote
0answers
38 views

Parse signature and public key from scriptsig in an input transaction of bitcoin protocol [duplicate]

I'm interested in bitcoin protocol and checking validation of a transaction. in a TX message, we can see one or more than one input transaction and every input transaction has a previous transaction ...
0
votes
1answer
55 views

RPCPORT and --rpcport not working in Latest version: 0.18.0

We are using bitcoin core RPC Endpoint to broadcast transaction over network, It was working perfectly till version 0.17.0 but in latest version 0.18.0 RPCPORT and --rpcport is not working. Please ...
0
votes
0answers
27 views

Extract input addresses from a tx message in bitcoin protocol

Recently, I wrote a c++ code to extract some information from some messages in BITCOIN protocol. for example, I extracted bitcoin value and output address corresponded to it from tx messages of this ...
-1
votes
1answer
32 views

Need help with understanding this script file

Here is an image of txt file. I had asked someone to help get some bitcoin out and they sent me this code with a price tag of 12$ But I have no idea what its used for as they have not responded. Any ...
1
vote
2answers
25 views

Background information on warning, when closing wallet in pruned mode

What are the implications and reasons behind this warning on gui popup, when closing the wallet: "bitcoin closing the wallet for too long can result in having to resync the entire chain if ...
2
votes
1answer
136 views

What does it mean if TXID and WTXID are the same?

I'm having a tough time understanding what exactly WTXID is and what it means when WTXID and TXID are the same (and vica versa). What I understand is that WTXID includes the witness data. Since non-...