Commit Graph

  • b99b2c446c Precompiled contract & Depth change obscuren 2015-01-05 17:37:30 +01:00
  • 04c0f7e15c cmd/rlpdump: add license header and synopsis Felix Lange 2015-01-05 17:38:39 +01:00
  • 128d417f47 protocol update about call depth CJentzsch 2015-01-05 17:26:11 +01:00
  • d001479a47 unclean shutdown for now obscuren 2015-01-05 17:15:25 +01:00
  • f16810c48e added shh back in obscuren 2015-01-05 17:12:52 +01:00
  • 66b05433b6 Merge branch 'ethersphere-eth.blockpool' into poc8 obscuren 2015-01-05 17:12:19 +01:00
  • 6dd253f564 Merge remote-tracking branch 'upstream/poc8' into kademlia zelig 2015-01-05 16:10:56 +00:00
  • 6abf8ef78f Merge obscuren 2015-01-05 17:10:42 +01:00
  • b907a5d765 cmd/rlpdump: new helper command Felix Lange 2015-01-05 13:30:58 +01:00
  • 0ace267c4f clear random tests due to protocol changes CJentzsch 2015-01-05 13:37:01 +01:00
  • a05f02b438 fix transaction encoding zelig 2015-01-05 11:54:37 +00:00
  • b0854fbff5 BlockManager => BlockProcessor obscuren 2015-01-05 11:22:02 +01:00
  • 2a1a5446be Merge 871dc14266021198a7fd5eaf3d8cca0d684c2d71 into 08b03afa4bb3a40d2faf6543bc884a8ece5be2a1 Viktor Trón 2015-01-05 07:04:05 +00:00
  • 871dc14266 remove debug log line zelig 2015-01-05 07:04:00 +00:00
  • fbb72c893c cleanup debug logs, put most debug as debugdetail zelig 2015-01-05 06:56:14 +00:00
  • 3eeb3cd156 fix run called without args zelig 2015-01-05 06:53:03 +00:00
  • 40f54da680 add README to integration testing zelig 2015-01-05 06:52:37 +00:00
  • 3e0cf8779d clean up debug logger in protocol zelig 2015-01-05 05:54:45 +00:00
  • 8477815ad2 added tests for several simultaneous mining nodes while downloading zelig 2015-01-05 05:52:39 +00:00
  • aec5c3857f fix iterator passed when singleton blockHash added when new block arrives zelig 2015-01-05 05:46:51 +00:00
  • 81f8372611 add TD encoding for mined block for newBlockMsg zelig 2015-01-05 05:33:42 +00:00
  • e39273ef50 remove debug logging zelig 2015-01-05 05:31:42 +00:00
  • de2089158a fix new block broadcast - was wrong subscription zelig 2015-01-05 04:58:34 +00:00
  • eb7db451ba add 12k chain test (chain not checked in) zelig 2015-01-05 04:31:40 +00:00
  • 04754ab944 add debug logging to peers in integration test zelig 2015-01-05 04:30:59 +00:00
  • 4f1f021ede add peer switch back integration test 02 zelig 2015-01-05 04:06:56 +00:00
  • 2391eef7d6 add result blockchain to test 01 zelig 2015-01-05 04:06:23 +00:00
  • 05f122fec5 add common js to test with sleep func zelig 2015-01-05 04:05:45 +00:00
  • 89763b33a7 optimize section reactivation zelig 2015-01-05 04:03:57 +00:00
  • 1278173372 set lastMissing count to depth, so that a reinitialised section connected to the blockchain triggers insertChain even if section completes - wow zelig 2015-01-05 03:20:01 +00:00
  • 5720bc6e2f complete sections on activate chain loop - no longer blocks on complete section. - reworked complete section signaling with channel closing instead of locking - make connect to blockchain safe by checking closed channel , zelig 2015-01-05 02:18:46 +00:00
  • a4c9a99494 add dial bool flag to prevent test nodes from dialing out (maxpeers not enough, cos server dialloop steals first slot for dialing) zelig 2015-01-05 01:06:34 +00:00
  • 38edc428eb integration tests - regenerate chains consistently - separate peer (nodial, maxpeer 1, loglevel 0) and test_node - improve scripts, clean up code - include js file, define sleep function - add 02 zelig 2015-01-05 01:00:23 +00:00
  • 251f37e589 restore loopback check for self address for peersMsg zelig 2015-01-05 00:59:11 +00:00
  • c1dee15144 BlockManager => BlockProcessor obscuren 2015-01-05 00:18:44 +01:00
  • 28ba7dd68e Merge pull request #3 from fjl/rlp-error-context Viktor Trón 2015-01-04 22:49:57 +00:00
  • c40eebcfd2 rlp: display even more type context in decode errors Felix Lange 2015-01-04 23:41:24 +01:00
  • 0bd94fcbed Merge pull request #2 from fjl/debug-decode Viktor Trón 2015-01-04 22:09:01 +00:00
  • 68335e8aac p2p: print message code alongside decoding errors Felix Lange 2015-01-04 22:55:50 +01:00
  • 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 +00:00
  • bc59160b77 fix p2p tests broken due to clientId.pubkey now []byte zelig 2015-01-04 16:18:35 +00:00
  • 8dc0888718 ethlogger -> logger zelig 2015-01-04 16:04:33 +00:00
  • 5d957e6d9a merge zelig 2015-01-04 16:02:15 +00:00
  • e54bb4e68b eth logger imported consistently as ethlogger zelig 2015-01-04 15:25:33 +00:00
  • 2916e3a287 give moer time to network test 01 zelig 2015-01-04 14:47:11 +00:00
  • 362189f85d eth: fix message decoding for working EncodeMsg Felix Lange 2015-01-04 00:21:14 +01:00
  • a7c9534512 p2p: remove debugging printf calls Felix Lange 2015-01-04 00:14:56 +01:00
  • 1869e5fd7a p2p: encode peerAddr.IP as RLP string Felix Lange 2015-01-04 00:13:44 +01:00
  • 50c03756ca eth, p2p: fix EncodeMsg Felix Lange 2015-01-04 00:12:55 +01:00
  • ca719a2711 switch off whisper for tests zelig 2015-01-03 20:49:05 +00:00
  • b44289ec12 add shh command line option to switch on/off whisper zelig 2015-01-03 16:34:33 +00:00
  • c2184512bb fix getPeerMsg/peerMsg RLP encode/decode, logs. tests pass zelig 2015-01-03 14:57:31 +00:00
  • 43877af5b5 added test for getPeerMsg/peerMsg - FAILS zelig 2015-01-03 14:25:14 +00:00
  • 50f8ae81a1 move PeerList from protocol to peer, add debug logs (temporary) zelig 2015-01-03 14:00:04 +00:00
  • 5f1bce095d added test for getPeerMsg/peerMsg - FAILS zelig 2015-01-03 13:59:18 +00:00
  • b63ca7a01a fix block pointer in AddBlock arg zelig 2015-01-03 13:57:57 +00:00
  • a77468bddd fix block rlp decoding zelig 2015-01-03 13:57:04 +00:00
  • 74f4456ccf fix block rlp decode zelig 2015-01-03 10:21:08 +00:00
  • f91a39e43c automated integration tests for eth protocol and blockpool zelig 2015-01-03 09:41:01 +00:00
  • b356a9fb64 make id string only 8byte long for readable logs zelig 2015-01-03 09:37:12 +00:00
  • 0e5e7eb310 fix rlp for blocksMsg and getBlocksMsg in eth protocol zelig 2015-01-03 05:25:55 +00:00
  • 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 +00:00
  • 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 +00:00
  • b768d14620 fix TestPeerSwitchBack test zelig 2015-01-03 03:39:44 +00:00
  • 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 +00:00
  • 340eac708c fix getBlockHashesMsg decoder (flat, see peer disconnect msg decoding) + add msg logging to rlp decode errors zelig 2015-01-03 00:11:50 +00:00
  • 81fe46897c for blockpool logging peer id is fmt.Sprintf("%x", peer.Identity().Pubkey()) zelig 2015-01-02 22:39:37 +00:00
  • f129798a77 add some logging to server dialout and ignored peer suggestion zelig 2015-01-02 20:33:58 +00:00
  • 470812464e jsre executes js file AFTER ethereum starts (allows scripted add peer without wait, etc) zelig 2015-01-02 20:32:43 +00:00
  • d82df7e30f if port is empty string, no listening zelig 2015-01-02 18:54:59 +00:00
  • 4757aa0c2e typo zelig 2015-01-02 17:17:50 +00:00
  • 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 +00:00
  • febd1d779b major rewrite and simplification using minimal locking. add many new tests, test comments zelig 2015-01-02 00:31:13 +00:00
  • 16f64fd523 logger rename zelig 2015-01-02 00:29:28 +00:00
  • 5399fced47 add status msg error tests, improve test setup zelig 2015-01-02 00:28:51 +00:00
  • a49243d5ef ProtocolError -> self.protoError zelig 2015-01-02 00:27:06 +00:00
  • cde204401b fix protocol error message memoization zelig 2015-01-02 00:24:46 +00:00
  • 987119cd4a Merge branch 'poc8' into docbranch obscuren 2015-01-04 14:39:15 +01:00
  • 08b03afa4b Version bump obscuren 2015-01-04 14:28:08 +01:00
  • 09841b1c9b Cleaned up some of that util obscuren 2015-01-04 14:20:16 +01:00
  • 1531915087 Merge pull request #1 from fjl/fix-encode-msg Viktor Trón 2015-01-03 23:46:55 +00:00
  • 2ef85b4d82 eth: fix message decoding for working EncodeMsg Felix Lange 2015-01-04 00:21:14 +01:00
  • 3ce2a44053 p2p: remove debugging printf calls Felix Lange 2015-01-04 00:14:56 +01:00
  • e771873980 p2p: encode peerAddr.IP as RLP string Felix Lange 2015-01-04 00:13:44 +01:00
  • 037866dc3c eth, p2p: fix EncodeMsg Felix Lange 2015-01-04 00:12:55 +01:00
  • ba0ede1201 add shh command line option to switch on/off whisper zelig 2015-01-03 16:34:33 +00:00
  • bd0c267cbe Cleanup old code obscuren 2015-01-03 17:29:08 +01:00
  • ca1b2a1a91 Changed prev_hash to block_hash, state transition now uses vm env obscuren 2015-01-03 17:18:43 +01:00
  • 9380644db0 fix getPeerMsg/peerMsg RLP encode/decode, logs. tests pass zelig 2015-01-03 14:57:31 +00:00
  • 4249bfb7dc added test for getPeerMsg/peerMsg - FAILS zelig 2015-01-03 14:25:14 +00:00
  • 8d77976946 move PeerList from protocol to peer, add debug logs (temporary) zelig 2015-01-03 14:00:04 +00:00
  • 6d848d0e0e added test for getPeerMsg/peerMsg - FAILS zelig 2015-01-03 13:59:18 +00:00
  • 50d834d3f2 fix block pointer in AddBlock arg zelig 2015-01-03 13:57:57 +00:00
  • d50f33d183 fix block rlp decoding zelig 2015-01-03 13:57:04 +00:00
  • a3f9c35155 Merge 274124b8dc16c5cba589cdc5dd8b2eb05b60caf2 into 16f417f5af16de8f1c2c140f8b249bd989200bd3 Felix Lange 2015-01-03 13:20:47 +00:00
  • 274124b8dc p2p: add a test for base protocol peer list messages Felix Lange 2015-01-03 14:17:29 +01:00
  • 2111cb9d7b p2p: fix peer list encoding Felix Lange 2015-01-03 14:16:48 +01:00
  • 19d9cc33e4 p2p: read/write handshake concurrently Felix Lange 2015-01-03 14:15:43 +01:00
  • 1b90567546 Merge branch 'docbranch' of github.com-obscure:ethereum/go-ethereum into docbranch obscuren 2015-01-03 12:41:19 +01:00
  • 08dd3f0f20 fix block rlp decode zelig 2015-01-03 10:21:08 +00:00