Commit Graph

38 Commits

Author SHA1 Message Date
obscuren
f8d0cd9906 Added a callback mechanism to chain adding.
Not sure if this is the right approach. Why? BlockChain shouldn't need
the "Ethereum" object. BlockChain shouldn't need to worry about
notifying listeners or message propagation.
2014-11-18 19:44:17 +01:00
obscuren
a1b6a9ac29 Begin of moving objects to types package
* Block(s)
* Transaction(s)
2014-11-18 16:58:22 +01:00
obscuren
ca74bcc4cd cleaning up 2014-11-17 12:12:55 +01:00
obscuren
56aa24002d Clean up 2014-11-14 14:17:54 +01:00
obscuren
f6e55962a8 Fixes for PV41/42
* Don't expand mem on empty value
* Removed all coinbase logs for PV42
* Removed C++ bug stuff for LOG*
2014-11-14 13:47:12 +01:00
obscuren
75ee3b3f08 debugging code 2014-11-11 12:16:36 +01:00
obscuren
cbeebcd47d Fixed bloom, updated mining & block processing
* Reverted back to process blocks in batches method
* Bloom generation and lookup fix
* Minor UI changed (mainly debug)
2014-11-10 01:17:31 +01:00
obscuren
429dd2a100 Implemented new miner w/ ui interface for merged mining. Closes #177
* Miner has been rewritten
* Added new miner pane
* Added option for local txs
* Added option to read from MergeMining contract and list them for
  merged mining
2014-11-07 12:18:48 +01:00
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