Commit Graph

101 Commits

Author SHA1 Message Date
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
3aeba50c38 merge error 2014-09-24 21:13:28 +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
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
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
9559b53228 Added Past peers option 2014-09-17 15:57:44 +02:00
obscuren
1549a29c9d Connect to previous peer 2014-09-16 16:36:27 +02:00
obscuren
d02024929a require 5 for post 2014-09-16 11:35:26 +02:00
obscuren
399256b384 VM execution fixes
Refactoring caused executing issues
2014-09-15 22:11:05 +02:00
obscuren
2fb57b2ea7 Reworked filters 2014-09-14 00:13:23 +02:00
obscuren
836ed9d6b7 Write Protocol version to the db so we can perform sanity checks 2014-08-22 11:34:59 +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
obscuren
a760ce05b9 Updated chain for filtering 2014-08-11 16:23:38 +02:00
zelig
9831619881 merge upstream 2014-07-30 18:03:20 +02:00
obscuren
74d7012025 Added temp seed 2014-07-29 23:33:59 +02:00
obscuren
41bd38147c Clean up and util methods 2014-07-26 11:24:44 +02:00
zelig
1e4af85a38 merge upstream 2014-07-21 13:26:29 +01:00
obscuren
449b9a9d68 Check if version in known + fix 2014-07-18 11:57:44 +02:00
obscuren
6a19b62db6 added chainSync event 2014-07-17 22:01:13 +02:00
zelig
1735ec0362 use ethreact.Event and ethreact.ReactorEngine 2014-07-15 01:11:06 +01:00
obscuren
9010857677 Special diff output for execution 2014-07-11 16:04:09 +02:00
obscuren
d52e5f7130 Removed hardcoded ip 2014-07-10 15:04:19 +02:00
obscuren
794e65b60e Updated peer server 2014-07-07 22:08:09 +02:00
Jeffrey Wilcke
6fe9b4ab5e Revert "ethreact - Feature/ethutil refactor" 2014-07-07 10:59:16 +02:00
obscuren
9dab7dcc3c Merge branch 'develop' of github.com-obscure:ethereum/eth-go into develop 2014-07-07 10:53:25 +02:00
obscuren
1199941475 Connect to peer node by default 2014-07-07 10:52:58 +02:00
zelig
584d1c61ec use ethreact.Event and ethreact.ReactorEngine 2014-07-04 19:38:44 +01:00
zelig
c833c3fec8 add ClientIdentity() ethwire.ClientIdentity to Ethereum 2014-07-03 17:30:04 +01:00
zelig
dabaa4cce0 change all modified calls to ethtrie, ethutil and ethcrypto functions 2014-06-29 18:30:05 +01:00
zelig
853053a3b2 go fmt 2014-06-26 18:45:57 +01:00
zelig
da38faa8f7 merge upstream; fix port in use warning; new logger API 2014-06-26 16:37:56 +01:00
zelig
098136b681 ethereum logs server started/stopped message 2014-06-26 10:43:02 +01:00
obscuren
0ed19d9f20 Logging, variable rearrangement 2014-06-26 11:26:42 +02:00
zelig
98f1ee9442 merge upstream 2014-06-25 16:58:07 +01:00
obscuren
9dae1a1732 Removed BlockDo Method 2014-06-25 09:47:19 +02:00
zelig
f58c7ac5a6 merge upstream 2014-06-23 13:07:43 +01:00
zelig
b9e8a3e024 modified logging API
- package vars for tagged loggers
- weed out spurious fmt.PrintX and log.PrintX logging
- tried to second guess loglevel for some :)
2014-06-23 12:54:10 +01:00
obscuren
a4e26bf7c2 Added Block do which replays the given block or error 2014-06-23 11:25:14 +02:00
Maran
1f79175898 Reworked peers to check for public key duplication and adding peers to peerlist only after the handshake has come in 2014-06-18 13:06:48 +02:00
obscuren
17c825f53a Peer changes broadcasting and minor miner fix 2014-05-30 16:57:58 +02:00
obscuren
f382221b28 Broadcast "peerList" event upon removing or adding peers 2014-05-30 13:04:08 +02:00
Maran
12f30e6220 Refactored a lot of the chain catchup/reorg. 2014-05-20 11:50:34 +02:00
obscuren
8730dfdcc2 Changed how changes are being applied to states 2014-05-17 14:07:52 +02:00
Maran
3ac74b1e78 Implemented IsUpToDate to mark the node as ready to start mining 2014-05-14 13:57:04 +02:00
Maran
28357d657b Implemented new JS/EthPub methods
- getTxCountAt
- getPeerCount
- getIsMining
- getIsListening
- getCoinbase
2014-05-13 14:43:29 +02:00
Maran
3647cc5b07 Implemented our own makeshift go seed. Fixes #16 2014-05-13 11:35:21 +02:00