Skip to Content
Mastering Blockchain Programming with Solidity
book

Mastering Blockchain Programming with Solidity

by Jitendra Chittoda
August 2019
Intermediate to advanced
486 pages
13h 52m
English
Packt Publishing
Content preview from Mastering Blockchain Programming with Solidity

Front-running attacks

The Ethereum blockchain is slow, and it is a public blockchain. Because it is a public blockchain, all the transaction data is open and can be seen by others. Even when a transaction is in the pending state, its data can be seen by others.

A transaction can be processed slowly or quickly, depending on the quantity of the gas fees each transaction is going to give to the miner to execute and add to the blockchain. A transaction paying higher gas fees are picked up by the miners first and added to the blockchain. On the other hand, if a transaction is paying lower gas fees, they are picked up later when miners are free and not many higher gas fees transactions are in the pending state. In other words, your transaction ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Mastering Ethereum

Mastering Ethereum

Andreas M. Antonopoulos, Gavin Wood
Complete Cryptocurrency and Blockchain Course | Learn Solidity

Complete Cryptocurrency and Blockchain Course | Learn Solidity

Ravinder Deol, Codestars By Rob Percival, Thomas Wiesner

Publisher Resources

ISBN: 9781839218262Supplemental Content