Commit Graph

1636 Commits

Author SHA1 Message Date
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
obscuren
0acdeca3d6 skip messages properly 2014-09-26 20:19:01 +02:00
obscuren
a45e293267 Merge branch 'release/0.6.7' into develop 2014-09-26 13:48:04 +02:00
obscuren
b8354124be Added protocol caps accessors 2014-09-26 13:45:26 +02:00
obscuren
68119d0929 Fixed messages to use proper numbers 2014-09-26 13:32:54 +02:00
obscuren
9ed8dc7384 Attempt to catch up from unknown block 2014-09-25 16:57:49 +02:00
obscuren
2458697dad Merge branch 'master' into develop 2014-09-24 21:37:05 +02:00
Jeffrey Wilcke
206672db5e Merge pull request #52 from nicksavers/winfix
Add blank line after +build comment
2014-09-24 21:36:37 +02:00
obscuren
5c2aa1d4f5 Merge branch 'master' into develop 2014-09-24 21:21:03 +02:00
obscuren
5cb4120ef5 queue get peers each 10 seconds 2014-09-24 21:20:57 +02:00
obscuren
496df5c29a Merge branch 'master' into develop 2014-09-24 21:13:35 +02:00
obscuren
3aeba50c38 merge error 2014-09-24 21:13:28 +02:00
obscuren
ecdda01841 Merge branch 'release/0.6.6' into develop 2014-09-24 20:41:03 +02:00
obscuren
bb4495722f Merge branch 'release/0.6.6' 2014-09-24 20:40:54 +02:00
obscuren
1118aaf840 Temp work around 2014-09-24 20:40:40 +02:00
obscuren
544b7fba7f Merge branch 'tmp' into develop
Conflicts:
	peer.go
2014-09-24 19:59:14 +02:00
obscuren
cba2f6c2c4 Block pool stop / start 2014-09-24 19:56:21 +02:00
obscuren
1fe2d0d0e0 Peers no longer take care of block processing 2014-09-24 19:55:28 +02:00
obscuren
54558dd8ae Removed log 2014-09-24 19:54:51 +02:00
obscuren
60a8c9527c Mine without txs 2014-09-24 19:54:37 +02:00
obscuren
84690bfbbe Changed the block fetching code and hash distribution 2014-09-24 19:54:30 +02:00
obscuren
d3a0bb4f35 Info => Debug 2014-09-24 19:54:14 +02:00
obscuren
ad13b402d7 Fixed race condition 2014-09-24 17:47:01 +02:00