package
0.0.0-20191113032148-3606b63ab30f
Repository: https://github.com/phenixchain/devchain.git
Documentation: pkg.go.dev

# Functions

NewType new relay type.

# Constants

RelayActionAccept accept order action.
RelayActionConfirmTx confirm tx action.
RelayActionCreate relay create order action.
RelayActionRcvBTCHeaders relay rcv BTC headers by this.
RelayActionRevoke revoke order action.
RelayActionVerifyCmdTx verify tx by cli action.
RelayActionVerifyTx relayd send this tx to verify btc tx.
RelayCancel order owner cancel order.
RelayOrderBuy define relay buy order.
RelayOrderSell define relay sell order.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
RelayRevokeAccept revoke accept order.
RelayRevokeCreate revoke created order.
RelayUnlock revoke order.
var tlog = log.New("module", name)log for relay.
var tlog = log.New("module", name)log for relay.
var tlog = log.New("module", name)log for relay.
var tlog = log.New("module", name)log for relay.
var tlog = log.New("module", name)log for relay.
var tlog = log.New("module", name)log for relay.
var tlog = log.New("module", name)log for relay.

# Variables

ErrRelayBtcHeadBitsErr rcv btc header bit not correct.
ErrRelayBtcHeadHashErr btc header hash not correct.
ErrRelayBtcHeadNewBitsErr calc btc header new bits error.
ErrRelayBtcHeadSequenceErr btc header sequence not continuous.
ErrRelayBtcTxTimeErr btc tx time not reasonable.
ErrRelayCoinTxHashUsed order confirm tx has been used.
ErrRelayOrderConfirming order is confirming, not time out.
ErrRelayOrderFinished order has finished.
ErrRelayOrderNotExist relay order not exist.
ErrRelayOrderOnSell relay order on sell status.
ErrRelayOrderParamErr relay order parameter err.
ErrRelayOrderRevoked order revoked.
ErrRelayOrderSoldout order has been sold.
ErrRelayOrderStatusErr relay order status err.
ErrRelayReturnAddr relay order return addr error.
ErrRelayVerify order is verifying.
ErrRelayVerifyAddrNotFound order verify addr not found.
ErrRelayWaitBlocksErr order wait block not enough.
RelayOrderOperation buy or sell operation.
No description provided by the author
No description provided by the author
RelayX name for executor.

# Structs

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
客户只用交易hash提交, 验证需要的其他信息由relayd提供.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
RelayType relay exec type.
relayd提供验证信息.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Type aliases

No description provided by the author