Commit Graph

1608 Commits

Author SHA1 Message Date
Felix Lange 36cdab2068 all: use (blocking) event package instead of ethreact 2014-10-16 18:50:48 +02:00
Felix Lange 6906904896 event: make TypeMux zero value ready to use 2014-10-16 18:50:48 +02:00
Felix Lange 10bbf265b2 event: make Unsubscribe idempotent 2014-10-16 18:50:48 +02:00
Felix Lange dac4a8f113 event: add some documentation 2014-10-16 18:50:48 +02:00
Felix Lange f5b8775bed event: new package for event multiplexer 2014-10-16 18:14:35 +02:00
obscuren bb5038699e Corrected package .... 2014-10-16 13:41:44 +02:00
obscuren 65cdb3436e Updated tests 2014-10-16 13:40:46 +02:00
obscuren 86f789333a Moved state reset to defered function 2014-10-16 13:39:30 +02:00
obscuren febec5ca4a Switch EXT* codes 2014-10-16 13:39:11 +02:00
obscuren 70f7a0be11 Use the state instead of the state object directly.
If a state gets reset and you still hold a pointer to the previous,
incorrect, state object you'll operate on the wrong object. Using the
state to set/get objects and attributes you won't have this problem
since the state will always have the correct object.
2014-10-16 13:38:21 +02:00
obscuren 311c6f8a3f Fixed remote Arithmetic tests 2014-10-15 17:12:26 +02:00
obscuren 266d212094 Working on test suite 2014-10-15 00:41:00 +02:00
obscuren 3d177be73e Couple of minor issues fixed
* CALLVALUE pushed incorrect value to the stack
* Set execution model to closure
2014-10-15 00:40:41 +02:00
obscuren 7ca7938d8e Removed old installer script 2014-10-14 15:31:25 +02:00
obscuren f55e39cf1a Tests for native function calling 2014-10-14 13:37:26 +02:00
obscuren 393a92811b Changed VM Test code 2014-10-14 12:21:46 +02:00
obscuren c5bd32b0ad Refactored VM to two separate VMs; std & debug
Standard VM should be about 10x faster than the debug VM. Some error
checking has been removed, all of the log statements and therefor quite
some unnecessary if-statements.
2014-10-14 11:48:52 +02:00
obscuren 2e894b668a Max callstack 2014-10-11 00:41:37 +02:00
obscuren cb845b9bc8 Implemented AR PoW 2014-10-10 22:44:20 +02:00
obscuren 56843ca0fc Added some methods to comply to the PoW block interface 2014-10-10 22:42:37 +02:00
obscuren e02c0fa808 Added generic big to 256 method. Implemented new iterator 2014-10-10 17:00:06 +02:00
obscuren 9b494c6869 Merge branch 'develop' of github.com-obscure:ethereum/eth-go into develop 2014-10-10 16:58:26 +02:00
Jeffrey Wilcke 3db6a8e92d Merge pull request #57 from fjl/feature/raceless-ethereum-filters
Fix filter map race
2014-10-10 16:57:54 +02:00
Jeffrey Wilcke 6fec5bd32e Merge pull request #56 from fjl/feature/raceless-eventer
Fix Eventer race
2014-10-10 16:57:50 +02:00
obscuren 6877660fe2 Implemented new iterator 2014-10-10 16:56:28 +02:00
Felix Lange e83a999039 eth: fix filter map data race
This commit also documents (but doesn't enforce) that filters
are immutable while they're installed. This required a minor API
change.
2014-10-08 19:04:58 +02:00
Felix Lange 44674cb96c eventer: fix data race 2014-10-08 16:31:08 +02:00
Felix Lange d451269977 eventer: add test for concurrent Post/Register
This test reports the race condition when run
using "go test -race".
2014-10-08 16:31:08 +02:00
Felix Lange 7c9508ed71 eventer: fix tests 2014-10-08 16:31:08 +02:00
obscuren a38dafcc57 Moved the To256 2014-10-08 16:11:36 +02:00
obscuren bd7aca76e1 Proper new block 2014-10-08 12:33:33 +02:00
obscuren 4de3ad1712 New block message 2014-10-08 12:29:49 +02:00
obscuren 9d86a49a73 Renamed Sha3Bin to Sha3 2014-10-08 12:06:39 +02:00
obscuren f3196c915a Precompiled crypto contracts 2014-10-08 12:01:36 +02:00
obscuren 9b60cf267a Removed POST & moved CALLCODE 2014-10-08 12:01:14 +02:00
obscuren 11ace54307 ECRECOVER RIPEMD160 SHA256 2014-10-08 12:00:50 +02:00
obscuren 6de726f16c Protocol bump 2014-10-08 12:00:03 +02:00
obscuren b417766b36 Minor tweaks for poc7 2014-10-08 11:59:44 +02:00
obscuren 0015ce1e35 kick of bad peers 2014-10-07 11:18:46 +02:00
obscuren 677836cbee Kick off bad peers on bad chains and improved catch up on diverted chain 2014-10-02 17:35:38 +02:00
obscuren a75c92000f Black listing of bad peers 2014-10-02 17:03:48 +02:00
obscuren b55e017e62 Proper delete 2014-10-02 17:03:36 +02:00
obscuren 82be305496 Fixed inconsistencies 2014-10-02 17:03:15 +02:00
obscuren a34a971b50 improved blockchain downloading 2014-10-02 01:36:59 +02:00
obscuren 5fa0173c41 msg 2014-10-02 00:03:19 +02:00
obscuren 3af211dd65 Implemented WebSocket package 2014-09-30 23:26:52 +02:00
obscuren ab6ede51d7 Working on new (blocking) event machine.
The new event machine will be used for loose coupling and handle the
communications between the services:

1) Block pool finds blocks which "links" with our current canonical
chain
2) Posts the blocks on to the event machine
3) State manager receives blocks & processes them
4) Broadcasts new post block event
2014-09-29 12:57:51 +02:00
obscuren ea0357bf02 Block pool is thread safe 2014-09-28 14:52:58 +02:00
obscuren 44d50bc8d2 Have you seen my parents, sir? 2014-09-26 20:51:31 +02:00
obscuren e20b113053 Logging messages 2014-09-26 20:19:11 +02:00