Commit Graph

107 Commits

Author SHA1 Message Date
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
obscuren 601340bd46 Fixed shutting down 2014-02-28 16:45:29 +01:00
obscuren 4f4175a3e2 Addad db name for new ldb 2014-02-25 11:21:03 +01:00
obscuren 3a45cdeaf9 Moved txpool start to initialisation method of ethereumm 2014-02-23 01:57:45 +01:00
obscuren 73b9ae9579 Updated some of the log statements to use the ethutil logger 2014-02-22 01:53:25 +01:00
obscuren 24f2b2afc3 Running contracts fixed 2014-02-19 11:35:17 +01:00
obscuren d7eca7bcc1 Rlp update 2014-02-18 01:34:06 +01:00
obscuren 73fd358d94 Removed RlpValue in favour of Value 2014-02-15 01:34:18 +01:00
obscuren f6d1bfe45b The great merge 2014-02-14 23:56:09 +01:00
obscuren c2fb9f06ad Refactoring RlpValue => Value 2014-02-13 15:12:16 +01:00
obscuren 67de76c217 Put leveldb 2014-02-11 20:09:58 +01:00
obscuren 02acef23d5 Interop! 2014-02-11 18:46:28 +01:00
obscuren 5a83114efd Seed bootstrapping added 2014-02-10 20:59:31 +01:00
obscuren 0ae6a38825 Database 2014-02-10 16:04:57 +01:00
obscuren 8ab6c53231 Reversed back 2014-02-10 13:59:05 +01:00
obscuren 156495732b level db back in 2014-02-10 01:10:02 +01:00
obscuren 0de31a3898 Fixed self connect through public key discovery.
Bumped protocol version number
2014-02-09 23:34:33 +01:00
obscuren 1f7b13ff4e Switched over to leveldb instead of memdb 2014-02-08 21:02:09 +01:00
obscuren 9e9b7a520e Do not quit if upnp fails 2014-02-03 17:26:37 +01:00
obscuren f4a96ca588 Removed the seed peer option from start 2014-02-02 19:46:37 +01:00
obscuren 48b41862ef UPnP Support 2014-02-02 19:44:47 +01:00
obscuren 3f503ffc7f Implemented support for UPnP 2014-02-02 19:22:39 +01:00
obscuren ae0d4eb7aa removed upnp 2014-02-02 16:29:13 +01:00
obscuren cb8a7d979d upnp test 2014-02-02 16:15:39 +01:00
obscuren b70fe3a9be Reverted back to messages 2014-02-02 01:39:06 +01:00
obscuren dfa778fed6 UPNP wip 2014-02-01 21:30:54 +01:00
obscuren 8c09602a8b Self connect 2014-01-31 13:03:13 +01:00
obscuren da66eddfcc Get peers returns now both in and outbound peers 2014-01-31 11:57:56 +01:00
obscuren dfa38b3f91 Peer connection checking 2014-01-31 11:18:10 +01:00
obscuren 36f221dbe7 Don't connect to peers that are already connected 2014-01-31 01:12:48 +01:00
obscuren 7f100e9610 Self connect detect 2014-01-31 00:56:32 +01:00
obscuren 7ccf51fd30 Updated seed peers 2014-01-30 23:48:52 +01:00
obscuren 4a82230de5 Switched port and removed logging 2014-01-27 22:13:46 +01:00
obscuren 884f792871 Removed default connection 2014-01-27 15:34:50 +01:00
obscuren 1b7cba1878 Updated peers 2014-01-24 17:48:21 +01:00
obscuren 233f5200ef Data send over the wire shouldn't be RLPed more then once 2014-01-23 22:32:50 +01:00
obscuren 2b32f47d2c Initial commit bootstrapping package 2014-01-23 20:14:01 +01:00