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 ...

0
votes
1answer
63 views

find a CTransaction from a prevout in Bitcoin source code

I'm trying to come up with this function: CTransaction getTxFromPrevout(COutPoint prevo); The idea being... when a new transaction is about to be validated, it will go through all of it's tx.vin[i]....
0
votes
1answer
37 views

Is it true that only one message can be sent at a time in Bitcoin Core?

I looked into Bitcoin Core client code, and it seems that there is a lock that allows only one thread to send data (Block, TX, etc.) at a given time point. If this is true, it means that transactions ...
0
votes
1answer
31 views

Transaction still unspendable with CLTV

Previously I generated tx with CHECKLOCKTIMEVERIFY Here is the transaction https://tchain.btc.com/bb1415c166fd9f767c06d34d539f4b110ef4445f74a76c5ffad1ded33032e872 It lock funds before block 1442909. ...
0
votes
1answer
23 views

Bitcoin Core chain download criterium

net_processing.cpp contains // If this set of headers is valid and ends in a block with at least as // much work as our tip, download as much as possible. why are we interested in chain that'...
3
votes
1answer
44 views

What is the maximum number of bytes the coinbase scriptSig (coinbaseaux) can hold?

Since the scriptSig of the coinbase transaction of a block can contain arbitrary data, what is the maximum number of bytes it can contain? I've seen various mentions of a limit around 100 bytes, but ...
0
votes
0answers
19 views

What Is The Process Of Mining Bitcoin [duplicate]

I am interested in the process of buying bitcoins, but I have many questions. First and foremost, how do I begin this process? I am looking to make my bitcoin wallet as secure as possible, so how ...
2
votes
2answers
26 views

Security implications of bitcoin.conf location

I'm setting up and hardening a dedicated headless bitcoind and lightning daemon and wanted to have a discussion about location of the bitcoin.conf. Item #1: Bitcoind defaults to using ~/.bitcoin/...
0
votes
1answer
30 views

What happens to a node if .bitcoin/chainstate is corrupted?

I tried to search for answers to my questions, but didn't find any, but please forgive me if this is a duplicate question. Suppose somehow .bitcoin/chainstate gets corrupted, e.g., a UTXO is deleted. ...
1
vote
1answer
63 views

Is there a way to create coinbase transactions with an RPC command?

Is there a way to create coinbase transactions with an RPC command?
1
vote
0answers
25 views

How does the bitcoin network remove duplicate blocks being generated by multiple miners?

Say there are two minersA&B and each of them have produced the next block almost at the same instant. In this situation how is the network going to decide which one is the main block and abandon ...
0
votes
1answer
44 views

Converting raw scriptPubKey to readable format

I am debugging Bitcoin cpp code. I wanted to see what exactly come for scriptPubKey property of output. Theoretically, I know this but I want to see in the code how does it looks like. Now while ...
1
vote
1answer
75 views

bitcoin-qt and ubuntu 18.10

bitcoin-qt worked well on Ubuntu 18.04, after the upgrade to 18.10 it won't start anymore. Can't find any hints in log-files. Help appreciated! kr Heinz
0
votes
1answer
14 views

how to calculate max spendable from all wallet

Using latest bitoind, any way to calculate max spendable from wallet with some amount of outputs? For example i need to send all wallet amount to 2 outputs and set mining fee enough to get ...
0
votes
1answer
50 views

scam with blockchain [closed]

Recently a scammer contacted me to invest in Bitcoin. Well after losing my money with him, this person offered to return my money, and asked me to create a blockchain account. I did, then he asked me ...
-1
votes
1answer
44 views

Restore BIP44 HD wallet

I'm newbie in bitcoin development, I'm working on a wallet and I generated addresses using BIP44. Now for restoring my wallet, I followed the example RestoreFromSeed.java it uses Wallet.fromSeed(...
4
votes
1answer
33 views

ZeroMQ Notifications in Browser JavaScript

I am trying to develop an online application primarily in JavaScript. As I am aware, the only way to receive notifications for unconfirmed/mempool transactions as they appear on the network is to ...
0
votes
1answer
53 views

Converting xpub key to core format

I am experiencing some major issues which I honestly can't understand. When I am generating a wallet from Electrum the public key looks like this: ...
1
vote
1answer
29 views

PHP How can I validate / verify a wallet public key?

Can someone please help me find some PHP open source on how to validate / verify a bitcoin wallet public key ? I am currently working on a project and I am implementing multisig, and it seems I can't ...
0
votes
0answers
11 views

Bitcoind v0.17 multiple instance for testing

Previously for regtesting I used multiple instances of bitcoind by specifying the data directory. Previously: Start Instances bitcoind -daemon -datadir="/home/vagrant/.bitcoin2" bitcoind -daemon ...
1
vote
1answer
31 views

How are transaction fees collected in Bitcoin? [duplicate]

I'm looking into the structure of blocks in the Bitcoin blockchain, and I can't figure out when\how the fees collected by miner of the blocks are transferred to the miner. According to what I can tell ...
0
votes
0answers
42 views

Connect to bitcoind with python-bitcoinrpc: 401 unauthorized

I'm running D:\Bitcoin\daemon\bitcoind on my Windows 10 system with command line parameters -server=1 -conf=D:\Bitcoin\bitcoin.conf -datadir=D:\Bitcoin\blockchain, and I have in my bitcoin.conf: ...
0
votes
0answers
30 views

Getting an error when syncing

I am trying to sync my bitcoin-core. Here is my bitcoin.conf file server=1 rpcuser=chainapi rpcpassword=whyDidTheBulletProofElephantCrossTheRoad rpcport=8332 rpcallowip=127.0.0.1 prune=550 dbcache=...
0
votes
1answer
56 views

fundrawtransaction causing bitcoind 0.17 to crash

I've updated to bitcoincore 0.17 and I'm trying to create a raw transaction to be signed on an offline wallet. I'm creating a raw transaction with createrawtransaction with no inputs and the desired ...
0
votes
1answer
36 views

If Bitcoins aren't tied to a conventional currency, how did they get so valuable? [duplicate]

I would appreciate it if someone could provide me with some insightful information.
0
votes
1answer
33 views

After Setting up my Bitcoin core Server, I need to create wallets for each of my client on a website may be thousands

After Setting up my Bitcoin core Server, I need to create wallets for each of my client on a website may be thousands. How can i generate wallets on per user basis that if bitcoin core does not allow ...
1
vote
1answer
33 views

Bitcore vs bitcoin

Currently bitpay has provided the complete code for the webwallet+blockchain explorer + bitcore running can we use same thing for the bitcoin blockchain ? or the system that bitpay has developed will ...
2
votes
0answers
24 views

Why does a node get stuck in “Loading wallet…”

I've deleted wallet related things from .bitcoin folder including: .bitcoin/wallets and .bitcoin/chainstate and run bitcoin using bitcoind -reindex. This takes longer than just starting over from ...
0
votes
0answers
14 views

How to properly update a forked masternode coin

I have a BitcoinCore/Dash Fork I've gotten to run successfully. I have it mining correctly in the Wallet, also have 1 Full node, and 2 master nodes setup. All have been working perfectly fine, I ...
0
votes
1answer
24 views

How to check if confirmation is done or not yet?

After sending Bitcoin to any address, how can I check if the transaction has at least one confirmation? Should I poll the transaction repeatedly or is there any event when confirmation is made.
0
votes
1answer
38 views

Account system is deprecated. Now, how can we set a “from account” when using the “sendmany” function?

Currently I have been faced with a problem from the update of Bitcoin Core. As you may know, in the recent update, Bitcoin Core deprecated the concept of account belonging to each node. Hence, I ...
0
votes
1answer
40 views

Web wallet making direct RPC calls to bitcoin node

Is it good idea to make direct RPC call's to node computer to generate web wallet addresses here is what i am trying to implement i want to create new web wallet based on bitcoin and want to allow ...
5
votes
2answers
251 views

Why didn't Bitcoin implement segwit in the first place?

Why didn't Bitcoin implement segwit in the first place? Why and how does non-segwit Bitcoin enable a miner to change a transaction's txid? From Mastering Bitcoin ch. 7 § "Transaction identifiers": ...
0
votes
1answer
31 views

Unknown btc transaction

Could someone please explain what is this second transaction from the wallet 34UuFs8BtnbeJtdM9p4NBCHiP8MaD4f86n ? https://www.blockchain.com/btc/address/34UuFs8BtnbeJtdM9p4NBCHiP8MaD4f86n?filter=6 I ...
1
vote
1answer
32 views

The BIP32 Extended Keys are different?

I was using the same random entrophy (d2310508c6c5313795dc80a7408b608ffda7176dbedefac00f8114c5dd89a673) to generate the BIP32 Root ExtendedKey (path: m) in the libbitcoin-explorer and web-based wallet ...
0
votes
1answer
30 views

help problem to synchronize bitcoin wallet core

I have about 20 usd trapped in an old version, it is version 0.9.3 of the bitcoin kernel. I urgently need them to pay a significant debt. Every time I want to pass them to a stock exchange, the wallet ...
0
votes
1answer
39 views

Bitcoin Address Received/Balance values differ from one explorer to another

Recently I've been looking into experimenting with querying the blockchain. I am running bitcoin-core, full node locally and updated. I am mainly interested in querying watch-only addresses, each ...
0
votes
1answer
54 views

BitcoinCore Ubuntu buiild error: ‘relative’ is not a member of ‘fs’

I'm trying to build Bitcoin core client on an LinuxMint. I'm having the following error(which have not encountered before, while making it on MSWindows or another Linux machine) in make process, right ...
1
vote
2answers
45 views

how to calculate Entropy from series of outcome?

I want to generate my own private key with dice and/or other very entropic phenomenon. But how can I calculate if my data have a good entropy ? I mean if I throw dice in a certain way too much time ...
0
votes
1answer
22 views

Does my segwit node only have segwit bocks?

My segwit node makes a gettxout RPC query and checks the scriptPubKey.type is "witness_v0_keyhash" and does things accordingly. To my understanding old nodes have different blocks and if I happened ...
0
votes
2answers
37 views

I am unable to sync wallet to network

i downloaded bitcoin core on a laptop without knowing it takes up a lot of space and my laptop has 128 gb it keeps saying "low disk space" so it won't sync, i sent lots of bitcoins there a while ago ...
0
votes
2answers
27 views

Data about number of block mined + stale blocks per day in Bitcoin?

I am wondering if there is any easy way to get number of mined blocks per day + number of stale blocks per day for the last three month e.g.,? I could not find such data on Blockchain.info In ...
0
votes
1answer
80 views

How to recover bitcoins from personal wallet app in android which is uninstalled?

I am using a bitcoin Non-deterministic wallet created by a private firm. In which there are few bitcoins worth 100$ Somehow I clear data of the android App, and Now all the memories related to my ...
0
votes
0answers
24 views

How does one confirm if my dbcache setting has taken affect via the gui for bitcoin core 0.17?

I set dbcache=4000 in my bitcoin.conf file, but where can one confirm if this took affect or not in the gui? I'm on ubuntu 18.
0
votes
1answer
33 views

Is it safe to store user's secure pass-code in database with encrypted form while creating bitcoin wallet?

I would like to create a Bitcoin Wallet. Part of the process is to store public and private keys in encrypted form in server database. All keys I am storing is encrypted using user's passcode. 1) ...
0
votes
1answer
31 views

Signature generation

I am trying to unwrap bitcoin transaction generation process. A bit confused about signing part. My understanding is the transaction is sha256'd, then sha256'd one more time, then ECDSA'd. Based ...
0
votes
1answer
41 views

bitcoin compile (.undefined reference to **')

I'm getting error after make command like, undefined reference to `BlockAssembler::BlockAssembler(CChainParams const&)' and in last Makefile:774: recipe for target 'all-recursive' failed make:...
1
vote
1answer
54 views

What does a double spend (CVE-2018-17144) look like if I gettransaction it?

Just wondering what the output from gettransaction (or should I be using getblock?) would look like if I passed it a txid(or blockhash) that contained a set of transactions that exploited the double ...
0
votes
1answer
34 views

Bitcoin / Crypto and exchanges!

When we buy/ sell bitcoin through some exchange say "Koinex in Indian context", what is the process i.e. actually followed ? 1. Does exchange communicate to node(s) in the bitcoin blockchain thru my ...
0
votes
1answer
25 views

gettransaction cannot get address where it send from

Hi i have test few time with gettransaction method, it seem only show full detail about transaction when send inside node. But if i send from another address outside my node, gettransaction only show ...
0
votes
0answers
18 views

Bitcoin windows build error: ceil not a member of std::

I am using these bitcoin build notes to build a QT wallet for windows using Ubuntu 16.04 subsystem for windows. At the final step when I use sudo make I receive the error: chainparams.cpp:92:57: ...