Documentation ¶
Index ¶
- type Block
- type Store
- func (s *Store) Confirms() int64
- func (s *Store) FetchTransactions() (result []*Transaction, err error)
- func (s *Store) LastBlock() int64
- func (s *Store) SaveBlock(bl *Block) error
- func (s *Store) SaveTransaction(tx *Transaction) error
- func (s *Store) SetBlock(v int64)
- func (s *Store) UpdateSeen(txs []*Transaction) error
- type Transaction
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
func (*Store) FetchTransactions ¶
func (s *Store) FetchTransactions() (result []*Transaction, err error)
FetchTransactions to response
func (*Store) SaveTransaction ¶
func (s *Store) SaveTransaction(tx *Transaction) error
SaveTransaction to store
func (*Store) UpdateSeen ¶
func (s *Store) UpdateSeen(txs []*Transaction) error
UpdateSeen for transactions
Click to show internal directories.
Click to hide internal directories.