Commit Graph

37 Commits

Author SHA1 Message Date
obscuren 87a05c8f38 core: skipped tests while cache disabled 2015-05-19 21:50:26 +02:00
obscuren 40717465bc core: fixed tests 2015-05-18 18:16:53 +02:00
obscuren cfb2b51b74 eth/downloader: fixed test 2015-05-15 12:47:32 +02:00
Bas van Kervel 95773b9673 removed redundant newlines in import block 2015-05-12 15:20:53 +02:00
Bas van Kervel b79dd188d9 replaced several path.* with filepath.* which is platform independent 2015-05-12 14:24:11 +02:00
obscuren 2590a7dabb core: added some additional chain tests for shortest chain 2015-04-30 00:14:41 +02:00
obscuren c930045834 core: fixed tetst to reflect (int, error) return by insertChain 2015-04-29 15:27:04 +02:00
obscuren 4e07967711 core: fixed chain reorg during splits
Chain reorgs weren't properly handled when a chain was further ahead.
Previously we'd end up with mixed chains in our canonical numbering
sequence. Added test for this type of forking.

```
     /-o-o-o   A
o-C-+
     \-o-o-o-o B
```

Ends up with with C A1, A2, A3, B4
2015-04-29 12:51:05 +02:00
obscuren 405720b218 xeth, core, cmd/utils: Transaction can not be over block gas limit
Transactions will be invalidated when the tx.gas_limit > block.gas_limit
2015-04-24 17:48:13 +02:00
obscuren 72d065d491 core: force block process & fixed chain manager test 2015-04-20 16:02:50 +02:00
obscuren 6184781b49 Improved transaction pool
The transaction pool will now some easily be able to pre determine the
validity of a transaction by checking the following:

* Account existst
* gas limit higher than the instrinsic gas
* enough funds to pay upfront costs
* nonce check
2015-04-08 20:47:32 +02:00
obscuren deee9cb170 Added caching for block chain. Currently set to 10k 2015-03-20 15:54:42 +01:00
Felix Lange a59dd393e7 core: fix tests 2015-03-18 13:38:47 +01:00
obscuren ef6706696c Add additional extra database for non-protocol related data
* Add transaction to extra database after a successful block process
2015-03-12 14:50:35 +01:00
Felix Lange 80985f97da cmd/evm, core, ethdb, state, tests/helper: remove ReadConfig calls 2015-03-10 02:39:53 +01:00
obscuren 22b493a6ff Fixed tests 2015-03-06 20:10:59 +01:00
Matthew Wampler-Doty de9f79133f Introducing ethash 2015-03-02 22:29:34 -05:00
Matthew Wampler-Doty ba1f4bbe91 Exposing stuff for ethash 2015-02-27 20:56:24 -05:00
Ethan Buchman 0efd6a881a public functions for making chains on the fly 2015-02-27 16:05:03 -05:00
Ethan Buchman 9446489cf3 core: chain manager forking tests 2015-02-17 22:02:15 -05:00
obscuren 0d96528d2f Skip for travis 2015-01-24 18:46:35 +01:00
obscuren 2ba54a69be skipping for travis 2015-01-24 18:40:03 +01:00
obscuren 35fe4313d5 pre-pow 2015-01-12 10:19:27 +01:00
obscuren 5f958a582d fixed other tests to use hashes as well 2015-01-08 16:48:39 +01:00
obscuren e27237a03a Changed to use hash for comparison
DeepReflect would fail on TD since TD isn't included in the original
block and thus the test would fail.
2015-01-08 16:45:51 +01:00
obscuren fed3e6a808 Refactored ethutil.Config.Db out 2015-01-07 13:17:48 +01:00
obscuren 564f02aa2b Fixed tests 2015-01-06 13:18:09 +01:00
obscuren e2d1d832ef added nil check 2015-01-02 13:00:25 +01:00
obscuren d336e24dce Removed the need of having a backend for the tx pool 2015-01-02 12:26:55 +01:00
obscuren b619b244c7 Fixed tests 2015-01-02 11:16:30 +01:00
obscuren 8df689bd44 Chain tests 2014-12-30 15:42:26 +01:00
obscuren 2f8a45cd8b Fixed chain test & added new chain 2014-12-30 13:32:01 +01:00
obscuren 49e0267fe7 Locks, refactor, tests
* Added additional chain tests
* Added proper mutex' on chain
* Removed ethereum dependencies
2014-12-18 13:12:54 +01:00
obscuren b1c58b76a9 moved err check 2014-12-17 12:57:35 +01:00
obscuren 3308491c92 Removed tests because they've become obsolete 2014-12-10 00:09:32 +01:00
obscuren 83663ed4b0 Renames for chain, updated VM, moved methods
* Renamed a couple more chain => core
* Updated VM `pc` to be uint64 rather than big int
* XEth interface cleanup
2014-12-04 10:53:49 +01:00
obscuren 9008b155d3 Renamed `chain` => `core` 2014-12-04 10:28:02 +01:00