Commit Graph

23 Commits

Author SHA1 Message Date
obscuren 097ba56df5 Renamed block_chain to chain_manager 2014-10-20 11:53:11 +02:00
obscuren 4de3ad1712 New block message 2014-10-08 12:29:49 +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 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 9ed8dc7384 Attempt to catch up from unknown block 2014-09-25 16:57:49 +02:00
obscuren 84690bfbbe Changed the block fetching code and hash distribution 2014-09-24 19:54:30 +02:00
obscuren ba43364f36 tmp 2014-09-24 11:41:57 +02:00
obscuren a26c479182 Added len 2014-09-17 15:58:02 +02:00
obscuren 33a0dec8a1 Improved catching up and refactored 2014-09-15 15:42:12 +02:00
obscuren 74ef22d824 add it to the list 2014-09-14 14:30:33 +02:00
obscuren 56103f0751 Log 2014-08-22 17:10:18 +02:00
obscuren be9bfb5536 Minor improvement catching up
* When catching up check linked up the chain of hashes
2014-08-22 14:52:20 +02:00
obscuren a9f9a59416 Extra checks 2014-08-22 10:58:57 +02:00
obscuren eaa2e8900d PoC 6 networking code.
* Added block pool for gathering blocks from the network (chunks)
* Re wrote syncing
2014-08-21 14:47:58 +02:00