Hot answers tagged

3

In Ethereum, to execute operation in EVM costs you gas. One can change any state in the blockchain which is done through making transaction. In this case, you will be charged ether. To make transaction, we have some apis like SendTransaction inside internal/ethapi/api.go When you do send transaction, you can set gas limit and gas price. Your balance is ...


1

I'm unsure what Rattle was referring to. Do you have a link or a reference to their exact phrasing? If they said exactly "32 elements in the stack", then that's incorrect. The stack has a maximum size of 1024 entries, where each entry is 32 bytes. Yes, the memory has a maximum side of 2^256 entries, where each entry is a byte, which is far more memory than ...


1

I though I will comment to @lunr's answer but adding as an answer due to it's length. And if that's true, will that transaction take longer to get confirmed than say a regular transfer transaction? (given they're both sent with the same gas price) The answer is it depends. Let A be a regular transaction and B be the one that consumes gas limit. Suppose ...


1

Does a transaction that requires the entire block gas limit to be executed (currently ~8M) take the entire block by itself? Yes. And if that's true, will that transaction take longer to get confirmed than say a regular transfer transaction? (given they're both sent with the same gas price) Probably. That's because including that tx in a block will be ...


Only top voted, non community-wiki answers of a minimum length are eligible