Bitcoin Forum
June 21, 2024, 12:49:58 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Please help - Things I still don't understand about Ethereum...  (Read 422 times)
bigdude71 (OP)
Newbie
*
Offline Offline

Activity: 12
Merit: 1


View Profile
June 13, 2017, 01:18:09 PM
 #1

Hi,

After some digging I still don't understand some major stuff about Ethereum and I hope someone can explain the following:

1. The miners are executing the smart contract code - right?
Does all of the miners in the system execute all the smart contracts code? And if so, how is the system able to scale and keep writing blocks every 15-17 secs when more and more contracts are being created?

2. In bitcoin, the miner that gets to write the next block gets it because they where able to find the solution for the specific hashing problem - how does this work in Ethereum?
I mean, how does the execution of smart contracts code and hashing the blocks works together?

3. A DAPP is basically a collection of smart contracts that work together and sending each other ether to run and do specific tasks - right?
If I got this right, what happens if someone else sends eth to one of the components (smart contract) that shouldn't run separately?

4. If I build a DAPP (let's say a new ERC20 token) - and I have only 1 ETH to use - how this affects my new coin?
    Or in other words, how does the ether currency relates to these erc20 coins? When I buy or sell Golem for example, how is ETH part of that process?

5. Bitcoin has a limited number of coins - how does this works here? When are ethers created and is there a limit? What are the rules?

I really hope someone can help me.

Thanks again
bigdude71 (OP)
Newbie
*
Offline Offline

Activity: 12
Merit: 1


View Profile
June 14, 2017, 08:10:25 AM
 #2

Anyone...?   Undecided
xingqiaoyin
Sr. Member
****
Offline Offline

Activity: 395
Merit: 250


View Profile
June 14, 2017, 09:10:47 AM
 #3

it is hard to understand then it's good thing because a scam that is really hard to understand usually runs very very long time Wink
Andy_K
Newbie
*
Offline Offline

Activity: 15
Merit: 0


View Profile
June 14, 2017, 09:32:54 AM
 #4

Hi,

After some digging I still don't understand some major stuff about Ethereum and I hope someone can explain the following:

1. The miners are executing the smart contract code - right?
Does all of the miners in the system execute all the smart contracts code? And if so, how is the system able to scale and keep writing blocks every 15-17 secs when more and more contracts are being created?

It isn't. General consensus seems to be that bitcoin handles 7 transactions per second, whilst ethereum is about 15 transactions per second. Neither can scale well yet.

Quote
5. Bitcoin has a limited number of coins - how does this works here? When are ethers created and is there a limit? What are the rules?

Currently there's a fixed issuance each year, around 15% for 2017 I believe. This % figure gets significantly lower each year since the constant figure becomes a smaller percentage of the total available. This will change when PoS is introduced, at which point the issuance will likely be much lower but at the least is guaranteed not to be higher.

This is a big figure, but is currently not a big factor since it's dwarfed by the increase in demand.
ethersphere
Member
**
Offline Offline

Activity: 82
Merit: 10


View Profile WWW
June 14, 2017, 09:38:06 AM
 #5

Hi,

After some digging I still don't understand some major stuff about Ethereum and I hope someone can explain the following:

1. The miners are executing the smart contract code - right?
Does all of the miners in the system execute all the smart contracts code? And if so, how is the system able to scale and keep writing blocks every 15-17 secs when more and more contracts are being created?

2. In bitcoin, the miner that gets to write the next block gets it because they where able to find the solution for the specific hashing problem - how does this work in Ethereum?
I mean, how does the execution of smart contracts code and hashing the blocks works together?

3. A DAPP is basically a collection of smart contracts that work together and sending each other ether to run and do specific tasks - right?
If I got this right, what happens if someone else sends eth to one of the components (smart contract) that shouldn't run separately?

4. If I build a DAPP (let's say a new ERC20 token) - and I have only 1 ETH to use - how this affects my new coin?
    Or in other words, how does the ether currency relates to these erc20 coins? When I buy or sell Golem for example, how is ETH part of that process?

5. Bitcoin has a limited number of coins - how does this works here? When are ethers created and is there a limit? What are the rules?

I really hope someone can help me.

Thanks again

1. Yes miners all execute the code and update states for every block. There's a gas limit of 4.7million for each block, so there is a limit to how many smart contracts can be executed per second (or per block). The gas pricing mechanism also forces smart contract creators to write code efficiently, to ensure transactions will not cost too much and expensive operations that cannot fit into the gas limit will be developed off-chain. Sharding is currently being considered as a solution for scalability in the future, to allow decentralized contract execution.
https://github.com/ethereum/wiki/wiki/Sharding-FAQ

2. It's a similar concept, just a different hashing algorithm (memory hard hashing algorithm to prevent chip optimizations and allowing average users and home-use computers to mine profitably).

3. It depends on how it is implemented. But usually the creator would throw an error in the contract if functions are run by someone without permissions. Throwing an error essentially reverses the transaction and ethers are refunded.

4. Ethers are usually exchanged for tokens via a smart contract. Once a token is created, it runs on Ethereum and by default is independent of ether.

5. Ethers can be mined right now in PoW. The total ether supply will increase by about 10% more if PoS is implemented only after a year. Then there will likely be no more Ethers generated and all reward for confirming a block will be paid by other users.

ETHERSPHERE
⥬⥬⥬⥬⥬⥬⥬⥬⥬⥬⥬⥬ HIGH ROI SOCIAL ETHEREUM GAMES ⥪⥪⥪⥪⥪⥪⥪⥪⥪⥪⥪⥪
BENEFITS WHITEPAPER ANN THREAD GITHUB REDDIT TWITTER
slaman29
Legendary
*
Offline Offline

Activity: 2688
Merit: 1230


Livecasino, 20% cashback, no fuss payouts.


View Profile
June 14, 2017, 09:46:01 AM
 #6

I read somewhere that by 2019/20, miners will own about half of Ethereum (mainly because a lot of it was premined thanks to ETH's crowdfunding at its launch). There's also bound to be more miners now because of ETH price (even early this year it was still unprofitable to mine). Somehow it also discourages pools and centralisation of hashpower... so it sounds like a "dream" of decentralised mining by home users but at the same time this was offset because of its huge premine.

██
██
██
██
██
██
██
██
██
██
██
██
██
... LIVECASINO.io    Play Live Games with up to 20% cashback!...██
██
██
██
██
██
██
██
██
██
██
██
██
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!