Commit graph

  • 251f37e589 restore loopback check for self address for peersMsg zelig 2015-01-05 00:59:11 +0000
  • c1dee15144 BlockManager => BlockProcessor obscuren 2015-01-05 00:18:44 +0100
  • 28ba7dd68e Merge pull request #3 from fjl/rlp-error-context Viktor Trón 2015-01-04 22:49:57 +0000
  • c40eebcfd2 rlp: display even more type context in decode errors Felix Lange 2015-01-04 23:41:24 +0100
  • 0bd94fcbed Merge pull request #2 from fjl/debug-decode Viktor Trón 2015-01-04 22:09:01 +0000
  • 68335e8aac p2p: print message code alongside decoding errors Felix Lange 2015-01-04 22:55:50 +0100
  • 51d7ab7924 peer / section interaction redone - now register peer on active chain: section.controlC now chan *peerInfo - call requestBlockHashes on this best peer - stopping sections now simply done via peer.quitC (reassigned via controlC when new best peer promoted) - now new best peer always registers on all remembered sections - simplified process start (only switchPeer function remained) - blockpool.requestBlocks now async goroutine so that peer activation (locking peersLock) cannot cause deadlock by catching section process requesting Blocks and waiting for peersLock zelig 2015-01-04 21:39:53 +0000
  • bc59160b77 fix p2p tests broken due to clientId.pubkey now []byte zelig 2015-01-04 16:18:35 +0000
  • 8dc0888718 ethlogger -> logger zelig 2015-01-04 16:04:33 +0000
  • 5d957e6d9a merge zelig 2015-01-04 16:02:15 +0000
  • e54bb4e68b eth logger imported consistently as ethlogger zelig 2015-01-04 15:25:33 +0000
  • 2916e3a287 give moer time to network test 01 zelig 2015-01-04 14:47:11 +0000
  • 362189f85d eth: fix message decoding for working EncodeMsg Felix Lange 2015-01-04 00:21:14 +0100
  • a7c9534512 p2p: remove debugging printf calls Felix Lange 2015-01-04 00:14:56 +0100
  • 1869e5fd7a p2p: encode peerAddr.IP as RLP string Felix Lange 2015-01-04 00:13:44 +0100
  • 50c03756ca eth, p2p: fix EncodeMsg Felix Lange 2015-01-04 00:12:55 +0100
  • ca719a2711 switch off whisper for tests zelig 2015-01-03 20:49:05 +0000
  • b44289ec12 add shh command line option to switch on/off whisper zelig 2015-01-03 16:34:33 +0000
  • c2184512bb fix getPeerMsg/peerMsg RLP encode/decode, logs. tests pass zelig 2015-01-03 14:57:31 +0000
  • 43877af5b5 added test for getPeerMsg/peerMsg - FAILS zelig 2015-01-03 14:25:14 +0000
  • 50f8ae81a1 move PeerList from protocol to peer, add debug logs (temporary) zelig 2015-01-03 14:00:04 +0000
  • 5f1bce095d added test for getPeerMsg/peerMsg - FAILS zelig 2015-01-03 13:59:18 +0000
  • b63ca7a01a fix block pointer in AddBlock arg zelig 2015-01-03 13:57:57 +0000
  • a77468bddd fix block rlp decoding zelig 2015-01-03 13:57:04 +0000
  • 74f4456ccf fix block rlp decode zelig 2015-01-03 10:21:08 +0000
  • f91a39e43c automated integration tests for eth protocol and blockpool zelig 2015-01-03 09:41:01 +0000
  • b356a9fb64 make id string only 8byte long for readable logs zelig 2015-01-03 09:37:12 +0000
  • 0e5e7eb310 fix rlp for blocksMsg and getBlocksMsg in eth protocol zelig 2015-01-03 05:25:55 +0000
  • eb88474d84 protocol rlp - getBlocksMsg list of hashes parsed with rlp.NewStream - blocksMsg fix lazy rlp - newBlockMsg fix flat rlp decoding zelig 2015-01-03 04:28:24 +0000
  • 60d73fa261 AddBlockHashes call uses lazy rlp decoding so it cannot be async since message is discarded by protocol zelig 2015-01-03 03:41:29 +0000
  • b768d14620 fix TestPeerSwitchBack test zelig 2015-01-03 03:39:44 +0000
  • e2b8e05a71 protocol and rlp - getBlockHashes lazy encoder NewListStream -> NewStream - need stream.List() - add logging to protocol - fix newBlockMsgData flat rlp zelig 2015-01-03 03:09:25 +0000
  • 340eac708c fix getBlockHashesMsg decoder (flat, see peer disconnect msg decoding) + add msg logging to rlp decode errors zelig 2015-01-03 00:11:50 +0000
  • 81fe46897c for blockpool logging peer id is fmt.Sprintf("%x", peer.Identity().Pubkey()) zelig 2015-01-02 22:39:37 +0000
  • f129798a77 add some logging to server dialout and ignored peer suggestion zelig 2015-01-02 20:33:58 +0000
  • 470812464e jsre executes js file AFTER ethereum starts (allows scripted add peer without wait, etc) zelig 2015-01-02 20:32:43 +0000
  • d82df7e30f if port is empty string, no listening zelig 2015-01-02 18:54:59 +0000
  • 4757aa0c2e typo zelig 2015-01-02 17:17:50 +0000
  • aae5cbc745 changes to core/types/block - add HeaderHash and ParentHeaderHash public fields to allow block mocking for blockpool tests - Hash() and ParentHash() checks these fields, if unset falls back to orig - HashNoNonce() just returns self.header.HashNoNonce() - better implement with interfaces, so this may be temporary zelig 2015-01-02 00:41:54 +0000
  • febd1d779b major rewrite and simplification using minimal locking. add many new tests, test comments zelig 2015-01-02 00:31:13 +0000
  • 16f64fd523 logger rename zelig 2015-01-02 00:29:28 +0000
  • 5399fced47 add status msg error tests, improve test setup zelig 2015-01-02 00:28:51 +0000
  • a49243d5ef ProtocolError -> self.protoError zelig 2015-01-02 00:27:06 +0000
  • cde204401b fix protocol error message memoization zelig 2015-01-02 00:24:46 +0000
  • 987119cd4a Merge branch 'poc8' into docbranch obscuren 2015-01-04 14:39:15 +0100
  • 08b03afa4b Version bump obscuren 2015-01-04 14:28:08 +0100
  • 09841b1c9b Cleaned up some of that util obscuren 2015-01-04 14:20:16 +0100
  • 1531915087 Merge pull request #1 from fjl/fix-encode-msg Viktor Trón 2015-01-03 23:46:55 +0000
  • 2ef85b4d82 eth: fix message decoding for working EncodeMsg Felix Lange 2015-01-04 00:21:14 +0100
  • 3ce2a44053 p2p: remove debugging printf calls Felix Lange 2015-01-04 00:14:56 +0100
  • e771873980 p2p: encode peerAddr.IP as RLP string Felix Lange 2015-01-04 00:13:44 +0100
  • 037866dc3c eth, p2p: fix EncodeMsg Felix Lange 2015-01-04 00:12:55 +0100
  • ba0ede1201 add shh command line option to switch on/off whisper zelig 2015-01-03 16:34:33 +0000
  • bd0c267cbe Cleanup old code obscuren 2015-01-03 17:29:08 +0100
  • ca1b2a1a91 Changed prev_hash to block_hash, state transition now uses vm env obscuren 2015-01-03 17:18:43 +0100
  • 9380644db0 fix getPeerMsg/peerMsg RLP encode/decode, logs. tests pass zelig 2015-01-03 14:57:31 +0000
  • 4249bfb7dc added test for getPeerMsg/peerMsg - FAILS zelig 2015-01-03 14:25:14 +0000
  • 8d77976946 move PeerList from protocol to peer, add debug logs (temporary) zelig 2015-01-03 14:00:04 +0000
  • 6d848d0e0e added test for getPeerMsg/peerMsg - FAILS zelig 2015-01-03 13:59:18 +0000
  • 50d834d3f2 fix block pointer in AddBlock arg zelig 2015-01-03 13:57:57 +0000
  • d50f33d183 fix block rlp decoding zelig 2015-01-03 13:57:04 +0000
  • a3f9c35155 Merge 274124b8dc into 16f417f5af Felix Lange 2015-01-03 13:20:47 +0000
  • 274124b8dc p2p: add a test for base protocol peer list messages Felix Lange 2015-01-03 14:17:29 +0100
  • 2111cb9d7b p2p: fix peer list encoding Felix Lange 2015-01-03 14:16:48 +0100
  • 19d9cc33e4 p2p: read/write handshake concurrently Felix Lange 2015-01-03 14:15:43 +0100
  • 1b90567546 Merge branch 'docbranch' of github.com-obscure:ethereum/go-ethereum into docbranch obscuren 2015-01-03 12:41:19 +0100
  • 08dd3f0f20 fix block rlp decode zelig 2015-01-03 10:21:08 +0000
  • cf93649275 automated integration tests for eth protocol and blockpool zelig 2015-01-03 09:41:01 +0000
  • 8566350936 make id string only 8byte long for readable logs zelig 2015-01-03 09:37:12 +0000
  • 621062f653 fix rlp for blocksMsg and getBlocksMsg in eth protocol zelig 2015-01-03 05:25:55 +0000
  • 72432fb164 protocol rlp - getBlocksMsg list of hashes parsed with rlp.NewStream - blocksMsg fix lazy rlp - newBlockMsg fix flat rlp decoding zelig 2015-01-03 04:28:24 +0000
  • 9ab3530df3 AddBlockHashes call uses lazy rlp decoding so it cannot be async since message is discarded by protocol zelig 2015-01-03 03:41:29 +0000
  • a7ac361c8f fix TestPeerSwitchBack test zelig 2015-01-03 03:39:44 +0000
  • 45c7944a02 protocol and rlp - getBlockHashes lazy encoder NewListStream -> NewStream - need stream.List() - add logging to protocol - fix newBlockMsgData flat rlp zelig 2015-01-03 03:09:25 +0000
  • 63bbf4571e fix getBlockHashesMsg decoder (flat, see peer disconnect msg decoding) + add msg logging to rlp decode errors zelig 2015-01-03 00:11:50 +0000
  • add19a6882 for blockpool logging peer id is fmt.Sprintf("%x", peer.Identity().Pubkey()) zelig 2015-01-02 22:39:37 +0000
  • 16f417f5af Fixed bug where logging could crash client during tx adding obscuren 2015-01-02 22:19:58 +0100
  • 5c82fdc243 Make sure that the object exists obscuren 2015-01-02 22:18:23 +0100
  • b39aaa0441 add some logging to server dialout and ignored peer suggestion zelig 2015-01-02 20:33:58 +0000
  • 53aa639c51 jsre executes js file AFTER ethereum starts (allows scripted add peer without wait, etc) zelig 2015-01-02 20:32:43 +0000
  • c610c53a9e if port is empty string, no listening zelig 2015-01-02 18:54:59 +0000
  • acc8ff3079 typo zelig 2015-01-02 17:17:50 +0000
  • 55e55826ee Changed JUMP(I) behaviour. obscuren 2015-01-02 17:35:55 +0100
  • 530953050a Updated protocol version obscuren 2015-01-02 17:35:00 +0100
  • 24f89f8bd9 Squashed commit of the following: obscuren 2015-01-02 17:33:14 +0100
  • 533531bd07 Create helper/external functions on demand (env_balance for now) Paweł Bylica 2015-01-02 17:13:09 +0100
  • 2e75a216c7 new jumpdest interpretation CJentzsch 2015-01-02 17:05:20 +0100
  • 7aab71f656 added complete exp tests CJentzsch 2015-01-02 16:55:59 +0100
  • 4dc7ee9087 Closure => Context obscuren 2015-01-02 16:14:12 +0100
  • e12fa127f4 Suicide rework Paweł Bylica 2015-01-02 16:05:59 +0100
  • 3340f4dbfc retuning gas prices of recursive bombs to test limits CJentzsch 2015-01-02 14:26:55 +0100
  • 456b5791bb more init code, systemoperations and transaction tests CJentzsch 2015-01-02 14:08:55 +0100
  • ae6e70913a Disalbe bswap constant folding Paweł Bylica 2015-01-02 14:02:30 +0100
  • e2d1d832ef added nil check obscuren 2015-01-02 13:00:25 +0100
  • d336e24dce Removed the need of having a backend for the tx pool obscuren 2015-01-02 12:26:55 +0100
  • ec30ce47af Object cache Paweł Bylica 2015-01-02 12:24:38 +0100
  • ae2c90cc28 Removed value check from tx validation obscuren 2015-01-02 12:24:36 +0100
  • 6cf61039cf Added tests for valid transactions obscuren 2015-01-02 12:18:23 +0100
  • 48d2a8b8ee Refactored tx pool and added extra fields to block obscuren 2015-01-02 12:09:38 +0100
  • 477a6d426c Added a query interface for world state obscuren 2015-01-02 12:07:54 +0100