shared

package
Version: v0.0.0-...-b1bd2f5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 7, 2019 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildTransaction

func BuildTransaction(accountID, networkPassphrase string, operation, memo interface{}) (transaction *xdr.Transaction, err error)

BuildTransaction is used in compliance server. The sequence number in built transaction will be equal 0!

func IsValidAccountID

func IsValidAccountID(accountID string) bool

IsValidAccountID returns true if account ID is valid

func IsValidAssetCode

func IsValidAssetCode(code string) bool

IsValidAssetCode returns true if asset code is valid

func IsValidSecret

func IsValidSecret(secret string) bool

IsValidSecret returns true if secret is valid

func TransactionHash

func TransactionHash(tx *xdr.Transaction, networkPassphrase string) ([32]byte, error)

TransactionHash returns transaction hash for a given Transaction based on the network

Types

This section is empty.

Source Files

Directories

Path Synopsis
http
Contains structs shared between bridge and compliance servers
Contains structs shared between bridge and compliance servers

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL