Documentation
¶
Index ¶
- type Props
- type Service
- func (s Service) AddTx(tx *statechain.Transaction) error
- func (s Service) GatherPendingTransactions() ([]*statechain.Transaction, error)
- func (s *Service) GetHeadBlock() (mainchain.Block, error)
- func (s Service) GetTx(hash string) (*statechain.Transaction, error)
- func (s Service) GetTxs(hashes []string) ([]*statechain.Transaction, error)
- func (s Service) HasTx(hash string) (bool, error)
- func (s Service) Props() Props
- func (s Service) RemoveTx(hash string) error
- func (s Service) RemoveTxs(hashes []string) error
- func (s *Service) SetHeadBlock(block *mainchain.Block) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service ...
func (Service) GatherPendingTransactions ¶
func (s Service) GatherPendingTransactions() ([]*statechain.Transaction, error)
GatherPendingTransactions ...
func (*Service) GetHeadBlock ¶
GetHeadBlock ...
func (Service) GetTx ¶
func (s Service) GetTx(hash string) (*statechain.Transaction, error)
GetTx ...
func (Service) GetTxs ¶
func (s Service) GetTxs(hashes []string) ([]*statechain.Transaction, error)
GetTxs ...
Click to show internal directories.
Click to hide internal directories.