Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SBFT used the ledger and an iterator to get the last batch. This commit changes this and tries to use a "local copy" that is generally a field in the backend struct. There are two cases: - backend (System implementation) only knows about Genesis, we can assume that the last batch is one with an empty header, empty signatures and empty payload batch - backend's Deliver is called on (re)connection or at batch delivery - here we can use the argument (batch of type Batch) to update the last batch Change-Id: Ibd381347df832643a547a3b05bdc7331f4fb1382 Signed-off-by: Gabor Hosszu <gabor@digitalasset.com>
- Loading branch information