Commit Graph

122 Commits

Author SHA1 Message Date
c0gent ebeb99b6fe
Replace qhb with dhb. 2018-10-03 20:14:04 -07:00
c0gent 778a55c73d
Sweep up some cobwebs. 2018-10-02 22:50:56 -07:00
c0gent f624c5339b
Reexport batch-related types and cease printing batch output in full. 2018-10-02 22:30:55 -07:00
c0gent 7f8a57eeff
Updates: tokio, lock hbbft version (pre-rng-change). 2018-10-02 10:30:01 -07:00
c0gent 36783a04bc
Add batch output channel. 2018-10-02 09:47:11 -07:00
c0gent f8ff1bf917
Modify status message. 2018-10-02 02:19:04 -07:00
c0gent 76766df041
Embrace the formatting overlord. 2018-09-28 06:13:31 -07:00
c0gent 40b37ef702
Add `push_user_transaction`. 2018-09-27 18:03:17 -07:00
c0gent f4e21d0d56
Add transaction type parameters everywhere. 2018-09-27 14:52:10 -07:00
c0gent 32d98fe62b
hbbft updates. 2018-09-10 12:08:55 -07:00
c0gent 748afafe46
Clean up. 2018-09-10 08:21:58 -07:00
c0gent 4a8c695a20
Don't attempt to connect to self. 2018-09-04 15:06:42 -07:00
c0gent a80d986225
Don't init logger by default, remove reactor remote. 2018-09-04 15:00:59 -07:00
c0gent 5e92945a5b
Allow `None` peer uid. 2018-09-04 14:58:55 -07:00
c0gent f1194a8247
Add reactor remote option. 2018-08-06 19:53:09 -07:00
c0gent 73def301f0
Move logging init, make remotes optional. 2018-08-06 19:02:18 -07:00
c0gent cdc7b9ac13
Actually use command line txn gen options. 2018-08-04 20:03:09 -07:00
c0gent 340d1026d2
Re-enable system allocator. 2018-08-04 18:54:30 -07:00
c0gent 4e5028ccb5
Add `with_defaults` constructor. 2018-08-03 13:52:36 -07:00
c0gent 07d4f544d7
Downgrade bincode to 0.8. 2018-08-03 06:35:15 -07:00
c0gent 839a54b01f
Updates. 2018-08-02 10:11:12 -07:00
c0gent 6173acdeb6
Verify validators. 2018-08-01 09:30:46 -07:00
c0gent 38528624f3
Add some debugging goodies. 2018-07-28 20:43:16 -07:00
c0gent 15a42e7817
Update hbbft. 2018-07-28 11:47:55 -07:00
c0gent 2fe37f399b
Use fixed crossbeam version (0.4.1).
https://github.com/crossbeam-rs/crossbeam-epoch/issues/82

https://github.com/crossbeam-rs/crossbeam/pull/184
2018-07-25 09:02:38 -07:00
c0gent 4dfc2f88e3
Andreas' stall fix. 2018-07-24 05:58:15 -07:00
c0gent cd109c2d3a
Add a few logging messages. 2018-07-23 18:10:30 -07:00
c0gent 7c67d20e73
Troubleshoot stalling bug... 2018-07-23 16:18:19 -07:00
c0gent a46236aa31
Properly queue `Ack`s until all `Part`s are handled. 2018-07-23 14:12:18 -07:00
c0gent a205332977
Add WireMessageKind::Transactions. 2018-07-23 12:34:08 -07:00
c0gent 5b236d463e
Chasing peer-add bugs. 2018-07-23 12:01:13 -07:00
c0gent 4dabdaede2
Network stalling upon new nodes. 2018-07-23 10:54:33 -07:00
c0gent 6c7253ea48
Hbbft updates, properly update `state_dsct` after promotion. 2018-07-23 10:35:34 -07:00
c0gent ad9fbac615
Add more cmd line options. 2018-07-23 09:04:10 -07:00
c0gent 6bc3efa9d7
Partially handle validator promotion. 2018-07-22 06:13:15 -07:00
c0gent 81fb4cb827
Redesign observer node instantion process using `JoinPlan`. 2018-07-22 05:22:44 -07:00
c0gent 828b20edaa
Fix peer double-outgoing-connection bug. 2018-07-22 02:29:07 -07:00
c0gent 3ad0b635e2
Expand peer state transitions. 2018-07-22 01:29:10 -07:00
c0gent 27075733d4
Initial (incomplete) observer implementation. 2018-07-21 23:51:23 -07:00
c0gent 8c5c2febaa
Add public atomic state discriminant to prevent read-locking state. 2018-07-21 10:02:49 -07:00
c0gent a8c7b930bc
More reorg./renaming. 2018-07-21 09:35:18 -07:00
c0gent 851da3a670
Major reorganization and clean-up. 2018-07-20 18:42:11 -07:00
c0gent 16d21c235f
Update `Ack` handling, redesign script. 2018-07-20 08:39:01 -07:00
c0gent 7e49ef287b
Fix keygen min count. 2018-07-20 07:08:22 -07:00
c0gent 7ad7668276
hbbft updates. 2018-07-19 17:24:06 -07:00
c0gent 9768912ae5
Reimplement message relay. 2018-07-19 16:37:28 -07:00
c0gent 6ad1fb8700
Reimplement HB creation, input and msg handling. 2018-07-19 14:15:00 -07:00
c0gent ce5098e674
Get stuck creating a `NetworkInfo`. 2018-07-18 20:51:51 -07:00
c0gent f3d9bdfb2f
Complete key generation process using revamped systems and protocols. 2018-07-18 19:04:41 -07:00
c0gent 114173b1ce
Add specialized variant for new incoming connections. 2018-07-17 20:18:51 -07:00
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