Documentation
¶
Index ¶
- type Validator
- func (v *Validator) Account(account identifier.Account) error
- func (v *Validator) Block(rosBlockID identifier.Block) (identifier.Block, error)
- func (v *Validator) Currency(currency identifier.Currency) (identifier.Currency, error)
- func (v *Validator) Transaction(transaction identifier.Transaction) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Validator ¶
type Validator struct {
// contains filtered or unexported fields
}
func (*Validator) Block ¶
func (v *Validator) Block(rosBlockID identifier.Block) (identifier.Block, error)
Block identifier tries to extrapolate the block identifier to a full version of itself. For now, we will always need a height. NOTE: We always pass a block identifier that in principle at least could be valid, so we will have at least a height or a hash.
func (*Validator) Currency ¶
func (v *Validator) Currency(currency identifier.Currency) (identifier.Currency, error)
func (*Validator) Transaction ¶
func (v *Validator) Transaction(transaction identifier.Transaction) error
Click to show internal directories.
Click to hide internal directories.