Documentation ¶
Index ¶
- type CounterTxSystem
- func (m *CounterTxSystem) BeginBlock(_ uint64)
- func (m *CounterTxSystem) Commit()
- func (m *CounterTxSystem) ConvertTx(tx *txsystem.Transaction) (txsystem.GenericTransaction, error)
- func (m *CounterTxSystem) EndBlock() (txsystem.State, error)
- func (m *CounterTxSystem) Execute(_ txsystem.GenericTransaction) error
- func (m *CounterTxSystem) Revert()
- func (m *CounterTxSystem) State() (txsystem.State, error)
- type Summary
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CounterTxSystem ¶
type CounterTxSystem struct { InitCount uint64 BeginBlockCount uint64 EndBlockCount uint64 ExecuteCount uint64 RevertCount uint64 SummaryValue uint64 ExecuteCountDelta uint64 EndBlockCountDelta uint64 BeginBlockCountDelta uint64 // setting this affects the state once EndBlock() is called EndBlockChangesState bool }
func (*CounterTxSystem) BeginBlock ¶
func (m *CounterTxSystem) BeginBlock(_ uint64)
func (*CounterTxSystem) Commit ¶
func (m *CounterTxSystem) Commit()
func (*CounterTxSystem) ConvertTx ¶
func (m *CounterTxSystem) ConvertTx(tx *txsystem.Transaction) (txsystem.GenericTransaction, error)
func (*CounterTxSystem) Execute ¶
func (m *CounterTxSystem) Execute(_ txsystem.GenericTransaction) error
func (*CounterTxSystem) Revert ¶
func (m *CounterTxSystem) Revert()
Click to show internal directories.
Click to hide internal directories.