Documentation ¶
Index ¶
Constants ¶
View Source
const (
BipID = 147
)
Variables ¶
View Source
var ( // WalletInfo defines some general information about a Zcash wallet. WalletInfo = &asset.WalletInfo{ Name: "Zclassic", SupportedVersions: []uint32{version}, UnitInfo: dexzcl.UnitInfo, AvailableWallets: []*asset.WalletDefinition{{ Type: walletTypeRPC, Tab: "External", Description: "Connect to zclassicd", DefaultConfigPath: dexbtc.SystemConfigPath("zclassic"), ConfigOpts: configOpts, NoAuth: true, }}, } )
Functions ¶
Types ¶
type Driver ¶
type Driver struct{}
Driver implements asset.Driver.
func (*Driver) DecodeCoinID ¶
DecodeCoinID creates a human-readable representation of a coin ID for Zcash.
func (*Driver) Info ¶
func (d *Driver) Info() *asset.WalletInfo
Info returns basic information about the wallet and asset.
func (*Driver) MinLotSize ¶
MinLotSize calculates the minimum bond size for a given fee rate that avoids dust outputs on the swap and refund txs, assuming the maxFeeRate doesn't change.
Click to show internal directories.
Click to hide internal directories.