Commit Graph

30 Commits

Author SHA1 Message Date
obscuren 699dcaf65c Reworked chain handling process
* Forks
* Rename
* Moved inserting of blocks & processing
* Added chain testing method for validating pieces of a **a** chain.
2014-11-04 12:46:33 +01:00
obscuren f59a3b67f6 StateManager => BlockManager 2014-11-04 10:57:02 +01:00
obscuren 4914a78c8c ethwire => wire 2014-10-31 14:53:42 +01:00
obscuren b1c247231b ethlog => logger 2014-10-31 12:56:05 +01:00
obscuren 3ee0461cb5 Moved ethchain to chain 2014-10-31 10:59:17 +01:00
obscuren 9e2f071d26 Removed events from the state manager 2014-10-29 14:20:42 +01:00
Felix Lange 69baa465ea Merge eth-go repository into go-ethereum
mist, etheruem have been moved to cmd/
2014-10-23 15:01:27 +02:00
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