Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AtomicRepository ¶
type AtomicRepository struct {
// contains filtered or unexported fields
}
AtomicRepository manages the database interactions for atomic operations.
func NewAtomicTxRepository ¶
func NewAtomicTxRepository(db database.Database, codec codec.Manager, lastAcceptedHeight uint64) (*AtomicRepository, error)
NewAtomicTxRepository creates a new AtomicRepository instance
func (*AtomicRepository) GetByHeight ¶
func (a *AtomicRepository) GetByHeight(height uint64) ([]*atomic.Tx, error)
GetByHeight retrieves all atomic transactions at a given height
Click to show internal directories.
Click to hide internal directories.