Commit Graph

2102 Commits

Author SHA1 Message Date
Felix Lange 6049fcd52a p2p: use package rlp for baseProtocol 2014-11-25 12:25:31 +01:00
Felix Lange c1fca72552 p2p: use package rlp 2014-11-24 19:03:20 +01:00
Felix Lange 205af02a1f rlp: add NewListStream (for p2p) 2014-11-24 19:03:17 +01:00
Felix Lange 5a5560f105 rlp: add Stream.Reset and accept any reader (for p2p) 2014-11-24 19:03:11 +01:00
Felix Lange 59b63caf5e p2p: API cleanup and PoC 7 compatibility
Whoa, one more big commit. I didn't manage to untangle the
changes while working towards compatibility.
2014-11-21 21:52:45 +01:00
Felix Lange e4a601c644 p2p: disable failing Server tests for now 2014-11-21 21:52:45 +01:00
Felix Lange 7149191dd9 p2p: fix issues found during review 2014-11-21 21:52:45 +01:00
Felix Lange f38052c499 p2p: rework protocol API 2014-11-21 21:52:45 +01:00
obscuren 8cf9ed0ea5 Fixed test 2014-11-21 10:48:07 -05:00
obscuren 9b8a12b4b5 Removed naively casting to bytes 2014-11-20 18:20:04 +01:00
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