Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
A = 1
)
Functions ¶
func CommitEntry ¶
func CommitEntry(requests []*pb.ClientRequest)
func GetBalance ¶
Retrieve Entry with sequence number sn.
func RequestIsValid ¶
func RequestIsValid(request *pb.ClientRequest) bool
func UpdateBalance ¶
CommitEntry a decided value to the log. This is the final decision that will never be reverted. If this is the first empty slot of the log, push the Entry (and potentially other previously committed entries with higher sequence numbers) to the subscribers.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.