Commit Graph

10 Commits

Author SHA1 Message Date
Luke Parker
c13e0c75ae Move more code into block.rs
Introduces type-aliases to obtain Data/Message/SignedMessage solely from 
a Network object.

Fixes a bug regarding stepping when you're not an active validator.
2022-11-13 18:11:09 -05:00
Luke Parker
2f3bb88744 Rename Round to RoundNumber 2022-11-12 10:52:39 -05:00
Luke Parker
e2e7a70f1e Clean up time code in tendermint-machine 2022-11-12 07:12:05 -05:00
Luke Parker
b53759c6ec Have the machine respond to advances made by an external sync loop 2022-11-12 05:35:41 -05:00
Luke Parker
43b43bdbd9 Support running TendermintMachine when not a validator
This supports validators who leave the current set, without crashing 
their nodes, along with nodes trying to become validators (who will now 
seamlessly transition in).
2022-11-11 06:04:37 -05:00
Luke Parker
fffb7a6914 Separate the block processing time from the latency 2022-11-11 05:42:13 -05:00
Luke Parker
56a21ca6a6 Use futures mpsc instead of tokio 2022-11-08 21:14:03 -05:00
Luke Parker
f3e177109d Reduce Arcs in TendermintMachine, split Signer from SignatureScheme 2022-11-02 21:04:26 -04:00
Luke Parker
2947ef08e3 Make sign asynchronous
Some relation to https://github.com/serai-dex/serai/issues/95.
2022-11-01 15:10:50 -04:00
Luke Parker
66f7663cb2 Redo Tendermint folder structure 2022-10-27 06:33:58 -04:00