Commit Graph

225 Commits

Author SHA1 Message Date
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
obscuren e5b97fe03e Added proper error message 2014-02-16 20:33:23 +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 42123b4396 Fixed peer handling 2014-02-10 16:41:36 +01:00
obscuren 8ab6c53231 Reversed back 2014-02-10 13:59:05 +01:00
obscuren 1d26ae2dea Changed client id 2014-02-10 11:45:08 +01:00
obscuren d2edc2bbf4 Added some loggers 2014-02-10 11:36:49 +01:00
obscuren 8db7d791f0 Corrected version number in error log 2014-02-10 11:20:42 +01:00
obscuren a50b4f6b11 Forgot to bump the version 2014-02-10 01:15:14 +01:00
obscuren 3c4fb01da3 Version 3 and added added catch up 2014-02-10 01:09:12 +01:00
obscuren c00b1dd508 Self connect on handshake 2014-02-09 23:58:59 +01:00
obscuren 0de31a3898 Fixed self connect through public key discovery.
Bumped protocol version number
2014-02-09 23:34:33 +01:00
obscuren 24349bc431 Changed peer format 2014-02-08 21:02:42 +01:00
obscuren 04c00f40f0 Fixed value 2014-02-06 13:27:57 +01:00
obscuren f995f5763b Properly encode tx 2014-02-03 01:12:44 +01:00
obscuren 6292c5ad5a Transaction processing 2014-02-03 01:10:10 +01:00
obscuren a9a564c226 removed self connect log 2014-02-02 20:54:13 +01:00
obscuren 04b6e413d9 Encode caps as byte 2014-02-02 20:06:37 +01:00
obscuren aa9341570b Disconnection reasons 2014-02-02 20:00:09 +01:00
obscuren f4a96ca588 Removed the seed peer option from start 2014-02-02 19:46:37 +01:00
obscuren cb8a7d979d upnp test 2014-02-02 16:15:39 +01:00
obscuren dfa778fed6 UPNP wip 2014-02-01 21:30:54 +01:00
obscuren 8c4746a3df (un)pack addr 2014-01-31 20:01:28 +01:00
obscuren ce69334988 For the testnet always 30303 for now to make it easy 2014-01-31 13:37:16 +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 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 3e400739a7 Implemented get chain msg 2014-01-28 15:35:44 +01:00
obscuren 884f792871 Removed default connection 2014-01-27 15:34:50 +01:00
obscuren 7931c6624c Graceful shutdown of peers 2014-01-25 17:13:33 +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 878e796c0a Updated packages 2014-01-23 20:55:23 +01:00
obscuren 477e8a7a73 Rearrange packages 2014-01-23 20:16:52 +01:00
obscuren 2b32f47d2c Initial commit bootstrapping package 2014-01-23 20:14:01 +01:00
obscuren 3616080db4 Added synchronisation of transactions across remote pools 2014-01-21 23:27:08 +01:00
obscuren 09df961abb Transaction processing. Implemented sending and receiving wei 2014-01-20 23:26:32 +01:00
obscuren ee61cfcfa7 Added get peers and peers msg. 2014-01-18 00:19:29 +01:00
obscuren 5e5f386108 Renamed InOutMsg to msg 2014-01-17 17:51:40 +01:00
obscuren 87434a0941 Ping pong message 2014-01-17 17:14:59 +01:00
obscuren aed060a4ce Updated the wire protocol 2014-01-17 16:57:18 +01:00
obscuren 578b63e2b8 Some miner reports 2014-01-13 01:22:33 +01:00
obscuren 7ade1778fb Peer reaping and fake network 2014-01-12 23:46:03 +01:00
obscuren 52fb3b412c Increased buffer size 2014-01-12 23:16:33 +01:00
obscuren 39bb2c94c0 Atomic syncs on connection states 2014-01-12 22:14:19 +01:00
obscuren f78bd4d5d0 Format 2014-01-12 17:19:14 +01:00
obscuren 12c0e82703 Verion acknowledgement 2014-01-12 16:50:33 +01:00
obscuren 9571a51286 gofmt no coding standards 2014-01-11 15:27:08 +01:00
obscuren f6fa4f8879 WIP Splitting ethereum up in submodules 2014-01-10 21:18:56 +01:00
obscuren 19addcb51a Comments 2014-01-10 10:58:46 +01:00
obscuren bd0abe2a81 Updated server and peers and mining processing 2014-01-10 00:39:16 +01:00
obscuren 849408dda6 Peer handling 2014-01-09 23:15:51 +01:00