Linked Questions

2
votes
0answers
56 views

How do miners choose which transactions to include in a block? [duplicate]

If I'm running a private chain with a block gasLimit: 100 and if I initiate 60 transactions, all with an equal gas value of 2, I assume only 50 transactions will be placed in the current block. If all ...
17
votes
1answer
1k views

What is the order and concurrency behavior of multiple calls to a contract in a single transaction?

Suppose a contract has three call APIs that have side effects. What's the behavior if I try to: Call all three APIs from one address (i.e. issue three transactions if from nodejs). Are all three ...
8
votes
2answers
3k views

Can miners mine their own transactions?

Since miners are also nodes at the same time, they should be capable of sending transactions. So the question is, can they mine their own transaction technically? And if yes, are they allowed to do do?...
8
votes
2answers
1k views

Are Transactions originating from one account mined in nonce order?

Discussion in another thread raises an interesting point. how many transactions could be included in a new block from the same account? Since miners can opt to omit a known transaction from the ...
5
votes
4answers
3k views

How Ethereum transaction tree is formed

I am looking for clarity on transaction tree structure. Below I have listed my understanding If I am not wrong the state changes are tracked in a single state tree. Each block has a state root hash ...
3
votes
2answers
1k views

how to solve solidity asynchronous Problem

How to deal with asynchronous operation because of the delay blockchain ? How does the blockchain perform under high concurrency? how to deal with the mutually exclusive variable?
3
votes
1answer
1k views

Do mining pool or miners decide on which transaction to be included in the next block?

This question is about mining pools specifically, which is why I don't think it's a duplicate of this question. I understand that with most Bitcoin mining pools, the mining pool computes the header ...
1
vote
1answer
734 views

If 2 transactions are included in the same block, which one is faster?

Suppose I have 2 transactions calling the same contract with a very high gas price, let's say 1000 gwei for tx a and 1001 gewi for tx b. If tx a is sent first before tx b, will tx b be faster to ...
4
votes
1answer
508 views

How does a miner determine the sequence of transactions?

Let's say I have a first-come-first-serve bounty contract. Whoever calls "getBounty()" first gets all balance owned by the contract. Now if 10 people create transactions calling the getBounty() ...
0
votes
1answer
602 views

How can a miner mine their own ethereum transaction?

From the answer of this question Can miners mine their own transactions? it seems that if someone wanted to make a transaction on the ethereum blockchain for the smallest transaction price (gas) ...
4
votes
1answer
429 views

getStorageAt: What if two transactions in the same block?

I use web3.getStorageAt to access historical information. I can specify a block to see the content of a variable in a given block. But one block can contain several transactions, each modifying this ...
6
votes
2answers
253 views

After the gas price, is the transaction hash used to prioritize pending transactions?

Looking at the Status ICO from the sideline I noticed that once the transactions with more than 50 Gwei as gas price were cleared, the transaction being approved by the contract all had a hash ...
2
votes
1answer
850 views

What's the default web3 gas price? [duplicate]

When sending a TX, there's an optional gasPrice field. If I don't set it, what's it default to? Does it look at other TXs going on or is it a fixed value that only changes when web3 gets updated to a ...
4
votes
1answer
283 views

How does a miner decide how many contracts & transactions to pack into a block?

The way I understand how miners work is that they see a queue of transactions and contracts, they have a choice of picking a number of those, process them, then pack them into a block, do a PoW, then ...
3
votes
1answer
104 views

What can I do to increase the chance of two transactions appearing in the same block?

There are two transactions I would like to make as close to each other in time as possible. In a SQL database I would make them appear in in the same transaction (in the SQL sense). At the moment, ...

15 30 50 per page