Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNoSignatures = errors.New("transaction has no signatures")
View Source
var ErrTransactionAlreadyBurned = errors.New("transaction is already burned")
View Source
var ErrTransactionAlreadyMinted = errors.New("transaction is already minted")
View Source
var ErrTransactionAlreadyRefunded = errors.New("transaction is already refunded")
Functions ¶
This section is empty.
Types ¶
type Blockheight ¶
type BridgeConfig ¶
type BridgeConfig struct {
TfchainURL string
TfchainSeed string
RescanBridgeAccount bool
PersistencyFile string
StellarConfig
}
type ChainPersistency ¶
type ChainPersistency struct {
// contains filtered or unexported fields
}
func InitPersist ¶
func InitPersist(location string) (*ChainPersistency, error)
func (*ChainPersistency) GetHeight ¶
func (b *ChainPersistency) GetHeight() (*Blockheight, error)
func (*ChainPersistency) Save ¶
func (b *ChainPersistency) Save(blockheight *Blockheight) error
func (*ChainPersistency) SaveHeight ¶
func (b *ChainPersistency) SaveHeight(height uint32) error
func (*ChainPersistency) SaveStellarCursor ¶
func (b *ChainPersistency) SaveStellarCursor(cursor string) error
type StellarConfig ¶
type StellarSignature ¶
Click to show internal directories.
Click to hide internal directories.