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
obscuren
b2a225a52e
Properly uninstall filters. Mining issue fixed #closes #365
...
* Added an additional tx state which is used to get the current nonce
* Refresh transient state each time a new canonical block is found
* Properly uninstall filters. Fixes a possible crash in RPC
10 years ago
obscuren
cc43ab9a81
Minor updates for release
10 years ago
obscuren
66d5559866
Fixed chain event issue
10 years ago
obscuren
d8ac267f41
dirty tracking for state objects fixed
10 years ago
obscuren
fa4cbad315
Optimisations and fixed a couple of DDOS issues in the miner
10 years ago
obscuren
655e942597
Added GetBlock GetUncle with OOB guard
10 years ago
obscuren
7fc9b5b3f9
Changed to ChainEvent and fixed a nil pointer in transact
10 years ago
obscuren
567428fb34
Filter and mutex locks added
10 years ago
obscuren
d2a4bc4d73
Removed reference to lastBlockNumber & LastBlockNumber
10 years ago
obscuren
2c3a014f03
Resolved some bugs in the miner
...
* TODO nonce error sometimes persists
* Fixed mining on wrong blocks
* Fixed state error & receipt fail
10 years ago
obscuren
b143dad596
Reference pointer to block instead of pointer to function
10 years ago