Bas van Kervel
49a513bdeb
Added blockchain DB versioning support, closes #650
10 years ago
obscuren
0636e17dbe
Added default registrar
10 years ago
zelig
262714fc6c
future queued block support
...
- queued bool // flag for blockpool to skip TD check
- set to true when future block queued
- in checkTD: skip check if queued
- TODO: add test (insertchain sets future block)
10 years ago
obscuren
688d118c7e
Updated logging
10 years ago
obscuren
9c55576c7b
Block header changed & console miner control
...
* miner control moved to `admin.miner`
* miner option to set extra data
* block extra now bytes
10 years ago
obscuren
736aefe9b5
time lapse
10 years ago
obscuren
053d5552ab
Updated logging
10 years ago
obscuren
c39484bc4b
Added thread safe each
10 years ago
obscuren
eff6a43419
Removed debugging
10 years ago
obscuren
7a18a39351
prevent deadlock
10 years ago
obscuren
e1ed8c33bd
Improved chain manager, improved block processor, fixed tests
...
* ChainManager allows cached future blocks for later processing
* BlockProcessor allows a 4 second window on future blocks
* Fixed tests
10 years ago
obscuren
c985ce4d78
Changed log to new logging
10 years ago
obscuren
218bfeb60e
check for nil block (tmp).
...
@zelig this needs to be addressed in the block pool.
10 years ago
obscuren
a0e44e3281
basic glog
10 years ago
obscuren
f9d94c7462
do not include BlockEqualTS as valid uncles
10 years ago
Gustav Simonsson
c26c8d3a44
Read most protocol params from common/params.json
...
* Add params package with exported variables generated from
github.com/ethereum/common/blob/master/params.json
* Use params package variables in applicable places
* Add check for minimum gas limit in validation of block's gas limit
* Remove common/params.json from go-ethereum to avoid
outdated version of it
10 years ago
obscuren
9de1ad6546
fixed tests
10 years ago
obscuren
0ec171ccdf
Copy fix
10 years ago
obscuren
0ee0094cc0
better block propagation
10 years ago
obscuren
0330077d76
moved state and vm to core
10 years ago
obscuren
d7eaa97a29
moved to error
10 years ago
Gustav Simonsson
becc503230
Correct difficulty calculation to use new difficulty minimum
10 years ago
obscuren
dc3a9379f5
logging for possible uncles
10 years ago
obscuren
524f8199bf
added some nil checks for cache (testing specific)
10 years ago
obscuren
deee9cb170
Added caching for block chain. Currently set to 10k
10 years ago
obscuren
29eb220910
:-)
10 years ago
obscuren
e540a75030
re-enabled json logging
10 years ago
obscuren
14a2f42f37
fixed chain event. Closes #529
10 years ago
obscuren
48dd601de0
prep template for fixed size hashes
10 years ago
Felix Lange
b5b83db450
core: use package rlp to encode blocks
...
This also changes the chain export format so there is no
enclosing list around the blocks, which enables streaming export.
10 years ago
obscuren
8ce6a36478
converted chain manager
10 years ago
obscuren
b523441361
Moved ethutil => common
10 years ago
obscuren
44636e5b82
typo
10 years ago
obscuren
532a74f50e
Improved errors. Closes #475
10 years ago
obscuren
b927c29469
GetBlockByNumber now properly looks for a number in the database
10 years ago
obscuren
03403399fc
Return proper error
10 years ago
obscuren
cda88ce31a
Implemented a manage state for keeping track of nonces
10 years ago
obscuren
e69d5b32e8
Increased genesis gas & gas floor limit to 3141592
10 years ago
obscuren
ce595b9266
fallback
10 years ago
obscuren
cd856cb213
Separated block db from state db. Partial fix for #416
10 years ago
obscuren
8d9be18b29
Queued approach to delivering chain events
10 years ago
obscuren
23ad2f02c0
debug comments & pow handling
10 years ago
Taylor Gerring
fbb307cca0
Added eth.chain.new_head
10 years ago
obscuren
c47866d251
Miner fixes and updates (including miner)
10 years ago
Gustav Simonsson
871dfd399b
Add initial implementation of block tests
...
* Add blocktest cmd and support for block tests files in
tests/BlockTests , the launched node does not connect to
network, resets state with a genesis block from the test file
and starts the RPC API
10 years ago
obscuren
84a4f761f3
uncle validation
10 years ago
obscuren
26de12d9bf
Changed nonce to a uint64
10 years ago
zelig
6c2856df23
add eth.chain.new_head log to core/chain_manager
10 years ago
obscuren
b383ff0b96
New gas prices model
10 years ago
obscuren
0b57bad2de
removed log
10 years ago