Commit Graph

42 Commits

Author SHA1 Message Date
Andreas Fackler 72203fe4c9 Fix some Clippy lints; migrate to new hbbft API.
This fixes the build with the modified hbbft `Step` type, and addresses
some uncontroversial Clippy warnings. Other Clippy lints are disabled.
2018-11-08 08:47:10 -08:00
c0gent a0898ab918
Generate transactions only after each epoch has begun. 2018-11-01 08:58:47 -07:00
c0gent 41298be329
Push generated transactions together in a batch. 2018-11-01 07:16:08 -07:00
c0gent e358806491
Add 'epoch listener' registration.
Allows a 'listener' to be informed when each new epoch begins. Useful
for coordinating contribution proposal with batch output.
2018-11-01 06:52:08 -07:00
c0gent 5bce9186c0
Fix typo. 2018-10-29 16:30:36 -07:00
c0gent 440e8c2da7
Rename `push_user_contribution`. 2018-10-23 13:04:11 -07:00
c0gent a5d756d748
Add `HydrabadgerWeak`. 2018-10-23 12:00:18 -07:00
c0gent 5e4eabf787
Add `Hydrabadger::is_validator`. 2018-10-19 14:39:31 -07:00
c0gent 1898bea18c
Make `State::dhb` public, make `Hydrabadger::peers` public. 2018-10-19 14:32:54 -07:00
c0gent d1f615bd90
Make `Hydrabadger::state` public. 2018-10-17 11:09:12 -07:00
c0gent 8fe128f4b5
Add `start_epoch` to config. 2018-10-17 10:47:13 -07:00
c0gent 698bb0dffb
Rename `push_user_transaction`. 2018-10-04 09:16:46 -07:00
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 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 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 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 839a54b01f
Updates. 2018-08-02 10:11:12 -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 4dfc2f88e3
Andreas' stall fix. 2018-07-24 05:58:15 -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 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 828b20edaa
Fix peer double-outgoing-connection bug. 2018-07-22 02:29:07 -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