Commit Graph

87 Commits

Author SHA1 Message Date
Maran
24a6d87c3f Don't handshake if there is no key yet; first start on Ethereal 2014-05-26 11:47:47 +02:00
obscuren
14787ac148 Fixed some issues connecting for interop 2014-05-22 17:33:46 +02:00
obscuren
86cf69648e Improved miner so it won't include invalid transactions 2014-05-21 13:04:40 +02:00
obscuren
0e9c8568fd Re broadcast transactions 2014-05-21 12:39:15 +02:00
obscuren
cbf221f6b7 Fixed competing block method 2014-05-21 11:42:20 +02:00
obscuren
6ef2832083 Upped prot 2014-05-20 22:45:01 +02:00
obscuren
ad51c85e5d Fixed crash 2014-05-20 19:19:53 +02:00
obscuren
b4e156e1d7 Up protocol version 2014-05-20 13:29:46 +02:00
obscuren
faa57ecaef Merge branch 'develop' of github.com-obscure:ethereum/eth-go into develop 2014-05-20 12:19:25 +02:00
Maran
12f30e6220 Refactored a lot of the chain catchup/reorg. 2014-05-20 11:50:34 +02:00
obscuren
fd19142c0d No longer store script directly in the state tree 2014-05-20 11:19:07 +02:00
obscuren
8730dfdcc2 Changed how changes are being applied to states 2014-05-17 14:07:52 +02:00
obscuren
65f570271c Fixed catching up 2014-05-14 20:50:37 +02:00
obscuren
a6b9ea05e8 Test 2014-05-14 20:36:21 +02:00
obscuren
166853aed9 Test 2014-05-14 20:35:23 +02:00
Maran
ff2cf2dacd Merge branch 'develop' of github.com:ethereum/eth-go into develop 2014-05-14 13:57:08 +02:00
Maran
3ac74b1e78 Implemented IsUpToDate to mark the node as ready to start mining 2014-05-14 13:57:04 +02:00
obscuren
f4fa0d48cb Moved keyring to ethutil & removed old methods. Implements #20 2014-05-14 13:54:40 +02:00
obscuren
0c1f732c64 Do not queue messages if the peer isn't connected (e.g. timing out) 2014-05-14 11:29:57 +02:00
Maran
52b664b0ae Removed peers from peerlist as soon as they disconnect. Might fix #13
We used to wait for the reaping timer to clean up the peerlist, not any longer
2014-05-12 16:32:21 +02:00
Maran
8fe0864680 Only accept peers if we asked for them 2014-05-12 16:09:23 +02:00
Maran
5fcbaefd0b Don't forward localhost connections over the public network 2014-05-12 15:43:10 +02:00
Maran
8b4ed8c505 Properly exchange peer capabilities between peers 2014-05-12 13:39:37 +02:00
Maran
4eb3ad192e Made the debug line for invalid peer versions dynamic 2014-05-12 12:28:56 +02:00
obscuren
e6a68f0c3a Removed debug log 2014-05-01 22:13:59 +02:00
obscuren
d2ab322267 Removed debugging log 2014-04-30 17:43:48 +02:00
obscuren
38d6b67b5c Fixed state problem 2014-04-29 12:36:27 +02:00
Maran
782910eaa7 Small tweaks 2014-04-01 15:54:29 +02:00
Maran
0a88010826 Merge conflicts 2014-04-01 14:20:55 +02:00
obscuren
b888652201 Added missing GetTx (0x16) wire message 2014-03-28 11:20:07 +01:00
obscuren
43cad69016 Reworked transaction constructors 2014-03-27 15:42:39 +01:00
Maran
6253d10938 initial testcode for canonical chain 2014-03-24 15:04:29 +01:00
Maran
ec6ec62dd4 Remove some xtra logs 2014-03-24 10:56:52 +01:00
Maran
97786d03d5 Merge branch 'master' into miner 2014-03-24 10:24:39 +01:00
Maran
274d5cc91c FindCanonicalChain returns true or false when we are on the Canonical chain or not 2014-03-24 10:24:06 +01:00
Maran
b52b1fca89 Initial block reorganisation code 2014-03-21 15:06:23 +01:00
Maran
ae837c4719 More mining rework 2014-03-20 11:20:29 +01:00
obscuren
344e827061 Added client string to configuration
Clients can set their own client string which will be send to connected
peers during the handshake.
2014-03-17 12:08:16 +01:00
obscuren
2b9b02812e Log 2014-03-17 11:14:00 +01:00
obscuren
b15a4985e8 Moved on to the state manager 2014-03-17 10:33:03 +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
c1d0ea7366 Updated protocol version to 7 2014-03-03 11:34:04 +01:00
obscuren
601340bd46 Fixed shutting down 2014-02-28 16:45:29 +01:00
obscuren
22e2c3429b Infof rather than infoln 2014-02-24 12:12:53 +01:00
obscuren
73b9ae9579 Updated some of the log statements to use the ethutil logger 2014-02-22 01:53:25 +01:00
Jeffrey Wilcke
531b3a96eb Merge pull request #5 from sdboyer/iotas
Idiomatic go: use iotas for const declarations
2014-02-19 11:38:02 +01:00
Sam Boyer
357b4bc14c Add comment explaining why iota is not used. 2014-02-18 17:24:44 -05:00
Sam Boyer
5adbd39946 Express bit flag constants using iota bitshift. 2014-02-18 17:20:41 -05:00
Sam Boyer
6dac014978 Fix a couple errors from go vet 2014-02-18 10:47:09 -05:00
obscuren
c7623c3165 Changed debug messages 2014-02-18 01:32:39 +01:00