Commit Graph

86 Commits

Author SHA1 Message Date
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
Maran cc341b8734 Added debug message if you try to add a peer when max peers has been reached. 2014-05-12 16:36:14 +02:00
Maran 7f9fd08792 Implemented proper peer checking when adding new peers
We now resolve a hostname to IP before we try to compare it to the existing peer pool
2014-05-12 15:08:21 +02:00
Maran 8b4ed8c505 Properly exchange peer capabilities between peers 2014-05-12 13:39:37 +02:00
obscuren afe83af219 Moved seeding and moved manifest 2014-05-09 16:09:28 +02:00
Maran e18b96b486 Fix an issue where we don't have the rpc so we dont have to close it 2014-05-06 14:15:02 +02:00
Maran a4ca9927ab Renamed etherpc to ethrpc 2014-05-05 15:15:14 +02:00
Maran fde3e01f80 Fixed import cycle 2014-05-05 14:15:31 +02:00
Maran 4f20e8f649 Implemented first few methods via public api 2014-05-02 20:00:58 +02:00
Maran c54788338a Merge branch 'develop' into feature/rpc 2014-05-02 13:35:54 +02:00
Maran ebdf339a61 Implemented RPC framework 2014-05-02 13:35:25 +02:00
obscuren 91aa189ef3 Fixed Upnp bug 2014-05-01 22:14:20 +02:00
Maran 8ea7e21f64 Merge 2014-03-17 10:37:37 +01:00
Maran d5efeab8f9 Initial smart-miner stuff 2014-03-10 11:53:02 +01:00
obscuren 6c6e8b0fd7 Renamed block manager to state manager 2014-03-05 10:57:32 +01:00
obscuren 92f2abdf76 Partially refactored server/txpool/block manager/block chain
The Ethereum structure now complies to a EthManager interface which is
being used by the tx pool, block manager and block chain in order to
gain access to each other. It's become simpeler.
TODO: BlockManager => StateManager
2014-03-05 10:42:51 +01:00