Documentation ¶
Index ¶
- Constants
- func Execute()
- type App
- func (a *App) ApplyTXs(txs []*trantorpbtypes.Transaction) error
- func (a *App) Checkpoint(_ *checkpoint.StableCheckpoint) error
- func (a *App) NewEpoch(_ tt.EpochNr) (*trantorpbtypes.Membership, error)
- func (a *App) RestoreState(_ *checkpoint.StableCheckpoint) error
- func (a *App) Snapshot() ([]byte, error)
Constants ¶
View Source
const (
TxReceiverBasePort = 20000
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type App ¶
type App struct { logging.Logger Membership *trantorpbtypes.Membership }
func (*App) ApplyTXs ¶
func (a *App) ApplyTXs(txs []*trantorpbtypes.Transaction) error
func (*App) Checkpoint ¶
func (a *App) Checkpoint(_ *checkpoint.StableCheckpoint) error
func (*App) NewEpoch ¶
func (a *App) NewEpoch(_ tt.EpochNr) (*trantorpbtypes.Membership, error)
func (*App) RestoreState ¶
func (a *App) RestoreState(_ *checkpoint.StableCheckpoint) error
Click to show internal directories.
Click to hide internal directories.