mirror of
https://github.com/nspcc-dev/dbft.git
synced 2026-03-01 04:28:38 +00:00
Refactor dBFT APIs #12
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @AnnaShaleva on GitHub (Nov 17, 2023).
Is your feature request related to a problem? Please describe.
Some of dBFT APIs are not used since
WithNewBlockFromContextaddition. E.g.WithGetConsensusAddressalways returns an empty address in NeoGo.Describe the solution you'd like
We need to review all unused dBFT APIs and remove them.
@AnnaShaleva commented on GitHub (Mar 4, 2024):
Also implement https://github.com/nspcc-dev/dbft/pull/97#issuecomment-1973841163.
@roman-khimov commented on GitHub (Mar 4, 2024):
That's mostly about setters, we want some set of
New*and then interface would just expose the data todbft. Setters are useless here, we never change these values except for initialization of a new payload (either generated one to send or received from the network).