shared

package
v0.0.0-...-92db8e1 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2018 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.

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