Comments (3)
@Earlz It is ethereum rule that imposes such behavior
https://github.com/qtumproject/cpp-eth-qtum/blob/1351a89ffb5fa3e1749ce31fa0c02396bdf71c48/libethereum/Executive.cpp#L185
Transactions with gas limit that exceeds block's gas limit will cause out of gas exception because of EVM design.
from qtum.
This behavior can be an attack vector though in our case. A miner could fill up their own block with gas using transactions and then mine every contract execution (without actually doing any processing) and get gas from it due to the out of gas condition
We need to change the miner logic so that if a transaction causes the block to run out of gas, then the transaction should be kicked out of the block, rather than the transaction getting an out of gas exception. And we should change consensus logic so that a block that has a transaction that causes the block to exceed it's gas limit will make the entire block invalid with a DoS error
from qtum.
Will be fixed in future story (not a bug, but rather a missing feature)
from qtum.
Related Issues (20)
- qtum port build fails.
- How to find receive address using wallet version 23.1.0 HOT 3
- No faucet available for testnet. HOT 1
- Status: 0/unconfirmed, not in memory pool Sent QTUM to external wallet and no transaction showing, WHERE's MY MONEY?? HOT 1
- Can I use the qtum testnet data with Qtumd.exe for Window 10? HOT 1
- Issue related to macOS build
- Don't connect to network (unsync(\)
- Request Support for BLS12 based signature verification
- Then, after removal, install 0.20.2 - 0.20.4, crashed after synchronization for a period of time after qtum-qt startup. HOT 1
- Makefile:9243: recipe for target 'qt/test/test_qtum-qt' failed Ubuntu 18-64bit HOT 1
- qtum-qt and qtumd large size
- What's difference between qtum and qtum-bitcore? HOT 1
- qtum/depends/packages/qt.mk
- configure: error: libgmp missing MacOs Bigsur HOT 1
- The test tap is no longer accessible, address http://testnet-faucet.qtum.info/
- build private network failed, cant syn block data ,what reason?
- Issue after upgrading to 22.0 HOT 3
- RPC Flailure on `getblock` on verbosity level 2
- About M1 core HOT 1
- How to "activate/get verified" (?) QTUM 0.14.3 wallet HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from qtum.