Commit Graph

224 Commits

Author SHA1 Message Date
obscuren 46a496428f ugh 2014-09-23 18:19:51 +02:00
obscuren 6800c3665a Re-added min gas price check on tx pool 2014-09-23 17:55:34 +02:00
obscuren 9ed5b4d90e Support C++ GetBlockHash by assuming empty = done 2014-09-22 16:28:28 +02:00
obscuren f3a93b046e Upped protocol version for VM change 2014-09-18 01:02:15 +02:00
obscuren a26c479182 Added len 2014-09-17 15:58:02 +02:00
obscuren 1549a29c9d Connect to previous peer 2014-09-16 16:36:27 +02:00
obscuren 399256b384 VM execution fixes
Refactoring caused executing issues
2014-09-15 22:11:05 +02:00
obscuren 33a0dec8a1 Improved catching up and refactored 2014-09-15 15:42:12 +02:00
obscuren 2f614900e8 Updated GHOST 2014-09-15 01:11:01 +02:00
obscuren 74ef22d824 add it to the list 2014-09-14 14:30:33 +02:00
obscuren 86d1a26b13 fixed status message 2014-09-14 14:09:46 +02:00
obscuren 742a9b00bc tmp 2014-09-14 13:47:29 +02:00
obscuren 9e89dacc64 log removed 2014-09-14 13:42:13 +02:00
obscuren f63cb27803 tmp 2014-09-14 13:42:02 +02:00
obscuren c0187930dc Removed some commented code 2014-09-10 11:39:11 +02:00
obscuren 2f362509b8 New p2p protocol. NOTE: Needs major refactoring. See #50 2014-09-10 11:22:19 +02:00
obscuren 93008e279d Removed old chain code 2014-08-22 10:58:14 +02:00
obscuren a289a77d5d DUP n SWAP n 2014-08-21 18:15:09 +02:00
obscuren c44f4f32fe Re-enabled catching up flag 2014-08-21 14:52:21 +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 42d2bc28af Upped protocol version 2014-08-09 18:10:11 +01:00
obscuren 7272577fe6 Added dns lookup 2014-08-07 15:11:54 +02:00
obscuren 5ede1224e4 minor rlp things 2014-08-01 10:21:43 +02:00
obscuren 42d47ecfb0 Removed peer disconnect on pong timeout. Fixes #106
This mechanism wasn't very accurate so it has been removed.
2014-07-30 11:26:38 +02:00
obscuren 27f8922653 Increased block request amount 2014-07-29 23:34:21 +02:00
obscuren d1d2b660dc Prot 2014-07-29 15:55:08 +02:00
obscuren 41bd38147c Clean up and util methods 2014-07-26 11:24:44 +02:00
obscuren 7ee49c32b7 Added update method and general service timer
* disable catching up if no block received for longer than 10 seconds
2014-07-24 17:10:54 +02:00
obscuren dcf4fad971 Networking code 2014-07-24 12:30:04 +02:00
obscuren 6d69ca36a7 Peer reconnect attempt 2014-07-24 12:25:41 +02:00
obscuren 306b5bcff3 Changed catching up code & peer handler
* Peers should be added no matter what
* Catch up with _anyone_
2014-07-24 12:11:30 +02:00
obscuren 32d125131f Refactored to new state and vm 2014-07-24 12:04:15 +02:00
obscuren 61cc2ba7d9 fixed 2014-07-18 13:00:22 +02:00
obscuren 449b9a9d68 Check if version in known + fix 2014-07-18 11:57:44 +02:00
obscuren 8820d4e5ac Decreased timeout 2014-07-15 20:36:11 +02:00
obscuren 2c46bfde8b Increased block request 2014-07-14 00:37:41 +02:00
obscuren ee3ba0b1d6 Catch up per 10 2014-07-13 17:45:39 +02:00
obscuren 639f1fd339 Log received and send to 2014-07-10 15:03:26 +02:00
obscuren 6cb35836a2 Upped protocol version number 2014-07-07 16:06:09 +02:00
obscuren ec040908e9 Protocol bump 2014-07-07 10:52:39 +02:00
zelig 90c2064640 peer constructors now set version string with ethereum.ClientIdentity().String() 2014-07-03 17:30:37 +01:00
obscuren bb2433ca1a Added quitting reason 2014-07-01 20:32:47 +02:00
zelig 89630d2826 merge upstream 2014-07-01 15:03:02 +01:00
obscuren d0959063d5 Up 2014-07-01 15:28:12 +02: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 a02edf7a93 put back extra debug detail logging to the right places using logger.DebugDetailf 2014-06-25 16:40:06 +01: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 9350ecd36f Do not keep on asking for the same chain 2014-06-23 11:24:45 +02:00
obscuren 0251fae5cc Changed loggers 2014-06-20 01:10:39 +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
Maran 22e16f15a6 Reduce peer timeout to 10 seconds 2014-06-18 10:39:42 +02:00
obscuren b836267401 .. 2014-06-16 11:13:37 +02:00
obscuren b0e023e432 Increase ping timeout to 30 seconds 2014-06-15 00:04:18 +02:00
obscuren 6d52da58d9 Logging mechanism 2014-06-14 15:44:13 +02:00
obscuren 63883bf27d Moving closer to interop 2014-06-14 11:46:09 +02:00
obscuren 8124547348 Moving a head closer to interop 2014-06-13 16:06:27 +02:00
obscuren 6593c69424 Merge branch 'develop' into interop 2014-06-12 10:07:40 +02:00
obscuren 3a9d7d318a log changes 2014-06-12 10:07:27 +02:00
obscuren 8a2e50ab2a Merge branch 'develop' into interop
Conflicts:
	peer.go
2014-06-11 21:56:59 +02:00
obscuren 9ee6295c75 Minor changes 2014-06-11 21:55:45 +02:00
Maran 1b40f69ce5 Prevent peer stop crash by removing logging 2014-06-10 14:59:38 +02:00
Maran 771f64397f Stop peers when they don't respond to ping/pong. Might fix ethereum/go-ethereum#78 2014-06-10 13:51:34 +02:00
Maran 2010fea088 Added faux latency for peeroverview 2014-06-03 10:42:55 +02:00
Maran fb6ff61730 Implemented Public Peer interface 2014-06-02 15:20:27 +02:00
obscuren f382221b28 Broadcast "peerList" event upon removing or adding peers 2014-05-30 13:04:08 +02:00
obscuren 15e0093e13 Fixed issue where the client could crash when sending malformed data 2014-05-30 11:48:23 +02:00
obscuren 8fcba0eb1e fixed test 2014-05-29 23:54:48 +02:00
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