Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

0
votes
0answers
23 views

Watch-only addresses inside segwit transactions

I'm using bitcoin core (via rpc api). I've generated one 2of2 multisig address on electrum wallet, and after that, I've imported that address into bitcoin core by using importaddress rpc method. When ...
0
votes
2answers
18 views

How to calculate the transaction size?

Is it possible to calculate the transaction size from the transaction id ?
3
votes
3answers
38 views

Does a bitcoin node broadcast that it is full synced?

When a bitcoin core node is fully synced, does it broadcast to the rest of the network that is has finished syncing? If yes, where in the bitcoin-core source code is this implemented?
0
votes
0answers
10 views

Validate 3rd party transactions on Bitcoin-qt debug window

Is there a way to validate a random transaction via transaction ID on the debug window? Imagine I want to validate a transaction between 2 wallets I don't control. I believe its possible to check if ...
1
vote
1answer
34 views

Extract sender ID and recipient ID of a bitcoin transaction

I'm new to this world and I'm trying to learn the blockchain world and especially now I've concentrated du bitcoin-core, I would like to parser and get the various information like the various sites ...
0
votes
0answers
33 views

How to access bitcoins with my private key but no passphrase?

I utilized a website, bitcoinpaperwallet.com, to randomly generate a Private and Public key pair for Bitcoins storage. This new Public address is now available for anyone to send bitcoins into....
0
votes
0answers
13 views

In the event of pending computer crash that might corrupt my Bitcoin Core blockchain download. What files can I copy to prevent corruption?

I run Bitcoin core on my windows 10 machine. And occasionally the damn thing shuts off all my applications and corrupts my Bitcoin Core blockchain download. Yes, I know, don't use windows. That's the ...
1
vote
2answers
29 views

What happens to the transactions included in the forks?

Let: a) the vector triplet <x,y,z> refer <height, index, parent_index> b) blocks, block100, block110 (of height 1) are mined together and they both refer previous block block00[null] (of ...
0
votes
0answers
24 views

Bitcoin Address Index, now that Bitpay/Bitcore is not reliable

Other than Bitpay/Insight-UI, are there other tools that index addresses from the Bitcoin blockchain. I want to be able to query the index like this "https://btc.com/...
0
votes
1answer
35 views

What is the source of initial transactions of bitcoin?

Sorry, if I am wrong or silly! It is understood that: a) Satoshi Nakamoto sent the first transaction to developer Hal Finney on January 12, 2009, the genesis block contains 1,073 transactions and he ...
2
votes
2answers
31 views

Bitcoin core full node - Should i choose my peers or it's fine to use the hardcoded ones?

Pretty much the title, i have a full node v 0.17.1 running 12-14 hrs/day and i was wondering if is helpfull, for privacy or for whatever reason, to add peers (maybe from https://bitnodes.earn.com/...
0
votes
1answer
25 views

What are the pros / cons of using Electrum 3.3.2 over Bitcoin core 0.17.1? And what about running your own Electrum Server?

Aside from not having to download the entire bitcoin blockchain when using electrum, what other advantages are there over using Bitcoin core 0.17.1? Also if I chose to use my own electrum server, ...
-2
votes
0answers
17 views

bitcoin-0.8.1 version how to generate exe file

i am try to get the exe file from bitcoin-0.8.1 version .In bitcoin latest version we can get easily exe file but bitcoin-0.8.1 version its not like latest version so if anyone can help to generate ...
-1
votes
1answer
20 views

Do exchanges use Bitcoin Core when managing user's bitcoin addresses?

I'm trying to learn to build out an exchange and would like to know how existing exchanges manage user's bitcoin addresses. Do they use Bitcoin Core or Electrum? And does each user have their own ...
-1
votes
2answers
26 views

BCH - estimatefee return -1

When I call estimatefee 1 in testnet it returns: -1 According to docs: If the node doesn’t have enough information to make an estimate, the value -1 will be returned But on my bitcoin-cli ...
0
votes
1answer
30 views

How to see download sync speed when syncing the Bitcoin 0.17.1 Blockchain on Ubuntu 18?

I'm syncing the bitcoin 0.17.1 blockchain from the beginning on Ubuntu 18 using Bitcoin Core Qt gui client. Is there a way to see the download speed of the Bitcoin Blockchain and how much time I have ...
3
votes
1answer
416 views

After downloading the entire Bitcoiin blockchain from a torrent, what are my next steps to link it to Bitcoin Core 0.17.1?

I downloaded the entire bitcoiin blockchain into my external mounted drive as seen below and named the directory bcore. I then did a symlink to that folder like this in my home folder (~) location : ...
0
votes
1answer
21 views

How does Bitcoin use its communication protocol and its database model?

In terms of Bitcoin's communication protocol, how does Bitcoin allow nodes to communicate between each other? Is Bitcoin's communication protocol the same as IPFS(InterPlanetary File System) and if ...
0
votes
1answer
33 views

How can I tell when `rescanblockchain` is finished?

Rescanning the blockchain can take some time. How can I tell (via RPC) when the rescanblockchain command has finished? Will it block until it's done, and only then return? Or is there another RPC I ...
-1
votes
0answers
13 views

How to have a functional Bitcoins Wallets [duplicate]

How does Bitcoins works and how to have a correspond wallet?
0
votes
1answer
28 views

How does the Bitcoin network maintain the chains created when two nodes generate different versions of the same block?

I came across these lines from the Bitcoin whitepaper: If two nodes broadcast different versions of the next block simultaneously, some nodes may receive one or the other first. In that case, ...
2
votes
1answer
39 views

Bitcoin ECDSA signature in the compact format

I would like to understand how to get Bitcoin ECDSA signature in a compact format, when it's exactly 65 bytes. In the bitcoin-core repository, secp256k1_ecdsa_recoverable_signature_load is ...
2
votes
1answer
40 views

Confusion about `unloadwallet`

It's not clear to me how unloaded wallets behave in Bitcoin Core v0.17.0.1. If I create a new wallet with createwallet, add a receiving address to it using importmulti, then unload it using ...
1
vote
1answer
26 views

Monitor bitcoin transaction confirmation timestamps

Well, i'm planning on developing a graph that shows bitcoin transaction average confirmation time per hour , but i have no clue where i can get transaction confirmation timestamps. I'm running ...
0
votes
1answer
39 views

How to import p2wsh-in-p2sh multisig as watch-only?

I've created a p2wsh-in-p2sh multisig address using an offline node. I have the address and redeem script, as provided by bitcoin-cli addmultisigaddress on the offline node. How do I import this as a ...
-1
votes
0answers
15 views

I want to send/receive payments via python, what are my thin client options

I have a need for the following: 1) ability to create wallets 2) send/receive payments 3) check wallet balances 4) can work in mainnet and testnet Since my blockchain goals are minimal, I would ...
4
votes
1answer
57 views

Expected use model for PSBT

I want to use Bitcoin Core to create a PSBT for offline signing (cold storage) of a multisig p2wsh-in-p2sh address, such as that created by Glacier. Based on the PSBT doc I assume I want the online ...
-1
votes
0answers
13 views

bitcoin-transaction npm showing Bad Request in response

I am using bitcoin-transaction node npm package for transfer satoshi from one address to another on testnet. I have 0.67779124 satoshi in my testnet address. and I want to transfer it to another ...
1
vote
1answer
20 views

How to calculate bitcoins in fees spent dailly? (Avg)

From https://bitcoinfees.earn.com/ I can see a list of bitcoin satoshi fees/byte From https://thenextweb.com/hardfork/2018/07/12/bitcoin-block-size/ I can see that we can have block sizes of up to ...
1
vote
1answer
34 views

old wallet.dat with only incoming tx from mining, now shows 0 coins even after rescan and all the transactions are there

I found an old wallet.dat it contained hundreds of transactions while i was mining. I've replaced the wallet.dat in a new Bitcoin Core wallet, rescanned, all the txid are showing but the amount of ...
-1
votes
0answers
13 views

DEADLOCK with walletpassphrase?

When i used the encrypted wallet to test transfer parallelly,i frequently got the trouble: The rpc server is not responding.My test script is as below: #!/bin/sh while [ 1 ] do ./gzh-cli.sh ...
-1
votes
0answers
19 views

Bitcoin IBD cache usage goes back in size every few minutes, why?

I am running bitcoin-core with config options dbcache=16384 and maxmempool=8192 on a 8core 32G ram machine. In the debug.log, I can see the cache size increasing till around 710mb, and then starts ...
-1
votes
0answers
15 views

What is the actual second receiver address after called “sendtoaddress” RPC command? [duplicate]

Yesterday I made a transaction(tx id: 723dce1992811e29e382f89ce55f3e430fc3d7446c085025d5b605b879b64e62) , to send 0.003 BTC to an adress: 34shDKnPjUzLvFuVn2y1wGGfsuMNFrCHAK My RPC commands are 2 ...
1
vote
1answer
48 views

Is it technically possible to change the total amount of Bitcoin?

Also, is it possible to change the reward cycle duration or the number of mining- reward coins?
1
vote
2answers
29 views

Would bitcoin core work on a big endian system? Or even a system where C++'s `int` is not 32-bit?

Looking at the source code of bitcoin core, the serialization part, I see that there's no serialization abstraction layer that accounts for a possible different endianness or different binary layouts ...
-1
votes
0answers
20 views

what is the reason behind “IsInitialblcokDownload()” function in mining.cpp

I've been working on bitcoin blockchain for a while and this question croosed my mind while studying bitcoin-core. Can any one tell in detail what is the reason behind "IsInitialblcokDownload()" ...
0
votes
1answer
15 views

Bitcoin-QT Windows Safety Concerns

According to https://www.file.net/process/bitcoin-qt.exe.html "The application uses ports to connect to or from a LAN or the Internet. Bitcoin-qt.exe is able to connect to the Internet, record ...
1
vote
0answers
32 views

Bitcoin Wallet generation and TX signing [closed]

I am developing a Bitcoin Wallet in Javascript. I've worked on ETH but it's my first time on BTC. Here are following queries if anyone can help: How do we generate bitcoin Wallet like we do in ...
2
votes
1answer
97 views

Error parsing JSON in bitcoin-cli signrawtransactionwithkey

I have issues trying to sign a 2/3 multisig tx with the first private key. What am I doing something wrong or am I missing something for the arg? Command format: /usr/bin/bitcoin-cli -testnet ...
1
vote
2answers
45 views

Which Bitcoin RPC call is used for setting transaction priority?

Is there is any bitcoin RPC call for setting the transactions priority ?
2
votes
0answers
32 views

How to get multiple connections to the same node

I'm playing around with connecting my node to another one of my nodes to see how many incoming connections I can handle. Whenever I add node A from node B with bitcoin-cli addnode 1.1.1.1 add after ...
-1
votes
0answers
18 views

sendfrom api taking txin for entire wallet.Not only for sender address txin [duplicate]

I've multiple accounts(label) in single wallet(wallet.dat). (Multi wallet is not added in final/master branch of Litecoin Ref link) Now when I use sendfrom api to transfer from one account to another ...
1
vote
0answers
33 views

What is the best way to test new consensus protocol?

I wanted to test a new consensus protocol. However, the bitcoin core is a large codebase (>100k lines). Is there any small codebase which is designed to test new consensus protocols and includes only ...
0
votes
1answer
40 views

Is the hdSeedid in Bitcoin Core 0.17 RPC the actual seed itself?

I'm trying to find out the seed for the HD wallet in the 0.17 release of Bitcoin Core. I used the getwalletinfo command in the RPC console which produced information which includes a string that it ...
0
votes
2answers
51 views

Invoking the listunspent command via json-rpc on a full node

I am trying to use the following example code for C# programming, so I can connect to my own bitcoin full node: https://en.bitcoin.it/wiki/API_reference_(JSON-RPC)#.NET_.28C.23.29 Which has resulted ...
1
vote
2answers
36 views

How is blockchain stored on disk?

Hi how is blockchain actually stored on disk? I noticed bitcoin uses key store database level DB but what is the structure? https://github.com/bitcoin-core/leveldb-old/blob/bitcoin-fork/doc/...
0
votes
1answer
29 views

Did Bitcoin Core relay blocks sequentially or in parallel to peers before Compact Blocks?

As I can see in the Bitcoin code, currently a node sends a block in parallel to all its peers. This makes sense as the block sending time is relatively small compared to the P2P latency. However, my ...
3
votes
0answers
50 views

Bitcoind 0.5.3 stuck at block 364,670 - what to do?

I compiled bitcoind using the same steps as last year. In particular I set DB_CONFIG: set_lg_dir database set_lk_max_locks 537000 Unfortunately once I hit block 364,670 (2015-07-10) I'm treated with:...
-1
votes
0answers
23 views

How should i start learning code of any cryptocurrency? [duplicate]

I want to learn about the code of cryptocurrency with all it's features including POS and master node features, currently I have XSN code (stake-net coin) and i want to learn it so i can make use of ...
0
votes
1answer
24 views

RPC giving error -13

Bitcoin rpc calls giving error -13: Error: Please enter the wallet passphrase with walletpassphrase first.