package
0.0.0-20200630034751-590ca12ed7fe
Repository: https://github.com/fsn-dev/crosschain-bridge.git
Documentation: pkg.go.dev

# Functions

AddP2shAddress add p2sh address.
AddSwapin add swapin.
AddSwapinResult add swapin result.
AddSwapout add swapout.
AddSwapoutResult add swapout result.
FindLatestScanInfo find latest scan info.
FindP2shAddress find p2sh addrss through bind address.
FindP2shAddresses find p2sh address.
FindP2shBindAddress find bind address through p2sh address.
FindSwapin find swapin.
FindSwapinResult find swapin result.
FindSwapinResults find swapin history results.
FindSwapinResultsWithStatus find swapin result with status.
FindSwapinsWithStatus find swapin with status in the past septime.
FindSwapout find swapout.
FindSwapoutResult find swapout result.
FindSwapoutResults find swapout history results.
FindSwapoutResultsWithStatus find swapout result with status.
FindSwapoutsWithStatus find swapout with status.
FindSwapStatistics find swap statistics.
GetCountOfSwapinResults get count of swapin results.
GetCountOfSwapinResultsWithStatus get count of swapin results with status.
GetCountOfSwapinsWithStatus get count of swapins with status.
GetCountOfSwapoutResults get count of swapout results.
GetCountOfSwapoutResultsWithStatus get count of swapout results with status.
GetCountOfSwapoutsWithStatus get count of swapout with status.
GetSwapStatistics get swap statistics.
InitCollections init some tables.
MongoServerInit int mongodb server session.
RecallSwapin recall swapin.
UpdateLatestScanInfo update latest scan info.
UpdateSwapinResult update swapin result.
UpdateSwapinResultStatus update swapin result status.
UpdateSwapinStatus update swapin status.
UpdateSwapoutResult update swapout result.
UpdateSwapoutResultStatus update swapout result status.
UpdateSwapoutStatus update swapout status.
UpdateSwapStatistics update swap statistics.

# Constants

# Variables

mongodb special errors.
mongodb special errors.
mongodb special errors.
mongodb special errors.
mongodb special errors.
mongodb special errors.

# Structs

MgoLatestScanInfo latest scan info.
MgoP2shAddress key is the bind address.
MgoSwap registered swap.
MgoSwapResult swap result (verified swap).
MgoSwapStatistics swap statistics.
SwapResultUpdateItems swap update items.
SwapStatistics rpc return struct.

# Type aliases

SwapStatus swap status.