Commit Graph

1563 Commits

Author SHA1 Message Date
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
obscuren
b66fcf85df checkp 2014-09-24 11:55:02 +02:00
obscuren
ba43364f36 tmp 2014-09-24 11:41:57 +02:00
obscuren
57dc435f9b Added TD for each block 2014-09-24 11:39:17 +02:00
nicksavers
c582890590 Add blank line after +build comment 2014-09-23 20:04:06 +02:00
obscuren
615d20598a Merge branch 'develop' 2014-09-23 18:19:56 +02:00
obscuren
46a496428f ugh 2014-09-23 18:19:51 +02:00
obscuren
bc1a173d2f Merge branch 'hotfix/0.6.5-3' into develop 2014-09-23 17:55:54 +02:00
obscuren
5c5db7d931 Merge branch 'hotfix/0.6.5-3' 2014-09-23 17:55:45 +02:00
obscuren
6800c3665a Re-added min gas price check on tx pool 2014-09-23 17:55:34 +02:00
obscuren
b73c07dd80 Merge branch 'hotfix/0.6.5-2' into develop 2014-09-23 12:00:25 +02:00
obscuren
ea67d853a8 Merge branch 'hotfix/0.6.5-2' 2014-09-23 12:00:10 +02:00
obscuren
ac5e86b7ae Removed windows support for serpent :-( 2014-09-23 12:00:01 +02:00
obscuren
1b66e1c93a Merge branch 'hotfix/0.6.5-1' into develop 2014-09-23 10:21:29 +02:00
obscuren
0705bb3fe5 Merge branch 'hotfix/0.6.5-1' 2014-09-23 10:21:13 +02:00
obscuren
48fd23dc10 don't mine without transactions 2014-09-23 10:20:55 +02:00
obscuren
df30588eb6 Merge branch 'release/0.6.5' into develop 2014-09-22 19:34:49 +02:00
obscuren
ce149d2733 Merge branch 'release/0.6.5' 2014-09-22 19:34:31 +02:00
obscuren
7d08e4f7d1 Remove log 2014-09-22 18:15:32 +02:00
obscuren
2ae3bda029 Increased from 200 nano to milliseconds 2014-09-22 18:15:10 +02:00
obscuren
1bc815e0b1 Remove log 2014-09-22 16:30:30 +02:00
obscuren
16871ae2b4 New Peer server 2014-09-22 16:28:49 +02:00
obscuren
9ed5b4d90e Support C++ GetBlockHash by assuming empty = done 2014-09-22 16:28:28 +02:00
obscuren
b65f29f8fa Added JavaScript JSON helper 2014-09-22 14:51:41 +02:00