Skip to main content
Share Your Experience: Take the 2024 Developer Survey
8 votes
Accepted

Why doesn't each node store only a portion of the blockchain?

Your question is vague, but I assume your real question is why every node must store the full blockchain. The answer to that is that they don't. In fact, nodes can choose to not store any part of the ...
Pieter Wuille's user avatar
7 votes

Why does Bitcoin Core take up so much space?

You can reduce disk-space usage of Bitcoin-Core by enabling pruning. Enabling pruning means you delete old, already verified blocks without reducing your security. Once old blocks are validated and ...
Jonas Schnelli's user avatar
7 votes

Why does Bitcoin Core take up so much space?

It's not Bitcoin Core that's taking up all the space, but the Bitcoin blockchain that Core needs to download, validate, and reference. This is because Bitcoin Core is what's called a full node. ...
Jestin's user avatar
  • 8,812
6 votes

Where is the data stored in Bitcoin?

The blockchain (at least as far as Bitcoin goes) is a series of transactions, collected in blocks. This data is stored on each and every full node (pruning aside). There is no cloud based storage as ...
Raghav Sood's user avatar
  • 17.1k
4 votes
Accepted

How to store private key in MySQL database?

Storing private keys in an online server is not best practices (even if you quickly transfer to an offline wallet). Generally, you should not store private keys on an online device Instead, if you ...
chytrik's user avatar
  • 18.3k
4 votes
Accepted

Another 140 GB for BCH?

If you want to run full BCH node - then yes. Most of these 140Gb is the same for now as with BTC node though, but that's not going to help you in reducing space requirements. You can always run your ...
BarsMonster's user avatar
4 votes

Do I spare 80Gb to only keep the blockchain and do I need it to be always present?

There are different ways of interacting with Bitcoin. If you just want to make an occasional payment, and don't want to handle large sums, you'll probably be happy to run a Thin Client on your ...
Murch's user avatar
  • 75.7k
4 votes

Is it possible to store data privately into the bitcoin blockchain?

You can encrypt your data before you store it. However anyone would have access to the encrypted data and, if the encryption is broken (either now or in the future), the encrypted data will be ...
Ava Chow's user avatar
  • 70.8k
4 votes
Accepted

Minimum disk space required for running a full node

As far as I know, for running a full node, we should have enough storage to store the whole block chain which is currently around 390 GB. That's not correct. Bitcoin Core can run in pruned mode, ...
Pieter Wuille's user avatar
3 votes

Another 140 GB for BCH?

Yes but you will have to specify different folder for blockchain data because BCH uses the same folder as BTC. "However, there is a “gotcha”: At least the current Bitmain-coin code will use the ...
grajsek's user avatar
  • 266
3 votes

Bitcoin Core full node has saved a lot more space than 260gb

This is a known issue and a bug with APFS. This will be fixed in the next version of Bitcoin Core.
Ava Chow's user avatar
  • 70.8k
3 votes

Is Blockchain safe to store personal information?

Usually hashes are what's stored in the blockchain, not the data itself. It's safe to store hashes because it's extremely difficult to reconstruct a message given its hash (the so-called pre-image ...
Geremia's user avatar
  • 4,682
3 votes

Why doesn't each node store only a portion of the blockchain?

The blockchain determines whether a transaction can be made. When a miner creates a new block, they are only allowed to include valid transactions. If they include an invalid one, their block is ...
UTF-8's user avatar
  • 3,224
3 votes
Accepted

How to store transactional information on the blockchain

OP_RETURN is meant to store extra data on the blockchain. As fees are per kbyte, you'll be paying more fee. Remember that block size is limited (1MB now every 10 minutes, but growing) and fees are ...
Jannes's user avatar
  • 6,344
3 votes
Accepted

What is the current size of txindex folder when txindex=1 set?

27GB as of 2020-06-14 You yourself can check this via going to .bitcoin/blocks/index folder. Where .bitcoin folder is usually hidden folder on home when using linux. It depends if you have pruned ...
Haseeb Saeed's user avatar
3 votes

what is the size of information contained in one bitcoin?

I want to store one bitcoin in my pendrive and how much free space do I need to store that information? TL;DR: 32 bytes. Bitcoins are not pieces of data, Bitcoin is a unit of measure. To store any ...
RedGrittyBrick's user avatar
3 votes

Long-term present in a form of cryptocurrency for newborn

I would get a wallet to generate a BIP-39 seed phrase, stamp the seed phrase onto durable metal, send money to the wallet and destroy the wallet, deleting all data.
RedGrittyBrick's user avatar
3 votes

Are the block headers kept in memory?

I think you are confusing what it means to store things "in memory". As you say, indeed, the block index DB and the chainstate DB are both levelDB databases stored on disk. However, while ...
meshcollider's user avatar
  • 11.8k
2 votes

Is there any bitcoin fork which goal is storing arbitrary information?

Storj is a blockchain based solution for encrypting and storing data. More information can be found about the project at storj.io
Mark S.'s user avatar
  • 2,730
2 votes
Accepted

Privacy issues with storing entire information in blockchain

They could be anywhere between no one but your doctors (and maybe your insurance company) knows anything and every single person alive knows all of your health records. Showing the second case is ...
UTF-8's user avatar
  • 3,224
2 votes
Accepted

Keeping old blocks on an external hard drive and latest blocks on an SSD

Blocks are not accessed under normal operation, except: When a peer fetches one (and the most recent block is usually served out of an in memory cache), when there is a reorginization that must undo ...
G. Maxwell's user avatar
  • 7,727
2 votes
Accepted

Why is the target truncated?

Target is stored in block header (it's called Bits), and it takes only 4 bytes. We derive target 256-bit value from these 32 bits. That's why it is getting truncated. There is no need to store all ...
Zergatul's user avatar
  • 958
2 votes

How much can you compress a bitcoin for storage?

"A bitcoin" is not really a single concept. A bitcoin can be composed of 1000 outputs worth 0.001 BTC each, or 1 output worth 1 BTC, or any other such combination. Bitcoin outputs are linked to ...
Raghav Sood's user avatar
  • 17.1k
2 votes
Accepted

Can Bitcoin be stored in a computer without a wallet , just like a normal file?

On the technical level, there is no such a thing as a Bitcoin. What there actually are are transaction outputs. Transaction outputs consist of a output script and a value. The value is in satoshis, ...
Ava Chow's user avatar
  • 70.8k
2 votes

Bitcoin blockchain in mongodb

On the subject of why LevelDB is used, core developer Greg Maxwell stated the following to the ref: I think people are falling into a trap of thinking "It's a <database>, I know a <black ...
Roman Kiselenko's user avatar
2 votes

If I send a BTC to an offline cold storage, does the transaction in the blockchain appear when i send it or when i receive it or not at all?

It seems that you have a misunderstanding of how Bitcoin transactions work. Transactions are not things that are sent directly to the receiver. The recipient does not need to be online to receive ...
Ava Chow's user avatar
  • 70.8k
2 votes
Accepted

A Bitcoin soft fork idea to help compress the blockchain

Why don't we force miners to embed the height of the TX Merkle tree in the first two bytes of the 4-byte block header version? That would be a sane softfork, but it would need to take into account ...
Pieter Wuille's user avatar
2 votes
Accepted

How exactly are the undo files used when a re-org takes place?

Firstly, why don't the CTxInUndo records contain any mention of the parent TXID of the outputs used? Won't this information be needed to insert these outputs back into the chainstate as UTXOs? How is ...
Pieter Wuille's user avatar
2 votes

Does an actual transaction happen on the blockchain when you buy btc/usdt?

No, when you buy Bitcoin from an exchange, it is not an on-chain transaction, the exchange simply updates your account balances in their database. It only becomes an on-chain transaction when you ...
ieatpizza's user avatar
  • 2,068

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