Gav Wood
e92392a1e3
SHA3 gas calc should use bigint to avoid overflow.
Fixes #2582 .
10 years ago
Gav Wood
5517e44e38
SHA3 gas calc should use bigint to avoid overflow.
Fixes #2582 .
10 years ago
CJentzsch
d9e7276c4b
fix EXTCODECOPY bug
10 years ago
Gav Wood
101ea84b8d
SHA3 gas calc should use bigint to avoid overflow.
Fixes #2582 .
10 years ago
Gav Wood
ded1a739a9
SHA3 gas calc should use bigint to avoid overflow.
Fixes #2582 .
10 years ago
Gav Wood
7e7ea43775
SHA3 gas calc should use bigint to avoid overflow.
Fixes #2582 .
10 years ago
Gav Wood
e14d000bea
All fields of BlockInfo now private.
10 years ago
Gav Wood
f693ac0cc4
All fields of BlockInfo now private.
10 years ago
Gav Wood
ff2f952184
All fields of BlockInfo now private.
10 years ago
Gav Wood
1e6bf809b4
All fields of BlockInfo now private.
10 years ago
Gav Wood
5ee3e8e5fc
All fields of BlockInfo now private.
10 years ago
Gav Wood
487349bf09
All fields of BlockInfo now private.
10 years ago
Paweł Bylica
d42f404b12
Fix int comparison.
10 years ago
Paweł Bylica
d8eb362d32
VM: refactor and fix undefined behavior around data to memory copy.
std::memcpy and std::memset cannot be called with invalid pointers even when the size to be copied/set is 0.
10 years ago
Gav Wood
a3d39e784f
Unrevert VM.
10 years ago
Gav Wood
142ec52019
Revert VM to cba4e2203e
.
10 years ago
Paweł Bylica
15746684f8
VM refactor: use binary search to verify jump destination.
10 years ago
Paweł Bylica
51c1e729e2
Fix use-after-free bug in VM.
10 years ago
Paweł Bylica
32fe8b893d
VM refactor: place CALL params on stack (reduces OS stack usage by ~30%).
10 years ago
Paweł Bylica
d0da772f2a
VM refactor: change type of code pointer (pc) to uint64_t.
10 years ago
Paweł Bylica
3bc335d59b
VM refactor: small changes
10 years ago
Paweł Bylica
c0ffe96826
VM refactor: check requirements helper function.
Move an instruction requirements checking in VM to a separated helper function.
Instruction execution is now split into two parts what reduces OS stack memory usage.
10 years ago
CJentzsch
0519bdbd71
max pc is uint64_t
10 years ago
CJentzsch
55b30a4a64
add creation transaction
merge
cleanup
10 years ago
Paweł Bylica
f042abc3e7
Kill steps limit option in VM.
10 years ago
Paweł Bylica
1f17c569b9
Change VM interface to return a copy of output.
10 years ago
Paweł Bylica
bede7bcf10
Simplify gas related expression. NFC.
10 years ago
chriseth
8c118dc6b7
Bugfix concerning receive address for CALLCODE.
10 years ago
Gav Wood
846de9acea
Pregenerate DAG when mining on AZ/eth/ethminer.
Use regeneratable key for decrets by default.
10 years ago
Gav Wood
cbdb46ea43
Miner fix.
Possible fix for VM (and remove gas from the interface).
10 years ago
Paweł Bylica
5b4a3e1f60
Remove gas counter from interpreter VM. OnOp callback signature changed.
10 years ago
Paweł Bylica
6cf5976515
Remove gas counter from VM interface (VMFace)
10 years ago
CJentzsch
39ac1f73fc
remove c_sstoreClearGas
10 years ago
Gav Wood
f3d4351dbf
Make value transfers symmetric.
10 years ago
Gav Wood
b76c5950dc
Rookie erros fixed.
10 years ago
Gav Wood
15f236282a
Stack limit.
10 years ago
CJentzsch
2df5656fda
style
10 years ago
CJentzsch
69e1902aa5
fix calldataload
10 years ago
Gav Wood
fae48e97e4
VM CALLCODE fix.
10 years ago
Gav Wood
8c69d8f8a8
JUMPDEST is 1.
10 years ago
Gav Wood
d095688bd0
Gas fixes.
Trie fixes.
10 years ago
Gav Wood
d0a90764db
New gas pricing for PoC-9.
10 years ago
Gav Wood
014a0ee274
VM CALLCODE fix.
10 years ago
Gav Wood
d2cda84f84
JUMPDEST is 1.
10 years ago
Gav Wood
00c2e95486
Gas fixes.
Trie fixes.
10 years ago
Gav Wood
0d004524f3
New gas pricing for PoC-9.
10 years ago
Gav Wood
e246008162
VM CALLCODE fix.
10 years ago
Gav Wood
b3c0366cfa
JUMPDEST is 1.
10 years ago
Gav Wood
1c73db8695
Gas fixes.
Trie fixes.
10 years ago
Gav Wood
798f636c23
New gas pricing for PoC-9.
10 years ago