Robert Habermeier
7a6fa97d98
Revert "Revert "Reserved peers, reserved-only flag""
2016-06-20 14:13:33 +02:00
Robert Habermeier
3d3041d418
Revert "Reserved peers, reserved-only flag"
2016-06-20 14:09:41 +02:00
Robert Habermeier
06a3557e3e
reserved_only CLI flag
2016-06-20 12:17:06 +02:00
Robert Habermeier
2ea45134ab
prefer pinned nodes when establishing peer connections.
2016-06-19 20:58:02 +02:00
Robert Habermeier
a4dacca262
CLI option and network configuration
2016-06-19 15:59:12 +02:00
Tomasz Drwięga
81df97a737
Fixing warnings ( #1321 )
2016-06-18 15:11:10 +02:00
Arkadiy Paronyan
ec654feaf8
Syncing fix ( #1320 )
...
* Fixed aborting peer for expired session
* Don't ban for usesless
2016-06-18 15:10:24 +02:00
Arkadiy Paronyan
591fa9625d
Merge pull request #1313 from ethcore/net
...
Network start/stop
2016-06-18 11:04:24 +02:00
Arkadiy Paronyan
29e286572c
Fixed loosing peers on incoming connections. ( #1293 )
...
* Deactivate peer if it has no new data
* Fixed node table timer registration
* Fixed handshake timeout expiration
* Extra trace
* Fixed session count calculation
* Only deactivate incapable peers in ChainHead state
* Timer registration is not needed
2016-06-18 10:52:46 +02:00
arkpar
fc60ed92e6
Removed info
2016-06-17 18:28:19 +02:00
arkpar
c340d8a34f
Tests
2016-06-17 18:26:54 +02:00
arkpar
67ffac1df9
Check for session expiration on peer registration
2016-06-17 16:01:33 +02:00
arkpar
b38488dd07
Network shutdown
2016-06-17 12:58:28 +02:00
Arkadiy Paronyan
71131c41e5
Security audit issues fixed ( #1279 )
...
* Restrict network key file permissions
* Check for overflow in str to bigint conversion
* RLP decoder overflow check
2016-06-15 00:58:08 +02:00
arkpar
8c7bcdafdb
Continue reading session data in the same iteration if available
2016-06-13 20:57:04 +02:00
Arkadiy Paronyan
6b12334136
Windows build ( #1253 )
...
* Networking refactoring
* Fixed typo
* Trace logging
* Updated dependencies for windows build
* Windows fixes
* use mio 0.5
* nix build
* Windows build fix
* style
* removed unused import
* ipc crate version bump
* ipc config for named pipes
* tweaks and fixes
* tweaks and fixes
* final version bump
* Fixed tests
* Disable color output on windows
* Added missing doc
2016-06-13 18:55:24 +02:00
Tomasz Drwięga
3905717d5d
Fixing warnings
2016-06-03 11:36:30 +02:00
Arkadiy Paronyan
8596a347ea
Networking refactoring ( #1172 )
...
* Networking refactoring
* Make sure the same socket is reused
* Safer atomic ordering
* Replaced eq with ==
2016-06-02 11:49:56 +02:00
Marek Kotewicz
bf46531372
Merge pull request #1116 from rphmeier/die_display
...
Have `die_with_error` use `fmt::Display` rather than Debug
2016-05-24 20:00:50 +02:00
Tomasz Drwięga
256557d3cc
Removing warnings
2016-05-23 11:46:01 +02:00
Robert Habermeier
b0452cf309
add DIsplay impl for ExecutionError, CryptoError, and NetworkError
2016-05-20 18:12:51 -04:00
arkpar
9836c79962
Fixed connecting to local nodes on startup
2016-05-11 00:08:35 +02:00
Arkadiy Paronyan
c34e3535e0
Net etiquette: Track useless peers, Send out disconnect packet ( #1028 )
2016-05-02 14:48:30 +02:00
Tomasz Drwięga
85da55a537
Fixing warnings
2016-04-06 10:55:40 +02:00
arkpar
67d04c5952
Fixed bootnode URL and error message
2016-04-02 19:01:41 +02:00
NikVolf
f9c0e0c152
removed from util
2016-03-26 19:08:06 +03:00
arkpar
6e9ea76aab
Auto detect available port
2016-03-20 16:21:49 +01:00
Arkadiy Paronyan
2ec40604d9
Revert "Auto detect available port"
2016-03-20 12:12:58 +01:00
arkpar
cabccf9ef5
Test URL logged
2016-03-19 22:19:59 +01:00
arkpar
da027e93cf
Auto detect available port
2016-03-19 21:00:05 +01:00
Tomasz Drwięga
e58ec31e20
Fixing warnings
2016-03-18 10:14:19 +01:00
arkpar
b9b0444662
Trace sending to unconfirmed session
2016-03-15 11:20:19 +01:00
arkpar
c8b65c769b
Fixed handshake leak
2016-03-14 13:54:06 +01:00
arkpar
d3c1b5455b
Silenced UDP warnings
2016-03-14 10:25:04 +01:00
arkpar
615e03542e
Use slice.chunks
2016-03-14 00:41:25 +01:00
arkpar
45c3600d5a
Fixed splitting Neighbours packet
2016-03-13 23:20:26 +01:00
Marek Kotewicz
70624f816a
Merge pull request #693 from ethcore/network
...
Limit incoming connections
2016-03-13 10:11:42 +01:00
arkpar
361280a9be
Limit incoming connections
2016-03-12 19:52:37 +01:00
Tomasz Drwięga
4b6e1dd4d2
Fixing warnings
2016-03-12 10:25:51 +01:00
Tomasz Drwięga
f724cab92d
Merge branch 'master' into updating_clippy
...
Conflicts:
ethcore/src/lib.rs
sync/src/chain.rs
sync/src/lib.rs
util/src/keys/store.rs
util/src/lib.rs
2016-03-11 19:17:09 +01:00
Tomasz Drwięga
d84e008e00
Removing superflous check for nightly
2016-03-11 11:16:49 +01:00
Tomasz Drwięga
8709dd28f8
Fixing clippy warnings
2016-03-11 10:58:51 +01:00
Tomasz Drwięga
cbc2c0cf0c
Fixing clippy warnings. When building on nightly it is required to enable clippy
2016-03-07 14:34:17 +01:00
arkpar
003d1fd0cc
Network tracing improvements
2016-03-05 23:32:38 +01:00
arkpar
182aec2f94
Fixed potential deadlock on startup
2016-03-04 22:01:36 +01:00
Tomasz Drwięga
212aac42bd
Removing clippy warnings
2016-02-29 23:09:51 +01:00
Gav Wood
22a2de971b
Merge pull request #498 from ethcore/eip8
...
EIP-8
2016-02-27 17:49:11 +01:00
arkpar
4bdd5267b0
Ack size test
2016-02-27 16:44:47 +01:00
arkpar
e6bab014d1
Fixed outgoing ack size
2016-02-27 16:40:22 +01:00
Gav Wood
faa6347896
Update handshake.rs
2016-02-27 15:07:21 +01:00