Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cache ¶
type Cache struct { // Flush at EndBlock Transactions []*types.Transaction // persist in memory LatestTicker map[string]*types.Ticker }
Cache defines struct to store data in memory
func (*Cache) AddTransaction ¶
func (c *Cache) AddTransaction(transaction []*types.Transaction)
AddTransaction append transaction to cache Transactions
Click to show internal directories.
Click to hide internal directories.