59 votes
Accepted

What is Gas Limit in Ethereum?

In Ethereum, gas is a measure of computational effort. To each operation, a fixed amount of gas is assigned (e.g. adding two numbers costs 3 gas, calculating a hash costs 30 gas, sending a transaction ...
  • 1,896
22 votes
Accepted

UTXO model vs. account/balance model

The choice between the UTXO model and the balance model is primarily one between privacy incentives and apparent intuitiveness. If one follows the standard advice of not reusing addresses/outputs/...
10 votes
Accepted

Check password for ethereum wallet

You could check by starting a geth console and using the personal.unlockAccount function: $ geth console > personal.unlockAccount("address", "password")
  • 278
10 votes

Is it correct to say that Bitcoin has a virtual machine in the same way as Ethereum does?

"Virtual machine" in this context is really just a fancy word for bytecode interpreter. Bitcoin's script language is certainly far simpler than Ethereum's EVM, and its functionalities are in ...
9 votes
Accepted

In Ethereum, what is an uncle block?

An uncle is a block that, in bitcoin, would be considered a stale block because it is not on the longest chain (it's an alternative block at the same height as your parent). Ethereum incentivizes ...
9 votes

What are the differences (and value adds) among all the different Crypto Currencies?

99% of altcoins claim an "innovation" that is broken or unproven. I would say that the first thing to do is look at unique codebases that aren't based on Bitcoin, which basically means (besides ...
8 votes

What is Gas Limit in Ethereum?

The current gas limit can be checked on the network stats page. It's currently 3,141,592 (pi million). The gas limit per block is not fixed, though. The number of contract calls and standard ...
  • 1,406
8 votes
Accepted

Is there a pro vs con chart comparing Bitcoin's Rootstock vs Ethereum Smart Contract system?

Rootstock's smart contract features are identical to Ethereum's, both use the EVM. Contracts on Ethereum are deployable on Rootstock, and vice versa. They start to differ when you look at the ...
  • 1,044
8 votes

How does using a Turing-complete programming language compromise the security of the network?

It is much easier to formally verify the behavior space of Bitcoin script vs. Solidity. For example, the DAO project suffered from reentrancy vulnerabilities, given that one could not predict the ...
  • 2,481
7 votes

Is there a way to access Ethereum Smart Contract's variables by name in JavaScript?

Note that this question has been automatically mapped to reddit and answered there. If you declare your state variables as public, a function to read their values will be automatically created by the ...
  • 256
7 votes

What are the differences (and value adds) among all the different Crypto Currencies?

A very large majority of these altcoins are essentially scams. There is a cottage industry that takes a coin, changes something minor (name, logo), and releases it with great fanfare, enticing people ...
  • 786
7 votes
Accepted

Does bitcoin have the potential to be subject to a hard fork where miners are forced to choose which fork they will accept, like Etherum?

Yes, Bitcoin could also be subjected to a hardfork. In fact, there are members of the Bitcoin community that feel so strongly that the blocksize should be increased that they are proposing to do just ...
  • 68.6k
7 votes
Accepted

Does Bitcoin Blockchain solves Byzantine General Problem?

The Proof of Work algorithms is a probabilistic solution to the Byzantine General's problem in the case where traitorous generals represent strictly less than 50% of the generals. To simplify, the ...
  • 231
7 votes
Accepted

If the nonce is 32 bits why the proof of it is difficult?

The vast majority of the time, none of the 2^32 possible nonces in a particular block header template will result in the header having a hash that meets the proof-of-work target. In fact, the ...
6 votes
Accepted

Why is a short blocktime considered to be unsafe?

The shorter the blocktime the more time is lost by the relaying of blocks in relation to the average blocktime. A very short block interval therefore makes SPV mining (i.e. mining empty blocks without ...
  • 68.6k
6 votes

Who pays the fees for transactions initiated by a smart contract in Ethereum?

A smart contract can only initiate a transaction when it receives a transaction from either another contract or a user. Thus, all transactions must originate from some user transaction, and it is this ...
6 votes

What is the approach to calculate an Ethereum address from a 256 bit private key?

Start with the public key bytes (a bytestring of length 64) Of that public key, take the Keccak-256 hash used ubiquitously by Ethereum (make sure you get that right, as the ultimately standardized ...
6 votes
Accepted

Does ethereum run on the bitcoin blockchain?

Bitcoin and Ethereum have different and unique blockchains. They have no relationship (other than the fact that Ethereum and all other cryptcurrencies based their design on the Bitcoin blockchain).
  • 2,254
6 votes

Etherium based tokens

It is completely different. Ethereum offers a standardized way to create new tokens on its blockchain called the ERC-20 protocol. ERC-20 is not a piece of code, software, or technology. Rather, it is ...
6 votes
Accepted

In what sense does the security model of proof-of-stake require users to "log on to the internet every few months"

What Vitalik is talking about is the Slasher algorithm that he designed which punishes the block signer if he attempts to create a fork in the blockchain. However the way that slasher works is that ...
  • 65.6k
5 votes
Accepted

Does Ethereum support the features necessary to create the Lightning Network?

They don't need to support those. As mentioned by Roman you could build the entire LN in one contract. You can even implement the LN Relative OP_CHECKLOCKTIMEVERIFY requirement in a much better way. ...
5 votes

Can an Ethereum contract be updated without having to be re-submitted?

You can separate concerns - have a contract that the users interface with and that has a reference (an address) of another contract that contains the actual logic. Then, you can control the interface ...
  • 151
5 votes
Accepted

What is the DAO, and what is its connection with Ethereum

So what is the DAO's connection with Ethereum, and what is its purpose? The DAO was a decentralized autonomous organization designed to invest in DAPPs built on Ethereum Why is the operation of the ...
  • 271
5 votes
Accepted

Problem of colored-coins/assets and other coins with a parent/child relationship of paying for fees with only the parent currency

It's definitely a common problem found in a lot of those platforms that make it easy to create your own colored coin/token. Asking users to acquire the native token, such as Bitcoin with Counterparty ...
  • 281
5 votes
Accepted

What database engine does Bitcoin and other top altcoins use?

It depends on the implementation. The network itself does not have a database engine. Bitcoin Core and software derived from it (most altcoin software is derived from Core) uses LevelDB to index the ...
  • 65.6k
5 votes

How are eth transaction faster than btc?

Most simple and foreseen reason: Bitcoin's blocktime is set at 10 minutes, while Ethereum has a block every 10-20 seconds, making it much faster. See Ghost protocol, https://www.cryptocompare.com/...
5 votes
Accepted

When does Ardor smart contracts come into effect and how does it work compared to Ethereum, EOS, and Lisk?

First off, Lisk doesn't have full turing-complete smart contracts so there isn't much of a comparison on that front. Key shortcomings of existing frameworks like Ethereum can be summarized by five ...
5 votes
Accepted

Why are there ETH addresses in bitcoin wallet.dat?

Ethereum addresses are the trailing 20 bytes of keccak256(public_key). In other words, ethereum addresses are any collection of 20 bytes. 0014{20 byte payload} in Bitcoin is the redeem script for a ...
  • 16.7k
4 votes
Accepted

Ethereum vs NXT Comparison Chart?

I have composed one of the more comprehensive comparison charts of the various Crypto 2.0 platforms over at http://tiny.cc/Crypto (or a more direct link). It currently has pretty comprehensive ...
  • 42.9k
4 votes

How to delete an element of an array in an Ethereum contract?

Refer to the documentation: delete myArray[arrayIndex];

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