package
0.0.0-20200630034751-590ca12ed7fe
Repository: https://github.com/fsn-dev/crosschain-bridge.git
Documentation: pkg.go.dev
# Functions
AcceptSign call dcrm_acceptSign.
BuildDcrmRawTx build dcrm raw tx.
DoAcceptSign accept sign.
DoSign dcrm sign msgHash with context msgContext.
DoSignOne dcrm sign single msgHash with context msgContext.
GetCurNodeSignInfo call dcrm_getCurNodeSignInfo.
GetDcrmUser returns the dcrm user of specified keystore.
GetEnode call dcrm_getEnode.
GetGroupByID call dcrm_getGroupByID.
GetGroupID return dcrm group id.
GetSignGroups get sign subgroups.
GetSignNonce call dcrm_getSignNonce.
GetSignStatus call dcrm_getSignStatus.
IsSwapServer returns if this dcrm user is the swap server.
LoadKeyStore load keystore.
SetDcrmGroup set dcrm group.
SetDcrmRPCAddress set dcrm node rpc address.
SetSignGroups set sign subgroups.
SetSignPubkey set dcrm account public key.
Sign call dcrm_sign.
# Constants
DcrmToAddress used in dcrm sign and accept.
DcrmWalletServiceID to make dcrm signer.
# Variables
get dcrm sign status error.
get dcrm sign status error.
ServerDcrmUser dcrm initiator for sign.
# Structs
AcceptData accpet data.
DataEnode enode.
DataResult result.
DataResultResp result response.
GetEnodeResp enode response.
GetGroupByIDResp group response.
GroupInfo group info.
SignData sign data.
SignInfoData sign info.
SignInfoResp sign info response.
SignReply sign reply.
SignStatus sign status.