Podcast #128: We chat with Kent C Dodds about why he loves React and discuss what life was like in the dark days before Git. Listen now.

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
0answers
30 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
1answer
570 views

Bitcoin - Is the <pubKeyHash> in scriptPubKey already hashed?

In Bitcoin protocol, to set the output of a transaction you need a scriptPubKey which is in the following format. scriptPubKey = OP_DUP OP_HASH160 <pubKeyHash> OP_EQUALVERIFY OP_CHECKSIG Is &...
1
vote
2answers
52 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
1answer
92 views

Testnet credentials

How to get testnet credentials to use bit-coin core functions in Node.js. { "Bitcoin": { "testnet": { "username": "name", "password": "sdaddf", "network": "regtest", ...
0
votes
1answer
83 views

Stay on memory pool when I sending multiple transaction from bitcoin wallet

I run the bitcoin client 0.17.1 on my ubuntu 18.04 desktop. I have some balance in my wallet. Also my client is fully synced.I have face the wallet conflict. When I send multiple transaction at once(...
0
votes
1answer
77 views

Keeping wallet addresses outside bitcoin core

I'm trying to build a good security for my online bitcoin based application. Is something like this possible? send_bitcoin(address) create_address() sweep_balances() + | | ...
1
vote
0answers
31 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 ...
0
votes
1answer
36 views

Retrieve number of OP-RETURN transaction

Is there a possible way to extract the bitcoin transaction protocoll with Python and extract specifically OP RETURN transaction? I want to plot the number of those over the course of time to derive ...
1
vote
1answer
42 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 ...
0
votes
2answers
86 views

JSON-RPC get full nodes information

Is there any way to get all full nodes by RPC call? Afaik full node contains information of other full nodes in the network and was wondering how to request that. I red the documentation on Bitcoin ...
0
votes
1answer
27 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?
1
vote
1answer
24 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": "...
1
vote
1answer
24 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 ...
0
votes
1answer
18 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
27 views

What is a mechanism of providing Merkle Path?

In the Bitcoin, SPV node can query that its transaction is included specific block to full node that provides merkle path which has super fast calculation. In terms of full nodes, they have full-...
4
votes
1answer
3k views

How does Bitcoin keep track of account balances?

I downloaded the latest bitcoin client and am waiting for it to connect. How does it remember how much money a person has? Do I create an account and the balance is associated with the account each ...
0
votes
1answer
35 views

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

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
18 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 ...
0
votes
1answer
49 views

How to get block headers from block hash using P2P API?

I have been experimenting with getheaders and one thing I can't seem to figure out is how to get a header for a specific hash, because getheaders doesn't provide this feature. According to the ...
0
votes
0answers
25 views

Implement Bitcoin on my platform? [closed]

I want users to deposit/withdraw funds from my platform. All deposits should go to my cold wallet and withdrawals will be done manually. Users have to buy/sell services inside my platform, but the ...
0
votes
1answer
16 views

Network connectivity to the Fullnodes

What would the router configuration (port forwarding) be if I have two nodes 192.168.2.21 and 192.168.2.22 running bitcoin and wants to enable port forwarding for them both on 8333?
2
votes
0answers
15 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
30 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 ...
0
votes
1answer
58 views

Can I send BTC from other node or wallet with my address?

I'm trying to send bitcoins from node2 with my address using private key noted that my address is created in node1.I followed this link: "https://en.bitcoin.it/wiki/How_to_import_private_keys" I dump ...
3
votes
1answer
128 views

i need to get the correct wallet so i can use my pass phrase to recover my btc wallet. this was january 2009

the btc core wallet let me choose my own passphrase with 12 -16 words. the latest would be late january early febuary 2009. what wallet was i using? I cant find a reference online. everyone says that ...
1
vote
1answer
26 views

Why is getdescriptorinfo returning an error “Invalid descriptor (code -5)”

I am using Bitcoin Core bitcoin-cli with getdescriptorinfo like so: curl --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getdescriptorinfo", "params":["sh(multi(2,[3c60330a/1]...
0
votes
2answers
99 views

Bitcoin core How do I get the transaction fee while using sendtoaddress

I have a bitcoin core running on testnet, so for suppose I have a wallet balance of 1BTC and I have to send it to an addressx, so how can I know the amount of transaction fee so that I can subtract it ...
1
vote
0answers
28 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 ...
1
vote
1answer
59 views

How to handle multiple transactions from the same account(address)?

I am new to bitcoin so please bear my question. To understand the IN's and OUT's of this crypto world, i am creating a dummy bank to have a better understanding of the system. So I have a bitcoin ...
5
votes
2answers
476 views

Environment for building Bitcoin core in Windows

I'd like to try building the Bitcoin core source in Windows. The instructive materials I've found take too much for granted. What environment needs to be installed before building? Can it be built in ...
1
vote
1answer
43 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: ...
0
votes
0answers
19 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 ...
0
votes
1answer
42 views

bitcoind not found

I have installed bitcoin core 0.17.1 version windows 10 in my laptop. I can see the following folders: bin (bitcoin-cli.exe, bitcon-qt.exe, bitcoin-tx.exe, test_bitcoin.exe), include (...
2
votes
1answer
42 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
1answer
69 views

Open source, how can I view “Transaction Create a new transaction” and “Sign Transaction”?

Not long ago I saw on the site github.com the very first Nakamoto code: https://github.com/livegnik/BitCoin-v0.01-ALPHA Running bitcoin.exe, I did not find the console. If the program is open source,...
1
vote
0answers
16 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 ...
0
votes
1answer
81 views

bitcoin volatility and transaction fees

We know that the Bitcoin currency is volatile, but does the transaction fees correlate with it's volatility? Is it right to assert that if there is high level of Bitcoin demand, then the currency goes ...
2
votes
1answer
50 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> ...
4
votes
1answer
427 views

If I set assumevalid=0 after syncing the blockchain will Bitcoin Core go back and validate historical blocks?

I originally synced my node using the Bitcoin Core default assumevalid value. If I set -assumevalid=0 in bitcoin.conf and restart my node, will my node go back and validate historical blocks?
-2
votes
1answer
32 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
18 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
1answer
34 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
1answer
12 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. ...
1
vote
1answer
26 views

How to re-connect to `bitcoind -printtoconsole` after socket timeout?

I started bitcoind with the option -printtoconsole to check for errors and my terminal ssh connection was timed out during the night - probably because my computer was in hibernation. I see that the ...
1
vote
1answer
39 views

Bus error (core dumped)

Running a new install of Ubuntu 18.04.3 LTS and downloading blocks in bitcoin-qt up to over 70% when pgm quits with "Bus error (core dumped)". Anyone else gets this or how to fix it? (-rescan didn't ...
2
votes
2answers
228 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 ...
14
votes
2answers
6k views

How can I setup Bitcoin to be anonymous with Tor?

Bitcoin is billed as many things, among them its anonymity is highly regarded. While it is true that a transaction does not identify a user or wallet, recent news shows that there is the potential for ...
0
votes
2answers
61 views

How to reduce Bitcoin loaded wallet memory?

The server has 2GB of RAM memory. It takes up a lot of memory when I create or load a wallet. When I create about 50 wallets, the server is very slow because the memory is full. Is there a way to ...
1
vote
1answer
53 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 ...