Questions tagged [blockchain]

The blockchain is the journal of all confirmed Bitcoin transactions. It consists of a linked sequence of blocks and each block contains a list of transactions. For questions about the eponymous company or its products please use [blockchain.info]!

Questions about the blockchain and its associated technologies should use this tag. Questions about alternative blockchains should not. Those should use the "alternative-blockchains" tag instead. Since it is also possible to use the bloc chain for non-financial purposes such as the DNS-like services offered by NameCoin, questions about such alternate blockchains may use this tag so long as they are specifically referencing the block chain of the alternate currency.

A block chain is a transaction database which is shared across all nodes participating in the Bitcoin (or alternate blockchain) network. A full copy of the blockchain contains every transaction which has ever occurred on that network.

Every block in the chain contains a hash of the previous block, which has the effect of creating a chain of blocks stretching from the "Genesis block" (the first block created) to the present. This also guarantees that the blocks must be in chronological order and guarantees that any block not on the "tip" of the block chain has not been modified since every block after it would also have to be modified which is computationally expensive and considered infeasible.

Occasionally two blocks will be generated simultaneously at different locations on the network. In this event one of the blocks will be chosen to continue the block chain and the other will be "orphaned." Since the blocks are effectively duplicates of one another, transaction data is not lost in this process. Such events are resolved when one of those blocks is built upon by another block. The valid chain with the most work is considered to be the blockchain.

2830 questions
80
votes
7 answers

Can I download the whole block chain from somewhere?

Every time I turn on the Bitcoin client it takes days to catch up with the block chain. Are there alternatives to getting it trickling through the peer-to-peer network? Can I just download it somewhere? Wouldn't this be ideal for distribution via…
Thilo
  • 4,751
  • 5
  • 25
  • 37
69
votes
2 answers

Can someone explain how the Bitcoin Blockchain works?

I'm trying to figure out how the blockchain works and how to read it via blockchain.info website. Is there a laymen way of explaining how the block chain works and how to read the blockchain to trace transactions? What I know so far is: the…
Patoshi パトシ
  • 10,956
  • 18
  • 80
  • 151
66
votes
9 answers

How anonymous are Bitcoin transactions?

I read some sources that say Bitcoin transactions are anonymous, some that say they are semi-anonymous, and some that say they are not anonymous at all. In what ways are the transactions anonymous and in what ways are they not anonymous?
Michael McGowan
  • 3,364
  • 3
  • 24
  • 23
62
votes
6 answers

What is the Merkle root?

The Bitcoin wiki Vocabulary article explains why the Merkle root exists: Every transaction has a hash associated with it. In a block, all of the transaction hashes in the block are themselves hashed (sometimes several times -- the exact process…
Steven Roose
  • 11,473
  • 8
  • 44
  • 71
51
votes
3 answers

How can I run bitcoind in pruning mode?

I read this comment: You could consider running a pruning node, which is practically the same as a full node (including security), except it throws away some of the old history. Version 0.11 will make that possible But I can't find details of…
user
  • 1,093
  • 2
  • 8
  • 15
47
votes
8 answers

Where are the user's bitcoins actually stored?

On the person's computer? On bitcoin.org? :) Where does that information reside that tells others and me how much bitcoins I have? I assume it can't be on my PC because I could easily hack the file that contains that data and get myself more…
Alex
  • 568
  • 1
  • 5
  • 8
45
votes
4 answers

How do I see the IP address of a bitcoin transaction?

How do I see the IP address that someone used to send or receive bitcoins with? Is it stored in the blockchain?
lemonginger
  • 5,392
  • 4
  • 36
  • 55
44
votes
1 answer

What do the different .dat files contain?

What data do different Bitcoin .dat files contain? How about the other files in the same folder? The wallet.dat file is somewhat documented and there are some ways to convert it to human-readable form, but I don't think the same can be said about…
ThePiachu
  • 42,931
  • 25
  • 138
  • 347
39
votes
4 answers

What are the keys used in the blockchain levelDB (ie what are the key:value pairs)?

I am wondering if I can use node.js and levelup to access a copy of the blockchain database directly. But from what I can see, I need to know the name of the key(s) before I can get any data, as this is used in the get method of levelup. However, I…
T9b
  • 1,334
  • 1
  • 11
  • 16
39
votes
4 answers

What are checkpoints?

I often read that checkpoints protect the network from a 51% attack because an attacker cannot reverse transactions made before the last checkpoint. How exactly does this checkpoint mechanism work? And who creates the checkpoints?
nmat
  • 11,479
  • 14
  • 50
  • 78
38
votes
10 answers

How to check if the block chain is up to date using bitcoind or json-rpc?

I read the full api method list and did not seem to find one. I suppose there is no command specifically for that purpose, so what is the general way of doing this? I would consider checking the time stamp of the last generated block, but the…
Steven Roose
  • 11,473
  • 8
  • 44
  • 71
37
votes
10 answers

How is it possible to launder bitcoins?

Some services, such as bitcoinlaundry.com, claim that they can launder your bitcoins. Since all bitcoin transactions are publicly logged, how is this done? Wouldn't it be possible to trace back the transactions and find out the initial address?
nmat
  • 11,479
  • 14
  • 50
  • 78
36
votes
6 answers

How do I reduce the size of the block chain data on my machine?

The block chain file is getting rather large, ~500MB. Is there a way to trim it or clean up, or maybe configure it to be limited in the future? I am using the stock Bitcoin client on Ubuntu.
browep
  • 654
  • 7
  • 13
36
votes
5 answers

How are transactions broadcast to the rest of the network?

If a person sends a transaction to another person, and Bitcoin is a peer-to-peer application, how will the transaction get to the rest of the Bitcoin community? How does everyone have the same blockchain? Does every system know about every other…
Patrick W. McMahon
  • 531
  • 1
  • 4
  • 11
34
votes
5 answers

How to make a new blockchain from scratch

In the same vein as setting up a private DNS root server and using whatever domain names you want, how do you generate your own blockchain and mine your own coins? P.S. I don't want any answers like "why would you want to?" I want to do it…
supertaco
  • 479
  • 1
  • 4
  • 6
1
2 3
99 100