Commit Graph

122 Commits

Author SHA1 Message Date
c0gent bacfe7daf4
Completely revamp peer connection procedure. 2018-07-17 19:10:50 -07:00
c0gent 75723138b9
Abstract uid type. 2018-07-17 15:58:48 -07:00
c0gent 63d39abb69
Refactor txn. gen. and incoming connection code. 2018-07-17 14:37:10 -07:00
c0gent 729922ad32
Add `peer` module. 2018-07-17 14:06:23 -07:00
c0gent 72bbd2ea86
Refactoring. 2018-07-17 12:52:40 -07:00
c0gent 74b9526c82
Remove `peer_out_addrs`. 2018-07-16 14:54:11 -07:00
c0gent 3410462626
Refactor Hydrabadger. 2018-07-14 14:14:11 -07:00
c0gent adb2e28a15
Differentiate between in and out bound socket addresses. 2018-07-13 16:27:46 -07:00
c0gent 2ad0cb7c1f
Establish 5-node minimum for bootstrapping. 2018-07-13 12:56:12 -07:00
c0gent 669a6a6ab0
Generate HB instance upon first incoming connection. 2018-07-12 22:39:54 -07:00
c0gent 476b2a3085
Add initial handshake protocols (pt. 1). 2018-07-12 20:25:19 -07:00
c0gent 5ebfb93b1c
Convert to 2-node minimum setup, handle connection. 2018-07-12 17:51:55 -07:00
c0gent 31e16ca533
Add network state. 2018-07-12 15:32:39 -07:00
c0gent 987aa9a7f9
Add/Remove nodes dynamically (not working). 2018-07-12 09:52:39 -07:00
c0gent c5c259109f Poll internal messages receiver. 2018-07-11 15:25:27 -07:00
c0gent c1a7bc8953 Add internal messages and channel. 2018-07-11 13:06:20 -07:00
c0gent 221cd24c07 Send correct message upon connection. 2018-07-08 16:23:10 -07:00
c0gent 4f8478ce5b Serialize custom messages over p2p connections. 2018-07-08 15:08:37 -07:00
c0gent d0f515db70 Build up network infrastructure. 2018-07-02 19:36:12 -07:00
c0gent 3c6b25882b Clean up error handling. 2018-06-30 12:29:34 -07:00
c0gent 9917915845 Adapt from hbbft example. 2018-06-30 12:00:23 -07:00
c0gent c7165e9327 Init. 2018-06-28 11:47:17 -07:00