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
1
vote
1answer
41 views

difference between inbound and outbound connection

I'm running a bitcoin full node (bitcoin core) via Tor. I noticed I have only outbound connections (using maxconnections=16 in the conf file), but not even an inbound one. So which is exactly the ...
0
votes
0answers
52 views

Extract ECDSA parameters from Bitcoin Blockchain Block

I am trying to extract the parameters of ECDSA signature used in bitcoin to run some tests. For that i need to obtain : --- r and s , i.e., the ECDSA signature --- H(m) , the hash of ...
0
votes
1answer
19 views

Is it possible to use Bitcoin Core Qt as interface for DIFFERENT full node?

bitcoind is running on the background, local RPC server is running, all good. But is it now possible to have GUI? To say to bitcoin-qt that it should use RPC instead of going to disk files (which are ...
2
votes
1answer
35 views

Cannot get the same address format from zeroMQ and Bitcoin Core

I use nodejs with this npm library: const bitcoinjs = require('bitcoinjs-lib'); // version "^5.1.6" I received a rawTx from zeroMq, then extract it: const tx = bitcoinjs.Transaction.fromHex(rawTx);...
0
votes
0answers
37 views

Sent some testnet Bitcoin to Bitcoin Core wallet but balance is still zero

I got the testnet Bitcoin address with this command: bitcoin-cli -testnet getnewaddress And here is the Bitcoin address: 2NDtNjDbEiNiKDuAnwyKBmRPQ49NNpesdhE As you can see in blockchain there was a ...
1
vote
0answers
36 views

Automatically restarting bitcoind five minutes after reboot on ubuntu

How can I run bitcoind automatically five minutes after restart? So far I have crontab set up to reboot my computer every morning at 4AM (it runs into issues when it stays on for more than a couple ...
2
votes
1answer
321 views

My first full node - no bitcoin.conf

So I am in the process of downloading the blocks after installing bitcoin on my ubuntu server. I have followed the guide on https://bitcoin.org/en/full-node. Everything is working correctly. Blocks ...
1
vote
1answer
37 views

`createpsbt` RPC call doesn't provide PSBT inputs & outputs

I'm attempting to create a PSBT using RPC: bitcoin-cli createpsbt [[{"txid": "1d76879500aecafde541770b5d44ccec5955b4c1a455fae446bf1df7b5ea43e9", "vout": 0}, {"txid": "...
0
votes
1answer
29 views

Where does Bitcoin Core store DB_LAST_BLOCK?

My understanding is that Bitcoin Core stores where it left off(DB_LAST_BLOCK) in $DATADIR/blocks/index. But which is the actual file bitcoin core stores it at?
0
votes
1answer
22 views

How to generate html with coverage data?

I built bitcoin as: ./autogen.sh ./configure --without-gui --enable-lcov make -j4 ./src/test/test_bitcoin I see bunch of *.gcno files. How do I generate html?
0
votes
1answer
64 views

Without knowing private public key any one can withdraw btc from address. Is it possible?' [closed]

Actually I am using blockcypher API for creating address of btc and storing all records in my database with private and public key of individual address and assign that to particular users. But few ...
0
votes
1answer
47 views

How to run a python script when occur incoming transaction in Bitcoin core 0.18?

I want to run a python script when occur an incoming transaction. I think set zapwallettxes flag in bitcoin.conf but I don't know where set the script path to execute. Is it possible to execute ...
2
votes
0answers
38 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
40 views

Why does the “uptime” RPC API call fail if Bitcoin Core is running but has not synced fully?

At least this appears to be the case, because the function I have created to determine whether Bitcoin Core is "working" does the most minimal/simple API call I could find, which was "uptime", to see ...
0
votes
0answers
28 views

Backuping account system of bitcoin-core [duplicate]

I'm using bitcoin-core 0.16 currently, i have quite a few number of accounts with the transactions to this accounts. Now, i want to transfer my wallet to another machine, which files should i also ...
1
vote
0answers
72 views

How to add money to my Bitcoin Wallet and send my first Raw Transaction with OP_RETURN using bitcoin-cli

Background So after reading these two articles (Learning Bitcoin from the Command Line and Mastering Bitcoin), I am trying to piece together how I can get my first transaction with OP_RETURN data ...
0
votes
0answers
24 views

Getting Started with a Hello World Node.js App making an API call to bitcoin.org

I have been reading around trying to find where/how you can attach a SHA256 or MD5 hash (i.e. a small chunk of data) to a Bitcoin transaction, which led to OP_RETURN, but I have yet to see exactly how ...
1
vote
1answer
213 views

Bitcoin JSON RPC not working on Remote IP

i cannot get it to work firstly i was able to use bitcoind in my vps (locally) but when i added rpcbind and allowip to my bitcoin.conf i cannot even use bitcoin-cli its giving me this error: error: ...
1
vote
1answer
98 views

Running bitcoin node in docker behind NAT

A running bitcoin node doesn't accept incoming connections when it's running behind NAT in a docker container. To confirm the problem is related to docker I edited NAT settings on my router. If ...
2
votes
1answer
48 views

Can I import my wallet while my btc core is syncing

I'm upgrading my btc core to v0.18.1. I'd like to export my wallet to electrum. Is it possible while syncing? How?
1
vote
0answers
20 views

Would appreciate some help getting datadir parameter to work in Linux Mint 19.2

I am trying to use Bitcoin Core 0.18.1 on Linux Mint 19.2. I have previously used an older version on Win7 with no problems. I have moved my old data directory to a new ext4 partition on an internal ...
2
votes
1answer
58 views

Possible race condition(double spend) on HTLC-Timeout in the lightning network?

From the offered HTLC Outputs, # To remote node with revocation key OP_DUP OP_HASH160 <RIPEMD160(SHA256(revocationpubkey))> OP_EQUAL OP_IF OP_CHECKSIG OP_ELSE <remote_htlcpubkey> ...
-2
votes
1answer
40 views

Bitcoin And BitcoinCash Input Value [closed]

According to bip 143 (https://github.com/bitcoin/bips/blob/master/bip-0143.mediawiki), bitcoin transaction has the information about the input value as part of the witness. i heard bitcoincash has ...
0
votes
1answer
30 views

Imported keys to electrum

I recently had an unconfirmed transaction on my btc qt wallet. I am upgrading my btc qt now and it is syncing. In the meantime I imported my keys from all my receiving addresses to a software wallet. ...
0
votes
2answers
34 views

Flatpak bitcoin-core not generating .cookie file

I'm using the version of Bitcoin-Qt 0.18.1 that comes with Flatpak. I've looked in the Bitcoin datadir, which is in ~/.var/app/org.bitcoincore.bitcoin-qt/data/ and there isn't any .cookie file there. ...
0
votes
1answer
51 views

Receive/send Transactions latency

I am on Ubuntu 16.04, with the latest version of Bitcoin Core, synced and working. I would like to know why is there a little delay of approximately 1 sec, sometimes more, before a received ...
0
votes
2answers
194 views

Unconfirmed transaction. How to make my wallet made whole

I am running a node with an unconfirmed transaction. I tried shutting down my btc qt so the transaction would be forgotten. To no avail it keeps rebroadcasting the transaction. I am in the process of ...
2
votes
2answers
122 views

How do I get the scriptPubKey type from the raw output script?

I use zeroMQ to get the transactions from Bitcoin Core. The output looks like this: { value: 200000, script: <Buffer 00 20 e3 30 7e 8e 0b 63 0e 53 c2 f1 f8 17 06 7b ce 01 c4 38 92 83 3e 02 2d ad ...
1
vote
1answer
28 views

What would be the effect on the number of leading zeros hash generation if bitcoin increase its nonce size from 32 to 60 or 100 bits?

If Bitcoin increases its nonce size from 32 bits to double or triple the size, how will it affect the speed of getting the right hash with the required number of zeros?
1
vote
1answer
71 views

How to Pay to Multisig Wallet Using python-bitcoinrpc?

How do I pay to a multisig wallet? I am using the Python API (based on python-bitcoinrpc) that ships with the bitcoin source code, in directory bitcoin/test/functional. I'm using regtest. I call ...
4
votes
1answer
398 views

Should I verify the Bitcoin Core release signing keys?

I have been running Bitcoin Core on an old Macbook for about a year, and I updated to v0.18.0 a couple of months ago which I downloaded from bitcoin.org. I have recently been delving deeper and I ...
1
vote
1answer
31 views

How to transfer hash power from one pool to another

Is it possible to transfer hash power from one pool to another? If yes, how?
0
votes
1answer
245 views

Why is Bitcoin Core full node so slow to sync?

After 12 hours, progress changed from progress=0.533751 to progress=0.541254, less than 1% progress. $ ./bitcoind ... 0 hours: 2019-10-12T17:57:11Z UpdateTip: new best=...
0
votes
1answer
92 views

Try to migrate Bitcoin Core wallet to an HD wallet but get “St13runtime” exception

I am trying to follow these steps to migrate my wallet to an HD wallet. But it failed, the debug log has errors like this: EXCEPTION: St13runtime_error DeriveNewSeed: AddKeyPubKey failed bitcoin in ...
0
votes
1answer
83 views

My full node seems to be rejecting tor connections

I'm running my full node with bitcoin core v0.18.1 with a mostly default configuration on debian 9.11. Port 8333 is forwarded through my router and I have 20+ node connections, so can safely assume ...
2
votes
2answers
278 views

Other database besides UTXO?

In this post it is explained that the UTXO are removed after they are spent. This makes sense because they are not "unspent" anymore. But don't all UTXOs have a reference/connection to their ...
0
votes
1answer
26 views

Bitcoin qt 4.8.3 [duplicate]

Hi I recently tried to make a transaction to a coinbase btc wallet from my bitcoin qt 4.8.3 node/wallet. In a hurry I didn't add a transaction fee. So the fee is zero. I see on my end the ...
1
vote
1answer
67 views

In Python RPC Calls, How is vout Address Derived for P2PK transaction?

How is the vout address derived for a P2PK transaction? I am using the Python API that ships with the bitcoin source code, in directory bitcoin/test/functional. I'm using regtest. I have written a ...
0
votes
1answer
115 views

Import watch-only address to 0.18 core wallet, addresses missing

I am running new bitcond server $bitcoin-cli importaddress '32om7Xx7GnwxkiAQjpp3hhayDX4mSNLmR1' 'label' false $ it seems added. Then I try to list all addresses in wallet it return empty list. $...
0
votes
0answers
35 views

Bitcoin core causing reboot

I have been having an issue with bitcoin core lately. It has been causing my computer to randomly reboot about every hour or so. I was on version 17.1 but upgraded to 18.0 hoping that would fix the ...
1
vote
0answers
56 views

Unused Output Tree in the Blockchain

I have been reading about the security of thin clients and I came across the section that discusses the proposal of Unused Output Tree in the Block chain. Unused Output Tree in the Block chain (UOT)...
1
vote
1answer
79 views

Error Signing P2SH-P2WSH MultiSig - “Unable to sign input, invalid stack size (possibly missing key)”

I am trying to create and spend a P2SH-P2WSH transaction using bitcoin-cli but am getting "Unable to sign input, invalid stack size (possibly missing key)" when I try to sign the Multi-Sig transaction ...
10
votes
1answer
1k views

Will the size of Bitcoin core full-node be too big to run on a normal computer?

I am a Bitcoin enthusiast, with no background knowledge in computer science and cryptography. I once ran Bitcoin core on my laptop but realized that it occupied too much space in my computer. I ...
6
votes
1answer
172 views

What is the oldest Bitcoin Core Client that can in theory sync to the chain tip?

I've seen this question regarding the original Satoshi Client being able to sync to the chain tip. The main issues why it doesn't work were: Change in protocol messages IRC Node discovery is now ...
1
vote
2answers
66 views

Is it possible to change private key

I would like to know if it's possible to change private key of bitcoin wallet via rpc call to bitcoind. Thank you for your answers
0
votes
0answers
28 views

Help linking External Storage for bitcoin data using Raspberry Pi?

I mounted my external disk to wrong directory (wanted it to be ~/bitcoinData) , instead ended up creating a directory on SD card ( /home/pi/bitcoinData ) and now SD card (root) is full. i cannot seem ...
3
votes
1answer
65 views

Clarification on execution of complex script with OP_CHECKLOCKTIMEVERIFY

I'm quoting this example of BIP65 BIP 65 has this bitcoin script code IF <now + 3 months> CHECKLOCKTIMEVERIFY DROP <Lenny's pubkey> CHECKSIGVERIFY 1 ELSE 2 ENDIF <...
1
vote
1answer
48 views

Is Bitcoin Core required for wallet projects?

My team wants to create a cryptocurrency service provider platform to Sell/Buy BTC and something else in form of web/mobile app. It's about one month that I have been studying different articles about ...
1
vote
0answers
233 views

Bitcoin Private Key Decryption

At present, I have dumped my wallet and have all private key, address information. I am now wanting to understand the decryption process for the private keys within the wallet. I have completed the ...
2
votes
0answers
41 views

Restoring a Bitcoin Core wallet [duplicate]

I have a wallet.dat file from an old computer which was last accessed around February 23, 2012 which I need to restore into a newly installed Bitcoin Core program on a new computer. Can I just ...

1
3 4
5
6 7
58