Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options answers only not deleted user 2124
3 votes

What is the difference between receipts and transactions?

From the Ethereum's Yellow Paper the transaction receipt stores information that results from executing the transaction. It is a tuple with four fields Block's cumulative gas used Logs produced dur …
Ismael's user avatar
  • 30.3k
1 vote
Accepted

What happens when truffle-contract promise is never executed

One solution is to generate events when addValue() is completed successfully. Then when an event processed you store the last event in a database1. If your server crashes, or the connection is down, …
Ismael's user avatar
  • 30.3k
0 votes

How are the stored transactions receipts referred from the block?

The receipt is generated when executing the transaction. To validate a receipt that was generated by a transaction you have to execute the transaction.
Ismael's user avatar
  • 30.3k
2 votes

If a transaction ends up in an orphaned/forked block, what happens to subsequent transactions?

Let's suppose you have signed three transactions with nonces 10, 11 and 12. Also assume that they were mined at blocks A, B and C. It is possible for a chain reorg to occur at block C, with the new b …
Ismael's user avatar
  • 30.3k
1 vote
Accepted

How do i get the actual transaction receipt if initial receipt was for an uncle?

Call getTransactionReceipt again with the transaction hash. The Ethereum client/Infura should return a valid receipt that belong to the main chain.
Ismael's user avatar
  • 30.3k
1 vote
Accepted

Transaction status true when sent to an address which doesn't have anything

It is a perfectly valid use to use a transaction data field to store messages. And it is cheaper than using a contract if your data is read only.
Ismael's user avatar
  • 30.3k
1 vote
Accepted

Racing condition when replacing transactions

You can use the nonce and transaction count to validate if the nonce was mined. if (tx.nonce < getTransactionCount(sender)) { drop transaction } I don't think this situation is particular to testne …
Ismael's user avatar
  • 30.3k