Felix Lange
ea2718c946
core/vm: improve JUMPDEST analysis
...
* JUMPDEST analysis is faster because less type conversions are performed.
* The map of JUMPDEST locations is now created lazily at the first JUMP.
* The result of the analysis is kept around for recursive invocations
through CALL/CALLCODE.
Fixes #1147
10 years ago
Gustav Simonsson
55bf5051ad
Unsupport bruncles
10 years ago
Gustav Simonsson
147a699c65
Add missing err checks on From() (skip RPC for now)
10 years ago
Gustav Simonsson
32e1b104f8
Add EC signature validations before call to libsecp256k1
10 years ago
Felix Lange
55b60e699b
core: insert less length zero chains
...
This reduces the amount of queueEvents that are sent internally.
10 years ago
Felix Lange
e7e2cbfc01
core: re-add parallel nonce checks
...
In this incancation, the processor waits until the nonce
has been verified before handling the block.
10 years ago
Péter Szilágyi
b7fc85d68e
core: fix #1154 , sort out data race accessing the future blocks
10 years ago
obscuren
12b90600eb
core: moved guards
10 years ago
obscuren
16038b4e67
core: added bad block
10 years ago
obscuren
109f995684
core: log block hash during nonce error
10 years ago
obscuren
75f5ae80fd
core: partially removed nonce parallelisation and added merge error chk
...
Invalid forks are now detected
Current setup of parellelisation actually inserts bad blocks. This fix
is tmp until a better one is found
10 years ago
Péter Szilágyi
29b0480cfb
core, eth/downloader: expose the bad hashes, check in downloader
10 years ago
obscuren
e3253b5d5e
core: fixed an issue with storing receipts
10 years ago
obscuren
7595716816
core: adjust gas calculation
10 years ago
obscuren
12650e16d3
core, miner: fixed miner time issue and removed future blocks
...
* Miner should no longer generate blocks with a time stamp less or equal
than it's parent.
* Future blocks are no longer processed and queued directly.
Closes #1118
10 years ago
Gustav Simonsson
bf5f0b1d0c
Update ValidateHeader comments
10 years ago
Gustav Simonsson
14955bd454
Revert "core: block.gasLimit - parent.gasLimit <= parent.gasLimit / GasLimitBoundDivisor"
...
This reverts commit be2b0501b5
.
10 years ago
obscuren
be2b0501b5
core: block.gasLimit - parent.gasLimit <= parent.gasLimit / GasLimitBoundDivisor
10 years ago
obscuren
b2f2806055
cmd/geth, core: Updated DB version & seedhash debug method
10 years ago
obscuren
c37389f19c
core: check negative value transactions. Closes #1109
10 years ago
obscuren
eae0927597
core: prevent crash when last block fails
10 years ago
obscuren
a6b46420d0
core: ban hash 38f5bb...a714bc
...
Hash 38f5bbbffd74804820ffa4bab0cd540e9de229725afb98c1a7e57936f4a714bc
ignored.
10 years ago
obscuren
f6f81169fe
core/vm: Fork fix. Removal of appending 0 bytes in memset
10 years ago
obscuren
b419e2631a
core/vm: Cleanups & SUB output fix. Closes #1096
10 years ago
obscuren
7381be8edb
core/vm, rpc: added disasm to `ext_` RPC
10 years ago
obscuren
ef8744d9fc
core: switched back to `set.Set` for uncle verification
10 years ago
zsfelfoldi
00ec4132f8
Storing tx receipts in extraDb
10 years ago
obscuren
f5af1fdca8
core/vm: RETURN op code returns pointer to memory rather than copy
10 years ago
obscuren
8dac28f2e3
core: block cache Has method thread safe
10 years ago
obscuren
87a05c8f38
core: skipped tests while cache disabled
10 years ago
obscuren
7d9a13e0d5
core: disable cash tmp
10 years ago
obscuren
40717465bc
core: fixed tests
10 years ago
obscuren
59c0d01418
core: chain manager no longer exports genesis block
10 years ago
Gustav Simonsson
1d51cada3c
Handle call depth exception for CREATE
10 years ago
obscuren
c67424ecc8
core: parallelise nonce checking when processing blocks
...
ChainManager now uses a parallel approach to block processing where all
nonces are checked seperatly from the block processing process. This
speeds up the process by about 3 times on my i7
10 years ago
obscuren
67d44519ce
core: bugfix test 2. set => hash map
10 years ago
obscuren
54f0f82dd1
ret
10 years ago
obscuren
e323f0e831
core: tmp diagnostic logs
10 years ago
obscuren
27782bbade
core: global chain insert lock
10 years ago
obscuren
d98a6f85fc
core: further improved uncle error messages
10 years ago
obscuren
7ea76fcf99
core, cmd/geth, cmd/mist: cleanup. bump version 0.9.21
10 years ago
obscuren
5cec1aad15
core, miner: fork resolving and restart miner after sync op
...
Fork resolving fixes #940
10 years ago
Gustav Simonsson
32276e8b01
Update StateTests and nil create return on failed code deposit
10 years ago
obscuren
cfb2b51b74
eth/downloader: fixed test
10 years ago
obscuren
f6669db001
core: fixed mining strategy
10 years ago
obscuren
b71091e337
eth, eth/downloader, miner: use download events to check miner start
10 years ago
obscuren
0f76a1c6df
core: changed how head events are checked
10 years ago
obscuren
580bae0a86
core: improved uncle messages
10 years ago
obscuren
b19bf3ec78
core: changed log message for forks. closes #952
10 years ago
Vitalik Buterin
bc83761996
Fixed max uncle count error message
10 years ago