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
obscuren
2d09e67713
Updated to new methods
10 years ago
obscuren
49e0267fe7
Locks, refactor, tests
...
* Added additional chain tests
* Added proper mutex' on chain
* Removed ethereum dependencies
10 years ago
obscuren
b1c58b76a9
moved err check
10 years ago
zelig
72290f67fe
resolve merge conflict hell
10 years ago
zelig
7b39cc83cc
adapt chain_manager to eth protocol interface
...
- add Status() to return td, currentblock hash, genesis hash
- GetChainHashesFromHash -> GetBlockHashesFromHash
10 years ago
zelig
d84810d89d
add Status to retrieve TD, currentBlock, genesis for easy interface with eth/protocol
10 years ago
obscuren
2b5fcb4642
moved interfaces
10 years ago
obscuren
5553e5aaed
states moved to chain
10 years ago
obscuren
9925916851
upped proto version and modified block pool
10 years ago
obscuren
73123bf257
Only set TD if it's actually higher
10 years ago
obscuren
9008b155d3
Renamed `chain` => `core`
10 years ago
obscuren
8240550187
updated to types
10 years ago
obscuren
cb4d168ecc
Updated LOG to match proper gas in all cases
10 years ago
obscuren
5ebae82eeb
Additional logging and removed temp merged mining options.
10 years ago