Questions tagged [blocks]

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

Filter by
Sorted by
Tagged with
1
vote
1answer
15 views

What's the difference between a Slot and a Block?

I'm running a private beacon chain with the Lighthouse client with some local validators: Mar 23 10:35:08.281 INFO Block from local validator block_slot: 13009, block_root: 0x2bab…25a6, ...
2
votes
1answer
28 views

What if a malicious validator denies to sign a new block in a shard committee in Ethereum 2.0?

In Ethereum 2.0 (Sharding Blockchain), a new block requires to be signed by all the validators as members of a committee, where blockchain has been sharded in smaller parts for supporting parallel ...
1
vote
1answer
27 views

What is the block number of the first block mined in a private blockchain network deployed on say Quorum?

I am working on POCs on Azure Blockchain Service. While working on quickstarts, I observed that while deploying my 'Hello Blockchain!' smart contract, the block number of the block mined was 34136. ...
4
votes
1answer
47 views

How transactions are selected by the miners?

The deployment of transaction executions is bounded by the block gas limit that changes dynamically. If a block fits only one transaction, then the gas limit per transaction is, in theory, the same as ...
3
votes
0answers
35 views

Blocks can't contain more than 81 transactions

I'm building a private blockchain with Parity clients. For performance testing, I'm submitting many identical transactions. One of the nodes has a GPU miner attached. There are 2 issues I cannot ...
1
vote
1answer
16 views

What is the max number of Blocks which can be created in Quorum

I have nodes running from past few days, with almost 4100+ transactions successfully completed. When i try to interact with the contracts again to add/modify details it shows error Error when ...
3
votes
2answers
49 views

How does Ethereum prevents a node from mining a block with tempered transaction?

My question is rather simple, and I found this question in the Bitcoin StackExchange that somehow relates to mine, although, for the Bitcoin Blockchain, which I'm not sure if Ethereum solves the ...
0
votes
2answers
37 views

Can anybody here help me in understanding how transactions and block is getting verified [closed]

Please help me in understanding how transactions are getting verified and also how blocks are getting verified before appending it to the canonical chain.
0
votes
1answer
21 views

Integrity of old blocks in the blockchain

I am learning Ethereum using Geth, and I am testing PoA-Clique networks. Now I have a conceptual doubt about old blocks integrity. Suppose I have a private blockchain network of only one miner node ...
0
votes
1answer
37 views

Multiple GasLimits on my Private Ethereum network?

I am wondering if it is available to make multiple gas limit block in one of my private networks. The multiple gas limits blocks in a private network means that size 10, 100, 1000 and so on, those are ...
1
vote
0answers
19 views

What happens if in the genesis file, I put something different than 0(0x0) for the “number” property?

From what I have understood, the number property from the genesis file represents the block number (to match block structure). So, logically, it should be 0x0 because the genesis file is the first ...
1
vote
1answer
44 views

Private Clique network, where can I get block sealer and block reward?

Private blockchain PoA validation algorithm Using geth attach MY-GETH-CLIENT, I want to check the sealer of a block as well as its reward. Using eth.getBlock(BLOCK-NUMBER), the miner field is ...
0
votes
1answer
24 views

Is Ethereum block header a list?

Decoding a RLP encoded block using Eth specifications do we get header as list? But as per format i.e., [[blockHeader,transactionList,uncleList],totalDifficulty], blockHeader should have been string. ...
2
votes
1answer
32 views

4.3.1. Transaction Receipt-Yellow Paper

I am trying to understand the following function which appears in section 4.3.1 of the Ethereum Yellow Paper: The function description state it "prepares" a transaction receipt, does it mean that the ...
0
votes
1answer
28 views

Writing string to separate block in Ethereum

Is it possible to take input of a string from client side and using smart contract write that string data to a new block inside the Ethereum blockchain mainet or any testnet? Basically take in ...
1
vote
1answer
22 views

Are there block rewards for ETH2 validators during Phase0

ETH2 is rolling out in multiple phases. The first phase (typically called phase 0) is the minimal beacon chain. Does this chain already include block rewards? If not, what's the incentive to stake ETH ...
2
votes
1answer
36 views

How to calculate average time it takes for a transaction to be added to Ethereum blockchain?

In the following article (LINK) we read: "despite the fact that at the time of this writing a new block is produced approximately every 10–20 seconds the average time it actually takes for a ...
1
vote
1answer
39 views

Web3: can last block be replaced?

I'm using web3py's getBlock function to get the latest block. I am right now caching the latest 50 blocks so that I reduce the amount of workload in my geth node, and to improve overall speed in my ...
0
votes
1answer
55 views

How do Miner choose transactions for a block?

i am wondering how a Miner chooses the transactions, he want to mine inside a block. For example, a Miner has got the Transactions T1 and T2 at the moment he starts a new mining work. This Miner is ...
2
votes
1answer
36 views

Can the block number be set back in ganache?

I know about tools like ganache-time-traveler that let you advance the block number. But is it possible to go back to a lower value?
0
votes
1answer
18 views

In ethereum network how data structured and is every data stored, is public?

Let's say, 3 companies are using ethereum network. Company A Company B Company C Company A put some data, block01 and block02. So ethereum network looks like, Genesis Block -> block01 -> block02 ...
0
votes
2answers
27 views

Does a transaction that consumes the block gas limit take an entire block by itself?

Does a transaction that requires the entire block gas limit to be executed (currently ~8M) take the entire block by itself? And if that's true, will that transaction take longer to get confirmed than ...
0
votes
1answer
21 views

Can I rely on certain oracle to know the precise and reliable timestamp?

I am learning the security impact of smart contract on system properties like block.timestamp and block.number. I understood that block.timestamp can be controlled by the miner to certain degree and ...
1
vote
1answer
28 views

“The bigger the block size, the greater the computational power needed to mine a block” Does this make sense?

I was going through one of the papers and the authors in the paper mentioned this statement. I am not able to find the correlation as such. I do understand that Larger blocks may propagate slower ...
0
votes
0answers
19 views

Mining pool assign blocks

I've been researching mining pools to figure out how they assign work to miners. I understand that pool would get a job from the blockchain they only has a header, dag, difficulity, probably block ...
3
votes
2answers
691 views

Avoid using “now”

I am using "now" to save the block timestamp details. But there is a warning to avoid its usage. If we need to avoid it what is the best alternative to it.
1
vote
1answer
35 views

Are transactions to EOA included in a block guaranteed to be successful?

Regardless of the source of the transaction (externally owned address / smart contract) and the data included within the transaction, if the destination is an EOA and the transaction was included in a ...
2
votes
1answer
39 views

Are transactions with zero data included within a block guaranteed to be successful?

I know there are transaction receipts to verify that a transaction included in a block was executed successfully and funds were actually transferred. But can receipt verification be skipped if I'm ...
0
votes
1answer
10 views

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.
3
votes
2answers
174 views

What is the difference between account nonce and block nonce?

Block and accounts both use a value called "nonce" but they seem to represent something very different. For account I understand that the nonce is an integer quantity indicating the number of ...
4
votes
1answer
90 views

Timestamp in Ethereum

I have a smart contract where the user inputs temperature readings, I'd like to add a time stamp to relate those reading with a current time of submission. I understand that in Ethereum we only have ...
0
votes
1answer
51 views

How to calculate average gas price of several blocks?

I want to calculate average gas price of several blocks (in Gwei), however I don't see how a field on blocks for gasPrice. Do I have to calculate it by grabbing the gasPrice of each transaction in ...
0
votes
1answer
36 views

Is there any library to estimate timestamp of future block?

I am in need of a library that estimates a date or some sort of timestamp when fed with a future block number (on mainnet or any major testnet). For instance, https://etherscan.io/block/countdown/...
0
votes
0answers
19 views

Parity synced at not existing block 4839212

I have problem with parity, cant get synchronization in archive mode to end, anything, changing arguments, max-, min-, snapshot-peers, parity verisions do not help. I have blockchain in archive mode ...
0
votes
0answers
47 views

Is latest block returned by eth.getBlockNumber fully processed

According to web3 docs, web3.eth.getBlockNumber returns the number of the most recent block. My question is simple. Is it safe to assume block's transactions and events are already in the node or ...
1
vote
1answer
33 views

Fetching block template from node

The most famous opensource pool uses eth_getBlockByNumber method with parameter "pending" to get block template and generate jobs from it. But now, in parity, I found that this parameter is deprecated ...
0
votes
0answers
47 views

What is the m_seal fields in the block header used for?

Can someone please explain what these extra fields in the block header are and what are they for? Edit: Oh, I just understood myself -- mixHash and nonse are stored here. But why is this data ...
1
vote
3answers
301 views

Increase block number on Ganache

How can we increase block.number on Ganache for testing purpose ? If not possible do you know an alternative like passing X fake transactions to artificially increase block.number. Or if we have to ...
3
votes
1answer
366 views

When is a new block created?

I am currently reading an interesting book about solidity, and I'm reading about block creation. This gives a good overview: The book mentions that the maximum size of a block is determined by the ...
1
vote
1answer
25 views

Can I get the timestamp for a transaction added to mempool?

Can I get the time stamp on when a transaction was added to the mempool and when it was successfully added to a block? Is there an API to do this?
6
votes
1answer
1k views

My friend sent me a screenshot of a transaction hash, but when I search for it I find divergent data. What happened?

This is the transaction hash: 0x90e923ee01d9dfeb95ee176819eeec67d247fc6cb009c8cdc4d8ae1939e5ecc6 And this is the screenshot my friend sent me: If you check the hash in Etherscan, some informations ...
1
vote
1answer
65 views

Is there a smart contract recording all block hashes on in the ethereum blockchain, as they come in?

I'm wondering whether anyone has already made a contract and corresponding off-chain service which, once every 30 minutes or so, triggers the contract to record all the block hashes which have gone by ...
2
votes
1answer
39 views

Known cases of miners withholding blocks when used as randomness?

There are some applications that use the blockhash as a source of randomness, often with a payout similar to a lottery. I've heard of attacks where it would be more profitable for a miner to withhold ...
1
vote
1answer
483 views

How to get the value of the transaction?

I am using web3.py but I need help to know the value of the transaction sent. I know that the information is stored in the input but how do I parse the string. I know nothing about ABI. Here is the ...
0
votes
1answer
13 views

changing source of random number based on reward?

Would this be an acceptable way to produce a random number dependent on the reward? Say if the reward is high enough to entice a miner to manipulate the block then the contract will utilize oraclize. ...
0
votes
2answers
380 views

Modify number of confirmations

By default there are 24 confirmations but I am running a testnet with just 3 miners and I would like to change this number bucause it makes not sense to have 24. I have been checking ...
1
vote
0answers
45 views

How to mine a Empty Block or reject transaction?

How Can a miner can mine a empty block,reject honest transactions to be added into block ; does it mean we could tweak the miner client , if yes could someone tell how it is done and what are the ...
1
vote
1answer
176 views

How can i implement deadlines in smartContract?

Suppose I am running a gallery and ask participants to submit there paintings before a specific date. After passing that date participant should not be able to submit their entry. How can I implement ...
1
vote
1answer
23 views

Make sure I don't jump any blocks

I'm making a simple program to track transactions in and out of an address, I have a function that gets the latest block and then I run it consecutively. When I run the function sometimes the block ...
2
votes
0answers
72 views

How to read block propagation delay from ethstats.net?

I am wondering what is the average (or mdeian) time it takes to propagate a block in the Ethereum blockchain? I found ethstats.net provides a cummlative graph for block block propagation but do not ...

1
2 3 4 5