Commit Graph

2092 Commits

Author SHA1 Message Date
obscuren 12f1aea38d Fixed iterator for short nodes.
In some cases the iterator didn't properly return the correct key
because it didn't append fields to the reverse lookup.
2014-11-20 18:11:31 +01:00
obscuren b05e63c34d Added paranoia check for tries 2014-11-19 16:56:01 +01:00
obscuren cab7e6000e Increased coverage 2014-11-19 16:35:57 +01:00
obscuren 0f460ad26e Added caching and database interface to trie
* Reimplemented caching for trie
* Reimplemented resetting and persisting trie
2014-11-19 16:21:28 +01:00
obscuren e70529a977 Added new iterator and tests 2014-11-19 15:05:08 +01:00
obscuren 14e2e488fd Added `chain` tests & minor fixes
* Fork tests (equal and larger chains)
* `chain.link` fields are now exported
* moved debug function from state to dump.go
2014-11-19 12:25:52 +01:00
obscuren 437d79f094 Updated readme 2014-11-18 20:23:17 +01:00
obscuren 93e693be72 Fixed tests for 'types' 2014-11-18 19:52:45 +01:00
obscuren 675ba4d7eb Merge branch 'tests' into poc8 2014-11-18 19:48:35 +01:00
obscuren f8d0cd9906 Added a callback mechanism to chain adding.
Not sure if this is the right approach. Why? BlockChain shouldn't need
the "Ethereum" object. BlockChain shouldn't need to worry about
notifying listeners or message propagation.
2014-11-18 19:44:17 +01:00
obscuren a1b6a9ac29 Begin of moving objects to types package
* Block(s)
* Transaction(s)
2014-11-18 16:58:22 +01:00
obscuren 62cd9946ee j => i 2014-11-18 12:20:14 +01:00
obscuren e08aba5dd9 added output test 2014-11-18 12:18:27 +01:00
obscuren 34f29d57b6 Update vm_debug.go 2014-11-18 12:03:51 +01:00
obscuren 3220a32ff0 Added some comparison tests for the new ptrie 2014-11-18 12:03:09 +01:00
obscuren f7417d3552 New modified patricia trie 2014-11-18 12:02:13 +01:00
Taylor Gerring 5c958ec5f6 Undo running `go vet` in travis 2014-11-17 10:53:24 -06:00
Taylor Gerring 2a5af8fac7 enable `go vet` 2014-11-17 10:40:40 -06:00
Taylor Gerring 559a81da6f enable golint 2014-11-17 10:21:19 -06:00
obscuren a19d2c2278 Merge branch 'develop' into refactor 2014-11-17 12:14:05 +01:00
obscuren cad770c734 Merge branch 'develop' of github.com-obscure:ethereum/go-ethereum into develop 2014-11-17 12:13:11 +01:00
obscuren ca74bcc4cd cleaning up 2014-11-17 12:12:55 +01:00
Jeffrey Wilcke b4e47a094c Merge pull request #184 from fjl/feature/rlp
rlp: new package for streaming RLP decoder
2014-11-17 03:12:18 -08:00
Felix Lange bd0a50fdc3 rlp: fix pointer reuse 2014-11-17 12:02:08 +01:00
Felix Lange 74266d5bbd rlp: new package for streaming RLP decoder 2014-11-17 01:49:47 +01:00
Taylor Gerring 9095b37343 Convert vm test to checker
Tests are skipped due to reliance on deprecated mutan
2014-11-16 13:45:46 -06:00
Taylor Gerring ffab36c7d8 Update ethutil/common tests to checker 2014-11-16 12:08:27 -06:00
Taylor Gerring f82fb889b7 Add goveralls to travis builds 2014-11-16 08:34:28 -06:00
Taylor Gerring ddca18638f update imports order per goimports 2014-11-15 20:21:55 -06:00
Taylor Gerring 3588c4a9fe formatting update per gofmt 2014-11-15 20:21:03 -06:00
Taylor Gerring 71b338e8ac update travis steps 2014-11-15 19:45:05 -06:00
Taylor Gerring 58812fad42 Reorg travis.yml 2014-11-15 19:36:30 -06:00
Taylor Gerring 790ded0f47 Update travis deps script 2014-11-15 19:11:43 -06:00
Taylor Gerring 6dbd7a9a80 add websocket to deps 2014-11-15 18:59:56 -06:00
Taylor Gerring e1e50f4afd add go cover to install list 2014-11-15 18:54:26 -06:00
Taylor Gerring 3a656c07f1 add go-nat-pmp to manual install list 2014-11-15 18:49:18 -06:00
Taylor Gerring ec75119341 Update deps script 2014-11-15 18:42:48 -06:00
Taylor Gerring 0b64906a72 Add -y flags 2014-11-15 18:28:09 -06:00
Taylor Gerring 1beb9a2b8b update apt repos 2014-11-15 18:22:01 -06:00
Taylor Gerring 242667ebe5 update travis build deps 2014-11-15 18:12:50 -06:00
Taylor Gerring 5211fb0c79 make script executable 2014-11-15 17:56:16 -06:00
Taylor Gerring 81e7f8679e script fix 2014-11-15 17:51:58 -06:00
Taylor Gerring 6f7f570670 custom travis build script
Based on https://github.com/daaku/go.travis/blob/master/install
2014-11-15 17:45:08 -06:00
Taylor Gerring 8f9a354682 try to fix travis dep error 2014-11-15 09:07:02 -06:00
Taylor Gerring bc5d924b83 more travis changes 2014-11-14 22:23:31 -06:00
Taylor Gerring 9481f86c37 run coverage after build 2014-11-14 22:17:01 -06:00
Taylor Gerring dd9e99a418 try to get full coverage report on travis 2014-11-14 20:58:09 -06:00
obscuren 33afb10b0d clean up 2014-11-15 00:29:27 +01:00
Taylor Gerring 1ecb3b4cf3 Remove failing Printf 2014-11-14 15:53:45 -06:00
Taylor Gerring dcd8cc8341 added test file to root directory 2014-11-14 15:31:15 -06:00