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 [blockchain]

The Ethereum blockchain is a distributed database based on the Ethereum whitepaper specification and stores both the full transaction list and the most recent state.

149
votes
7answers
112k views

What are the Ethereum disk space needs?

How fast is Ethereum blockchain growing and how big is it likely to get in the future? Is it still about 1 GB per month? Are there any data pruning or compression algorithms in place?
101
votes
11answers
79k views

How would I explain Ethereum to a non-technical friend?

I've recently attempted to explain Ethereum to several non-techy friends. My explanation usually involves starting with a comparison to Bitcoin, but this quickly becomes complicated as I then have ...
90
votes
2answers
81k views

What is Geth's “fast” sync, and why is it faster?

One of the answers to this question suggested using Geth's --fast flag to help quickly synchronise the block data. How does the flag work, and how does using it speed up the synchronisation? Are we ...
86
votes
5answers
20k views

How can a contract run itself at a later time?

In my blockchain application, I would like to have an event triggered at a later time, hours or perhaps even days after the application has most recently received a transaction from a user. How can I ...
74
votes
6answers
43k views

Ethereum block architecture

Where can I find a description (preferably a diagram like below) showing the block structure in an Ethereum blockchain? Credits: Wikipedia
69
votes
2answers
18k views

What is an uncle/ommer block?

The Ethereum blockchain is described as containing "ommer" blocks, usually called "uncle" blocks by the general public. What is an ommer/uncle block, and why are they needed?
55
votes
2answers
12k views

ELI5 How does a Merkle-Patricia-trie tree work?

I understand that Merkle tree are Hashes of Hashes, they have the advantage that you can verify only a subtree. But what about Patricia? What does a trie mean? And how is it used in Ethereum?
53
votes
5answers
71k views

What number of confirmations is considered secure in Ethereum?

In Bitcoin, 6 confirmations are considered secure (very low probability of transaction/block reversal). What is the current number in Ethereum?
43
votes
3answers
18k views

What is the cost to store 1KB, 10KB, 100KB worth of data into the ethereum blockchain?

Whatever is stored in the blockchain is immutable which means I can fetch this data back in the future. As of today (2016-feb), How does one store a 1kb, 10kb, or 100kb or arbitary data/text in the ...
40
votes
4answers
17k views

What exactly is an Ethereum client and what clients are there?

Ethereum.org's introductory Command Line Interface tutorial mentions these clients: eth - a C++ client suitable for mining, IoT and contract development geth - a security audited Go client for use ...
37
votes
2answers
22k views

What is an Event?

What is an Event? Are they only used in Solidity? How are events defined? How are events initiated? Is there a standard term for an event's invocation (do you say an event "happened", "was called",...
33
votes
3answers
60k views

How to delete or reset the blockchain in geth? (OSX)

I have a currupt Blockchain and want to hard reset the chain. what do I need to delete in order to start downloading the chain from scratch? I know that there are 2 ethereum folders (I am on OSX): $...
32
votes
5answers
12k views

Exploring and Analyzing the Ethereum blockchain

I would like to explore the data inside of the Ethereum blockchain. All transactions and contracts of the Ethereum Blockchain are stored there. So it's an interesting open dataset and I'd like to get ...
29
votes
6answers
40k views

How long is the first sync supposed to last?

I've been running Geth (latest version) for around 12 hours and it's still not finished. The command prompt shows this : INFO [05-21|12:05:00] Imported new chain segment blocks=1 txs=...
29
votes
3answers
21k views

What does it mean that Ethereum is “turing complete”

People often say that Ethereum is a "turing complete" blockchain, or that it comes with a built-in "turing complete" programming language. What does this mean, and why is it an important feature for ...
27
votes
7answers
21k views

What are the differences between Bitcoin blockchain and Ethereum blockchain?

Ethereum has been debated in the bitcoin ecosystem and was criticized. In order to understand better both projects, what are the main differences between BTC and ETH regarding the blockchain ...
27
votes
4answers
24k views

Can I download the whole blockchain from somewhere?

Bitcoin used to offer sharing/downloading a bootstrap.dat which contains the whole blockchain. Are there alternatives to getting it trickling through the peer-to-peer network? Can I just download it ...
26
votes
2answers
24k views

How can I store data in ethereum blockchain

I want to store pdf hash in blockchain I already read this post What are some proposed ways of storing data in Ethereum? But I'm beginner in this domain and I don't understand... Is it possible to ...
25
votes
3answers
13k views

How to create a Dapp from scratch on Ethereum?

Let's say we have someone who knows about blockchain but who doesn't have any background in blockchain-based application. That person wants to code an ethereum-based Dapp (decentralized application) ...
22
votes
2answers
9k views

Is it possible to cancel a transaction?

Is it possible to cancel a transaction broadcast to the blockchain? Suppose I broadcast a transaction and want to cancel it before it has been mined. Is this possible? This could be useful on ...
22
votes
3answers
9k views

What is a Shard?

Proof of Stake brings new concepts to the Blockchain ecosystem. In the dictionary "Shard" is defined as "A broken piece or fragment, as of pottery or glass".
21
votes
3answers
18k views

How to get a contract's balance in Solidity?

How do I get the balance of a contract with solidity? I know geth has web3.eth.getBalance(), but that's to get the contract balance after it has been deployed. Is there a standard way of doing this, ...
21
votes
4answers
15k views

How can I empty the blockchain?

I am trying to do a fast sync using geth --fast but I am getting this message: blockchain not empty, fast sync disabled How can I empty the blockchain to allow for fast sync?
21
votes
1answer
2k views

What would be needed to store the blockchain as a IPFS object?

In Christian Lundkvists blog post about possible uses for IPFS, he suggests that storing the Ethereum blockchain as an IPFS object could potentially decrease the size of the chain: We see the ...
19
votes
1answer
3k views

This image claims you can build “decentralized apps”, and each computer “contributes a little to process it”. Is that claim correct?

This image claims that you can put decentralized apps (say, a messaging program) on the Ethereum network. It also claims that each computer on the network contributes a little bit to the processing of ...
18
votes
1answer
2k views

Difference between a pruned and unpruned blockchain

At the Berlin Blockchain Meetup, Gustav Simonsson teased the Homestead release coming soon (tm) and we were discussing blockchain bloat and the current size of the Ethereum blockchain. We discussed ...
17
votes
5answers
19k views

How to decode input data from a transaction?

I'm sending a transaction to an account with some data with the following command: eth.sendTransaction({from:eth.accounts[0],to:eth.accounts[1],value:web3.toWei(1,"ether"),data:web3.toHex("http://...
16
votes
5answers
11k views

Best way to test a smart contract

I just want to deploy and call a simple sample smart contract only for testing purpose. Do I need to download the entire ethereum blockchain? Its too huge and takes too long to download. Can someone ...
16
votes
2answers
12k views

In Mist browser how can I move the data (blockchain) to another drive on Mac OSX?

My Mac "System" drive is almost full. As I actually have two drives, I want to move the blockchain from the default location to the second drive. How can I do it ?
15
votes
5answers
2k views

What is a blockchain? What is the concept behind it? [closed]

I have been going through some docs, and I understand that BlockChains are mostly like the building blocks in an Ethereum network. So, can someone give a dumbed down explanation/definition about what ...
15
votes
4answers
14k views

How to find contract's address?

I successfully setup a private blockchain and created the "hello world" contract according to tutorial from etherium web site. One thing that I can't figure out is how to find the contract later. I ...
15
votes
2answers
9k views

How much faster is it to sync with --jitvm?

geth help has: VIRTUAL MACHINE OPTIONS: --jitvm Enable the JIT VM The impact of --jitvm has been unanswered and I'm looking for answers to these 3 specifically: How much faster is geth ...
15
votes
3answers
7k views

Error “no key for given address or file” when unlocking coinbase account

Using json-rpc eth_unlockAccount() method I can unlock everyone of my node accounts except coinbase. When trying to unlock coinbase account, geth responds with the message: no key for given address ...
15
votes
1answer
11k views

Getting private keys of geth accounts

Just the opposite of this question How to import a plain private key into geth or Mist? I would like to know how can I obtain the private keys of the accounts created with geth in this way: $ geth --...
14
votes
1answer
4k views

What Ethereum blockchain explorers exist?

What blockchain explorers exist and What special features do they have? Are they open-source? How reliable are they (approximate uptime in %)? Is there a testnet version?
14
votes
3answers
15k views

How can i tell if geth is done running?

Well i am new trying to mine and i did the "C:>geth --rpc" and its still going how will i know when its done? i did all the steps leading to this but my pc just keeps running the INFO [05-18|23:32:...
14
votes
4answers
17k views

Possible to store the blockchain in a different directory?

I'm running geth on Linux within a Chromebook. The blockchain is being stored within ~/.ethereum, along with other important files. Problem is, the storage capacity on my Chromebook is quite limited ...
14
votes
1answer
4k views

Usage of memory, storage and stack areas in EVM

In solidity contracts, I can understand that based on variable usage and expensiveness, I can determine that which one should use (memory, storage or stack). But I faced some situations where only ...
14
votes
3answers
22k views

How to set up a Private network and connect peers in geth?

I am trying to setup a private network and trying to connect peers. Currently I'm trying it on my laptop and desktop (both of them are connected to different internet). I run the below command in ...
14
votes
1answer
4k views

What does it mean to “run code on the blockchain”? Wouldn't blockchain become huge?

More technically speaking, what does it mean to "run code on the blockchain"? Does it mean that we store the source code and then every full node runs that source code several times? If, for ...
13
votes
8answers
562 views

Would it be profitable enough to do a Master's degree in blockchain technologies (focused on ethereum above all)?

The end of my university studies is getting closer and closer. I'm sure I want to do a Masters degree, but I have some doubts. About a month ago my university released a Masters degree completely on ...
13
votes
6answers
14k views

Question on the terms 'distributed' and 'decentralised'

I am writing a paper on distributed ledger technologies, an umbrella term I have borrowed to put everything that has any relation to blockchains and distributed consensus. Under this umbrella term I ...
13
votes
4answers
9k views

getting error on max invalid genesis file: hex string has odd length

I am trying to create a genesis block on my mac for a local ethereum network but I am getting the error: invalid genesis file: hex string has odd length when i do it. My code is the following: { ...
13
votes
3answers
2k views

Is there a functional equivalent to Factom in Ethereum?

Factom is a distributed data and records management and audit system. How easily can what Factom does be done in Ethereum? Are there any working DAPPS doing this? Could a simple smart contract take ...
13
votes
2answers
8k views

How to reduce chaindata database size?

Currently chaindata size is more then 10.02 GB. Is there any solution to reduce the size of stored data? Is there a way to store particular database and keep entirely the functionality of client (e.g....
13
votes
1answer
2k views

What is state-trie pruning and how does it work?

Several sources mention the idea of state-trie pruning. What is that, and is it currently being implemented on the network? Is this a manual process or can it be done automatically? If Ethereum is ...
13
votes
2answers
1k views

Is a fully private blockchain network immutable?

I always hear that immutability is one of the great assets of using blockchains in banks. An auditor can come and look at the list of transactions and it will trust them because blockchains are ...
13
votes
1answer
3k views

Relationship between Transaction Trie and Receipts Trie

Reading through the Yellow paper, I can see that each block header includes the Keccak 256 hash of the root of the trie for transactions and transaction receipts. I am struggling to understand how and ...
13
votes
4answers
9k views

If a blockchain is a distributed database, where is the data?

There are a lot of articles describing how Ethereum is just another database, and a number of posts here on this site that talk about storing data on the blockchain itself (e.g., [1], [2]). However, ...
12
votes
2answers
14k views

What happens if MyEtherWallet will go offline?

I created a wallet on myEtherWallet. Let's assume that in the future this website doesn't exist anymore. Is there any way to access my ether? Or will they be gone in the blockchain?