Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ApplyDiff ¶
func ApplyDiff(ctx context.Context, source state.BeaconState, diff HdiffBytes) (state.BeaconState, error)
ApplyDiff appplies the given serialized diff to the source beacon state and returns the resulting state.
Types ¶
type HdiffBytes ¶
HdiffBytes represents the serialized difference between two beacon states.
func Diff ¶
func Diff(source, target state.ReadOnlyBeaconState) (HdiffBytes, error)
Diff computes the difference between two beacon states and returns it as a serialized HdiffBytes object.
Click to show internal directories.
Click to hide internal directories.