Jacob Payne
|
6a15100c96
|
[WIP] Rate Limiting (#57)
* Setup tests for rate limiting
* Add send and receive rate configs to P2P Config
* Setup ThrottledConnection and ThrottledWrite
* Add Tokio io
* Fix ThrottledReader + Add Bytes
* Attach Rate Limiting to Connection
|
2017-06-18 01:15:46 +02:00 |
|
Ignotus Peverell
|
7c72ccec7c
|
Cleaned up error handling in p2p module. Setting peer status on disconnect.
|
2017-02-26 20:08:40 -08:00 |
|
Ignotus Peverell
|
c0e635071c
|
Fixed p2p tests.
|
2017-02-18 18:56:07 -08:00 |
|
Ignotus Peverell
|
4af049a887
|
Added full node sync mode. Follows closely the bitcoin header-first sync. Related p2p messages and protocol.
|
2017-02-07 13:52:17 -08:00 |
|
Ignotus Peverell
|
2d81abc16c
|
Added height as part of handshake to inform syncing.
|
2017-02-02 15:51:48 -08:00 |
|
Ignotus Peverell
|
e688ff99e6
|
Started putting in place the adapter between the chain and p2p modules to forward blocks and transactions. Cleaned up chain store references.
|
2016-12-18 15:51:54 -08:00 |
|
Ignotus Peverell
|
bc61c5dae7
|
Read block and transaction messages and forward to the adapter.
|
2016-12-15 14:57:04 -08:00 |
|
Ignotus Peverell
|
19a700b81e
|
Minor fixes, testing server peer count.
|
2016-12-13 16:05:24 -08:00 |
|
Ignotus Peverell
|
4b5c010b05
|
Rewrote most of p2p code to use futures-rs instead of mioco. Need some cleanup and support for a few more message types.
|
2016-12-10 19:11:49 -08:00 |
|
Ignotus Peverell
|
632e3af8ee
|
Test for sending tx from one peer to another. Common tests module.
|
2016-11-07 14:02:45 -08:00 |
|