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.

Filter by
Sorted by
Tagged with
159
votes
7answers
115k 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?
104
votes
11answers
80k 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 ...
96
votes
2answers
87k 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 ...
92
votes
5answers
23k 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 ...
77
votes
6answers
52k 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
71
votes
3answers
21k 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?
61
votes
2answers
14k 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?
57
votes
6answers
75k 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?
47
votes
2answers
29k 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",...
46
votes
5answers
21k 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 ...
43
votes
4answers
20k views

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

What exactly is an Ethereum client? Is it a full network node that can post transactions to the blockchain (if that is the correct lingo?) or could it also be a light JS client that connects from a ...
37
votes
3answers
64k 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): $...
35
votes
3answers
23k 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 ...
34
votes
5answers
13k 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 ...
31
votes
3answers
24k 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, ...
31
votes
6answers
41k 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=...
31
votes
2answers
28k 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 ...
29
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 ...
29
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) ...
28
votes
4answers
25k 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 ...
24
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".
23
votes
3answers
11k 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 ...
23
votes
4answers
16k 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?
22
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 ...
21
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 ...
20
votes
1answer
3k 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 ...
19
votes
6answers
26k 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://...
17
votes
6answers
12k 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 ...
17
votes
5answers
17k 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 ...
17
votes
3answers
16k 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:...
17
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 ?
17
votes
4answers
9k 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 ...
17
votes
1answer
13k 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 --...
16
votes
7answers
16k 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 ...
16
votes
5answers
3k 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 ...
16
votes
1answer
5k 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 ...
16
votes
3answers
25k 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 ...
16
votes
4answers
18k 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 ...
16
votes
2answers
10k 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 ...
16
votes
1answer
3k 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 ...
15
votes
2answers
13k views

'authentication needed: password or unlock' Error when trying to call smart contract method via web3

I am trying to call the smart contract method (deployed on remote ethereum account) from my nodejs DAPP, and getting the following error- Error: authentication needed: password or unlock at ...
15
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 ...
15
votes
1answer
4k 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 ...
15
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, ...
14
votes
1answer
5k 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
8answers
763 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 ...
14
votes
4answers
10k 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: { ...
14
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 ...
14
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....
14
votes
1answer
8k views

EthereumJS: How to get public key from private key

I am trying to create a private key and its corresponding public key using EthereumJS library. So far so good I've been able to create private keys using keythereum.create() method. Nevertheless I ...