Categorygithub.com/jchavannes/bitcoincash-wallet
modulepackage
0.3.0
Repository: https://github.com/jchavannes/bitcoincash-wallet.git
Documentation: pkg.go.dev

# README

Bitcoin Cash Wallet

This is a fork of https://github.com/OpenBazaar/spvwallet modfied for Bitcoin Cash. It includes a fully functional GUI wallet and CLI.

It uses stock btcd plus a few cash specific modifications found in the bchutil package.

To compile and run:

go get https://github.com/cpacia/BitcoinCash-Wallet
make install
bitcoincash

Or download a pre-compiled version from releases.

# Packages

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

# Functions

m / purpose' / coin_type' / account' / change / address_index.
EstimateSerializeSize returns a worst case serialize size estimate for a signed transaction that spends inputCount number of compressed P2PKH outputs and contains each transaction output from txOuts.
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
SumOutputSerializeSizes sums up the serialized size of the supplied outputs.
No description provided by the author
No description provided by the author
TorLookupIP uses Tor to resolve DNS via the SOCKS extension they provide for resolution over the Tor network.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
P2PKHOutputSize is the serialize size of a transaction output with a P2PKH output script.
P2PKHPkScriptSize is the size of a transaction output script that pays to a compressed pubkey hash.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
RedeemP2PKHInputSize is the worst case (largest) serialize size of a transaction input redeeming a compressed P2PKH output.
RedeemP2PKHSigScriptSize is the worst case (largest) serialize size of a transaction input script that redeems a compressed P2PKH output.
RedeemP2SH1of2MultisigInputSize is the worst case (largest) serialize size of a transaction input redeeming a compressed P2SH 2 of 3 multisig output.
RedeemP2SH1of2MultisigSigScriptSize is the worst case (largest) serialize size of a transaction input script that redeems a 1 of 2 P2SH multisig output with compressed keys.
RedeemP2SH2of3MultisigInputSize is the worst case (largest) serialize size of a transaction input redeeming a compressed P2SH 2 of 3 multisig output.
RedeemP2SHMultisigSigScriptSize is the worst case (largest) serialize size of a transaction input script that redeems a 2 of 3 P2SH multisig output with compressed keys.
RedeemP2SHMultisigTimelock1InputSize is the worst case (largest) serialize size of a transaction input redeeming a compressed p2sh timelocked multig output with using the timeout.
RedeemP2SHMultisigTimelock1SigScriptSize is the worst case (largest) serialize size of a transaction input script that redeems a compressed P2SH timelocked multisig using the timeout.
RedeemP2SHMultisigTimelock2InputSize is the worst case (largest) serialize size of a transaction input redeeming a compressed P2SH timelocked multisig output without using the timeout.
RedeemP2SHMultisigTimelock2SigScriptSize is the worst case (largest) serialize size of a transaction input script that redeems a compressed P2SH timelocked multisig without using the timeout.
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

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
ErrTorInvalidAddressResponse indicates an invalid address was returned by the Tor DNS resolver.
ErrTorInvalidProxyResponse indicates the Tor proxy returned a response in an unexpected format.
ErrTorUnrecognizedAuthMethod indicates the authentication method provided is not recognized.
No description provided by the author
No description provided by the author

# Structs

Wrapper around Headers implementation that handles all blockchain operations.
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
HeaderDB implements Headers using bolt DB.
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

# Interfaces

Database interface for storing block headers.

# Type aliases

No description provided by the author
No description provided by the author