Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type StateMachine ¶
type StateMachine struct {
// contains filtered or unexported fields
}
func NewStateMachine ¶
func NewStateMachine(db rollupdb.DB, serializer *types.Serializer) (*StateMachine, error)
func (*StateMachine) ApplyTransaction ¶
func (sm *StateMachine) ApplyTransaction(tx types.Transaction) (*types.StateUpdate, error)
func (*StateMachine) GetStateRoot ¶
func (sm *StateMachine) GetStateRoot() []byte
func (*StateMachine) GetStateSnapshot ¶
func (sm *StateMachine) GetStateSnapshot(key []byte) (*types.StateSnapshot, error)
Click to show internal directories.
Click to hide internal directories.