obscuren
5721fcf668
core/state, core/vm: cleanup refunds
10 years ago
obscuren
e79cc42dfe
core: moved check for max queue to checkQueue
...
Moved the queue to check to the checkQueue method so no undeeded loops
need to be initiated or sorting needs to happen twice.
10 years ago
zsfelfoldi
3c7b64ce20
removed duplicate function after rebase
10 years ago
zsfelfoldi
3f94d09c1f
fixed saving receipts
10 years ago
obscuren
21fa29111b
core: reduce max allowed queued txs per address
...
Transactions in the queue are now capped to a maximum of 200
transactions. This number is completely arbitrary.
10 years ago
obscuren
6d817e16c1
core, miner: tx pool drops txs below ask price
10 years ago
obscuren
645dfd9693
core: changed interrupt strategy
...
Removed chain manager's select/channel approach when checking for
interrupts. Now using an atomic int32 instead which checked for every
block processed.
10 years ago
obscuren
90c4493a10
eth, core: interupt the chain processing on stop
...
Added an additional channel which is used to interupt the chain manager
when it's processing blocks.
10 years ago
obscuren
287f990891
core/vm: Improved error reporting for trace logging
10 years ago
obscuren
02d629af8f
core/vm: fixed printable characters using unicode instead
10 years ago
obscuren
37111aa4bd
core: retry block now also parellise nonce checks
10 years ago
obscuren
f599a1b5f1
core/vm: added a comment regarding the uint64 vs *big.Int
10 years ago
obscuren
e7627623b9
core/vm: reverse loop stack
10 years ago
obscuren
f94c5473ad
core/vm: fixed a bug where `Data` ignored the stack ptr
10 years ago
obscuren
10af69b57c
core, core/vm: moved logger and added gas cost to struct logging
10 years ago
obscuren
fc2a061d51
core/vm: unexported stack again. No longer required
10 years ago
obscuren
065aff9ffa
core/vm: documentation and name changes
10 years ago
obscuren
4407524d13
core: fixed race condition for subscriptions
10 years ago
obscuren
29f7902fee
core: fixed test
10 years ago
obscuren
65a48f9cd8
core: fixed race condition in the transaction pool
...
Removed `Stop/Start` mechanism from the transaction pool.
10 years ago
obscuren
1774c49456
core: log tx count for each set of blocks we're importing
10 years ago
obscuren
6fb6e6679e
core/vm, core/state: added storage to structured vm logging
10 years ago
obscuren
38c61f6f25
core, core/vm: added structure logging
...
This also reduces the time required spend in the VM
10 years ago
obscuren
ff5b3ef087
core/vm: added structured logging
10 years ago
obscuren
468501cb86
core/vm: changed program counter to uint64
10 years ago
obscuren
bc6031e7bb
core, xeth: moved nonce management burden from xeth to txpool
10 years ago
Péter Szilágyi
d652a58ada
core: fix a race condition accessing the gas limit
10 years ago
Péter Szilágyi
fecf214175
core: fix a lock annoyance and potential deadlock
10 years ago
Felix Lange
73c355591f
core, eth: document that result of GetTransactions is modifiable
10 years ago
Felix Lange
7aefe123e9
core/types: add Transaction.Size
10 years ago
Gustav Simonsson
6e3b58e491
Remove unneeded if check on EC recover padding
10 years ago
Gustav Simonsson
ad5b5a4895
Pad precompiled EC recover input and add validations
10 years ago
Péter Szilágyi
ebf2aabd25
core: fix up a deadlock caused by double locking
10 years ago
Péter Szilágyi
ca8cb65b73
core: fix data race accessing ChainManager.currentBlock
10 years ago
Péter Szilágyi
07baf66200
core: fix data race in accessing ChainManager.td
10 years ago
obscuren
190c1b688a
core: skip genesis block for reprocess. Closes #1202
10 years ago
obscuren
a5b977aa90
core: write accounts to statedb. Closes #1210
10 years ago
obscuren
5245bd7b20
core: added a test for missing nonces
...
This test showed the logic in the queue was slightly flawed sending out
transactions to its peer it couldn't even resolve itself.
10 years ago
obscuren
6244b10a8f
core: settable genesis nonce
...
You can set the nonce of the block with `--genesisnonce`. When the
genesis nonce changes and it doesn't match with the first block in your
database it will fail. A new `datadir` must be given if the nonce of the
genesis block changes.
10 years ago
Felix Lange
6c27e2aaf6
core: add bad block for the 'missing nonce check' fork
10 years ago
Felix Lange
0b493910d3
core: fix the nonce check one more time
...
The block nonce verification was effectively disabled by a typo.
This time, there is an actual test for it.
10 years ago
Taylor Gerring
4ab0cedf42
Export should start with block 0
10 years ago
Taylor Gerring
ed621aae33
Cleanup
10 years ago
Taylor Gerring
89c9320d80
Allow exporting subset of chain
10 years ago
obscuren
7ab87f9f6e
wip
10 years ago
obscuren
912cf7ba04
core: added fork test & double nonce test
10 years ago
obscuren
0f51ee6c88
crypto: return common.Address rather than raw bytes
10 years ago
obscuren
dcdb4554d7
core: documented changes in tx pool
10 years ago
obscuren
cf5ad266f6
core: only change the nonce if the account nonce is lower
10 years ago
obscuren
9dd12a64a7
core: renamed txs to pending
10 years ago