aboutsummaryrefslogtreecommitdiffstats
path: root/p2p
Commit message (Expand)AuthorAgeFilesLines
* p2p/nat: fix concurrent access to autodisc InterfaceFelix Lange2015-05-142-17/+63
* p2p/discover: fix out-of-bounds slicing for chunked neighbors packetsFelix Lange2015-05-142-32/+49
* fix test.subtly2015-05-141-1/+1
* Manual send of multiple neighbours packets. Test receiving multiple neighbour...subtly2015-05-142-3/+19
* UDP Interop. Limit datagrams to 1280bytes.subtly2015-05-141-1/+1
* removed redundant newlines in import blockBas van Kervel2015-05-121-1/+1
* replaced several path.* with filepath.* which is platform independentBas van Kervel2015-05-121-2/+2
* p2p: drop connections with no matching protocolsFelix Lange2015-05-082-4/+21
* p2p: use maxDialingConns instead of maxAcceptConns as dial limitFelix Lange2015-05-081-1/+1
* p2p: fix disconnect at capacityFelix Lange2015-05-084-33/+46
* p2p: increase the handshake timeout in the testsPéter Szilágyi2015-05-071-2/+2
* cmd, eth, p2p: introduce pending peer cli arg, add testsPéter Szilágyi2015-05-072-7/+148
* p2p: reduce the concurrent handshakes to 10/10 in/outPéter Szilágyi2015-05-071-2/+2
* p2p: fix dial throttling race conditionPéter Szilágyi2015-05-071-1/+1
* p2p: fix a dialing race in the throttlerPéter Szilágyi2015-05-071-1/+1
* p2p: limit the outbound dialing tooPéter Szilágyi2015-05-071-1/+11
* Merge pull request #866 from fjl/p2p-last-minuteJeffrey Wilcke2015-05-074-19/+16
|\
| * p2p: stop dialing at half the maximum peer countFelix Lange2015-05-071-1/+1
| * p2p, whisper: use glog for peer-level loggingFelix Lange2015-05-071-13/+8
| * p2p/discover: bump packet timeouts to 500msFelix Lange2015-05-071-2/+2
| * p2p/nat: less confusing error loggingFelix Lange2015-05-071-3/+5
* | fixed merge issueobscuren2015-05-074-30/+263
|\ \ | |/ |/|
| * eth, p2p: add trusted node list beside static listPéter Szilágyi2015-05-044-39/+47
| * p2p: add static node dialing testPéter Szilágyi2015-05-042-13/+108
| * p2p: correct a leftover trusted -> staticPéter Szilágyi2015-05-011-4/+4
| * eth, p2p: rename trusted nodes to static, drop inbound extra slotsPéter Szilágyi2015-05-014-46/+48
| * cmd, eth, p2p: fix review issues enumerated by FelixPéter Szilágyi2015-04-302-21/+12
| * p2p: add trust check to handshake, test privileged connectivityPéter Szilágyi2015-04-304-15/+88
| * p2p: reduce the severity of a debug logPéter Szilágyi2015-04-301-1/+1
| * cmd/geth, cmd/mist, cmd/utils, eth, p2p: support trusted peersPéter Szilágyi2015-04-302-14/+78
* | p2p/discover: new distance metric based on sha3(id)Felix Lange2015-05-066-106/+354
* | p2p/discover: track sha3(ID) in NodeFelix Lange2015-04-308-99/+166
* | p2p, p2p/discover: protocol version 4Felix Lange2015-04-302-2/+2
* | p2p/discover: new endpoint formatFelix Lange2015-04-3010-127/+158
|/
* p2p: added received at to peer messageobscuren2015-04-302-3/+5
* p2p/discover: fix api issues caused by leveldb updatePéter Szilágyi2015-04-281-4/+6
* p2p/discover: fix goroutine leak due to blocking on sync.OncePéter Szilágyi2015-04-282-13/+24
* p2p/discover: add node expirer and related testsPéter Szilágyi2015-04-273-4/+116
* p2p/discover: parametrize nodedb version, add persistency testsPéter Szilágyi2015-04-273-11/+62
* p2p/discover: drop a superfluous warningPéter Szilágyi2015-04-271-1/+1
* p2p/discover: wrap the pinger to update the node db tooPéter Szilágyi2015-04-271-4/+15
* p2p/discover: use iterator based seeding, drop old protocol testPéter Szilágyi2015-04-272-45/+118
* p2p/discover: write the basic tests, catch RLP bugPéter Szilágyi2015-04-273-8/+150
* p2p/discovery: fix issues raised in the nodeDb PRPéter Szilágyi2015-04-272-36/+32
* cmd/bootnode, eth, p2p, p2p/discover: use a fancier db designPéter Szilágyi2015-04-247-160/+277
* cmd/bootnode, eth, p2p, p2p/discover: clean up the seeder and mesh into eth.Péter Szilágyi2015-04-247-140/+157
* p2p/discovery: fix broken tests due to API updatePéter Szilágyi2015-04-242-4/+4
* p2p/discovery: use the seed table for finding nodes, auto drop stale onesPéter Szilágyi2015-04-242-5/+38
* cmd, eth, p2p, p2p/discover: init and clean up the seed cachePéter Szilágyi2015-04-244-8/+26
* p2p/discover: store nodes in leveldbFelix Lange2015-04-242-13/+73
* p2p: return zero node from Self if the server is not runningFelix Lange2015-04-221-1/+6
* p2p: make DiscReason bigger than byteFelix Lange2015-04-171-1/+1
* p2p/discover: use rlp.DecodeBytesFelix Lange2015-04-171-1/+1
* cmd/rlpdump, cmd/utils, eth, p2p, whisper: use rlp input limitFelix Lange2015-04-171-1/+2
* p2p: fix the dial timerFelix Lange2015-04-171-3/+8
* p2p: added limiter function to limit package broadcastingobscuren2015-04-141-0/+13
* p2p/discover: improve timer handling for reply timeoutsFelix Lange2015-04-141-2/+3
* p2p/discover: remove unused field Node.activeStampFelix Lange2015-04-132-16/+0
* p2p: fix unsynchronized map access during Server shutdownFelix Lange2015-04-131-0/+2
* p2p: fix yet another disconnect hangFelix Lange2015-04-131-22/+8
* p2p: fix goroutine leak when handshake read failsFelix Lange2015-04-131-1/+1
* p2p: limit number of lingering inbound pre-handshake connectionsFelix Lange2015-04-101-1/+19
* p2p: use RLock instead of Lock for pre-dial checksFelix Lange2015-04-101-10/+12
* p2p: improve disconnect signaling at handshake timeFelix Lange2015-04-104-35/+111
* p2p: don't mess with the socket deadline in Peer.readLoopFelix Lange2015-04-101-1/+0
* p2p: properly decrement peer wait group counter for setup errorsFelix Lange2015-04-101-0/+11
* p2p: fix Peer shutdown deadlocksFelix Lange2015-04-104-78/+139
* p2p: improve peer selection logicFelix Lange2015-04-101-56/+61
* p2p/discover: don't log packet contentFelix Lange2015-04-101-3/+4
* p2p/discover: make packet processing less concurrentFelix Lange2015-04-101-6/+4
* Updated loggingobscuren2015-04-073-29/+27
* p2p/discover: fix off by one error causing buckets to contain duplicatesFelix Lange2015-04-012-1/+43
* p2p/discover: implement node bondingFelix Lange2015-04-015-383/+649
* p2p/discover: add version number to ping packetFelix Lange2015-04-011-0/+8
* fix p2p/testlog_testzelig2015-03-241-5/+2
* Merge branch 'develop' into conversionobscuren2015-03-212-3/+3
|\
| * %#x => %xobscuren2015-03-202-3/+3
* | p2p: interrupt MsgPipe payload read/writeFelix Lange2015-03-191-3/+6
* | p2p: log disconnect requestsFelix Lange2015-03-191-0/+1
* | p2p: use package rlp to encode messagesFelix Lange2015-03-198-68/+64
* | p2p: export ExpectMsg (for eth protocol testing)Felix Lange2015-03-192-32/+32
|/
* Merge branch 'frontier/js' into frontier/nodeadmin.jszelig2015-03-162-5/+5
|\
| * Moved ethutil => commonobscuren2015-03-162-5/+5
* | p2p: server>discover table Self=Node exportedzelig2015-03-152-8/+12
|/
* Move MakeName to ethutilTaylor Gerring2015-03-121-9/+1
* eth, p2p: delete p2p.BlacklistFelix Lange2015-03-041-59/+0
* p2p: reject messages that cannot be written as simple RLPx framesFelix Lange2015-03-041-0/+5
* p2p: restore read/write timeoutsFelix Lange2015-03-045-37/+37
* p2p: msg.Payload contains list dataFelix Lange2015-03-047-75/+25
* p2p: verify protocol handshake node IDFelix Lange2015-03-041-0/+3
* p2p: make encryption handshake code easier to followFelix Lange2015-03-042-302/+272
* p2p/discover: add NodeID.PubkeyFelix Lange2015-03-042-0/+33
* p2p: make RLPx frame MAC 16 bytes as defined in the specFelix Lange2015-03-042-13/+19
* p2p: delete frameRWFelix Lange2015-03-042-184/+0
* p2p: use RLPx frames for messagingFelix Lange2015-03-046-50/+73
* p2p: encrypted and authenticated RLPx frame I/OFelix Lange2015-03-044-172/+197
* p2p: add basic RLPx frame I/OFelix Lange2015-03-042-0/+252
* p2p: emit JSON connect/disconnect eventsFelix Lange2015-02-201-0/+13
* p2p: initialize Server.ourHandshake before accepting connectionsFelix Lange2015-02-201-8/+9
* p2p: enable devp2p pingFelix Lange2015-02-191-11/+26
* p2p: disable encryption handshakeFelix Lange2015-02-197-313/+273
* Merge pull request #325 from fjl/deps-cleanupJeffrey Wilcke2015-02-182-4/+4
|\
| * p2p/nat: switch to github.com/huin/goupnpFelix Lange2015-02-171-3/+3
| * p2p: fix ecies dependency in testsFelix Lange2015-02-171-1/+1
* | p2p/discover: fix pending replies iterationFelix Lange2015-02-171-1/+2
|/
* Use a mutex write-lock for a write operationobscuren2015-02-151-4/+4
* Merge branch 'develop' of github.com-obscure:ethereum/go-ethereum into developobscuren2015-02-141-0/+6
|\
| * p2p: print Cap as name/versionFelix Lange2015-02-141-0/+6
* | Moved ECIES to repo & added secondary title for webviewobscuren2015-02-141-1/+1
|/
* p2p: bump devp2p protcol version to 3Felix Lange2015-02-131-1/+1
* p2p: handle disconnect before protocol handshakeFelix Lange2015-02-131-0/+7
* p2p/discover: fix race in ListenUDPFelix Lange2015-02-131-24/+17
* p2p: ensure we don't dial ourselfFelix Lange2015-02-131-1/+4
* p2p: add I/O timeout for encrytion handshakeFelix Lange2015-02-131-1/+3
* p2p: fix goroutine leak for invalid peersFelix Lange2015-02-131-6/+5
* p2p: improve read deadlinesFelix Lange2015-02-132-15/+27
* p2p/discover: map listening port using configured mechanismFelix Lange2015-02-133-15/+25
* p2p/discover: code review fixesFelix Lange2015-02-133-7/+9
* cmd/ethereum, cmd/mist, eth, p2p: use package p2p/natFelix Lange2015-02-134-478/+11
* p2p/nat: new package for port mapping stuffFelix Lange2015-02-133-0/+499
* p2p/discover: deflake UDP testsFelix Lange2015-02-094-59/+123
* cmd/ethereum, cmd/mist: add flag for discovery bootstrap nodesFelix Lange2015-02-072-3/+3
* cmd/mist, eth, javascript, p2p: use Node URLs for peer suggestionsFelix Lange2015-02-072-3/+3
* p2p: fixes for actual connectionsFelix Lange2015-02-076-29/+38
* p2p/discover: add node URL functions, distinguish TCP/UDP portsFelix Lange2015-02-078-326/+532
* p2p: integrate p2p/discoverFelix Lange2015-02-0615-1659/+1056
* p2p/discover: add some helper functionsFelix Lange2015-02-064-20/+41
* p2p/discover: new package implementing the Node Discovery ProtocolFelix Lange2015-02-064-0/+1428
* key generation abstracted out, for testing with deterministic keyszelig2015-02-062-12/+92
* fix clientidentity test after privkey removedzelig2015-02-061-6/+2
* get rid of Private Key in ClientIdentityzelig2015-02-061-5/+3
* make crypto handshake calls package level, store privateKey on peer + tests okzelig2015-02-063-87/+52
* apply handshake related improvements from p2p.crypto branchzelig2015-02-063-29/+31
* add temporary forced session token generationzelig2015-02-062-0/+8
* peer-level integration test for crypto handshakezelig2015-02-063-15/+71
* chop first byte when cryptoid.PubKeyS is set from identity.Pubkey() since thi...zelig2015-02-061-1/+11
* add initial peer level test (failing)zelig2015-02-061-1/+52
* add code documentationzelig2015-02-061-15/+47
* changes that fix it all:zelig2015-02-062-57/+146
* important fix for peer pubkey. when taken from identity, chop first format byte!zelig2015-02-061-1/+1
* add equality check for nonce and remote noncezelig2015-02-061-0/+6
* add minor comments to the testzelig2015-02-061-0/+4
* first stab at integrating crypto in our p2pzelig2015-02-063-44/+79
* integrate cryptoId into peer and connection lifecyclezelig2015-02-062-3/+33
* completed the test. FAIL now. it crashes at diffie-hellman. ECIES -> secp256k...zelig2015-02-062-43/+57
* handshake test to cryptozelig2015-02-061-1/+1
* handshake test to cryptozelig2015-02-062-2/+54
* fix crashzelig2015-02-061-22/+29
* rewrite to comply with latest speczelig2015-02-061-53/+138
* add crypto auth logic to p2pzelig2015-02-061-0/+174
* fix protocol to accomodate privkeyzelig2015-02-062-1/+14
* add privkey to clientIdentity + testszelig2015-02-062-5/+21
* initial hook for crypto handshake (void, off by default)zelig2015-02-061-0/+26
* Moved `obscuren` secp256k1-goobscuren2015-01-221-1/+1
* Moved connection errors to DebugDetail levelobscuren2015-01-191-2/+2
* p2p: improve test for peers messageFelix Lange2015-01-061-21/+43
* p2p: move peerList back into baseProtocolFelix Lange2015-01-062-23/+23
* eth, p2p: remove EncodeMsg from p2p.MsgWriterFelix Lange2015-01-065-23/+21
* Mergeobscuren2015-01-068-54/+144
* Cleaned up some of that utilobscuren2015-01-042-2/+25
* p2p: fix call to Server.removePeer (might help with #209)Felix Lange2014-12-161-7/+2
* made mist in a compilable, workable state using the new refactored packagesobscuren2014-12-151-0/+1
* Merge pull request #204 from fjl/fix-p2p-disconnectJeffrey Wilcke2014-12-157-8/+277
|\
| * p2p: add test for base protocol disconnectFelix Lange2014-12-151-0/+58
| * p2p: use an error type for disconnect requestsFelix Lange2014-12-152-2/+10
| * p2p: add MsgPipe for protocol testingFelix Lange2014-12-152-0/+140
| * p2p: improve and test eofSignalFelix Lange2014-12-122-5/+68
| * p2p: fix decoding of disconnect reason (fixes #200)Felix Lange2014-12-121-2/+2
* | Fixed testsobscuren2014-12-101-1/+1
|/
* p2p: add test for NewPeerFelix Lange2014-11-271-0/+15
* p2p: make Disconnect not hang for peers created with NewPeerFelix Lange2014-11-271-0/+1
* p2p: remove Msg.Value and MsgLoopFelix Lange2014-11-253-49/+19
* p2p: use package rlp for baseProtocolFelix Lange2014-11-254-58/+71
* p2p: use package rlpFelix Lange2014-11-253-67/+31
* p2p: API cleanup and PoC 7 compatibilityFelix Lange2014-11-2217-1902/+1665
* p2p: disable failing Server tests for nowFelix Lange2014-11-221-0/+3
* p2p: fix issues found during reviewFelix Lange2014-11-224-53/+96
* p2p: rework protocol APIFelix Lange2014-11-2214-1282/+1017
* Implemented new miner w/ ui interface for merged mining. Closes #177obscuren2014-11-073-3/+4
* all: fix rename breakageFelix Lange2014-11-011-2/+2
* initial commit of p2p packagezelig2014-10-2319-0/+3015