If everyone has a copy of the block chain, how much space does it take?


I run a full node, and as of today, the blockchain is 10.1 GB. Since the bitcoin network is active, the answer to your question about how big the blockchain is something that is quite time dependent. If you were to come back in a month and ask the question, the answer would likely be 11 GB.

I was wondering a while back about the size of the blockchain and whether or not it would eventually consume my entire hard drive and I crunched some numbers and calculated that if I expect my computer to last another three years (it's two years old now), the blockchain would then be 60 GB. I have a 250 GB hard drive and with the amount of free space on it (141 GB), even when it gets that big, I should still have plenty of free space.

Nothing really prevents the blockchains from growing so big that we would run out of space, but given that Moore's Law applies to hard drives as well as processors, I'm not all that concerned about this happening. By the time the blockchain will be in...

0 0

I know two things for sure: 1) The blockchain will continue to grow. and 2) when I installed the Bitcoin core yesterday, on a fresh new computer, it told me to allow for the initial amount to be 80GB. For me, the only reason that matters is because I get charged extra by the cable company. And it also tells me how long to expect it to take before that original load is finished.

The OP said it was 7GB in 2013.

So yes, #1 is true - it will grow.

So the wild card appears to be the work factor doubling this summer. The last time it doubled was 2012. But that was before the big guns started mining.

As it becomes more expensive to mine for the same earnings, it should be obvious that there will be fewer miners, which translates into longer clearance times. In fact, we're seeing it already as people position themselves for the new reality to come.

The good change is that the powers that be are also considering doubling the block sizes. That will...

0 0
0 0
0 0
0 0

The blockchain is the new hot technology. If you haven’t heard about it, you probably know Bitcoin. Well, the blockchain is the underlying technology that powers Bitcoin. Experts say the blockchain will cause a revolution similar to what Internet provoked. But what is it really, and how can it be used to build apps today? This post is the first in a series of three, explaining the blockchain phenomenon to web developers. We’ll discuss the theory, show actual code, and share our learnings, based on a real world project.

To begin, let’s try to understand what blockchains really are.

What Is A Blockchain, Take One

Although the blockchain was created to support Bitcoin, the blockchain concept can be defined regardless of the Bitcoin ecosystem. The literature usually defines a blockchain as follows:

A blockchain is a ledger of facts, replicated across several computers assembled in a peer-to-peer network. Facts can be anything from monetary transactions to...

0 0

Blockchain has become the defining tech buzzword of the last few years. Most of us have heard of Bitcoin, and for many that’s the first thing that comes to mind when we read about the blockchain.

But in fact, blockchains have huge implications beyond Bitcoin, and at every level of the economy. So what is the definition of a blockchain – and, importantly, what might it mean for small businesses?

What is Blockchain?

A blockchain is a system of distributed ledgers used to store records of transactions. Think of it as a database, but instead of storing a single version of the database on one computer or server, everyone involved in the blockchain has their own copy.

Records of transactions are stored on the blockchain chronologically, and they are theoretically impossible to change. All the information on the ledger is publicly available.

The most famous blockchain is the one that’s used for Bitcoin, the cryptocurrency. But in fact you could have an...

0 0
0 0

You probably know that mining is the only way that Bitcoin comes into the world. You buy them, you exchange them for something else, and you earn them or even steal them. You send them per global network like mail. Thousands of coins trade hundreds of transactions per single second. However, someone created every single Bitcoin in the past. It may be a huge data center with hundreds of coolers and chips, it might be a self-miner, or it may be a mining pool with thousands of members around the world. Every solved block creates 25 Bitcoins at a time. How much time does it take to mine at least one of them? That is an important question.


To answer this question, we need to understand what factors affect the duration of mining Bitcoins and its success.

We won’t discuss solo mining because until you have a lot of the latest ASICs, it’s almost impossible to solve a block. Even if you have the newest ASICs, it’s still too difficult.

That’s why we’re...

0 0
0 0
0 0
0 0

There’s been a bit of a buzz recently about using blockchains, one of the approaches used within the Bitcoin protocol, to support things other than the bitcoin currency.

Honduras is reportedly piloting a land register using blockchain technologies. On a smaller scale, the Isle of Man is piloting a registry of digital currency companies, again using blockchain. There are articles and videos that claim that blockchain can be used in the internet of things, for health records, and to track votes.

I want to dig a bit deeper and try to work out the practical application of blockchain for sharing registries, with a particular eye on open data. But before I can start looking at how those kinds of applications might work, I needed to understand how the Bitcoin blockchain works, at a technical level.

Note that this is written based only on a couple of days of research. I might well have missed things and certainly haven’t gotten into the arguments and subtleties within...

0 0

Despite major up and downs throughout its occasionally turbulent six year lifetime, Bitcoin has managed to get farther than just about any other alternative currency, grabbing the interest of VC investors and an actual investors alike. About 14 million Bitcoins have been digitally 'mined' so far, leading to a total market capitalization of over $4 billion U.S. dollars. Not a lot in the big scheme of things, but an impressive start.

Certainly, the features of the so-called cryptocurrency itself are inherently intriguing: Anyone can create new Bitcoins, it's not centrally controlled by any government or traditional authority, it's completely transparent to all participants, and is inherently safe, as long as one takes adequate security precautions.

No matter where you fall on the opinion spectrum on Bitcoin -- many think it's a brilliant new digital model that puts control of the financial system directly into the hands of the public, while others are worried it's...

0 0

Opening the Photos app in iOS will tell you how many total photos are within the different picture albums and Camera Roll, but how much space do the pictures actually take up? If you want to know the actual storage size of all those pictures and camera shots are consuming on an iPhone, iPad, or iPod touch you’ll need to dig a bit deeper into the device settings to reveal that information, follow along.

And yes, checking the device storage usage of photos is the same in all versions of iOS, it may look slightly different depending on the version running on the iPhone, iPad, or iPod touch.

How to See How Much Space Photos Take Up on iPhone

This will give you the exact amount of space consumed by photos and videos taken with the iPhone camera in iOS:

Launch the ‘Settings’ app Tap on “General”, then choose “Usage” to find general storage information broken down into categories, wait for the loading indicator to finish gathering storage and usage info At...
0 0
Hey guys,

As you all know, while Decred continues to grow, the amount of data in the blockchain becomes larger and larger.... What do you guys think of having a signed copy of the blockchain provided as an official release with periodic updates? This wouldn't have to be done with every software release as the devs push them out pretty quickly, but what about every 6044 blocks when the block reward goes down?

At the current height of the time of writing, we are at 28,579 blocks, and the space these blocks take up is almost at 250 MB. I understand that providing this could substantially increase the web server's bandwidth utilization, so what if it was released as a torrent and shared through a separate P2P network? This could ease the strain on the public nodes that normally serve the blockchain by having them converge just the newest blocks and also provide a faster setup time for new users who may be in a rush. The only limiting factor at this point would be your CPU and how...

0 0

malloc() will allocate a block of memory and return a pointer to that memory if successful, and NULL if unsuccessful. the size of the block of memory is specified by malloc's argument, in bytes.

the sizeof operator gives the size of its argument in bytes.

char *someString = malloc(sizeof(char) * 50)

this will allocate enough space for a 49 character string (a C-style string must be terminated by a NULL ('\0') character) not including the NULL character, and point someString at that memory.

It looks like that code in your question should be malloc(sizeof(char) * 2);, as sizeof(char) + 2 doesn't make sense.

note that sizeof(char) is guaranteed to always equal 1 (byte) -- but the memory representation of other types (such as long) may vary between compilers.

The way that you get (un)lucky with dynamically allocated memory is if you try to read/write outside of memory you have allocated.

For example,

char *someString = malloc(10);...
0 0
0 0
0 0