Commit Graph

2269 Commits

Author SHA1 Message Date
obscuren 01a6db9324 Added whisper debug interface + whisper fixes 2014-12-15 17:14:02 +01:00
obscuren 993280ec03 Added whisper test 2014-12-15 17:09:27 +01:00
obscuren 6ff9d5770b Added whisper handler 2014-12-15 17:09:14 +01:00
obscuren 455241debb Removed goroutine from "Run" 2014-12-15 17:09:06 +01:00
obscuren db89c3e1a3 Merge branch 'develop' into poc8 2014-12-15 16:13:08 +01:00
obscuren ef4135eabe Added topic utility functions to whisper 2014-12-15 16:12:34 +01:00
obscuren 56dac74f71 made mist in a compilable, workable state using the new refactored packages 2014-12-15 13:00:29 +01:00
obscuren c7bc684909 Moved peer helper metheds 2014-12-15 12:35:21 +01:00
obscuren 96272e19a6 removed filter manager from base 2014-12-15 12:34:06 +01:00
obscuren bd9088792b Merge branch 'develop' into ethersphere-ethp2p 2014-12-15 12:22:03 +01:00
obscuren cdb2ebbdfa Added old filter. Needs some refactoring 2014-12-15 12:17:33 +01:00
obscuren 4b5ad31b3a WIP 2014-12-15 12:07:46 +01:00
obscuren 6c168c8f22 added protocol handler 2014-12-15 12:02:48 +01:00
obscuren afc8b887ab added whisper 2014-12-15 12:01:55 +01:00
obscuren f111fc0608 WIP 2014-12-15 11:38:09 +01:00
zelig 1d959cb0ca WIP 2014-12-15 11:37:01 +01:00
obscuren c3ba4ace64 Merge branch 'poc8' into develop 2014-12-15 10:22:57 +01:00
Jeffrey Wilcke 15e46b97b4 Merge pull request #204 from fjl/fix-p2p-disconnect
p2p: fix decoding of disconnect reason
2014-12-15 10:22:35 +01:00
Felix Lange da900f9435 p2p: add test for base protocol disconnect 2014-12-15 00:28:20 +01:00
Felix Lange f0f6727778 p2p: use an error type for disconnect requests
Test-tastic.
2014-12-15 00:28:20 +01:00
Felix Lange 65e39bf20e p2p: add MsgPipe for protocol testing 2014-12-15 00:28:20 +01:00
zelig 72290f67fe resolve merge conflict hell 2014-12-14 20:57:29 +00:00
zelig 4c89d5331f adapt blockpool/backend to use pow/ezp with pow.Block for VerifyPoW func 2014-12-14 20:53:20 +00:00
zelig 61940b2275 adapt cmd/cli to new backend
- new flag nat for nat support UPNP|PMP
- new flag pmp for PMP gateway IP
- add NatType to utils/cmd to get p2p.NAT from nat type string
- obsolete usepnp flag
- get rid of IsUpToDate and sleep in miner start
- ethereum constructor takes nat type, port, maxpeer
- add pubkey arg to client identity
2014-12-14 20:52:28 +00:00
zelig e77b720ead blockmanager start/stop obsolete 2014-12-14 20:45:12 +00:00
zelig 7b39cc83cc adapt chain_manager to eth protocol interface
- add Status() to return td, currentblock hash, genesis hash
- GetChainHashesFromHash -> GetBlockHashesFromHash
2014-12-14 20:45:12 +00:00
zelig 01dc1c1394 blockpool rewritten , tests broken FIXME 2014-12-14 20:42:08 +00:00
zelig 4dfce4624d protocol
- new interface explicit backend components txPool, chainManager, blockPool
- added protoErrorDisconnect for blockpool callback (FIXME: handling peer disconnects)
2014-12-14 20:40:08 +00:00
zelig 5e4d77b2b8 initial commit for eth blockpool + test 2014-12-14 20:39:34 +00:00
zelig 2dd8f41147 eth protocol changes
- changed backend interface
- using callbacks for blockPool
- use rlp stream for lazy decoding
- use peer as logger
- add id (peer pubkey) to ethProtocol fields
- add testPeer to protocol test (temporary)
2014-12-14 20:37:07 +00:00
zelig 0add0c400f initial commit for eth-p2p integration 2014-12-14 20:34:28 +00:00
zelig e847aaca3e remove wire package 2014-12-14 20:31:43 +00:00
zelig 7d02c4fdb7 remove old ethereum/p2p related top level files 2014-12-14 20:31:43 +00:00
zelig d9b16c1197 new cli options
- nat UPNP|PMP
- gateway for PMP NAT
- obsolete usepnp
- add pubkey to client identity
2014-12-14 20:30:56 +00:00
zelig ae7c1e3e55 adapt to new backend
- eth p2p pkgs
- new Ethereum initialiser
- no caps param
- use nat type
- add NatType func to map nat type string to p2p.NAT
- add pubkey to client identity
2014-12-14 20:30:56 +00:00
zelig 50e1dcc43a import eth pkg 2014-12-14 20:30:56 +00:00
zelig d84810d89d add Status to retrieve TD, currentBlock, genesis for easy interface with eth/protocol 2014-12-14 20:30:56 +00:00
zelig 39d86a28e7 adapt to new eth pkg and p2p 2014-12-14 20:30:56 +00:00
zelig 5022a31889 add NewMinedBlockEvent 2014-12-14 20:27:06 +00:00
zelig c2af10d256 transaction pool changes
- use eventer events to broadcast transactions
- CurrentTransactions -> GetTransactions
- add AddTransactions
2014-12-14 20:27:06 +00:00
zelig b89ed8eb7b adapt javascript pkg to new backend, use SuggestPeer 2014-12-14 20:27:06 +00:00
zelig 118862f1ba adapt miner to new backend. use events to broadcast new mined blocks 2014-12-14 20:27:06 +00:00
zelig 148de1c875 adapt xeth pkg to new backend. FIXME JSPeer peer info 2014-12-14 20:27:06 +00:00
zelig 76070b4674 blockpool rewritten , tests broken FIXME 2014-12-14 20:27:06 +00:00
zelig 3308d82b23 add protocol error types specific to blockpool 2014-12-14 20:27:06 +00:00
zelig c44e025898 protocol
- new interface explicit backend components txPool, chainManager, blockPool
- added protoErrorDisconnect for blockpool callback (FIXME: handling peer disconnects)
2014-12-14 20:27:06 +00:00
zelig 02017ed0e0 initial commit for new backend (eth.Ethereum) 2014-12-14 20:27:06 +00:00
zelig 4366fdfc13 initial commit for eth blockpool + test 2014-12-14 20:27:06 +00:00
zelig d957dd2c9f eth protocol changes
- changed backend interface
- using callbacks for blockPool
- use rlp stream for lazy decoding
- use peer as logger
- add id (peer pubkey) to ethProtocol fields
- add testPeer to protocol test (temporary)
2014-12-14 20:27:06 +00:00
zelig eb5cb04aa9 no logging in error (to be refactored into p2p) 2014-12-14 20:27:05 +00:00