10

This is a question of definition. The blockchain doesn't store anything, it's an abstract data structure that's collectively maintained by nodes in a network. Those nodes are the ones that store things. That may or may not include the actual transaction data - it doesn't matter. The Bitcoin blockchain consists of hash-linked block headers. Every block header ...


6

The setgenerate built-in background miner was removed. There is however still a test-only on-demand miner, which will try to mine N blocks whenever requested by RPC (see generatetoaddress /generatetodescriptor/generateblock RPCs in recent Bitcoin Core versions). It is many times less efficient than even the built-in CPU miner was. Its only purpose is in ...


4

While nodes are set to be listening by default, the vast majority do not permit inbound connections either because it has been disabled or their network setup doesn't make the port accessible. There seem to be in the range of 8-10k listening nodes, while estimates for non-listening nodes range in 60-400k depending on the source. Beside full nodes there are ...


3

The signature cache is basically a set of public key, message hash, and signature tuples. When there is a valid pubkey, message hash, and signature combination, all of those are hashed together with SHA256. This hash is then inserted into the signature cache. So the signature cache contains only the hashes of valid combinations. When verifying a signature, ...


3

Lightning Network, as it's described, seems to solve all the problems with Bitcoin. That's not true. I would even say that Ligntning Network doesn't on its own solve any of Bitcoin's problems, but it does go a long way towards solving several of them (scalability and privacy). I'm unable to accept payments due to the insane fees, but would be able to if ...


3

Confirmation is not Validation Miners are not Adjudicators How does the 1-CPU-1 vote works There is no voting system in Bitcoin. There is no counting of votes. When Nakamoto wrote about voting in the Bitcoin whitepaper, they were using the word in an abstract, almost poetic way, not literally. Just as tigers vote for species of deer by choosing which to ...


3

When it says, "connect" it is referring to connecting in the TCP/IP sense. The vulnerability simply required you having the ability to open a TCP/IP connection to bitcoind's RPC port, which is before any concept of authentication even comes into play. It isn't that it was possible to send JSON-RPC commands to bitcoind without authentication (this ...


3

It depends on what you want. If you want to know the amount of currency that has been available for miners to bring into circulation (the "210000-1 blocks of 50 BTC, then 210000 blocks of 25 BTC, then 210000 blocks of 12.5 BTC, ..." rule), the answer is no, there is no RPC that computes this. It's easy to do yourself, though. If you want to compute ...


3

Adding more advanced prediction of what transactions are useful to prefill was probably intended as a TODO when Compact Blocks were implemented, but to the best of my knowledge, nobody has worked on it since. It is worth pointing out that Compact Blocks in practice (and in non-adverserial situations) works extremely well. On my own long-running node, as of ...


2

Command to create new address is same as you mentioned in the question: createnewaddress() You can only create P2PKH (legacy) addresses in a wallet with 'standard' seed: Command to create a standard seed: make_seed(seed_type="standard") 'standard' can be replaced by 'segwit' for a wallet with bech32 addresses Create new wallet with the seed ...


2

Bitcoin Core will construct a Tor hidden service by default, if a Tor control port is found and Tor is configured to allow it. You can use torcontrol=0 to disable it.


2

You can't merge them, but you can just copy the old blocks/ and chainstate/ subdirectories of an old install that you trust. It'll just continue where you left off then.


2

This is a BIP173 native segwit address. If you unselect the "Generate native segwit (Bech32) address" checkbox in bitcoin-qt, you'll get a P2SH 3xxx address instead. Most senders these days support sending the BIP173 addresses though, which are cheaper for you to use. The GUI no longer supports creation of legacy 1xxx addresses by default. You can ...


2

-rpcuser was missing in the command. Also, the onion address exposed through getnetworkinfo is irrelevant. Bitcoin Core is only automatically setting up an onion service for P2P communication, not RPC. Below command works fine: torify bitcoin-cli -rpcconnect=vazr3k6bgnfafmdpcmbegoe5ju5kqyz4tk7hhntgaqscam2qupdtk2yd.onion -rpcport=1309 -rpcuser=user3 -...


1

Yes. All command line options can be specified in the bitcoin.conf file using the same name without the leading dash (-). For -reindex-chainstate, you add reindex-chainstate=1 to your bitcoin.conf.


1

Running a full node allows a user to independently verify the state of the bitcoin network. In order to verify the state of the network, the full node will run through every transaction in every block, and this is only possible if the full node has access to all of the data that comprises the network's history. If you 'squash' (compress) this information, ...


1

If about 5 GB is affordable for your laptop drive, you could still keep the datadir on it, and move the block storage only to the external drive by adding blocksdir=/path/to/external/blocksdir to your bitcoin.conf. This solution allows you to keep your wallets on your laptop drive using default wallet location. If your laptop drive is SSD, while external one ...


1

You can download a database dump from blockchair.com at https://gz.blockchair.com/bitcoin/addresses/ The database is updated daily and is contains a balance of satoshis for every address on the network.


1

If you get here like I did, trying to remember where the signatures of the various releases are stored/attested-to, it's at https://github.com/bitcoin-core/gitian.sigs There, you'll find the manifests of gitian builds.


Only top voted, non community-wiki answers of a minimum length are eligible