Questions tagged [blocks]

This tag is for questions dealing with the structure of blocks.

345 questions
10
votes
2 answers

If all nodes execute smart contracts, why do only block creators get the gas fee?

I have a question regarding smart contract execution. It is my understanding that when a user requests a smart contract, miners will execute the smart contract, and bundle its output in a block before broadcasting to the network. But then all other…
Globuous
  • 103
  • 1
  • 5
1
vote
1 answer

How many blocks are created at one point of time?

How many blocks are created at one point of time? Can miners create a block? If Yes, then how can we stop the same transaction to be entered in two different block?
Denny
  • 13
  • 3
1
vote
1 answer

How to change all the ethereum blocks from C drive to D drive -- question about the answer

I'm new here and have no idea if this is the right way to respond. So I duplicated the question a have a question about: I've done the things written in the answer on the original question and I could see the text file. But the blocks start sync…
Ite Smit
  • 13
  • 4
1
vote
0 answers

Get blocks between dates

I am trying to get the block between dates . for that i use web3.js . per day average block is 6172 so if i need previous day block i use below code fromBlock: (await web3.eth.getBlockNumber()) - 12343, toBlock: (await web3.eth.getBlockNumber()) -…
Sammu Sundar
  • 219
  • 5
  • 14
0
votes
1 answer

Solo block verification

If I have one block from bitcoin blockchain. I can check that block is valid without having the previous blocks. (solo block verification) Imagine I have one block from Ethereum blokchain. Can I check that block is valid without having the previous…
Mostafa
  • 131
  • 2
0
votes
1 answer

How to get blocks from which an adress has taken coins&

I need to undeerstand how to find out from which blocks come coins that are currently stored at somee adress.Will be pleased to hear any suggestions.