package
0.0.0-20220308083446-f387b464c92d
Repository: https://github.com/weijun-sh/gethscan-server.git
Documentation: pkg.go.dev
# Functions
AddP2shAddress add p2sh address.
AddRegisteredAddress add register address.
AddRegisteredSwap add register swap.
AddRegisteredSwapPending add register swap tx.
AddSwapHistory add.
AddSwapin add swapin.
AddSwapinResult add swapin result.
AddSwapout add swapout.
AddSwapoutResult add swapout result.
AddSwapPost add swap post success.
AddToBlacklist add to blacklist.
AddUsedRValue add used r, if error mean already exist.
FindLatestScanInfo find latest scan info.
FindLatestSwapNonce find.
FindP2shAddress find p2sh addrss through bind address.
FindP2shAddresses find p2sh address.
FindP2shBindAddress find bind address through p2sh address.
No description provided by the author
No description provided by the author
FindRegisteredAddress find register address.
FindRegisteredSwapStatus get register swap status.
FindSwap find swap.
FindSwapin find swapin.
FindSwapinResult find swapin result.
FindSwapinResults find swapin history results.
FindSwapinResultsWithStatus find swapin result with status.
FindSwapinsWithPairIDAndStatus find swapin with pairID and status in the past septime.
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.
FindSwapoutsWithPairIDAndStatus find swapout with pairID and status in the past septime.
FindSwapoutsWithStatus find swapout with status.
No description provided by the author
FindRegisteredSwapStatus get register swap status.
No description provided by the author
FindSwapResult find swap result.
FindSwapResultsToReplace find swap results to replace.
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.
No description provided by the author
GetStatusByTokenVerifyError get status by token verify error.
GetSwapHistory get.
GetSwapKey txid + pairID + bind.
GetSwapStatistics get swap statistics.
HasSession has session connected.
LoadAllSwapNonces load.
ManualManageSwap manual manage swap.
MongoServerInit int mongodb server session.
PassSwapinBigValue pass swapin big value.
PassSwapoutBigValue pass swapout big value.
QueryBlacklist query if is blacked.
RemoveFromBlacklist remove from blacklist.
RemoveRegisteredSwap remove register swap.
Reswapin reswapin.
Reswapout reswapout.
ReverifySwapin reverify swapin.
ReverifySwapout reverify swapout.
UpdateLatestScanInfo update latest scan info.
UpdateLatestSwapinNonce update.
UpdateLatestSwapNonce update.
UpdateLatestSwapoutNonce update.
No description provided by the author
No description provided by the author
UpdateRegisteredSwapStatus update register swap status.
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.
UpdateSwapPending update register swap status.
UpdateSwapPending update register swap status.
UpdateSwapPendingStatus update register swap status.
UpdateSwapPending update register swap status.
UpdateSwapResultStatus update swap result status.
UpdateSwapStatus update swap status.
# Constants
17.
swap status values.
16.
8.
14.
9.
10.
new.
swap status values.
No description provided by the author
15.
No description provided by the author
find and success post.
4 // deprecated.
0.
5.
7.
13.
6 // deprecated.
1.
12.
11.
2.
3.
# Variables
mongodb special errors.
mongodb special errors.
mongodb special errors.
mongodb special errors.
mongodb special errors.
mongodb special errors.
MgoWaitGroup wait all mongodb related task done.
No description provided by the author
# Structs
MgoBlackAccount key is address.
MgoLatestScanInfo latest scan info.
MgoLatestSwapNonce latest swap nonce.
MgoP2shAddress key is the bind address.
MgoRegisteredAddress key is address (in whitelist).
MgoRegisteredSwap key is address (in whitelist).
MgoRegisteredSwapPending key is address (in whitelist).
MgoSwap registered swap.
MgoSwapHistory swap history.
MgoSwapResult swap result (verified swap).
MgoSwapStatistics swap statistics.
MgoUsedRValue security enhancement.
SwapResultUpdateItems swap update items.
SwapStatistics rpc return struct.
# Type aliases
SwapStatus swap status.