zelig
3bdf28c1fe
GetBlockHashesFromHash(hash, max) gives back max hashes starting from PARENT of hash
10 years ago
obscuren
db4aaedcbd
Moved ptrie => trie. Removed old trie
10 years ago
obscuren
fed3e6a808
Refactored ethutil.Config.Db out
10 years ago
obscuren
60d9611c23
Fixed tests where txs weren't properly removed
10 years ago
obscuren
25e6c4eff8
Adjusted difficulty and skip get tx messages
10 years ago
obscuren
564f02aa2b
Fixed tests
10 years ago
obscuren
cc7f8f58e8
Limit block extra to 1024
10 years ago
obscuren
b99b2c446c
Precompiled contract & Depth change
...
* Added pre-compiled contract 0x04 (mem cpy)
* Changed depth error to return the gas instead of consuming
10 years ago
obscuren
6abf8ef78f
Merge
10 years ago
obscuren
b0854fbff5
BlockManager => BlockProcessor
10 years ago
obscuren
c1dee15144
BlockManager => BlockProcessor
10 years ago
obscuren
09841b1c9b
Cleaned up some of that util
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
16f417f5af
Fixed bug where logging could crash client during tx adding
10 years ago
obscuren
4dc7ee9087
Closure => Context
10 years ago
obscuren
e2d1d832ef
added nil check
10 years ago
obscuren
d336e24dce
Removed the need of having a backend for the tx pool
10 years ago
obscuren
ae2c90cc28
Removed value check from tx validation
10 years ago
obscuren
6cf61039cf
Added tests for valid transactions
10 years ago
obscuren
48d2a8b8ee
Refactored tx pool and added extra fields to block
...
* chain manager sets td on block + td output w/ String
* added tx pool tests for removing/adding/validating
* tx pool now uses a set for txs instead of list.List
10 years ago
obscuren
477a6d426c
Added a query interface for world state
10 years ago
obscuren
1cc86c07a0
Deleted
10 years ago
obscuren
1c7e8e9093
Set TD to block once processed
10 years ago
obscuren
b619b244c7
Fixed tests
10 years ago
obscuren
8df689bd44
Chain tests
10 years ago
obscuren
2f8a45cd8b
Fixed chain test & added new chain
10 years ago
obscuren
fb1edd05f4
Removed the deferred reset
10 years ago
obscuren
780abaec98
Switched to new trie
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
1508a23a6f
Minor updates on gas and removed/refactored old code.
10 years ago
obscuren
f5b8f3d41b
Removed OOG check. Revert should always happen.
10 years ago
obscuren
0e93b98533
Transaction was generating incorrect hash because of var changes
10 years ago
obscuren
12671c82ea
Moved VM to execution
10 years ago
obscuren
59ef6e3693
Cleaned up objects
10 years ago
obscuren
3325683794
Fixed refund model
10 years ago
obscuren
198cc69357
Gas corrections and vm fixes
10 years ago
obscuren
5ad473d758
Moved methods to messages
10 years ago
obscuren
db494170dc
Created generic message (easy for testing)
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
590aace88d
Removed ethereum as dependency
10 years ago
obscuren
4dbdcaecb1
Moved pre-compiled, moved depth check
...
* Depth check has been moved to the execution
* Pre compiled execution has been moved to the VM
* PrecompiledAddress has been renamed to PrecompiledAccount
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
zelig
39d86a28e7
adapt to new eth pkg and p2p
10 years ago