Commit Graph

110 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
Vladimir Komendantskiy 2c99344c66 don't use DistAlgorithm trait 2018-11-06 07:12:47 -08:00
Vladimir Komendantskiy fec4010ae8 using sender queue convenience methods 2018-11-06 07:12:47 -08:00
Vladimir Komendantskiy 9000b4d166 EncryptionSchedule updates and moved SenderQueue to hbbft/master 2018-11-06 07:12:47 -08:00
c0gent 3b0f9ca818 hbbft updates. 2018-11-06 07:12:47 -08:00
c0gent c20ce2bb53 Update tokio dep. 2018-11-06 07:12:47 -08:00
c0gent ee7282e3aa Integrate sender queue changes. 2018-11-06 07:12:47 -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 e66d708fed
Change tokio dep. source. 2018-10-29 16:35:59 -07:00
c0gent 5bce9186c0
Fix typo. 2018-10-29 16:30:36 -07:00
Andreas Fackler dd7f3fe01f Migrate to new SyncKeyGen API. 2018-10-28 09:18:25 -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
DrPeterVanNostrand 926582cd29 Switched hbbft dependency from 'cogent/hbbft tc-overflow-fix' to 'poanetwork/hbbft master'. 2018-10-17 09:41:19 -07:00
c0gent fae65ee28d
Update tokio (Fix panic in `LengthDelimitedCodec::encode`). 2018-10-16 15:10:20 -07:00
c0gent 48becddc7a
Derive `Eq` for `StateDsct`. 2018-10-15 15:13:10 -07:00
c0gent e51b8a17c0
Use latest overflow fixes (threshold_crypto). 2018-10-15 09:39:12 -07:00
c0gent 99c66abe44
Lock more dependency versions. 2018-10-12 15:04:42 -07:00
c0gent f96ab58f0c
Updates. 2018-10-12 12:56:10 -07:00
c0gent 5927daf6fa
Hbbft updates. 2018-10-04 10:19:46 -07:00
c0gent 698bb0dffb
Rename `push_user_transaction`. 2018-10-04 09:16:46 -07:00
c0gent 83dba5f6ac
Fix bincode-bytes issue. 2018-10-04 07:08:29 -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 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