func (c *MemoryCollector) StoreTxValid(event *events.ValidTx) error {
	return nil
}
StoreTxValid stored tx validity event. currently commented out because not used.
package collector
import (
	"sync"
	"github.com/spacemeshos/go-spacemesh/common/types"
	"github.com/spacemeshos/go-spacemesh/events"
)
type MemoryCollector struct {
	events                 map[events.ChannelID][]Event
	doneCreatingBlockEvent map[uint32][]*events.DoneCreatingBlock
	doneCreatingAtxEvent   map[uint32][]*events.AtxCreated
	createdAtxs            map[uint32][]string
	gotBlockEvent          map[uint32][]*events.NewBlock
	gotAtxEvent            map[uint32][]*events.NewAtx
	Atxs                   map[string]uint32
	tortoiseBeacons        map[types.EpochID][]string
	lck sync.RWMutex
}
func NewMemoryCollector() *MemoryCollector {
	return &MemoryCollector{
		events:                 make(map[events.ChannelID][]Event),
		doneCreatingBlockEvent: make(map[uint32][]*events.DoneCreatingBlock),
		doneCreatingAtxEvent:   make(map[uint32][]*events.AtxCreated),
		gotBlockEvent:          make(map[uint32][]*events.NewBlock),
		gotAtxEvent:            make(map[uint32][]*events.NewAtx),
		Atxs:                   make(map[string]uint32),
		createdAtxs:            make(map[uint32][]string),
		tortoiseBeacons:        make(map[types.EpochID][]string),
	}
}
type Event interface {
	GetChannel() events.ChannelID
}
func (c *MemoryCollector) StoreBlock(event *events.NewBlock) error {
	c.lck.Lock()
	c.events[event.GetChannel()] = append(c.events[event.GetChannel()], event)
	c.gotBlockEvent[event.Layer] = append(c.gotBlockEvent[event.Layer], event)
	c.lck.Unlock()
	return nil
}
func (c *MemoryCollector) StoreBlockValid(event *events.ValidBlock) error {
	return nil
}
func (c *MemoryCollector) StoreTx(event *events.NewTx) error {
	return nil
}