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
obscuren
da2fae0e43
Basic structure miner
10 years ago
obscuren
65158d39b0
Filtering
10 years ago
obscuren
3440a8a0bf
changed lost key
10 years ago
obscuren
7394ee7c72
Fixed difficulty
...
Difficulty was broken when refactored.
10 years ago
obscuren
491c23a728
Moved the TD method from block processor.
10 years ago
obscuren
905b8cc82f
mem fixes for vm. Changed uncle inclusion tests
10 years ago
zelig
3bdf28c1fe
GetBlockHashesFromHash(hash, max) gives back max hashes starting from PARENT of hash
10 years ago
obscuren
b25126a277
Minor fixed and additions for block proc
...
* Path check length
* Genesis include TD
* Output TD on last block
10 years ago
obscuren
fed3e6a808
Refactored ethutil.Config.Db out
10 years ago
obscuren
25e6c4eff8
Adjusted difficulty and skip get tx messages
10 years ago
obscuren
ca1b2a1a91
Changed prev_hash to block_hash, state transition now uses vm env
...
* PREVHASH => BLOCKHASH( N )
* State transition object uses VMEnv as it's query interface
* Updated vm.Enviroment has GetHash( n ) for BLOCKHASH instruction
* Added GetHash to xeth, core, utils & test environments
10 years ago
obscuren
4dc7ee9087
Closure => Context
10 years ago
obscuren
477a6d426c
Added a query interface for world state
10 years ago
obscuren
1c7e8e9093
Set TD to block once processed
10 years ago
obscuren
1382e8d84b
Delete current chain for reset
10 years ago
obscuren
9e5257b83b
Chain importer
10 years ago
obscuren
4cd79d8ddd
Refactored block & Transaction
...
* Includes new rlp decoder
10 years ago
obscuren
0dc566124a
Merge fixes
10 years ago