btc

package
v0.0.0-...-e0c6f7a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 21, 2018 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const Account = HardenedKeyStart

Account ..

View Source
const BackendHelp = "" /* 188-byte string literal not displayed */

BackendHelp ..

View Source
const Change = 0

Change ..

View Source
const EntropyBitSize = 256

EntropyBitSize ..

View Source
const HardenedKeyStart = uint32(0x80000000)

HardenedKeyStart ..

View Source
const InvalidMError = "Missing or invalid m param: it must be a positive number"

InvalidMError ..

View Source
const InvalidModeError = "Invalid mode"

InvalidModeError ..

View Source
const InvalidNError = "Missing or invalid n param: it must be a positive number"

InvalidNError ..

View Source
const InvalidNetworkError = "Invalid network"

InvalidNetworkError ..

View Source
const InvalidTokenError = "Invalid auth token"

InvalidTokenError ..

View Source
const MBiggerThanNError = "Invalid m param: it must be minor or equal to n"

MBiggerThanNError ..

View Source
const MOutOfRangeError = "Invalid M param: it must be between 1 and N (inclusive)"

MOutOfRangeError ..

View Source
const MainNet = "mainnet"

MainNet ..

View Source
const MaxMultiSigN = 7

MaxMultiSigN ..

View Source
const MinMultiSigN = 1

MinMultiSigN ..

View Source
const MissingInternalDataError = "Secret is missing internal data"

MissingInternalDataError ..

View Source
const MissingNetworkError = "Missing network"

MissingNetworkError ..

View Source
const MissingPubKeysError = "Missing public keys"

MissingPubKeysError ..

View Source
const MissingRawTxError = "Missing raw transaction to sign"

MissingRawTxError ..

View Source
const MissingTokenError = "Missing auth token"

MissingTokenError ..

View Source
const MissingWalletNameError = "Missing wallet name"

MissingWalletNameError ..

View Source
const MultiSigDefaultAddressIndex = 0

MultiSigDefaultAddressIndex ..

View Source
const MultiSigSecretCredsType = "multisig_" + SecretCredsType

MultiSigSecretCredsType ..

View Source
const MultiSigType = 1

MultiSigType ..

View Source
const MultiSigWalletAlreadyExistsError = "Multisig wallet with same name already exists"

MultiSigWalletAlreadyExistsError ..

View Source
const MultiSigWalletNotFoundError = "Multisig wallet not found"

MultiSigWalletNotFoundError ..

View Source
const NOutOfRangeError = "Invalid N param: it must be a value between 1 and 7 (inclusive)"

NOutOfRangeError ..

View Source
const NativeSegwitPurpose = HardenedKeyStart + 84

NativeSegwitPurpose ..

View Source
const PathAddress = "address/"

PathAddress ..

View Source
const PathAddressHelpDesc = ""

PathAddressHelpDesc ..

View Source
const PathAddressHelpSyn = "Returns a new receiving address for selected wallet. You must provide an authentication token"

PathAddressHelpSyn ..

View Source
const PathCreds = "creds/"

PathCreds ..

View Source
const PathCredsHelpDesc = ""

PathCredsHelpDesc ..

View Source
const PathCredsHelpSyn = "Creates authorization tokens for a wallet"

PathCredsHelpSyn ..

View Source
const PathMultiSigAddress = PathAddress + "multisig/"

PathMultiSigAddress ..

View Source
const PathMultiSigAddressHelpDesc = ""

PathMultiSigAddressHelpDesc ..

View Source
const PathMultiSigAddressHelpSyn = "Returns the receiving address of the selected multisig wallet"

PathMultiSigAddressHelpSyn ..

View Source
const PathMultiSigCreds = PathCreds + "multisig/"

PathMultiSigCreds ..

View Source
const PathMultiSigCredsHelpDesc = ""

PathMultiSigCredsHelpDesc ..

View Source
const PathMultiSigCredsHelpSyn = "Creates access tokens for a multisig wallet"

PathMultiSigCredsHelpSyn ..

View Source
const PathMultiSigWallet = PathWallet + "multisig/"

PathMultiSigWallet ..

View Source
const PathMultiSigWalletsHelpDesc = ""

PathMultiSigWalletsHelpDesc ..

View Source
const PathMultiSigWalletsHelpSyn = "Creates a new wallet that is used as nth key of the m/n multisig wallet"

PathMultiSigWalletsHelpSyn ..

View Source
const PathSecrets = "secrets/"

PathSecrets ..

View Source
const PathSegWitAddress = PathAddress + "segwit/"

PathSegWitAddress ..

View Source
const PathSegWitAddressHelpDesc = ""

PathSegWitAddressHelpDesc ..

View Source
const PathSegWitAddressHelpSyn = "Returns a new receiving address for selected native segwit wallet. You must provide an authentication token"

PathSegWitAddressHelpSyn ..

View Source
const PathSegWitCreds = PathCreds + "segwit/"

PathSegWitCreds ..

View Source
const PathSegWitCredsHelpDesc = ""

PathSegWitCredsHelpDesc ..

View Source
const PathSegWitCredsHelpSyn = "Creates access tokens for a native segwit wallet"

PathSegWitCredsHelpSyn ..

View Source
const PathSegWitWallet = PathWallet + "segwit/"

PathSegWitWallet ..

View Source
const PathSegWitWalletsHelpDesc = ""

PathSegWitWalletsHelpDesc ..

View Source
const PathSegWitWalletsHelpSyn = "Creates a new BIP84 wallet by specifying network and name"

PathSegWitWalletsHelpSyn ..

View Source
const PathTransactionHelpDesc = ""

PathTransactionHelpDesc ..

View Source
const PathTransactionHelpSyn = "Sign bitcoin raw transaction"

PathTransactionHelpSyn ..

View Source
const PathWallet = "wallet/"

PathWallet ..

View Source
const PathWalletsHelpDesc = ""

PathWalletsHelpDesc ..

View Source
const PathWalletsHelpSyn = "Creates a new BIP44 wallet by specifying network and name"

PathWalletsHelpSyn ..

View Source
const Purpose = HardenedKeyStart + 44

Purpose ..

View Source
const RegTest = "regtest"

RegTest ..

View Source
const SecretCredsType = "creds"

SecretCredsType ..

View Source
const SegWitSecretCredsType = "segwit_" + SecretCredsType

SegWitSecretCredsType ..

View Source
const SegWitType = 2

SegWitType ..

View Source
const SegWitWalletAlreadyExistsError = "Native segwit wallet with same name already exists"

SegWitWalletAlreadyExistsError ..

View Source
const SegWitWalletNotFoundError = "Native segwit wallet not found"

SegWitWalletNotFoundError ..

View Source
const SegwitPurpose = HardenedKeyStart + 49

SegwitPurpose ..

View Source
const StandardType = 0

StandardType ..

View Source
const TestNet = "testnet"

TestNet ..

View Source
const UnknownWalletTypeError = "Unknown wallet type"

UnknownWalletTypeError ..

View Source
const WalletAlreadyExistsError = "BIP44 wallet with same name already exists"

WalletAlreadyExistsError ..

View Source
const WalletNotFoundError = "Wallet not found"

WalletNotFoundError ..

Variables

CoinType ..

Functions

func Backend

func Backend(c *logical.BackendConfig) (*backend, error)

Backend ..

func Factory

Factory ..

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL