SYMBOL INDEX (6864 symbols across 490 files) FILE: addrmgr/addrmanager.go type AddrManager (line 32) | type AddrManager struct method updateAddress (line 166) | func (a *AddrManager) updateAddress(netAddr, srcAddr *wire.NetAddressV... method expireNew (line 244) | func (a *AddrManager) expireNew(bucket int) { method pickTried (line 285) | func (a *AddrManager) pickTried(bucket int) *list.Element { method getNewBucket (line 299) | func (a *AddrManager) getNewBucket(netAddr, srcAddr *wire.NetAddressV2... method getTriedBucket (line 321) | func (a *AddrManager) getTriedBucket(netAddr *wire.NetAddressV2) int { method addressHandler (line 343) | func (a *AddrManager) addressHandler() { method savePeers (line 363) | func (a *AddrManager) savePeers() { method loadPeers (line 425) | func (a *AddrManager) loadPeers() { method deserializePeers (line 444) | func (a *AddrManager) deserializePeers(filePath string) error { method DeserializeNetAddress (line 552) | func (a *AddrManager) DeserializeNetAddress(addr string, method Start (line 569) | func (a *AddrManager) Start() { method Stop (line 586) | func (a *AddrManager) Stop() error { method AddAddresses (line 602) | func (a *AddrManager) AddAddresses(addrs []*wire.NetAddressV2, srcAddr... method AddAddress (line 614) | func (a *AddrManager) AddAddress(addr, srcAddr *wire.NetAddressV2) { method AddAddressByIP (line 623) | func (a *AddrManager) AddAddressByIP(addrIP string) error { method numAddresses (line 644) | func (a *AddrManager) numAddresses() int { method NumAddresses (line 649) | func (a *AddrManager) NumAddresses() int { method NeedMoreAddresses (line 658) | func (a *AddrManager) NeedMoreAddresses() bool { method AddressCache (line 667) | func (a *AddrManager) AddressCache() []*wire.NetAddressV2 { method getAddresses (line 689) | func (a *AddrManager) getAddresses() []*wire.NetAddressV2 { method reset (line 708) | func (a *AddrManager) reset() { method HostToNetAddress (line 725) | func (a *AddrManager) HostToNetAddress(host string, port uint16, method GetAddress (line 794) | func (a *AddrManager) GetAddress() *KnownAddress { method find (line 861) | func (a *AddrManager) find(addr *wire.NetAddressV2) *KnownAddress { method Attempt (line 867) | func (a *AddrManager) Attempt(addr *wire.NetAddressV2) { method Connected (line 888) | func (a *AddrManager) Connected(addr *wire.NetAddressV2) { method Good (line 913) | func (a *AddrManager) Good(addr *wire.NetAddressV2) { method SetServices (line 1002) | func (a *AddrManager) SetServices(addr *wire.NetAddressV2, services wi... method AddLocalAddress (line 1024) | func (a *AddrManager) AddLocalAddress(na *wire.NetAddressV2, priority ... method GetBestLocalAddress (line 1160) | func (a *AddrManager) GetBestLocalAddress(remoteAddr *wire.NetAddressV... type serializedKnownAddress (line 52) | type serializedKnownAddress struct type serializedAddrManager (line 64) | type serializedAddrManager struct type localAddress (line 72) | type localAddress struct type AddressPriority (line 79) | type AddressPriority constant InterfacePrio (line 83) | InterfacePrio AddressPriority = iota constant BoundPrio (line 86) | BoundPrio constant UpnpPrio (line 89) | UpnpPrio constant HTTPPrio (line 92) | HTTPPrio constant ManualPrio (line 95) | ManualPrio constant needAddressThreshold (line 101) | needAddressThreshold = 1000 constant dumpAddressInterval (line 105) | dumpAddressInterval = time.Minute * 10 constant triedBucketSize (line 109) | triedBucketSize = 256 constant triedBucketCount (line 113) | triedBucketCount = 64 constant newBucketSize (line 117) | newBucketSize = 64 constant newBucketCount (line 121) | newBucketCount = 1024 constant triedBucketsPerGroup (line 125) | triedBucketsPerGroup = 8 constant newBucketsPerGroup (line 129) | newBucketsPerGroup = 64 constant newBucketsPerAddress (line 133) | newBucketsPerAddress = 8 constant numMissingDays (line 137) | numMissingDays = 30 constant numRetries (line 141) | numRetries = 3 constant maxFailures (line 145) | maxFailures = 10 constant minBadDays (line 149) | minBadDays = 7 constant getAddrMax (line 154) | getAddrMax = 2500 constant getAddrPercent (line 158) | getAddrPercent = 23 constant serialisationVersion (line 161) | serialisationVersion = 2 function NetAddressKey (line 784) | func NetAddressKey(na *wire.NetAddressV2) string { function getReachabilityFrom (line 1051) | func getReachabilityFrom(localAddr, remoteAddr *wire.NetAddressV2) int { function New (line 1207) | func New(dataDir string, lookupFunc func(string) ([]net.IP, error)) *Add... FILE: addrmgr/addrmanager_internal_test.go function randAddr (line 14) | func randAddr(t *testing.T) *wire.NetAddressV2 { function routableRandAddr (line 43) | func routableRandAddr(t *testing.T) *wire.NetAddressV2 { function assertAddr (line 60) | func assertAddr(t *testing.T, got, expected *wire.NetAddressV2) { function assertAddrs (line 79) | func assertAddrs(t *testing.T, addrMgr *AddrManager, function TestAddrManagerSerialization (line 104) | func TestAddrManagerSerialization(t *testing.T) { function TestAddrManagerV1ToV2 (line 140) | func TestAddrManagerV1ToV2(t *testing.T) { FILE: addrmgr/addrmanager_test.go type naTest (line 21) | type naTest struct function addNaTests (line 34) | func addNaTests() { function addNaTest (line 94) | func addNaTest(ip string, port uint16, want string) { function lookupFunc (line 103) | func lookupFunc(host string) ([]net.IP, error) { function TestStartStop (line 107) | func TestStartStop(t *testing.T) { function TestAddAddressByIP (line 116) | func TestAddAddressByIP(t *testing.T) { function TestAddLocalAddress (line 160) | func TestAddLocalAddress(t *testing.T) { function TestAttempt (line 225) | func TestAttempt(t *testing.T) { function TestConnected (line 247) | func TestConnected(t *testing.T) { function TestNeedMoreAddresses (line 267) | func TestNeedMoreAddresses(t *testing.T) { function TestGood (line 301) | func TestGood(t *testing.T) { function TestGetAddress (line 335) | func TestGetAddress(t *testing.T) { function TestGetBestLocalAddress (line 372) | func TestGetBestLocalAddress(t *testing.T) { function TestNetAddressKey (line 529) | func TestNetAddressKey(t *testing.T) { FILE: addrmgr/internal_test.go function TstKnownAddressIsBad (line 13) | func TstKnownAddressIsBad(ka *KnownAddress) bool { function TstKnownAddressChance (line 17) | func TstKnownAddressChance(ka *KnownAddress) float64 { function TstNewKnownAddress (line 21) | func TstNewKnownAddress(na *wire.NetAddressV2, attempts int, FILE: addrmgr/knownaddress.go type KnownAddress (line 16) | type KnownAddress struct method NetAddress (line 29) | func (ka *KnownAddress) NetAddress() *wire.NetAddressV2 { method LastAttempt (line 36) | func (ka *KnownAddress) LastAttempt() time.Time { method Services (line 43) | func (ka *KnownAddress) Services() wire.ServiceFlag { method chance (line 55) | func (ka *KnownAddress) chance() float64 { method isBad (line 86) | func (ka *KnownAddress) isBad() bool { FILE: addrmgr/knownaddress_test.go function TestChance (line 16) | func TestChance(t *testing.T) { function TestIsBad (line 59) | func TestIsBad(t *testing.T) { FILE: addrmgr/log.go function init (line 17) | func init() { function DisableLog (line 23) | func DisableLog() { function UseLogger (line 30) | func UseLogger(logger btclog.Logger) { FILE: addrmgr/network.go function ipNet (line 102) | func ipNet(ip string, ones, bits int) net.IPNet { function IsIPv4 (line 107) | func IsIPv4(na *wire.NetAddress) bool { function IsLocal (line 112) | func IsLocal(na *wire.NetAddress) bool { function IsOnionCatTor (line 120) | func IsOnionCatTor(na *wire.NetAddress) bool { function IsRFC1918 (line 127) | func IsRFC1918(na *wire.NetAddress) bool { function IsRFC2544 (line 138) | func IsRFC2544(na *wire.NetAddress) bool { function IsRFC3849 (line 144) | func IsRFC3849(na *wire.NetAddress) bool { function IsRFC3927 (line 150) | func IsRFC3927(na *wire.NetAddress) bool { function IsRFC3964 (line 156) | func IsRFC3964(na *wire.NetAddress) bool { function IsRFC4193 (line 162) | func IsRFC4193(na *wire.NetAddress) bool { function IsRFC4380 (line 168) | func IsRFC4380(na *wire.NetAddress) bool { function IsRFC4843 (line 174) | func IsRFC4843(na *wire.NetAddress) bool { function IsRFC7343 (line 180) | func IsRFC7343(na *wire.NetAddress) bool { function IsRFC4862 (line 186) | func IsRFC4862(na *wire.NetAddress) bool { function IsRFC5737 (line 193) | func IsRFC5737(na *wire.NetAddress) bool { function IsRFC6052 (line 205) | func IsRFC6052(na *wire.NetAddress) bool { function IsRFC6145 (line 211) | func IsRFC6145(na *wire.NetAddress) bool { function IsRFC6598 (line 217) | func IsRFC6598(na *wire.NetAddress) bool { function IsValid (line 225) | func IsValid(na *wire.NetAddress) bool { function IsRoutable (line 235) | func IsRoutable(na *wire.NetAddressV2) bool { function GroupKey (line 256) | func GroupKey(na *wire.NetAddressV2) string { FILE: addrmgr/network_test.go function TestIPTypes (line 18) | func TestIPTypes(t *testing.T) { function TestGroupKey (line 158) | func TestGroupKey(t *testing.T) { FILE: blockchain/accept.go method maybeAcceptBlock (line 24) | func (b *BlockChain) maybeAcceptBlock(block *btcutil.Block, flags Behavi... FILE: blockchain/bench_test.go function BenchmarkIsCoinBase (line 16) | func BenchmarkIsCoinBase(b *testing.B) { function BenchmarkIsCoinBaseTx (line 26) | func BenchmarkIsCoinBaseTx(b *testing.B) { function BenchmarkUtxoFetchMap (line 34) | func BenchmarkUtxoFetchMap(b *testing.B) { function BenchmarkUtxoFetchSlices (line 49) | func BenchmarkUtxoFetchSlices(b *testing.B) { function BenchmarkAncestor (line 64) | func BenchmarkAncestor(b *testing.B) { FILE: blockchain/blockindex.go type blockStatus (line 20) | type blockStatus method HaveData (line 45) | func (status blockStatus) HaveData() bool { method KnownValid (line 51) | func (status blockStatus) KnownValid() bool { method KnownInvalid (line 59) | func (status blockStatus) KnownInvalid() bool { constant statusDataStored (line 24) | statusDataStored blockStatus = 1 << iota constant statusValid (line 27) | statusValid constant statusValidateFailed (line 30) | statusValidateFailed constant statusInvalidAncestor (line 34) | statusInvalidAncestor constant statusNone (line 39) | statusNone blockStatus = 0 type blockNode (line 66) | type blockNode struct method Equals (line 140) | func (node *blockNode) Equals(other *blockNode) bool { method Header (line 155) | func (node *blockNode) Header() wire.BlockHeader { method buildAncestor (line 185) | func (node *blockNode) buildAncestor() { method Ancestor (line 197) | func (node *blockNode) Ancestor(height int32) *blockNode { method Height (line 226) | func (node *blockNode) Height() int32 { method Bits (line 233) | func (node *blockNode) Bits() uint32 { method Timestamp (line 240) | func (node *blockNode) Timestamp() int64 { method Parent (line 247) | func (node *blockNode) Parent() HeaderCtx { method RelativeAncestorCtx (line 265) | func (node *blockNode) RelativeAncestorCtx(distance int32) HeaderCtx { method IsAncestor (line 278) | func (node *blockNode) IsAncestor(otherNode *blockNode) bool { method RelativeAncestor (line 304) | func (node *blockNode) RelativeAncestor(distance int32) *blockNode { function initBlockNode (line 111) | func initBlockNode(node *blockNode, blockHeader *wire.BlockHeader, paren... function newBlockNode (line 132) | func newBlockNode(blockHeader *wire.BlockHeader, parent *blockNode) *blo... function invertLowestOne (line 172) | func invertLowestOne(n int32) int32 { function getAncestorHeight (line 177) | func getAncestorHeight(height int32) int32 { function CalcPastMedianTime (line 312) | func CalcPastMedianTime(node HeaderCtx) time.Time { type blockIndex (line 356) | type blockIndex struct method HaveBlock (line 383) | func (bi *blockIndex) HaveBlock(hash *chainhash.Hash) bool { method LookupNode (line 394) | func (bi *blockIndex) LookupNode(hash *chainhash.Hash) *blockNode { method AddNode (line 405) | func (bi *blockIndex) AddNode(node *blockNode) { method addNode (line 416) | func (bi *blockIndex) addNode(node *blockNode) { method NodeStatus (line 423) | func (bi *blockIndex) NodeStatus(node *blockNode) blockStatus { method SetStatusFlags (line 435) | func (bi *blockIndex) SetStatusFlags(node *blockNode, flags blockStatu... method UnsetStatusFlags (line 446) | func (bi *blockIndex) UnsetStatusFlags(node *blockNode, flags blockSta... method InactiveTips (line 456) | func (bi *blockIndex) InactiveTips(bestChain *chainView) []*blockNode { method flushToDB (line 493) | func (bi *blockIndex) flushToDB() error { function newBlockIndex (line 371) | func newBlockIndex(db database.DB, chainParams *chaincfg.Params) *blockI... FILE: blockchain/blockindex_test.go function TestAncestor (line 12) | func TestAncestor(t *testing.T) { FILE: blockchain/chain.go constant maxOrphanBlocks (line 25) | maxOrphanBlocks = 100 type BlockLocator (line 43) | type BlockLocator type orphanBlock (line 48) | type orphanBlock struct type BestState (line 62) | type BestState struct function newBestState (line 74) | func newBestState(node *blockNode, blockSize, blockWeight, numTxns, type BlockChain (line 93) | type BlockChain struct method HaveBlock (line 199) | func (b *BlockChain) HaveBlock(hash *chainhash.Hash) (bool, error) { method IsKnownOrphan (line 217) | func (b *BlockChain) IsKnownOrphan(hash *chainhash.Hash) bool { method GetOrphanRoot (line 231) | func (b *BlockChain) GetOrphanRoot(hash *chainhash.Hash) *chainhash.Ha... method removeOrphanBlock (line 255) | func (b *BlockChain) removeOrphanBlock(orphan *orphanBlock) { method addOrphanBlock (line 294) | func (b *BlockChain) addOrphanBlock(block *btcutil.Block) { method CalcSequenceLock (line 356) | func (b *BlockChain) CalcSequenceLock(tx *btcutil.Tx, utxoView *UtxoVi... method calcSequenceLock (line 367) | func (b *BlockChain) calcSequenceLock(node *blockNode, tx *btcutil.Tx,... method getReorganizeNodes (line 507) | func (b *BlockChain) getReorganizeNodes(node *blockNode) (*list.List, ... method connectBlock (line 571) | func (b *BlockChain) connectBlock(node *blockNode, block *btcutil.Block, method disconnectBlock (line 722) | func (b *BlockChain) disconnectBlock(node *blockNode, block *btcutil.B... method reorganizeChain (line 872) | func (b *BlockChain) reorganizeChain(detachNodes, attachNodes *list.Li... method verifyReorganizationValidity (line 979) | func (b *BlockChain) verifyReorganizationValidity(detachNodes, attachN... method connectBestChain (line 1156) | func (b *BlockChain) connectBestChain(node *blockNode, block *btcutil.... method isCurrent (line 1299) | func (b *BlockChain) isCurrent() bool { method IsCurrent (line 1323) | func (b *BlockChain) IsCurrent() bool { method BestSnapshot (line 1335) | func (b *BlockChain) BestSnapshot() *BestState { method ChainTips (line 1398) | func (b *BlockChain) ChainTips() []ChainTip { method HeaderByHash (line 1458) | func (b *BlockChain) HeaderByHash(hash *chainhash.Hash) (wire.BlockHea... method MainChainHasBlock (line 1472) | func (b *BlockChain) MainChainHasBlock(hash *chainhash.Hash) bool { method BlockLocatorFromHash (line 1485) | func (b *BlockChain) BlockLocatorFromHash(hash *chainhash.Hash) BlockL... method LatestBlockLocator (line 1497) | func (b *BlockChain) LatestBlockLocator() (BlockLocator, error) { method BlockHeightByHash (line 1508) | func (b *BlockChain) BlockHeightByHash(hash *chainhash.Hash) (int32, e... method BlockHashByHeight (line 1522) | func (b *BlockChain) BlockHashByHeight(blockHeight int32) (*chainhash.... method HeightRange (line 1538) | func (b *BlockChain) HeightRange(startHeight, endHeight int32) ([]chai... method HeightToHashRange (line 1587) | func (b *BlockChain) HeightToHashRange(startHeight int32, method IntervalBlockHashes (line 1627) | func (b *BlockChain) IntervalBlockHashes(endHash *chainhash.Hash, inte... method locateInventory (line 1678) | func (b *BlockChain) locateInventory(locator BlockLocator, hashStop *c... method locateBlocks (line 1732) | func (b *BlockChain) locateBlocks(locator BlockLocator, hashStop *chai... method LocateBlocks (line 1763) | func (b *BlockChain) LocateBlocks(locator BlockLocator, hashStop *chai... method locateHeaders (line 1777) | func (b *BlockChain) locateHeaders(locator BlockLocator, hashStop *cha... method LocateHeaders (line 1808) | func (b *BlockChain) LocateHeaders(locator BlockLocator, hashStop *cha... method InvalidateBlock (line 1820) | func (b *BlockChain) InvalidateBlock(hash *chainhash.Hash) error { method ReconsiderBlock (line 1956) | func (b *BlockChain) ReconsiderBlock(hash *chainhash.Hash) error { method CachedStateSize (line 2253) | func (b *BlockChain) CachedStateSize() uint64 { type SequenceLock (line 342) | type SequenceLock struct function LockTimeToSequence (line 481) | func LockTimeToSequence(isSeconds bool, locktime uint32) uint32 { function countSpentOutputs (line 849) | func countSpentOutputs(block *btcutil.Block) int { type TipStatus (line 1343) | type TipStatus method String (line 1366) | func (ts TipStatus) String() string { constant StatusUnknown (line 1348) | StatusUnknown TipStatus = iota constant StatusActive (line 1352) | StatusActive constant StatusInvalid (line 1356) | StatusInvalid constant StatusValidFork (line 1362) | StatusValidFork type ChainTip (line 1379) | type ChainTip struct type IndexManager (line 2046) | type IndexManager interface type Config (line 2068) | type Config struct function New (line 2142) | func New(config *Config) (*BlockChain, error) { FILE: blockchain/chain_test.go function TestHaveBlock (line 22) | func TestHaveBlock(t *testing.T) { function TestCalcSequenceLock (line 121) | func TestCalcSequenceLock(t *testing.T) { function nodeHashes (line 448) | func nodeHashes(nodes []*blockNode, indexes ...int) []chainhash.Hash { function nodeHeaders (line 459) | func nodeHeaders(nodes []*blockNode, indexes ...int) []wire.BlockHeader { function TestLocateInventory (line 469) | func TestLocateInventory(t *testing.T) { function TestHeightToHashRange (line 809) | func TestHeightToHashRange(t *testing.T) { function TestIntervalBlockHashes (line 901) | func TestIntervalBlockHashes(t *testing.T) { function TestChainTips (line 971) | func TestChainTips(t *testing.T) { function TestIsAncestor (line 1161) | func TestIsAncestor(t *testing.T) { function randomSelect (line 1319) | func randomSelect(input []*testhelper.SpendableOut) ( function addBlocks (line 1344) | func addBlocks(count int, chain *BlockChain, prevBlock *btcutil.Block, function TestInvalidateBlock (line 1374) | func TestInvalidateBlock(t *testing.T) { function TestReconsiderBlock (line 1626) | func TestReconsiderBlock(t *testing.T) { FILE: blockchain/chainio.go constant blockHdrSize (line 25) | blockHdrSize = wire.MaxBlockHeaderPayload constant latestUtxoSetBucketVersion (line 29) | latestUtxoSetBucketVersion = 2 constant latestSpendJournalBucketVersion (line 34) | latestSpendJournalBucketVersion = 1 type errNotInMainChain (line 81) | type errNotInMainChain method Error (line 84) | func (e errNotInMainChain) Error() string { function isNotInMainChainErr (line 90) | func isNotInMainChainErr(err error) bool { type errDeserialize (line 97) | type errDeserialize method Error (line 100) | func (e errDeserialize) Error() string { function isDeserializeErr (line 106) | func isDeserializeErr(err error) bool { function isDbBucketNotFoundErr (line 113) | func isDbBucketNotFoundErr(err error) bool { function dbFetchVersion (line 121) | func dbFetchVersion(dbTx database.Tx, key []byte) uint32 { function dbPutVersion (line 133) | func dbPutVersion(dbTx database.Tx, key []byte, version uint32) error { function dbFetchOrCreateVersion (line 144) | func dbFetchOrCreateVersion(dbTx database.Tx, key []byte, defaultVersion... type SpentTxOut (line 246) | type SpentTxOut struct method FetchSpendJournal (line 266) | func (b *BlockChain) FetchSpendJournal(targetBlock *btcutil.Block) ([]Sp... function spentTxOutHeaderCode (line 286) | func spentTxOutHeaderCode(stxo *SpentTxOut) uint64 { function spentTxOutSerializeSize (line 300) | func spentTxOutSerializeSize(stxo *SpentTxOut) int { function putSpentTxOut (line 315) | func putSpentTxOut(target []byte, stxo *SpentTxOut) int { function decodeSpentTxOut (line 331) | func decodeSpentTxOut(serialized []byte, stxo *SpentTxOut) (int, error) { function deserializeSpendJournalEntry (line 381) | func deserializeSpendJournalEntry(serialized []byte, txns []*wire.MsgTx)... function serializeSpendJournalEntry (line 432) | func serializeSpendJournalEntry(stxos []SpentTxOut) []byte { function dbFetchSpendJournalEntry (line 460) | func dbFetchSpendJournalEntry(dbTx database.Tx, block *btcutil.Block) ([... function dbPutSpendJournalEntry (line 488) | func dbPutSpendJournalEntry(dbTx database.Tx, blockHash *chainhash.Hash,... function dbRemoveSpendJournalEntry (line 496) | func dbRemoveSpendJournalEntry(dbTx database.Tx, blockHash *chainhash.Ha... function dbPruneSpendJournalEntry (line 503) | func dbPruneSpendJournalEntry(dbTx database.Tx, blockHashes []chainhash.... function outpointKey (line 613) | func outpointKey(outpoint wire.OutPoint) *[]byte { function recycleOutpointKey (line 627) | func recycleOutpointKey(key *[]byte) { function utxoEntryHeaderCode (line 633) | func utxoEntryHeaderCode(entry *UtxoEntry) (uint64, error) { function serializeUtxoEntry (line 651) | func serializeUtxoEntry(entry *UtxoEntry) ([]byte, error) { function deserializeUtxoEntry (line 680) | func deserializeUtxoEntry(serialized []byte) (*UtxoEntry, error) { function dbFetchUtxoEntryByHash (line 719) | func dbFetchUtxoEntryByHash(dbTx database.Tx, hash *chainhash.Hash) (*Ut... function dbFetchUtxoEntry (line 751) | func dbFetchUtxoEntry(dbTx database.Tx, utxoBucket database.Bucket, function dbPutUtxoView (line 793) | func dbPutUtxoView(dbTx database.Tx, view *UtxoViewpoint) error { function dbDeleteUtxoEntry (line 825) | func dbDeleteUtxoEntry(utxoBucket database.Bucket, outpoint wire.OutPoin... function dbPutUtxoEntry (line 834) | func dbPutUtxoEntry(utxoBucket database.Bucket, outpoint wire.OutPoint, function dbPutBlockIndex (line 880) | func dbPutBlockIndex(dbTx database.Tx, hash *chainhash.Hash, height int3... function dbRemoveBlockIndex (line 900) | func dbRemoveBlockIndex(dbTx database.Tx, hash *chainhash.Hash, height i... function dbFetchHeightByHash (line 917) | func dbFetchHeightByHash(dbTx database.Tx, hash *chainhash.Hash) (int32,... function dbFetchHashByHeight (line 931) | func dbFetchHashByHeight(dbTx database.Tx, height int32) (*chainhash.Has... type bestChainState (line 967) | type bestChainState struct function serializeBestChainState (line 976) | func serializeBestChainState(state bestChainState) []byte { function deserializeBestChainState (line 1000) | func deserializeBestChainState(serializedData []byte) (bestChainState, e... function dbPutBestState (line 1036) | func dbPutBestState(dbTx database.Tx, snapshot *BestState, workSum *big.... function dbPutUtxoStateConsistency (line 1051) | func dbPutUtxoStateConsistency(dbTx database.Tx, hash *chainhash.Hash) e... function dbFetchUtxoStateConsistency (line 1059) | func dbFetchUtxoStateConsistency(dbTx database.Tx) []byte { method createChainState (line 1074) | func (b *BlockChain) createChainState() error { method initChainState (line 1173) | func (b *BlockChain) initChainState() error { function deserializeBlockRow (line 1324) | func deserializeBlockRow(blockRow []byte) (*wire.BlockHeader, blockStatu... function dbFetchHeaderByHash (line 1343) | func dbFetchHeaderByHash(dbTx database.Tx, hash *chainhash.Hash) (*wire.... function dbFetchHeaderByHeight (line 1360) | func dbFetchHeaderByHeight(dbTx database.Tx, height int32) (*wire.BlockH... function dbFetchBlockByNode (line 1372) | func dbFetchBlockByNode(dbTx database.Tx, node *blockNode) (*btcutil.Blo... function dbStoreBlockNode (line 1391) | func dbStoreBlockNode(dbTx database.Tx, node *blockNode) error { function dbStoreBlock (line 1413) | func dbStoreBlock(dbTx database.Tx, block *btcutil.Block) error { function blockIndexKey (line 1427) | func blockIndexKey(blockHash *chainhash.Hash, blockHeight uint32) []byte { method BlockByHeight (line 1437) | func (b *BlockChain) BlockByHeight(blockHeight int32) (*btcutil.Block, e... method BlockByHash (line 1459) | func (b *BlockChain) BlockByHash(hash *chainhash.Hash) (*btcutil.Block, ... FILE: blockchain/chainio_test.go function TestErrNotInMainChain (line 20) | func TestErrNotInMainChain(t *testing.T) { function TestStxoSerialization (line 42) | func TestStxoSerialization(t *testing.T) { function TestStxoDecodeErrors (line 136) | func TestStxoDecodeErrors(t *testing.T) { function TestSpendJournalSerialization (line 206) | func TestSpendJournalSerialization(t *testing.T) { function TestSpendJournalErrors (line 339) | func TestSpendJournalErrors(t *testing.T) { function TestUtxoSerialization (line 407) | func TestUtxoSerialization(t *testing.T) { function TestUtxoEntryHeaderCodeErrors (line 534) | func TestUtxoEntryHeaderCodeErrors(t *testing.T) { function TestUtxoEntryDeserializeErrors (line 569) | func TestUtxoEntryDeserializeErrors(t *testing.T) { function TestBestChainStateSerialization (line 609) | func TestBestChainStateSerialization(t *testing.T) { function TestBestChainStateDeserializeErrors (line 676) | func TestBestChainStateDeserializeErrors(t *testing.T) { FILE: blockchain/chainview.go constant approxNodesPerWeek (line 13) | approxNodesPerWeek = 6 * 24 * 7 function fastLog2Floor (line 21) | func fastLog2Floor(n uint32) uint8 { type chainView (line 46) | type chainView struct method genesis (line 66) | func (c *chainView) genesis() *blockNode { method Genesis (line 77) | func (c *chainView) Genesis() *blockNode { method tip (line 89) | func (c *chainView) tip() *blockNode { method Tip (line 101) | func (c *chainView) Tip() *blockNode { method setTip (line 116) | func (c *chainView) setTip(node *blockNode) { method SetTip (line 157) | func (c *chainView) SetTip(node *blockNode) { method height (line 169) | func (c *chainView) height() int32 { method Height (line 178) | func (c *chainView) Height() int32 { method nodeByHeight (line 190) | func (c *chainView) nodeByHeight(height int32) *blockNode { method NodeByHeight (line 202) | func (c *chainView) NodeByHeight(height int32) *blockNode { method Equals (line 213) | func (c *chainView) Equals(other *chainView) bool { method contains (line 227) | func (c *chainView) contains(node *blockNode) bool { method Contains (line 235) | func (c *chainView) Contains(node *blockNode) bool { method next (line 250) | func (c *chainView) next(node *blockNode) *blockNode { method Next (line 277) | func (c *chainView) Next(node *blockNode) *blockNode { method findFork (line 292) | func (c *chainView) findFork(node *blockNode) *blockNode { method FindFork (line 342) | func (c *chainView) FindFork(node *blockNode) *blockNode { method blockLocator (line 357) | func (c *chainView) blockLocator(node *blockNode) BlockLocator { method BlockLocator (line 424) | func (c *chainView) BlockLocator(node *blockNode) BlockLocator { function newChainView (line 54) | func newChainView(tip *blockNode) *chainView { FILE: blockchain/chainview_test.go function chainedNodes (line 23) | func chainedNodes(parent *blockNode, numNodes int) []*blockNode { method String (line 40) | func (node blockNode) String() string { function tstTip (line 46) | func tstTip(nodes []*blockNode) *blockNode { function locatorHashes (line 53) | func locatorHashes(nodes []*blockNode, indexes ...int) BlockLocator { function zipLocators (line 63) | func zipLocators(locators ...BlockLocator) BlockLocator { function TestChainView (line 74) | func TestChainView(t *testing.T) { function TestChainViewForkCorners (line 307) | func TestChainViewForkCorners(t *testing.T) { function TestChainViewSetTip (line 340) | func TestChainViewSetTip(t *testing.T) { function TestChainViewNil (line 418) | func TestChainViewNil(t *testing.T) { FILE: blockchain/checkpoints.go constant CheckpointConfirmations (line 19) | CheckpointConfirmations = 2016 function newHashFromStr (line 25) | func newHashFromStr(hexStr string) *chainhash.Hash { method Checkpoints (line 35) | func (b *BlockChain) Checkpoints() []chaincfg.Checkpoint { method HasCheckpoints (line 42) | func (b *BlockChain) HasCheckpoints() bool { method LatestCheckpoint (line 51) | func (b *BlockChain) LatestCheckpoint() *chaincfg.Checkpoint { method verifyCheckpoint (line 61) | func (b *BlockChain) verifyCheckpoint(height int32, hash *chainhash.Hash... method findPreviousCheckpoint (line 87) | func (b *BlockChain) findPreviousCheckpoint() (*blockNode, error) { function isNonstandardTransaction (line 172) | func isNonstandardTransaction(tx *btcutil.Tx) bool { method IsCheckpointCandidate (line 200) | func (b *BlockChain) IsCheckpointCandidate(block *btcutil.Block) (bool, ... FILE: blockchain/common_test.go constant testDbType (line 29) | testDbType = "ffldb" constant testDbRoot (line 32) | testDbRoot = "testdbs" constant blockDataNet (line 35) | blockDataNet = wire.MainNet function fileExists (line 39) | func fileExists(name string) bool { function isSupportedDbType (line 50) | func isSupportedDbType(dbType string) bool { function loadBlocks (line 64) | func loadBlocks(filename string) (blocks []*btcutil.Block, err error) { function chainSetup (line 122) | func chainSetup(dbName string, params *chaincfg.Params) (*BlockChain, fu... function loadUtxoView (line 192) | func loadUtxoView(filename string) (*UtxoViewpoint, error) { function convertUtxoStore (line 263) | func convertUtxoStore(r io.Reader, w io.Writer) error { method TstSetCoinbaseMaturity (line 343) | func (b *BlockChain) TstSetCoinbaseMaturity(maturity uint16) { function newFakeChain (line 351) | func newFakeChain(params *chaincfg.Params) *BlockChain { function newFakeNode (line 390) | func newFakeNode(parent *blockNode, blockVersion int32, bits uint32, tim... function addBlock (line 404) | func addBlock(chain *BlockChain, prev *btcutil.Block, spends []*testhelp... function calcMerkleRoot (line 422) | func calcMerkleRoot(txns []*wire.MsgTx) chainhash.Hash { function newBlock (line 437) | func newBlock(chain *BlockChain, prev *btcutil.Block, FILE: blockchain/compress.go function serializeSizeVLQ (line 52) | func serializeSizeVLQ(n uint64) int { function putVLQ (line 66) | func putVLQ(target []byte, n uint64) int { function deserializeVLQ (line 93) | func deserializeVLQ(serialized []byte) (uint64, int) { constant cstPayToPubKeyHash (line 144) | cstPayToPubKeyHash = 0 constant cstPayToScriptHash (line 147) | cstPayToScriptHash = 1 constant cstPayToPubKeyComp2 (line 152) | cstPayToPubKeyComp2 = 2 constant cstPayToPubKeyComp3 (line 157) | cstPayToPubKeyComp3 = 3 constant cstPayToPubKeyUncomp4 (line 162) | cstPayToPubKeyUncomp4 = 4 constant cstPayToPubKeyUncomp5 (line 167) | cstPayToPubKeyUncomp5 = 5 constant numSpecialScripts (line 171) | numSpecialScripts = 6 function isPubKeyHash (line 177) | func isPubKeyHash(script []byte) (bool, []byte) { function isScriptHash (line 193) | func isScriptHash(script []byte) (bool, []byte) { function isPubKey (line 213) | func isPubKey(script []byte) (bool, []byte) { function compressedScriptSize (line 244) | func compressedScriptSize(pkScript []byte) int { function decodeCompressedScriptSize (line 271) | func decodeCompressedScriptSize(serialized []byte) int { function putCompressedScript (line 299) | func putCompressedScript(target, pkScript []byte) int { function decompressScript (line 347) | func decompressScript(compressedPkScript []byte) []byte { function compressTxOutAmount (line 463) | func compressTxOutAmount(amount uint64) uint64 { function decompressTxOutAmount (line 493) | func decompressTxOutAmount(amount uint64) uint64 { function compressedTxOutSize (line 546) | func compressedTxOutSize(amount uint64, pkScript []byte) int { function putCompressedTxOut (line 556) | func putCompressedTxOut(target []byte, amount uint64, pkScript []byte) i... function decodeCompressedTxOut (line 565) | func decodeCompressedTxOut(serialized []byte) (uint64, []byte, int, erro... FILE: blockchain/compress_test.go function hexToBytes (line 17) | func hexToBytes(s string) []byte { function TestVLQ (line 27) | func TestVLQ(t *testing.T) { function TestScriptCompression (line 107) | func TestScriptCompression(t *testing.T) { function TestScriptCompressionErrors (line 231) | func TestScriptCompressionErrors(t *testing.T) { function TestAmountCompression (line 259) | func TestAmountCompression(t *testing.T) { function TestCompressedTxOut (line 337) | func TestCompressedTxOut(t *testing.T) { function TestTxOutCompressionErrors (line 427) | func TestTxOutCompressionErrors(t *testing.T) { FILE: blockchain/difficulty.go function HashToBig (line 17) | func HashToBig(hash *chainhash.Hash) *big.Int { function CompactToBig (line 45) | func CompactToBig(compact uint32) *big.Int { function BigToCompact (line 53) | func BigToCompact(n *big.Int) uint32 { function CalcWork (line 67) | func CalcWork(bits uint32) *big.Int { method calcEasiestDifficulty (line 75) | func (b *BlockChain) calcEasiestDifficulty(bits uint32, duration time.Du... function findPrevTestNetDifficulty (line 111) | func findPrevTestNetDifficulty(startNode HeaderCtx, c ChainCtx) uint32 { function calcNextRequiredDifficulty (line 136) | func calcNextRequiredDifficulty(lastNode HeaderCtx, newBlockTime time.Time, method CalcNextRequiredDifficulty (line 238) | func (b *BlockChain) CalcNextRequiredDifficulty(timestamp time.Time) (ui... FILE: blockchain/error.go type DeploymentError (line 13) | type DeploymentError method Error (line 17) | func (e DeploymentError) Error() string { type AssertError (line 23) | type AssertError method Error (line 27) | func (e AssertError) Error() string { type ErrorCode (line 32) | type ErrorCode method String (line 277) | func (e ErrorCode) String() string { constant ErrDuplicateBlock (line 38) | ErrDuplicateBlock ErrorCode = iota constant ErrBlockTooBig (line 42) | ErrBlockTooBig constant ErrBlockWeightTooHigh (line 46) | ErrBlockWeightTooHigh constant ErrBlockVersionTooOld (line 51) | ErrBlockVersionTooOld constant ErrInvalidTime (line 56) | ErrInvalidTime constant ErrTimeTooOld (line 61) | ErrTimeTooOld constant ErrTimeTooNew (line 65) | ErrTimeTooNew constant ErrDifficultyTooLow (line 69) | ErrDifficultyTooLow constant ErrUnexpectedDifficulty (line 75) | ErrUnexpectedDifficulty constant ErrHighHash (line 79) | ErrHighHash constant ErrBadMerkleRoot (line 83) | ErrBadMerkleRoot constant ErrBadCheckpoint (line 87) | ErrBadCheckpoint constant ErrForkTooOld (line 91) | ErrForkTooOld constant ErrCheckpointTimeTooOld (line 95) | ErrCheckpointTimeTooOld constant ErrNoTransactions (line 100) | ErrNoTransactions constant ErrNoTxInputs (line 104) | ErrNoTxInputs constant ErrNoTxOutputs (line 108) | ErrNoTxOutputs constant ErrTxTooBig (line 112) | ErrTxTooBig constant ErrBadTxOutValue (line 116) | ErrBadTxOutValue constant ErrDuplicateTxInputs (line 120) | ErrDuplicateTxInputs constant ErrBadTxInput (line 125) | ErrBadTxInput constant ErrMissingTxOut (line 129) | ErrMissingTxOut constant ErrUnfinalizedTx (line 133) | ErrUnfinalizedTx constant ErrDuplicateTx (line 138) | ErrDuplicateTx constant ErrOverwriteTx (line 143) | ErrOverwriteTx constant ErrImmatureSpend (line 147) | ErrImmatureSpend constant ErrSpendTooHigh (line 151) | ErrSpendTooHigh constant ErrBadFees (line 155) | ErrBadFees constant ErrTooManySigOps (line 159) | ErrTooManySigOps constant ErrFirstTxNotCoinbase (line 163) | ErrFirstTxNotCoinbase constant ErrMultipleCoinbases (line 167) | ErrMultipleCoinbases constant ErrBadCoinbaseScriptLen (line 171) | ErrBadCoinbaseScriptLen constant ErrBadCoinbaseValue (line 175) | ErrBadCoinbaseValue constant ErrMissingCoinbaseHeight (line 180) | ErrMissingCoinbaseHeight constant ErrBadCoinbaseHeight (line 185) | ErrBadCoinbaseHeight constant ErrScriptMalformed (line 190) | ErrScriptMalformed constant ErrScriptValidation (line 196) | ErrScriptValidation constant ErrUnexpectedWitness (line 201) | ErrUnexpectedWitness constant ErrInvalidWitnessCommitment (line 205) | ErrInvalidWitnessCommitment constant ErrWitnessCommitmentMismatch (line 210) | ErrWitnessCommitmentMismatch constant ErrPreviousBlockUnknown (line 213) | ErrPreviousBlockUnknown constant ErrInvalidAncestorBlock (line 217) | ErrInvalidAncestorBlock constant ErrPrevBlockNotBest (line 222) | ErrPrevBlockNotBest constant ErrTimewarpAttack (line 226) | ErrTimewarpAttack type RuleError (line 289) | type RuleError struct method Error (line 295) | func (e RuleError) Error() string { function ruleError (line 300) | func ruleError(c ErrorCode, desc string) RuleError { FILE: blockchain/error_test.go function TestErrorCodeStringer (line 12) | func TestErrorCodeStringer(t *testing.T) { function TestRuleError (line 76) | func TestRuleError(t *testing.T) { function TestDeploymentError (line 103) | func TestDeploymentError(t *testing.T) { FILE: blockchain/example_test.go function ExampleBlockChain_ProcessBlock (line 25) | func ExampleBlockChain_ProcessBlock() { function ExampleCompactToBig (line 78) | func ExampleCompactToBig() { function ExampleBigToCompact (line 92) | func ExampleBigToCompact() { FILE: blockchain/fullblocks_test.go constant testDbType (line 28) | testDbType = "ffldb" constant testDbRoot (line 31) | testDbRoot = "testdbs" constant blockDataNet (line 34) | blockDataNet = wire.MainNet function fileExists (line 38) | func fileExists(name string) bool { function isSupportedDbType (line 49) | func isSupportedDbType(dbType string) bool { function chainSetup (line 63) | func chainSetup(dbName string, params *chaincfg.Params) (*blockchain.Blo... function TestFullBlocks (line 134) | func TestFullBlocks(t *testing.T) { FILE: blockchain/fullblocktests/generate.go constant maxBlockSigOps (line 33) | maxBlockSigOps = 20000 constant maxBlockSize (line 34) | maxBlockSize = 1000000 constant minCoinbaseScriptLen (line 35) | minCoinbaseScriptLen = 2 constant maxCoinbaseScriptLen (line 36) | maxCoinbaseScriptLen = 100 constant medianTimeBlocks (line 37) | medianTimeBlocks = 11 constant maxScriptElementSize (line 38) | maxScriptElementSize = 520 constant numLargeReorgBlocks (line 43) | numLargeReorgBlocks = 1088 type TestInstance (line 49) | type TestInstance interface type AcceptedBlock (line 56) | type AcceptedBlock struct method FullBlockTestInstance (line 71) | func (b AcceptedBlock) FullBlockTestInstance() {} type RejectedBlock (line 75) | type RejectedBlock struct method FullBlockTestInstance (line 89) | func (b RejectedBlock) FullBlockTestInstance() {} type OrphanOrRejectedBlock (line 97) | type OrphanOrRejectedBlock struct method FullBlockTestInstance (line 110) | func (b OrphanOrRejectedBlock) FullBlockTestInstance() {} type ExpectedTip (line 114) | type ExpectedTip struct method FullBlockTestInstance (line 127) | func (b ExpectedTip) FullBlockTestInstance() {} type RejectedNonCanonicalBlock (line 131) | type RejectedNonCanonicalBlock struct method FullBlockTestInstance (line 141) | func (b RejectedNonCanonicalBlock) FullBlockTestInstance() {} type BlockDisconnectExpectUTXO (line 145) | type BlockDisconnectExpectUTXO struct method FullBlockTestInstance (line 156) | func (b BlockDisconnectExpectUTXO) FullBlockTestInstance() {} type testGenerator (line 161) | type testGenerator struct method createCoinbaseTx (line 226) | func (g *testGenerator) createCoinbaseTx(blockHeight int32) *wire.MsgTx { method nextBlock (line 326) | func (g *testGenerator) nextBlock(blockName string, spend *testhelper.... method updateBlockState (line 401) | func (g *testGenerator) updateBlockState(oldBlockName string, oldBlock... method setTip (line 420) | func (g *testGenerator) setTip(blockName string) { method oldestCoinbaseOut (line 428) | func (g *testGenerator) oldestCoinbaseOut() testhelper.SpendableOut { method saveTipCoinbaseOut (line 436) | func (g *testGenerator) saveTipCoinbaseOut() { method saveSpendableCoinbaseOuts (line 446) | func (g *testGenerator) saveSpendableCoinbaseOuts() { method assertTipBlockSigOpsCount (line 539) | func (g *testGenerator) assertTipBlockSigOpsCount(expected int) { method assertTipBlockSize (line 550) | func (g *testGenerator) assertTipBlockSize(expected int) { method assertTipNonCanonicalBlockSize (line 562) | func (g *testGenerator) assertTipNonCanonicalBlockSize(expected int) { method assertTipBlockNumTxns (line 573) | func (g *testGenerator) assertTipBlockNumTxns(expected int) { method assertTipBlockHash (line 584) | func (g *testGenerator) assertTipBlockHash(expected chainhash.Hash) { method assertTipBlockMerkleRoot (line 595) | func (g *testGenerator) assertTipBlockMerkleRoot(expected chainhash.Ha... method assertTipBlockTxOutOpReturn (line 607) | func (g *testGenerator) assertTipBlockTxOutOpReturn(txIndex, txOutInde... function makeTestGenerator (line 180) | func makeTestGenerator(params *chaincfg.Params) (testGenerator, error) { function payToScriptHashScript (line 198) | func payToScriptHashScript(redeemScript []byte) []byte { function pushDataScript (line 211) | func pushDataScript(items ...[]byte) []byte { function calcMerkleRoot (line 233) | func calcMerkleRoot(txns []*wire.MsgTx) chainhash.Hash { function additionalCoinbase (line 247) | func additionalCoinbase(amount btcutil.Amount) func(*wire.MsgBlock) { function additionalSpendFee (line 260) | func additionalSpendFee(fee btcutil.Amount) func(*wire.MsgBlock) { function replaceSpendScript (line 275) | func replaceSpendScript(pkScript []byte) func(*wire.MsgBlock) { function replaceCoinbaseSigScript (line 283) | func replaceCoinbaseSigScript(script []byte) func(*wire.MsgBlock) { function additionalTx (line 291) | func additionalTx(tx *wire.MsgTx) func(*wire.MsgBlock) { function createSpendTxForTx (line 302) | func createSpendTxForTx(tx *wire.MsgTx, fee btcutil.Amount) *wire.MsgTx { function nonCanonicalVarInt (line 470) | func nonCanonicalVarInt(val uint32) []byte { function encodeNonCanonicalBlock (line 481) | func encodeNonCanonicalBlock(b *wire.MsgBlock) []byte { function cloneBlock (line 492) | func cloneBlock(b *wire.MsgBlock) wire.MsgBlock { function repeatOpcode (line 503) | func repeatOpcode(opcode uint8, numRepeats int) []byte { function assertScriptSigOpsCount (line 509) | func assertScriptSigOpsCount(script []byte, expected int) { function countBlockSigOps (line 521) | func countBlockSigOps(block *wire.MsgBlock) int { function Generate (line 636) | func Generate(includeLargeReorg bool) (tests [][]TestInstance, err error) { FILE: blockchain/fullblocktests/params.go function newHashFromStr (line 21) | func newHashFromStr(hexStr string) *chainhash.Hash { function fromHex (line 33) | func fromHex(s string) []byte { FILE: blockchain/indexers/addrindex.go constant addrIndexName (line 23) | addrIndexName = "address index" constant level0MaxEntries (line 29) | level0MaxEntries = 8 constant addrKeySize (line 33) | addrKeySize = 1 + 20 constant levelKeySize (line 37) | levelKeySize = addrKeySize + 1 constant levelOffset (line 40) | levelOffset = levelKeySize - 1 constant addrKeyTypePubKeyHash (line 46) | addrKeyTypePubKeyHash = 0 constant addrKeyTypeScriptHash (line 52) | addrKeyTypeScriptHash = 1 constant addrKeyTypeWitnessPubKeyHash (line 58) | addrKeyTypeWitnessPubKeyHash = 2 constant addrKeyTypeWitnessScriptHash (line 64) | addrKeyTypeWitnessScriptHash = 3 constant addrKeyTypeTaprootPubKey (line 69) | addrKeyTypeTaprootPubKey = 4 constant txEntrySize (line 73) | txEntrySize = 4 + 4 + 4 type fetchBlockHashFunc (line 146) | type fetchBlockHashFunc function serializeAddrIndexEntry (line 150) | func serializeAddrIndexEntry(blockID uint32, txLoc wire.TxLoc) []byte { function deserializeAddrIndexEntry (line 163) | func deserializeAddrIndexEntry(serialized []byte, region *database.Block... function keyForLevel (line 183) | func keyForLevel(addrKey [addrKeySize]byte, level uint8) [levelKeySize]b... function dbPutAddrIndexEntry (line 192) | func dbPutAddrIndexEntry(bucket internalBucket, addrKey [addrKeySize]byte, function dbFetchAddrIndexEntries (line 265) | func dbFetchAddrIndexEntries(bucket internalBucket, addrKey [addrKeySize... function minEntriesToReachLevel (line 348) | func minEntriesToReachLevel(level uint8) int { function maxEntriesForLevel (line 360) | func maxEntriesForLevel(level uint8) int { function dbRemoveAddrIndexEntries (line 371) | func dbRemoveAddrIndexEntries(bucket internalBucket, addrKey [addrKeySiz... function addrToKey (line 544) | func addrToKey(addr btcutil.Address) ([addrKeySize]byte, error) { type AddrIndex (line 605) | type AddrIndex struct method NeedsInputs (line 640) | func (idx *AddrIndex) NeedsInputs() bool { method Init (line 648) | func (idx *AddrIndex) Init() error { method Key (line 656) | func (idx *AddrIndex) Key() []byte { method Name (line 663) | func (idx *AddrIndex) Name() string { method Create (line 672) | func (idx *AddrIndex) Create(dbTx database.Tx) error { method indexPkScript (line 686) | func (idx *AddrIndex) indexPkScript(data writeIndexData, pkScript []by... method indexBlock (line 719) | func (idx *AddrIndex) indexBlock(data writeIndexData, block *btcutil.B... method ConnectBlock (line 753) | func (idx *AddrIndex) ConnectBlock(dbTx database.Tx, block *btcutil.Bl... method DisconnectBlock (line 793) | func (idx *AddrIndex) DisconnectBlock(dbTx database.Tx, block *btcutil... method TxRegionsForAddress (line 823) | func (idx *AddrIndex) TxRegionsForAddress(dbTx database.Tx, addr btcut... method indexUnconfirmedAddresses (line 857) | func (idx *AddrIndex) indexUnconfirmedAddresses(pkScript []byte, tx *b... method AddUnconfirmedTx (line 899) | func (idx *AddrIndex) AddUnconfirmedTx(tx *btcutil.Tx, utxoView *block... method RemoveUnconfirmedTx (line 926) | func (idx *AddrIndex) RemoveUnconfirmedTx(hash *chainhash.Hash) { method UnconfirmedTxnsForAddress (line 949) | func (idx *AddrIndex) UnconfirmedTxnsForAddress(addr btcutil.Address) ... type writeIndexData (line 681) | type writeIndexData function NewAddrIndex (line 980) | func NewAddrIndex(db database.DB, chainParams *chaincfg.Params) *AddrInd... function DropAddrIndex (line 991) | func DropAddrIndex(db database.DB, interrupt <-chan struct{}) error { function AddrIndexInitialized (line 996) | func AddrIndexInitialized(db database.DB) bool { FILE: blockchain/indexers/addrindex_test.go type addrIndexBucket (line 17) | type addrIndexBucket struct method Clone (line 22) | func (b *addrIndexBucket) Clone() *addrIndexBucket { method Get (line 36) | func (b *addrIndexBucket) Get(key []byte) []byte { method Put (line 45) | func (b *addrIndexBucket) Put(key []byte, value []byte) error { method Delete (line 55) | func (b *addrIndexBucket) Delete(key []byte) error { method printLevels (line 65) | func (b *addrIndexBucket) printLevels(addrKey [addrKeySize]byte) string { method sanityCheck (line 101) | func (b *addrIndexBucket) sanityCheck(addrKey [addrKeySize]byte, expec... function TestAddrIndexLevels (line 169) | func TestAddrIndexLevels(t *testing.T) { FILE: blockchain/indexers/blocklogger.go type blockProgressLogger (line 18) | type blockProgressLogger struct method LogBlockHeight (line 44) | func (b *blockProgressLogger) LogBlockHeight(block *btcutil.Block) { function newBlockProgressLogger (line 33) | func newBlockProgressLogger(progressMessage string, logger btclog.Logger... FILE: blockchain/indexers/cfindex.go constant cfIndexName (line 22) | cfIndexName = "committed filter index" function dbFetchFilterIdxEntry (line 60) | func dbFetchFilterIdxEntry(dbTx database.Tx, key []byte, h *chainhash.Ha... function dbStoreFilterIdxEntry (line 66) | func dbStoreFilterIdxEntry(dbTx database.Tx, key []byte, h *chainhash.Ha... function dbDeleteFilterIdxEntry (line 72) | func dbDeleteFilterIdxEntry(dbTx database.Tx, key []byte, h *chainhash.H... type CfIndex (line 78) | type CfIndex struct method NeedsInputs (line 93) | func (idx *CfIndex) NeedsInputs() bool { method Init (line 99) | func (idx *CfIndex) Init() error { method Key (line 105) | func (idx *CfIndex) Key() []byte { method Name (line 111) | func (idx *CfIndex) Name() string { method Create (line 118) | func (idx *CfIndex) Create(dbTx database.Tx) error { method ConnectBlock (line 212) | func (idx *CfIndex) ConnectBlock(dbTx database.Tx, block *btcutil.Block, method DisconnectBlock (line 231) | func (idx *CfIndex) DisconnectBlock(dbTx database.Tx, block *btcutil.B... method entryByBlockHash (line 260) | func (idx *CfIndex) entryByBlockHash(filterTypeKeys [][]byte, method entriesByBlockHashes (line 279) | func (idx *CfIndex) entriesByBlockHashes(filterTypeKeys [][]byte, method FilterByBlockHash (line 303) | func (idx *CfIndex) FilterByBlockHash(h *chainhash.Hash, method FiltersByBlockHashes (line 310) | func (idx *CfIndex) FiltersByBlockHashes(blockHashes []*chainhash.Hash, method FilterHeaderByBlockHash (line 317) | func (idx *CfIndex) FilterHeaderByBlockHash(h *chainhash.Hash, method FilterHeadersByBlockHashes (line 324) | func (idx *CfIndex) FilterHeadersByBlockHashes(blockHashes []*chainhas... method FilterHashByBlockHash (line 331) | func (idx *CfIndex) FilterHashByBlockHash(h *chainhash.Hash, method FilterHashesByBlockHashes (line 338) | func (idx *CfIndex) FilterHashesByBlockHashes(blockHashes []*chainhash... function storeFilter (line 152) | func storeFilter(dbTx database.Tx, block *btcutil.Block, f *gcs.Filter, function NewCfIndex (line 350) | func NewCfIndex(db database.DB, chainParams *chaincfg.Params) *CfIndex { function DropCfIndex (line 355) | func DropCfIndex(db database.DB, interrupt <-chan struct{}) error { function CfIndexInitialized (line 360) | func CfIndexInitialized(db database.DB) bool { FILE: blockchain/indexers/common.go type NeedsInputser (line 31) | type NeedsInputser interface type Indexer (line 37) | type Indexer interface type AssertError (line 68) | type AssertError method Error (line 72) | func (e AssertError) Error() string { type errDeserialize (line 78) | type errDeserialize method Error (line 81) | func (e errDeserialize) Error() string { function isDeserializeErr (line 87) | func isDeserializeErr(err error) bool { type internalBucket (line 95) | type internalBucket interface function interruptRequested (line 104) | func interruptRequested(interrupted <-chan struct{}) bool { FILE: blockchain/indexers/log.go function init (line 15) | func init() { function DisableLog (line 21) | func DisableLog() { function UseLogger (line 28) | func UseLogger(logger btclog.Logger) { FILE: blockchain/indexers/manager.go function dbPutIndexerTip (line 39) | func dbPutIndexerTip(dbTx database.Tx, idxKey []byte, hash *chainhash.Ha... function dbFetchIndexerTip (line 50) | func dbFetchIndexerTip(dbTx database.Tx, idxKey []byte) (*chainhash.Hash... function dbIndexConnectBlock (line 71) | func dbIndexConnectBlock(dbTx database.Tx, indexer Indexer, block *btcut... function dbIndexDisconnectBlock (line 101) | func dbIndexDisconnectBlock(dbTx database.Tx, indexer Indexer, block *bt... type Manager (line 132) | type Manager struct method maybeFinishDrops (line 153) | func (m *Manager) maybeFinishDrops(interrupt <-chan struct{}) error { method maybeCreateIndexes (line 201) | func (m *Manager) maybeCreateIndexes(dbTx database.Tx) error { method Init (line 236) | func (m *Manager) Init(chain *blockchain.BlockChain, interrupt <-chan ... method ConnectBlock (line 502) | func (m *Manager) ConnectBlock(dbTx database.Tx, block *btcutil.Block, method DisconnectBlock (line 522) | func (m *Manager) DisconnectBlock(dbTx database.Tx, block *btcutil.Block, function indexDropKey (line 142) | func indexDropKey(idxKey []byte) []byte { function indexNeedsInputs (line 461) | func indexNeedsInputs(index Indexer) bool { function dbFetchTx (line 471) | func dbFetchTx(dbTx database.Tx, hash *chainhash.Hash) (*wire.MsgTx, err... function NewManager (line 540) | func NewManager(db database.DB, enabledIndexes []Indexer) *Manager { function dropIndex (line 552) | func dropIndex(db database.DB, idxKey []byte, idxName string, interrupt ... FILE: blockchain/indexers/txindex.go constant txIndexName (line 20) | txIndexName = "transaction index" function dbPutBlockIDIndexEntry (line 97) | func dbPutBlockIDIndexEntry(dbTx database.Tx, hash *chainhash.Hash, id u... function dbRemoveBlockIDIndexEntry (line 116) | func dbRemoveBlockIDIndexEntry(dbTx database.Tx, hash *chainhash.Hash) e... function dbFetchBlockIDByHash (line 135) | func dbFetchBlockIDByHash(dbTx database.Tx, hash *chainhash.Hash) (uint3... function dbFetchBlockHashBySerializedID (line 147) | func dbFetchBlockHashBySerializedID(dbTx database.Tx, serializedID []byt... function dbFetchBlockHashByID (line 161) | func dbFetchBlockHashByID(dbTx database.Tx, id uint32) (*chainhash.Hash,... function putTxIndexEntry (line 171) | func putTxIndexEntry(target []byte, blockID uint32, txLoc wire.TxLoc) { function dbPutTxIndexEntry (line 180) | func dbPutTxIndexEntry(dbTx database.Tx, txHash *chainhash.Hash, seriali... function dbFetchTxIndexEntry (line 189) | func dbFetchTxIndexEntry(dbTx database.Tx, txHash *chainhash.Hash) (*dat... function dbAddTxIndexEntries (line 227) | func dbAddTxIndexEntries(dbTx database.Tx, block *btcutil.Block, blockID... function dbRemoveTxIndexEntry (line 258) | func dbRemoveTxIndexEntry(dbTx database.Tx, txHash *chainhash.Hash) error { function dbRemoveTxIndexEntries (line 271) | func dbRemoveTxIndexEntries(dbTx database.Tx, block *btcutil.Block) error { type TxIndex (line 284) | type TxIndex struct method Init (line 297) | func (idx *TxIndex) Init() error { method Key (line 358) | func (idx *TxIndex) Key() []byte { method Name (line 365) | func (idx *TxIndex) Name() string { method Create (line 374) | func (idx *TxIndex) Create(dbTx database.Tx) error { method ConnectBlock (line 391) | func (idx *TxIndex) ConnectBlock(dbTx database.Tx, block *btcutil.Block, method DisconnectBlock (line 416) | func (idx *TxIndex) DisconnectBlock(dbTx database.Tx, block *btcutil.B... method TxBlockRegion (line 439) | func (idx *TxIndex) TxBlockRegion(hash *chainhash.Hash) (*database.Blo... function NewTxIndex (line 456) | func NewTxIndex(db database.DB) *TxIndex { function dropBlockIDIndex (line 461) | func dropBlockIDIndex(db database.DB) error { function DropTxIndex (line 476) | func DropTxIndex(db database.DB, interrupt <-chan struct{}) error { function TxIndexInitialized (line 486) | func TxIndexInitialized(db database.DB) bool { FILE: blockchain/interfaces.go type ChainCtx (line 9) | type ChainCtx interface type HeaderCtx (line 39) | type HeaderCtx interface FILE: blockchain/internal/testhelper/common.go function CreateSpendTx (line 30) | func CreateSpendTx(spend *SpendableOut, fee btcutil.Amount) *wire.MsgTx { function CreateCoinbaseTx (line 51) | func CreateCoinbaseTx(blockHeight int32, blockSubsidy int64) *wire.MsgTx { function StandardCoinbaseScript (line 77) | func StandardCoinbaseScript(blockHeight int32, extraNonce uint64) ([]byt... function OpReturnScript (line 84) | func OpReturnScript(data []byte) ([]byte, error) { function UniqueOpReturnScript (line 95) | func UniqueOpReturnScript() ([]byte, error) { type SpendableOut (line 108) | type SpendableOut struct function MakeSpendableOutForTx (line 115) | func MakeSpendableOutForTx(tx *wire.MsgTx, txOutIndex uint32) SpendableO... function MakeSpendableOut (line 127) | func MakeSpendableOut(block *wire.MsgBlock, txIndex, txOutIndex uint32) ... function SolveBlock (line 139) | func SolveBlock(header *wire.BlockHeader) bool { FILE: blockchain/internal/workmath/difficulty.go function HashToBig (line 25) | func HashToBig(hash *chainhash.Hash) *big.Int { function CompactToBig (line 61) | func CompactToBig(compact uint32) *big.Int { function BigToCompact (line 93) | func BigToCompact(n *big.Int) uint32 { function CalcWork (line 141) | func CalcWork(bits uint32) *big.Int { FILE: blockchain/internal/workmath/difficulty_test.go function TestBigToCompact (line 14) | func TestBigToCompact(t *testing.T) { function TestCompactToBig (line 36) | func TestCompactToBig(t *testing.T) { function TestCalcWork (line 57) | func TestCalcWork(t *testing.T) { FILE: blockchain/log.go function init (line 17) | func init() { function DisableLog (line 23) | func DisableLog() { function UseLogger (line 28) | func UseLogger(logger btclog.Logger) { FILE: blockchain/mediantime.go constant maxAllowedOffsetSecs (line 18) | maxAllowedOffsetSecs = 70 * 60 constant similarTimeSecs (line 23) | similarTimeSecs = 5 * 60 type MedianTimeSource (line 36) | type MedianTimeSource interface type int64Sorter (line 52) | type int64Sorter method Len (line 56) | func (s int64Sorter) Len() int { method Swap (line 62) | func (s int64Sorter) Swap(i, j int) { method Less (line 69) | func (s int64Sorter) Less(i, j int) bool { type medianTime (line 77) | type medianTime struct method AdjustedTime (line 93) | func (m *medianTime) AdjustedTime() time.Time { method AddTimeSample (line 107) | func (m *medianTime) AddTimeSample(sourceID string, timeVal time.Time) { method Offset (line 201) | func (m *medianTime) Offset() time.Duration { function NewMedianTime (line 213) | func NewMedianTime() MedianTimeSource { FILE: blockchain/mediantime_test.go function TestMedianTime (line 14) | func TestMedianTime(t *testing.T) { FILE: blockchain/merkle.go constant CoinbaseWitnessDataLen (line 22) | CoinbaseWitnessDataLen = 32 constant CoinbaseWitnessPkScriptLength (line 28) | CoinbaseWitnessPkScriptLength = 38 function nextPowerOfTwo (line 48) | func nextPowerOfTwo(n int) int { function HashMerkleBranches (line 62) | func HashMerkleBranches(left, right *chainhash.Hash) chainhash.Hash { function BuildMerkleTreeStore (line 107) | func BuildMerkleTreeStore(transactions []*btcutil.Tx, witness bool) []*c... function CalcMerkleRoot (line 185) | func CalcMerkleRoot(transactions []*btcutil.Tx, witness bool) chainhash.... function ExtractWitnessCommitment (line 196) | func ExtractWitnessCommitment(tx *btcutil.Tx) ([]byte, bool) { function ValidateWitnessCommitment (line 227) | func ValidateWitnessCommitment(blk *btcutil.Block) error { FILE: blockchain/merkle_test.go function TestMerkle (line 18) | func TestMerkle(t *testing.T) { function makeHashes (line 33) | func makeHashes(size int) []*chainhash.Hash { function makeTxs (line 41) | func makeTxs(size int) []*btcutil.Tx { function BenchmarkRollingMerkle (line 53) | func BenchmarkRollingMerkle(b *testing.B) { function BenchmarkMerkle (line 74) | func BenchmarkMerkle(b *testing.B) { function benchmarkRollingMerkle (line 93) | func benchmarkRollingMerkle(b *testing.B, txs []*btcutil.Tx) { function benchmarkMerkle (line 102) | func benchmarkMerkle(b *testing.B, txs []*btcutil.Tx) { FILE: blockchain/notifications.go type NotificationType (line 12) | type NotificationType method String (line 43) | func (n NotificationType) String() string { type NotificationCallback (line 16) | type NotificationCallback constant NTBlockAccepted (line 23) | NTBlockAccepted NotificationType = iota constant NTBlockConnected (line 27) | NTBlockConnected constant NTBlockDisconnected (line 31) | NTBlockDisconnected type Notification (line 56) | type Notification struct method Subscribe (line 64) | func (b *BlockChain) Subscribe(callback NotificationCallback) { method sendNotification (line 73) | func (b *BlockChain) sendNotification(typ NotificationType, data interfa... FILE: blockchain/notifications_test.go function TestNotifications (line 14) | func TestNotifications(t *testing.T) { FILE: blockchain/process.go type BehaviorFlags (line 18) | type BehaviorFlags constant BFFastAdd (line 25) | BFFastAdd BehaviorFlags = 1 << iota constant BFNoPoWCheck (line 30) | BFNoPoWCheck constant BFNone (line 33) | BFNone BehaviorFlags = 0 method blockExists (line 40) | func (b *BlockChain) blockExists(hash *chainhash.Hash) (bool, error) { method processOrphans (line 83) | func (b *BlockChain) processOrphans(hash *chainhash.Hash, flags Behavior... method ProcessBlock (line 142) | func (b *BlockChain) ProcessBlock(block *btcutil.Block, flags BehaviorFl... FILE: blockchain/rolling_merkle.go type rollingMerkleTreeStore (line 12) | type rollingMerkleTreeStore struct method add (line 37) | func (s *rollingMerkleTreeStore) add(add chainhash.Hash) { method calcMerkleRoot (line 62) | func (s *rollingMerkleTreeStore) calcMerkleRoot(adds []*btcutil.Tx, wi... function newRollingMerkleTreeStore (line 27) | func newRollingMerkleTreeStore(size uint64) rollingMerkleTreeStore { FILE: blockchain/rolling_merkle_test.go function TestRollingMerkleAdd (line 10) | func TestRollingMerkleAdd(t *testing.T) { FILE: blockchain/scriptval.go type txValidateItem (line 19) | type txValidateItem struct type txValidator (line 29) | type txValidator struct method sendResult (line 43) | func (v *txValidator) sendResult(result error) { method validateHandler (line 53) | func (v *txValidator) validateHandler() { method Validate (line 120) | func (v *txValidator) Validate(items []*txValidateItem) error { function newTxValidator (line 178) | func newTxValidator(utxoView *UtxoViewpoint, flags txscript.ScriptFlags, function ValidateTransactionScripts (line 193) | func ValidateTransactionScripts(tx *btcutil.Tx, utxoView *UtxoViewpoint, function checkBlockScripts (line 245) | func checkBlockScripts(block *btcutil.Block, utxoView *UtxoViewpoint, FILE: blockchain/scriptval_test.go function TestCheckBlockScripts (line 16) | func TestCheckBlockScripts(t *testing.T) { FILE: blockchain/sizehelper.go constant outpointSize (line 16) | outpointSize = 36 constant uint64Size (line 19) | uint64Size = 8 constant bucketSize (line 26) | bucketSize = 16 + uint64Size*outpointSize + uint64Size*uint64Size constant baseEntrySize (line 30) | baseEntrySize = 40 constant pubKeyHashLen (line 33) | pubKeyHashLen = 25 constant avgEntrySize (line 39) | avgEntrySize = baseEntrySize + (pubKeyHashLen + 7) constant _MaxSmallSize (line 47) | _MaxSmallSize = 32768 constant smallSizeDiv (line 48) | smallSizeDiv = 8 constant smallSizeMax (line 49) | smallSizeMax = 1024 constant largeSizeDiv (line 50) | largeSizeDiv = 128 constant _NumSizeClasses (line 51) | _NumSizeClasses = 68 constant _PageShift (line 52) | _PageShift = 13 constant _PageSize (line 53) | _PageSize = 1 << _PageShift constant MaxUintptr (line 55) | MaxUintptr = ^uintptr(0) constant bucketCntBits (line 58) | bucketCntBits = 3 constant bucketCnt (line 59) | bucketCnt = 1 << bucketCntBits constant loadFactorNum (line 63) | loadFactorNum = 13 constant loadFactorDen (line 64) | loadFactorDen = 2 constant _64bit (line 67) | _64bit = 1 << (^uintptr(0) >> 63) / 2 constant PtrSize (line 72) | PtrSize = 4 << (^uintptr(0) >> 63) constant heapAddrBits (line 81) | heapAddrBits = 32 + (_64bit * 8) constant maxAlloc (line 91) | maxAlloc = (1 << heapAddrBits) - (1-_64bit)*1 function calculateRoughMapSize (line 111) | func calculateRoughMapSize(hint int, bucketSize uintptr) int { function calculateMinEntries (line 167) | func calculateMinEntries(totalBytes int, bucketSize int) int { function mulUintptr (line 195) | func mulUintptr(a, b uintptr) (uintptr, bool) { function divRoundUp (line 204) | func divRoundUp(n, a uintptr) uintptr { function alignUp (line 211) | func alignUp(n, a uintptr) uintptr { function roundupsize (line 216) | func roundupsize(size uintptr) uintptr { function overLoadFactor (line 231) | func overLoadFactor(count int, B uint8) bool { function bucketShift (line 236) | func bucketShift(b uint8) uintptr { FILE: blockchain/sizehelper_test.go function calculateEntries (line 14) | func calculateEntries(totalBytes int, bucketSize int) int { function TestCalculateEntries (line 30) | func TestCalculateEntries(t *testing.T) { FILE: blockchain/thresholdstate.go type ThresholdState (line 17) | type ThresholdState method String (line 61) | func (t ThresholdState) String() string { constant ThresholdDefined (line 23) | ThresholdDefined ThresholdState = iota constant ThresholdStarted (line 27) | ThresholdStarted constant ThresholdLockedIn (line 33) | ThresholdLockedIn constant ThresholdActive (line 38) | ThresholdActive constant ThresholdFailed (line 43) | ThresholdFailed constant numThresholdsStates (line 47) | numThresholdsStates type thresholdConditionChecker (line 70) | type thresholdConditionChecker interface type thresholdStateCache (line 114) | type thresholdStateCache struct method Lookup (line 120) | func (c *thresholdStateCache) Lookup(hash *chainhash.Hash) (ThresholdS... method Update (line 127) | func (c *thresholdStateCache) Update(hash *chainhash.Hash, state Thres... function newThresholdCaches (line 133) | func newThresholdCaches(numCaches uint32) []thresholdStateCache { method PastMedianTime (line 148) | func (b *BlockChain) PastMedianTime(blockHeader *wire.BlockHeader) (time... function thresholdStateTransition (line 168) | func thresholdStateTransition(state ThresholdState, prevNode *blockNode, method thresholdState (line 287) | func (b *BlockChain) thresholdState(prevNode *blockNode, method ThresholdState (line 377) | func (b *BlockChain) ThresholdState(deploymentID uint32) (ThresholdState... method IsDeploymentActive (line 389) | func (b *BlockChain) IsDeploymentActive(deploymentID uint32) (bool, erro... method deploymentState (line 410) | func (b *BlockChain) deploymentState(prevNode *blockNode, deploymentID u... method initThresholdCaches (line 425) | func (b *BlockChain) initThresholdCaches() error { FILE: blockchain/thresholdstate_test.go function TestThresholdStateStringer (line 15) | func TestThresholdStateStringer(t *testing.T) { function TestThresholdStateCache (line 49) | func TestThresholdStateCache(t *testing.T) { type customDeploymentChecker (line 136) | type customDeploymentChecker struct method HasStarted (line 150) | func (c customDeploymentChecker) HasStarted(_ *blockNode) bool { method HasEnded (line 154) | func (c customDeploymentChecker) HasEnded(_ *blockNode) bool { method RuleChangeActivationThreshold (line 158) | func (c customDeploymentChecker) RuleChangeActivationThreshold() uint32 { method MinerConfirmationWindow (line 162) | func (c customDeploymentChecker) MinerConfirmationWindow() uint32 { method EligibleToActivate (line 166) | func (c customDeploymentChecker) EligibleToActivate(_ *blockNode) bool { method IsSpeedy (line 170) | func (c customDeploymentChecker) IsSpeedy() bool { method Condition (line 174) | func (c customDeploymentChecker) Condition(_ *blockNode) (bool, error) { method ForceActive (line 178) | func (c customDeploymentChecker) ForceActive(_ *blockNode) bool { function TestThresholdStateTransition (line 185) | func TestThresholdStateTransition(t *testing.T) { FILE: blockchain/timesorter.go type timeSorter (line 9) | type timeSorter method Len (line 13) | func (s timeSorter) Len() int { method Swap (line 19) | func (s timeSorter) Swap(i, j int) { method Less (line 25) | func (s timeSorter) Less(i, j int) bool { FILE: blockchain/timesorter_test.go function TestTimeSorter (line 14) | func TestTimeSorter(t *testing.T) { FILE: blockchain/upgrade.go constant blockHdrOffset (line 25) | blockHdrOffset = 12 function interruptRequested (line 35) | func interruptRequested(interrupted <-chan struct{}) bool { type blockChainContext (line 48) | type blockChainContext struct function migrateBlockIndex (line 59) | func migrateBlockIndex(db database.DB) error { function readBlockTree (line 152) | func readBlockTree(v1BlockIdxBucket database.Bucket) (map[chainhash.Hash... function determineBlockHeights (line 187) | func determineBlockHeights(blocksMap map[chainhash.Hash]*blockChainConte... function determineMainChainBlocks (line 221) | func determineMainChainBlocks(blocksMap map[chainhash.Hash]*blockChainCo... function deserializeUtxoEntryV0 (line 332) | func deserializeUtxoEntryV0(serialized []byte) (map[uint32]*UtxoEntry, e... function upgradeUtxoSetToV2 (line 439) | func upgradeUtxoSetToV2(db database.DB, interrupt <-chan struct{}) error { method maybeUpgradeDbBuckets (line 582) | func (b *BlockChain) maybeUpgradeDbBuckets(interrupt <-chan struct{}) er... FILE: blockchain/upgrade_test.go function TestDeserializeUtxoEntryV0 (line 14) | func TestDeserializeUtxoEntryV0(t *testing.T) { FILE: blockchain/utxocache.go type mapSlice (line 26) | type mapSlice struct method length (line 44) | func (ms *mapSlice) length() int { method size (line 59) | func (ms *mapSlice) size() int { method get (line 75) | func (ms *mapSlice) get(op wire.OutPoint) (*UtxoEntry, bool) { method put (line 98) | func (ms *mapSlice) put(op wire.OutPoint, entry *UtxoEntry, totalEntry... method delete (line 137) | func (ms *mapSlice) delete(op wire.OutPoint) { method makeNewMap (line 150) | func (ms *mapSlice) makeNewMap(totalEntryMemory uint64) map[wire.OutPo... method deleteMaps (line 172) | func (ms *mapSlice) deleteMaps() { constant utxoFlushPeriodicInterval (line 186) | utxoFlushPeriodicInterval = time.Minute * 5 type FlushMode (line 190) | type FlushMode constant FlushRequired (line 195) | FlushRequired FlushMode = iota constant FlushPeriodic (line 200) | FlushPeriodic constant FlushIfNeeded (line 206) | FlushIfNeeded type utxoCache (line 210) | type utxoCache struct method totalMemoryUsage (line 253) | func (s *utxoCache) totalMemoryUsage() uint64 { method fetchEntries (line 268) | func (s *utxoCache) fetchEntries(outpoints []wire.OutPoint) ([]*UtxoEn... method addTxOut (line 340) | func (s *utxoCache) addTxOut(outpoint wire.OutPoint, txOut *wire.TxOut... method addTxOuts (line 376) | func (s *utxoCache) addTxOuts(tx *btcutil.Tx, blockHeight int32) error { method addTxIn (line 401) | func (s *utxoCache) addTxIn(txIn *wire.TxIn, stxos *[]SpentTxOut) error { method addTxIns (line 452) | func (s *utxoCache) addTxIns(tx *btcutil.Tx, stxos *[]SpentTxOut) error { method connectTransaction (line 473) | func (s *utxoCache) connectTransaction( method connectTransactions (line 490) | func (s *utxoCache) connectTransactions(block *btcutil.Block, stxos *[... method writeCache (line 502) | func (s *utxoCache) writeCache(dbTx database.Tx, bestState *BestState)... method flush (line 551) | func (s *utxoCache) flush(dbTx database.Tx, mode FlushMode, bestState ... function newUtxoCache (line 231) | func newUtxoCache(db database.DB, maxTotalMemoryUsage uint64) *utxoCache { method FlushUtxoCache (line 591) | func (b *BlockChain) FlushUtxoCache(mode FlushMode) error { method InitConsistentState (line 605) | func (b *BlockChain) InitConsistentState(tip *blockNode, interrupt <-cha... method flushNeededAfterPrune (line 733) | func (b *BlockChain) flushNeededAfterPrune(deletedBlockHashes []chainhas... FILE: blockchain/utxocache_test.go function TestMapSlice (line 24) | func TestMapSlice(t *testing.T) { function TestMapsliceConcurrency (line 112) | func TestMapsliceConcurrency(t *testing.T) { function getValidP2PKHScript (line 199) | func getValidP2PKHScript() []byte { function outpointFromInt (line 221) | func outpointFromInt(i int) wire.OutPoint { function TestUtxoCacheEntrySize (line 229) | func TestUtxoCacheEntrySize(t *testing.T) { function assertConsistencyState (line 338) | func assertConsistencyState(chain *BlockChain, hash *chainhash.Hash) err... function assertNbEntriesOnDisk (line 361) | func assertNbEntriesOnDisk(chain *BlockChain, expectedNumber int) error { function utxoCacheTestChain (line 389) | func utxoCacheTestChain(testName string) (*BlockChain, *chaincfg.Params,... function TestUtxoCacheFlush (line 403) | func TestUtxoCacheFlush(t *testing.T) { function TestFlushNeededAfterPrune (line 613) | func TestFlushNeededAfterPrune(t *testing.T) { function TestFlushOnPrune (line 730) | func TestFlushOnPrune(t *testing.T) { function TestInitConsistentState (line 850) | func TestInitConsistentState(t *testing.T) { FILE: blockchain/utxoviewpoint.go type txoFlags (line 19) | type txoFlags constant tfCoinBase (line 23) | tfCoinBase txoFlags = 1 << iota constant tfSpent (line 26) | tfSpent constant tfModified (line 30) | tfModified constant tfFresh (line 37) | tfFresh type UtxoEntry (line 44) | type UtxoEntry struct method isModified (line 64) | func (entry *UtxoEntry) isModified() bool { method isFresh (line 70) | func (entry *UtxoEntry) isFresh() bool { method memoryUsage (line 76) | func (entry *UtxoEntry) memoryUsage() uint64 { method IsCoinBase (line 86) | func (entry *UtxoEntry) IsCoinBase() bool { method BlockHeight (line 91) | func (entry *UtxoEntry) BlockHeight() int32 { method IsSpent (line 97) | func (entry *UtxoEntry) IsSpent() bool { method Spend (line 103) | func (entry *UtxoEntry) Spend() { method Amount (line 114) | func (entry *UtxoEntry) Amount() int64 { method PkScript (line 119) | func (entry *UtxoEntry) PkScript() []byte { method Clone (line 124) | func (entry *UtxoEntry) Clone() *UtxoEntry { function NewUtxoEntry (line 138) | func NewUtxoEntry( type UtxoViewpoint (line 160) | type UtxoViewpoint struct method BestHash (line 167) | func (view *UtxoViewpoint) BestHash() *chainhash.Hash { method SetBestHash (line 173) | func (view *UtxoViewpoint) SetBestHash(hash *chainhash.Hash) { method LookupEntry (line 181) | func (view *UtxoViewpoint) LookupEntry(outpoint wire.OutPoint) *UtxoEn... method FetchPrevOutput (line 190) | func (view *UtxoViewpoint) FetchPrevOutput(op wire.OutPoint) *wire.TxO... method addTxOut (line 206) | func (view *UtxoViewpoint) addTxOut(outpoint wire.OutPoint, txOut *wir... method AddTxOut (line 235) | func (view *UtxoViewpoint) AddTxOut(tx *btcutil.Tx, txOutIdx uint32, b... method AddTxOuts (line 254) | func (view *UtxoViewpoint) AddTxOuts(tx *btcutil.Tx, blockHeight int32) { method connectTransaction (line 275) | func (view *UtxoViewpoint) connectTransaction(tx *btcutil.Tx, blockHei... method connectTransactions (line 323) | func (view *UtxoViewpoint) connectTransactions(block *btcutil.Block, s... method fetchEntryByHash (line 340) | func (view *UtxoViewpoint) fetchEntryByHash(db database.DB, hash *chai... method disconnectTransactions (line 367) | func (view *UtxoViewpoint) disconnectTransactions(db database.DB, bloc... method RemoveEntry (line 500) | func (view *UtxoViewpoint) RemoveEntry(outpoint wire.OutPoint) { method Entries (line 505) | func (view *UtxoViewpoint) Entries() map[wire.OutPoint]*UtxoEntry { method commit (line 511) | func (view *UtxoViewpoint) commit() { method fetchUtxosFromCache (line 531) | func (view *UtxoViewpoint) fetchUtxosFromCache(cache *utxoCache, outpo... method fetchUtxos (line 558) | func (view *UtxoViewpoint) fetchUtxos(cache *utxoCache, outpoints []wi... method findInputsToFetch (line 583) | func (view *UtxoViewpoint) findInputsToFetch(block *btcutil.Block) []w... method fetchInputUtxos (line 637) | func (view *UtxoViewpoint) fetchInputUtxos(cache *utxoCache, block *bt... function NewUtxoViewpoint (line 642) | func NewUtxoViewpoint() *UtxoViewpoint { method FetchUtxoView (line 654) | func (b *BlockChain) FetchUtxoView(tx *btcutil.Tx) (*UtxoViewpoint, erro... method FetchUtxoEntry (line 693) | func (b *BlockChain) FetchUtxoEntry(outpoint wire.OutPoint) (*UtxoEntry,... FILE: blockchain/validate.go constant MaxTimeOffsetSeconds (line 26) | MaxTimeOffsetSeconds = 2 * 60 * 60 constant MinCoinbaseScriptLen (line 29) | MinCoinbaseScriptLen = 2 constant MaxCoinbaseScriptLen (line 32) | MaxCoinbaseScriptLen = 100 constant medianTimeBlocks (line 36) | medianTimeBlocks = 11 constant serializedHeightVersion (line 40) | serializedHeightVersion = 2 constant baseSubsidy (line 44) | baseSubsidy = 50 * btcutil.SatoshiPerBitcoin constant coinbaseHeightAllocSize (line 48) | coinbaseHeightAllocSize = 5 constant maxTimeWarp (line 53) | maxTimeWarp = 600 * time.Second function isNullOutpoint (line 75) | func isNullOutpoint(outpoint *wire.OutPoint) bool { function ShouldHaveSerializedBlockHeight (line 87) | func ShouldHaveSerializedBlockHeight(header *wire.BlockHeader) bool { function IsCoinBaseTx (line 99) | func IsCoinBaseTx(msgTx *wire.MsgTx) bool { function IsCoinBase (line 123) | func IsCoinBase(tx *btcutil.Tx) bool { function SequenceLockActive (line 130) | func SequenceLockActive(sequenceLock *SequenceLock, blockHeight int32, function IsFinalizedTransaction (line 145) | func IsFinalizedTransaction(tx *btcutil.Tx, blockHeight int32, blockTime... function isBIP0030Node (line 182) | func isBIP0030Node(node *blockNode) bool { function CalcBlockSubsidy (line 204) | func CalcBlockSubsidy(height int32, chainParams *chaincfg.Params) int64 { function CheckTransactionSanity (line 215) | func CheckTransactionSanity(tx *btcutil.Tx) error { function checkProofOfWork (line 317) | func checkProofOfWork(header *wire.BlockHeader, powLimit *big.Int, flags... function CheckProofOfWork (line 352) | func CheckProofOfWork(block *btcutil.Block, powLimit *big.Int) error { function CountSigOps (line 360) | func CountSigOps(tx *btcutil.Tx) int { function CountP2SHSigOps (line 385) | func CountP2SHSigOps(tx *btcutil.Tx, isCoinBaseTx bool, utxoView *UtxoVi... function CheckBlockHeaderSanity (line 440) | func CheckBlockHeaderSanity(header *wire.BlockHeader, powLimit *big.Int, function checkBlockSanity (line 479) | func checkBlockSanity(block *btcutil.Block, powLimit *big.Int, timeSourc... function CheckBlockSanity (line 585) | func CheckBlockSanity(block *btcutil.Block, powLimit *big.Int, timeSourc... function ExtractCoinbaseHeight (line 592) | func ExtractCoinbaseHeight(coinbaseTx *btcutil.Tx) (int32, error) { function CheckSerializedHeight (line 641) | func CheckSerializedHeight(coinbaseTx *btcutil.Tx, wantHeight int32) err... function compareScript (line 656) | func compareScript(height int32, script []byte) error { function CheckBlockHeaderContext (line 689) | func CheckBlockHeaderContext(header *wire.BlockHeader, prevNode HeaderCtx, function assertNoTimeWarp (line 786) | func assertNoTimeWarp(blockHeight, blocksPerReTarget int32, headerTimest... method checkBlockContext (line 818) | func (b *BlockChain) checkBlockContext(block *btcutil.Block, prevNode *b... method checkBIP0030 (line 924) | func (b *BlockChain) checkBIP0030(node *blockNode, block *btcutil.Block,... function CheckTransactionInputs (line 966) | func CheckTransactionInputs(tx *btcutil.Tx, txHeight int32, utxoView *Ut... method checkConnectBlock (line 1080) | func (b *BlockChain) checkConnectBlock(node *blockNode, block *btcutil.B... method CheckConnectBlockTemplate (line 1349) | func (b *BlockChain) CheckConnectBlockTemplate(block *btcutil.Block) err... method ChainParams (line 1387) | func (b *BlockChain) ChainParams() *chaincfg.Params { method BlocksPerRetarget (line 1394) | func (b *BlockChain) BlocksPerRetarget() int32 { method MinRetargetTimespan (line 1402) | func (b *BlockChain) MinRetargetTimespan() int64 { method MaxRetargetTimespan (line 1410) | func (b *BlockChain) MaxRetargetTimespan() int64 { method VerifyCheckpoint (line 1418) | func (b *BlockChain) VerifyCheckpoint(height int32, method FindPreviousCheckpoint (line 1428) | func (b *BlockChain) FindPreviousCheckpoint() (HeaderCtx, error) { FILE: blockchain/validate_rapid_test.go function TestAssertNoTimeWarpProperties (line 14) | func TestAssertNoTimeWarpProperties(t *testing.T) { function TestAssertNoTimeWarpInvariants (line 193) | func TestAssertNoTimeWarpInvariants(t *testing.T) { function TestAssertNoTimeWarpSecurity (line 254) | func TestAssertNoTimeWarpSecurity(t *testing.T) { FILE: blockchain/validate_test.go function TestSequenceLocksActive (line 21) | func TestSequenceLocksActive(t *testing.T) { function TestCheckConnectBlockTemplate (line 68) | func TestCheckConnectBlockTemplate(t *testing.T) { function TestCheckBlockSanity (line 153) | func TestCheckBlockSanity(t *testing.T) { function TestCheckSerializedHeight (line 175) | func TestCheckSerializedHeight(t *testing.T) { FILE: blockchain/versionbits.go constant vbLegacyBlockVersion (line 14) | vbLegacyBlockVersion = 4 constant vbTopBits (line 18) | vbTopBits = 0x20000000 constant vbTopMask (line 22) | vbTopMask = 0xe0000000 constant vbNumBits (line 26) | vbNumBits = 29 type bitConditionChecker (line 34) | type bitConditionChecker struct method HasStarted (line 50) | func (c bitConditionChecker) HasStarted(_ *blockNode) bool { method HasEnded (line 61) | func (c bitConditionChecker) HasEnded(_ *blockNode) bool { method RuleChangeActivationThreshold (line 72) | func (c bitConditionChecker) RuleChangeActivationThreshold() uint32 { method MinerConfirmationWindow (line 83) | func (c bitConditionChecker) MinerConfirmationWindow() uint32 { method Condition (line 94) | func (c bitConditionChecker) Condition(node *blockNode) (bool, error) { method EligibleToActivate (line 121) | func (c bitConditionChecker) EligibleToActivate(blkNode *blockNode) bo... method IsSpeedy (line 133) | func (c bitConditionChecker) IsSpeedy() bool { method ForceActive (line 140) | func (c bitConditionChecker) ForceActive(node *blockNode) bool { type deploymentChecker (line 147) | type deploymentChecker struct method HasStarted (line 163) | func (c deploymentChecker) HasStarted(blkNode *blockNode) bool { method HasEnded (line 179) | func (c deploymentChecker) HasEnded(blkNode *blockNode) bool { method RuleChangeActivationThreshold (line 195) | func (c deploymentChecker) RuleChangeActivationThreshold() uint32 { method MinerConfirmationWindow (line 212) | func (c deploymentChecker) MinerConfirmationWindow() uint32 { method EligibleToActivate (line 220) | func (c deploymentChecker) EligibleToActivate(blkNode *blockNode) bool { method IsSpeedy (line 237) | func (c deploymentChecker) IsSpeedy() bool { method Condition (line 246) | func (c deploymentChecker) Condition(node *blockNode) (bool, error) { method ForceActive (line 256) | func (c deploymentChecker) ForceActive(node *blockNode) bool { method calcNextBlockVersion (line 284) | func (b *BlockChain) calcNextBlockVersion(prevNode *blockNode) (int32, e... method CalcNextBlockVersion (line 309) | func (b *BlockChain) CalcNextBlockVersion() (int32, error) { method warnUnknownRuleActivations (line 322) | func (b *BlockChain) warnUnknownRuleActivations(node *blockNode) error { FILE: blockchain/weight.go constant MaxBlockWeight (line 23) | MaxBlockWeight = 4000000 constant MaxBlockBaseSize (line 27) | MaxBlockBaseSize = 1000000 constant MaxBlockSigOpsCost (line 32) | MaxBlockSigOpsCost = 80000 constant WitnessScaleFactor (line 37) | WitnessScaleFactor = 4 constant MinTxOutputWeight (line 41) | MinTxOutputWeight = WitnessScaleFactor * wire.MinTxOutPayload constant MaxOutputsPerBlock (line 45) | MaxOutputsPerBlock = MaxBlockWeight / MinTxOutputWeight function GetBlockWeight (line 52) | func GetBlockWeight(blk *btcutil.Block) int64 { function GetTransactionWeight (line 67) | func GetTransactionWeight(tx *btcutil.Tx) int64 { function GetSigOpCost (line 83) | func GetSigOpCost(tx *btcutil.Tx, isCoinBaseTx bool, utxoView *UtxoViewp... FILE: btcd.go constant blockDbNamePrefix (line 29) | blockDbNamePrefix = "blocks" function btcdMain (line 45) | func btcdMain(serverChan chan<- *server) error { function removeRegressionDB (line 294) | func removeRegressionDB(dbPath string) error { function blockDbPath (line 321) | func blockDbPath(dbType string) string { function warnMultipleDBs (line 334) | func warnMultipleDBs() { function loadBlockDB (line 369) | func loadBlockDB() (database.DB, error) { function unveilx (line 417) | func unveilx(path string, perms string) { function pledgex (line 425) | func pledgex(promises string) { function init (line 433) | func init() { function main (line 437) | func main() { FILE: btcec/bench_test.go function setHex (line 22) | func setHex(hexString string) *FieldVal { function hexToFieldVal (line 38) | func hexToFieldVal(s string) *FieldVal { function fromHex (line 54) | func fromHex(s string) *big.Int { function jacobianPointFromHex (line 68) | func jacobianPointFromHex(x, y, z string) JacobianPoint { function BenchmarkAddJacobian (line 79) | func BenchmarkAddJacobian(b *testing.B) { function BenchmarkAddJacobianNotZOne (line 102) | func BenchmarkAddJacobianNotZOne(b *testing.B) { function BenchmarkScalarBaseMult (line 122) | func BenchmarkScalarBaseMult(b *testing.B) { function BenchmarkScalarBaseMultLarge (line 132) | func BenchmarkScalarBaseMultLarge(b *testing.B) { function BenchmarkScalarMult (line 141) | func BenchmarkScalarMult(b *testing.B) { function hexToModNScalar (line 155) | func hexToModNScalar(s string) *ModNScalar { function BenchmarkFieldNormalize (line 169) | func BenchmarkFieldNormalize(b *testing.B) { function BenchmarkParseCompressedPubKey (line 179) | func BenchmarkParseCompressedPubKey(b *testing.B) { FILE: btcec/btcec.go function S256 (line 31) | func S256() *KoblitzCurve { function Params (line 39) | func Params() *CurveParams { function Generator (line 44) | func Generator() *PublicKey { FILE: btcec/btcec_test.go function isJacobianOnS256Curve (line 18) | func isJacobianOnS256Curve(point *JacobianPoint) bool { function TestAddJacobian (line 34) | func TestAddJacobian(t *testing.T) { function TestAddAffine (line 262) | func TestAddAffine(t *testing.T) { function isStrictlyEqual (line 362) | func isStrictlyEqual(p, other *JacobianPoint) bool { function TestDoubleJacobian (line 368) | func TestDoubleJacobian(t *testing.T) { function TestDoubleAffine (line 445) | func TestDoubleAffine(t *testing.T) { function TestOnCurve (line 518) | func TestOnCurve(t *testing.T) { type baseMultTest (line 525) | type baseMultTest struct function TestBaseMult (line 560) | func TestBaseMult(t *testing.T) { function TestBaseMultVerify (line 577) | func TestBaseMultVerify(t *testing.T) { function TestScalarMult (line 599) | func TestScalarMult(t *testing.T) { function TestScalarMultRand (line 639) | func TestScalarMultRand(t *testing.T) { function splitK (line 687) | func splitK(k []byte) ([]byte, []byte, int, int) { function TestSplitK (line 722) | func TestSplitK(t *testing.T) { function TestSplitKRand (line 808) | func TestSplitKRand(t *testing.T) { function testKeyGeneration (line 835) | func testKeyGeneration(t *testing.T, c *KoblitzCurve, tag string) { function TestKeyGeneration (line 847) | func TestKeyGeneration(t *testing.T) { function checkNAFEncoding (line 854) | func checkNAFEncoding(pos, neg []byte, origValue *big.Int) error { FILE: btcec/ciphering.go function GenerateSharedSecret (line 14) | func GenerateSharedSecret(privkey *PrivateKey, pubkey *PublicKey) []byte { FILE: btcec/ciphering_test.go function TestGenerateSharedSecret (line 12) | func TestGenerateSharedSecret(t *testing.T) { FILE: btcec/curve.go function MakeJacobianPoint (line 21) | func MakeJacobianPoint(x, y, z *FieldVal) JacobianPoint { function AddNonConst (line 27) | func AddNonConst(p1, p2, result *JacobianPoint) { function DecompressY (line 38) | func DecompressY(x *FieldVal, odd bool, resultY *FieldVal) bool { function DoubleNonConst (line 47) | func DoubleNonConst(p, result *JacobianPoint) { function ScalarBaseMultNonConst (line 56) | func ScalarBaseMultNonConst(k *ModNScalar, result *JacobianPoint) { function ScalarMultNonConst (line 66) | func ScalarMultNonConst(k *ModNScalar, point, result *JacobianPoint) { function ParseJacobian (line 73) | func ParseJacobian(point []byte) (JacobianPoint, error) { function JacobianToByteSlice (line 98) | func JacobianToByteSlice(point JacobianPoint) []byte { function GeneratorJacobian (line 111) | func GeneratorJacobian(jacobian *JacobianPoint) { FILE: btcec/ecdsa/bench_test.go function hexToBytes (line 21) | func hexToBytes(s string) []byte { function hexToModNScalar (line 33) | func hexToModNScalar(s string) *btcec.ModNScalar { function hexToFieldVal (line 49) | func hexToFieldVal(s string) *btcec.FieldVal { function fromHex (line 65) | func fromHex(s string) *big.Int { function BenchmarkSigVerify (line 78) | func BenchmarkSigVerify(b *testing.B) { function BenchmarkSign (line 106) | func BenchmarkSign(b *testing.B) { function BenchmarkSigSerialize (line 123) | func BenchmarkSigSerialize(b *testing.B) { function BenchmarkNonceRFC6979 (line 141) | func BenchmarkNonceRFC6979(b *testing.B) { function BenchmarkSignCompact (line 163) | func BenchmarkSignCompact(b *testing.B) { function BenchmarkRecoverCompact (line 179) | func BenchmarkRecoverCompact(b *testing.B) { FILE: btcec/ecdsa/example_test.go function Example_signMessage (line 18) | func Example_signMessage() { function Example_verifySignature (line 48) | func Example_verifySignature() { FILE: btcec/ecdsa/signature.go function NewSignature (line 27) | func NewSignature(r, s *btcec.ModNScalar) *Signature { constant MinSigLen (line 44) | MinSigLen = 8 constant MaxSigLen (line 52) | MaxSigLen = 72 function canonicalPadding (line 59) | func canonicalPadding(b []byte) error { function parseSig (line 70) | func parseSig(sigStr []byte, der bool) (*Signature, error) { function ParseSignature (line 217) | func ParseSignature(sigStr []byte) (*Signature, error) { function ParseDERSignature (line 224) | func ParseDERSignature(sigStr []byte) (*Signature, error) { function SignCompact (line 235) | func SignCompact(key *btcec.PrivateKey, hash []byte, function RecoverCompact (line 245) | func RecoverCompact(signature, hash []byte) (*btcec.PublicKey, bool, err... function Sign (line 254) | func Sign(key *btcec.PrivateKey, hash []byte) *Signature { FILE: btcec/ecdsa/signature_test.go type signatureTest (line 20) | type signatureTest struct function decodeHex (line 30) | func decodeHex(hexStr string) []byte { function TestSignatures (line 353) | func TestSignatures(t *testing.T) { function TestSignatureSerialize (line 376) | func TestSignatureSerialize(t *testing.T) { function testSignCompact (line 477) | func testSignCompact(t *testing.T, tag string, curve *btcec.KoblitzCurve, function TestSignCompact (line 528) | func TestSignCompact(t *testing.T) { function TestRecoverCompact (line 610) | func TestRecoverCompact(t *testing.T) { function TestRFC6979 (line 643) | func TestRFC6979(t *testing.T) { function TestSignatureIsEqual (line 721) | func TestSignatureIsEqual(t *testing.T) { function testSignAndVerify (line 742) | func testSignAndVerify(t *testing.T, c *btcec.KoblitzCurve, tag string) { function TestSignAndVerify (line 759) | func TestSignAndVerify(t *testing.T) { function TestPrivKeys (line 763) | func TestPrivKeys(t *testing.T) { FILE: btcec/ellswift/ellswift.go function init (line 29) | func init() { function XSwiftEC (line 40) | func XSwiftEC(u, t *btcec.FieldVal) (*btcec.FieldVal, error) { function isXOnCurve (line 116) | func isXOnCurve(x *btcec.FieldVal) bool { function XSwiftECInv (line 128) | func XSwiftECInv(u, x *btcec.FieldVal, caseNum int) *btcec.FieldVal { function XElligatorSwift (line 233) | func XElligatorSwift(x *btcec.FieldVal) (*btcec.FieldVal, *btcec.FieldVal, function EllswiftCreate (line 271) | func EllswiftCreate() (*btcec.PrivateKey, [64]byte, error) { function EllswiftECDHXOnly (line 305) | func EllswiftECDHXOnly(ellswiftTheirs [64]byte, privKey *btcec.PrivateKe... function getXCoord (line 348) | func getXCoord(privKey *btcec.PrivateKey) *btcec.FieldVal { function liftX (line 358) | func liftX(x *btcec.FieldVal) (*btcec.PublicKey, bool) { function V2Ecdh (line 382) | func V2Ecdh(priv *btcec.PrivateKey, ellswiftTheirs, ellswiftOurs [64]byte, FILE: btcec/ellswift/ellswift_test.go function setHex (line 17) | func setHex(hexString string) *btcec.FieldVal { function TestXSwiftECVectors (line 30) | func TestXSwiftECVectors(t *testing.T) { function TestXSwiftECInvVectors (line 366) | func TestXSwiftECInvVectors(t *testing.T) { FILE: btcec/error.go function makeError (line 22) | func makeError(kind ErrorKind, desc string) Error { FILE: btcec/field_test.go function TestIsZero (line 16) | func TestIsZero(t *testing.T) { function TestStringer (line 37) | func TestStringer(t *testing.T) { function TestNormalize (line 122) | func TestNormalize(t *testing.T) { function TestIsOdd (line 290) | func TestIsOdd(t *testing.T) { function TestEquals (line 320) | func TestEquals(t *testing.T) { function TestNegate (line 353) | func TestNegate(t *testing.T) { function TestFieldAddInt (line 402) | func TestFieldAddInt(t *testing.T) { function TestFieldAdd (line 469) | func TestFieldAdd(t *testing.T) { function TestFieldMulInt (line 565) | func TestFieldMulInt(t *testing.T) { function TestFieldMul (line 645) | func TestFieldMul(t *testing.T) { function TestFieldSquare (line 740) | func TestFieldSquare(t *testing.T) { function TestInverse (line 809) | func TestInverse(t *testing.T) { function randFieldVal (line 862) | func randFieldVal(t *testing.T, rng *rand.Rand) *FieldVal { function TestFieldSquareRoot (line 878) | func TestFieldSquareRoot(t *testing.T) { function hexToBytes (line 979) | func hexToBytes(s string) []byte { FILE: btcec/fuzz_test.go function FuzzParsePubKey (line 15) | func FuzzParsePubKey(f *testing.F) { FILE: btcec/modnscalar.go function NonceRFC6979 (line 41) | func NonceRFC6979(privKey []byte, hash []byte, extra []byte, version []b... FILE: btcec/privkey.go function PrivKeyFromBytes (line 18) | func PrivKeyFromBytes(pk []byte) (*PrivateKey, *PublicKey) { function NewPrivateKey (line 26) | func NewPrivateKey() (*PrivateKey, error) { function PrivKeyFromScalar (line 32) | func PrivKeyFromScalar(key *ModNScalar) *PrivateKey { constant PrivKeyBytesLen (line 37) | PrivKeyBytesLen = 32 FILE: btcec/pubkey.go constant PubKeyBytesLenCompressed (line 15) | PubKeyBytesLenCompressed = 33 constant pubkeyCompressed (line 19) | pubkeyCompressed byte = 0x2 constant pubkeyUncompressed (line 20) | pubkeyUncompressed byte = 0x4 constant pubkeyHybrid (line 21) | pubkeyHybrid byte = 0x6 function IsCompressedPubKey (line 26) | func IsCompressedPubKey(pubKey []byte) bool { function ParsePubKey (line 36) | func ParsePubKey(pubKeyStr []byte) (*PublicKey, error) { function NewPublicKey (line 51) | func NewPublicKey(x, y *FieldVal) *PublicKey { type SerializedKey (line 59) | type SerializedKey method ToPubKey (line 62) | func (s SerializedKey) ToPubKey() (*PublicKey, error) { method SchnorrSerialized (line 68) | func (s SerializedKey) SchnorrSerialized() [32]byte { method CopyBytes (line 75) | func (s SerializedKey) CopyBytes() []byte { function ToSerialized (line 83) | func ToSerialized(pubKey *PublicKey) SerializedKey { FILE: btcec/pubkey_test.go type pubKeyTest (line 14) | type pubKeyTest struct function TestPubKeys (line 217) | func TestPubKeys(t *testing.T) { function TestPublicKeyIsEqual (line 250) | func TestPublicKeyIsEqual(t *testing.T) { function TestIsCompressed (line 284) | func TestIsCompressed(t *testing.T) { FILE: btcec/schnorr/bench_test.go function hexToBytes (line 22) | func hexToBytes(s string) []byte { function hexToModNScalar (line 34) | func hexToModNScalar(s string) *btcec.ModNScalar { function hexToFieldVal (line 50) | func hexToFieldVal(s string) *btcec.FieldVal { function fromHex (line 66) | func fromHex(s string) *big.Int { function BenchmarkSigVerify (line 81) | func BenchmarkSigVerify(b *testing.B) { function BenchmarkSign (line 118) | func BenchmarkSign(b *testing.B) { function BenchmarkSignRfc6979 (line 148) | func BenchmarkSignRfc6979(b *testing.B) { FILE: btcec/schnorr/error.go function signatureError (line 23) | func signatureError(kind ErrorKind, desc string) Error { FILE: btcec/schnorr/musig2/bench_test.go function hexToBytes (line 22) | func hexToBytes(s string) []byte { function hexToModNScalar (line 30) | func hexToModNScalar(s string) *btcec.ModNScalar { function genSigner (line 42) | func genSigner(t *testing.B) signer { function BenchmarkPartialSign (line 70) | func BenchmarkPartialSign(b *testing.B) { function BenchmarkPartialVerify (line 130) | func BenchmarkPartialVerify(b *testing.B) { function BenchmarkCombineSigs (line 200) | func BenchmarkCombineSigs(b *testing.B) { function BenchmarkAggregateNonces (line 252) | func BenchmarkAggregateNonces(b *testing.B) { function BenchmarkAggregateKeys (line 280) | func BenchmarkAggregateKeys(b *testing.B) { FILE: btcec/schnorr/musig2/context.go type Context (line 71) | type Context struct method combineSignerKeys (line 264) | func (c *Context) combineSignerKeys() error { method EarlySessionNonce (line 317) | func (c *Context) EarlySessionNonce() (*Nonces, error) { method RegisterSigner (line 334) | func (c *Context) RegisterSigner(pub *btcec.PublicKey) (bool, error) { method NumRegisteredSigners (line 355) | func (c *Context) NumRegisteredSigners() int { method CombinedKey (line 361) | func (c *Context) CombinedKey() (*btcec.PublicKey, error) { method PubKey (line 372) | func (c *Context) PubKey() btcec.PublicKey { method SigningKeys (line 377) | func (c *Context) SigningKeys() []*btcec.PublicKey { method TaprootInternalKey (line 389) | func (c *Context) TaprootInternalKey() (*btcec.PublicKey, error) { method NewSession (line 454) | func (c *Context) NewSession(options ...SessionOption) (*Session, erro... type ContextOption (line 102) | type ContextOption type contextOptions (line 106) | type contextOptions struct function defaultContextOptions (line 137) | func defaultContextOptions() *contextOptions { function WithTweakedContext (line 143) | func WithTweakedContext(tweaks ...KeyTweakDesc) ContextOption { function WithTaprootTweakCtx (line 153) | func WithTaprootTweakCtx(scriptRoot []byte) ContextOption { function WithBip86TweakCtx (line 163) | func WithBip86TweakCtx() ContextOption { function WithKnownSigners (line 171) | func WithKnownSigners(signers []*btcec.PublicKey) ContextOption { function WithNumSigners (line 184) | func WithNumSigners(n int) ContextOption { function WithEarlyNonceGen (line 195) | func WithEarlyNonceGen() ContextOption { function NewContext (line 205) | func NewContext(signingKey *btcec.PrivateKey, shouldSort bool, type SessionOption (line 405) | type SessionOption type sessionOptions (line 409) | type sessionOptions struct function defaultSessionOptions (line 414) | func defaultSessionOptions() *sessionOptions { function WithPreGeneratedNonce (line 421) | func WithPreGeneratedNonce(nonce *Nonces) SessionOption { type Session (line 434) | type Session struct method PublicNonce (line 516) | func (s *Session) PublicNonce() [PubNonceSize]byte { method NumRegisteredNonces (line 522) | func (s *Session) NumRegisteredNonces() int { method RegisterPubNonce (line 529) | func (s *Session) RegisterPubNonce(nonce [PubNonceSize]byte) (bool, er... method CombinedNonce (line 562) | func (s *Session) CombinedNonce() ([PubNonceSize]byte, error) { method RegisterCombinedNonce (line 575) | func (s *Session) RegisterCombinedNonce( method Sign (line 610) | func (s *Session) Sign(msg [32]byte, method CombineSig (line 662) | func (s *Session) CombineSig(sig *PartialSignature) (bool, error) { method FinalSig (line 723) | func (s *Session) FinalSig() *schnorr.Signature { FILE: btcec/schnorr/musig2/keys.go type sortableKeys (line 37) | type sortableKeys method Less (line 41) | func (s sortableKeys) Less(i, j int) bool { method Swap (line 50) | func (s sortableKeys) Swap(i, j int) { method Len (line 55) | func (s sortableKeys) Len() int { function sortKeys (line 62) | func sortKeys(keys []*btcec.PublicKey) []*btcec.PublicKey { function keyHashFingerprint (line 76) | func keyHashFingerprint(keys []*btcec.PublicKey, sort bool) []byte { function keyBytesEqual (line 95) | func keyBytesEqual(a, b *btcec.PublicKey) bool { function aggregationCoefficient (line 102) | func aggregationCoefficient(keySet []*btcec.PublicKey, function secondUniqueKeyIndex (line 129) | func secondUniqueKeyIndex(keySet []*btcec.PublicKey, sort bool) int { type KeyTweakDesc (line 151) | type KeyTweakDesc struct type KeyAggOption (line 162) | type KeyAggOption type keyAggOption (line 166) | type keyAggOption struct function WithKeysHash (line 189) | func WithKeysHash(keyHash []byte) KeyAggOption { function WithUniqueKeyIndex (line 197) | func WithUniqueKeyIndex(idx int) KeyAggOption { function WithKeyTweaks (line 206) | func WithKeyTweaks(tweaks ...KeyTweakDesc) KeyAggOption { function WithTaprootKeyTweak (line 220) | func WithTaprootKeyTweak(scriptRoot []byte) KeyAggOption { function WithBIP86KeyTweak (line 239) | func WithBIP86KeyTweak() KeyAggOption { function defaultKeyAggOptions (line 253) | func defaultKeyAggOptions() *keyAggOption { function hasEvenY (line 261) | func hasEvenY(pJ btcec.JacobianPoint) bool { function tweakKey (line 273) | func tweakKey(keyJ btcec.JacobianPoint, parityAcc btcec.ModNScalar, twea... type AggregateKey (line 326) | type AggregateKey struct function AggregateKeys (line 342) | func AggregateKeys(keys []*btcec.PublicKey, sort bool, FILE: btcec/schnorr/musig2/keys_test.go constant keySortTestVectorFileName (line 21) | keySortTestVectorFileName = "key_sort_vectors.json" constant keyAggTestVectorFileName (line 23) | keyAggTestVectorFileName = "key_agg_vectors.json" constant keyTweakTestVectorFileName (line 25) | keyTweakTestVectorFileName = "tweak_vectors.json" type keySortTestVector (line 28) | type keySortTestVector struct function TestMusig2KeySort (line 36) | func TestMusig2KeySort(t *testing.T) { type keyAggValidTest (line 69) | type keyAggValidTest struct type keyAggError (line 74) | type keyAggError struct type keyAggInvalidTest (line 80) | type keyAggInvalidTest struct type keyAggTestVectors (line 90) | type keyAggTestVectors struct function keysFromIndices (line 100) | func keysFromIndices(t *testing.T, indices []int, function tweaksFromIndices (line 119) | func tweaksFromIndices(t *testing.T, indices []int, function TestMuSig2KeyAggTestVectors (line 140) | func TestMuSig2KeyAggTestVectors(t *testing.T) { type keyTweakInvalidTest (line 262) | type keyTweakInvalidTest struct type keyTweakValidTest (line 276) | type keyTweakValidTest struct type keyTweakVector (line 292) | type keyTweakVector struct function pubNoncesFromIndices (line 312) | func pubNoncesFromIndices(t *testing.T, nonceIndices []int, pubNonces []... function TestMuSig2TweakTestVectors (line 328) | func TestMuSig2TweakTestVectors(t *testing.T) { FILE: btcec/schnorr/musig2/musig2_test.go constant testVectorBaseDir (line 17) | testVectorBaseDir = "data" function mustParseHex (line 20) | func mustParseHex(str string) []byte { type signer (line 29) | type signer struct type signerSet (line 38) | type signerSet method keys (line 40) | func (s signerSet) keys() []*btcec.PublicKey { method partialSigs (line 49) | func (s signerSet) partialSigs() []*PartialSignature { method pubNonces (line 58) | func (s signerSet) pubNonces() [][PubNonceSize]byte { method combinedKey (line 67) | func (s signerSet) combinedKey() *btcec.PublicKey { function testMultiPartySign (line 76) | func testMultiPartySign(t *testing.T, taprootTweak []byte, function TestMuSigMultiParty (line 214) | func TestMuSigMultiParty(t *testing.T) { function TestMuSigEarlyNonce (line 262) | func TestMuSigEarlyNonce(t *testing.T) { type memsetRandReader (line 432) | type memsetRandReader struct method Read (line 436) | func (mr *memsetRandReader) Read(buf []byte) (n int, err error) { function TestSigningWithAggregatedNonce (line 447) | func TestSigningWithAggregatedNonce(t *testing.T) { function getValidNonce (line 831) | func getValidNonce(t *testing.T) [PubNonceSize]byte { FILE: btcec/schnorr/musig2/nonces.go constant PubNonceSize (line 21) | PubNonceSize = 66 constant SecNonceSize (line 25) | SecNonceSize = 97 type Nonces (line 51) | type Nonces struct function secNonceToPubNonce (line 63) | func secNonceToPubNonce(secNonce [SecNonceSize]byte) [PubNonceSize]byte { type NonceGenOption (line 94) | type NonceGenOption type nonceGenOpts (line 98) | type nonceGenOpts struct type cryptoRandAdapter (line 128) | type cryptoRandAdapter struct method Read (line 134) | func (c *cryptoRandAdapter) Read(p []byte) (n int, err error) { function defaultNonceGenOpts (line 139) | func defaultNonceGenOpts() *nonceGenOpts { function WithCustomRand (line 148) | func WithCustomRand(r io.Reader) NonceGenOption { function WithPublicKey (line 156) | func WithPublicKey(pubKey *btcec.PublicKey) NonceGenOption { function WithNonceSecretKeyAux (line 164) | func WithNonceSecretKeyAux(secKey *btcec.PrivateKey) NonceGenOption { function WithNonceCombinedKeyAux (line 173) | func WithNonceCombinedKeyAux(combinedKey *btcec.PublicKey) NonceGenOption { function WithNonceMessageAux (line 181) | func WithNonceMessageAux(msg [32]byte) NonceGenOption { function WithNonceAuxInput (line 189) | func WithNonceAuxInput(aux []byte) NonceGenOption { function withCustomOptions (line 199) | func withCustomOptions(customOpts nonceGenOpts) NonceGenOption { type lengthWriter (line 214) | type lengthWriter function uint8Writer (line 218) | func uint8Writer(w io.Writer, b []byte) error { function uint32Writer (line 224) | func uint32Writer(w io.Writer, b []byte) error { function uint64Writer (line 230) | func uint64Writer(w io.Writer, b []byte) error { function writeBytesPrefix (line 237) | func writeBytesPrefix(w io.Writer, b []byte, lenWriter lengthWriter) err... function genNonceAuxBytes (line 260) | func genNonceAuxBytes(rand []byte, pubkey []byte, i int, function GenNonces (line 326) | func GenNonces(options ...NonceGenOption) (*Nonces, error) { function AggregateNonces (line 386) | func AggregateNonces(pubNonces [][PubNonceSize]byte) ([PubNonceSize]byte... FILE: btcec/schnorr/musig2/nonces_test.go type nonceGenTestCase (line 17) | type nonceGenTestCase struct type nonceGenTestCases (line 28) | type nonceGenTestCases struct constant nonceGenTestVectorsFileName (line 33) | nonceGenTestVectorsFileName = "nonce_gen_vectors.json" constant nonceAggTestVectorsFileName (line 34) | nonceAggTestVectorsFileName = "nonce_agg_vectors.json" function TestMusig2NonceGenTestVectors (line 39) | func TestMusig2NonceGenTestVectors(t *testing.T) { type nonceAggError (line 81) | type nonceAggError struct type nonceAggValidCase (line 87) | type nonceAggValidCase struct type nonceAggInvalidCase (line 95) | type nonceAggInvalidCase struct type nonceAggTestCases (line 105) | type nonceAggTestCases struct function TestMusig2AggregateNoncesTestVectors (line 115) | func TestMusig2AggregateNoncesTestVectors(t *testing.T) { FILE: btcec/schnorr/musig2/sign.go type PartialSignature (line 58) | type PartialSignature struct method Encode (line 76) | func (p *PartialSignature) Encode(w io.Writer) error { method Decode (line 89) | func (p *PartialSignature) Decode(r io.Reader) error { method Verify (line 410) | func (p *PartialSignature) Verify(pubNonce [PubNonceSize]byte, function NewPartialSignature (line 65) | func NewPartialSignature(s *btcec.ModNScalar, type SignOption (line 107) | type SignOption type signOptions (line 111) | type signOptions struct function defaultSignOptions (line 140) | func defaultSignOptions() *signOptions { function WithFastSign (line 147) | func WithFastSign() SignOption { function WithSortedKeys (line 155) | func WithSortedKeys() SignOption { function WithTweaks (line 163) | func WithTweaks(tweaks ...KeyTweakDesc) SignOption { function WithTaprootSignTweak (line 178) | func WithTaprootSignTweak(scriptRoot []byte) SignOption { function WithBip86SignTweak (line 192) | func WithBip86SignTweak() SignOption { function computeSigningNonce (line 200) | func computeSigningNonce(combinedNonce [PubNonceSize]byte, function Sign (line 254) | func Sign(secNonce [SecNonceSize]byte, privKey *btcec.PrivateKey, function verifyPartialSig (line 424) | func verifyPartialSig(partialSig *PartialSignature, pubNonce [PubNonceSi... type CombineOption (line 599) | type CombineOption type combineOptions (line 603) | type combineOptions struct function defaultCombineOptions (line 612) | func defaultCombineOptions() *combineOptions { function WithTweakedCombine (line 621) | func WithTweakedCombine(msg [32]byte, keys []*btcec.PublicKey, function WithTaprootTweakedCombine (line 642) | func WithTaprootTweakedCombine(msg [32]byte, keys []*btcec.PublicKey, function WithBip86TweakedCombine (line 664) | func WithBip86TweakedCombine(msg [32]byte, keys []*btcec.PublicKey, function CombineSigs (line 680) | func CombineSigs(combinedNonce *btcec.PublicKey, FILE: btcec/schnorr/musig2/sign_test.go constant signVerifyTestVectorFileName (line 21) | signVerifyTestVectorFileName = "sign_verify_vectors.json" constant sigCombineTestVectorFileName (line 23) | sigCombineTestVectorFileName = "sig_agg_vectors.json" type signVerifyValidCase (line 26) | type signVerifyValidCase struct type signErrorCase (line 40) | type signErrorCase struct type verifyFailCase (line 52) | type verifyFailCase struct type verifyErrorCase (line 66) | type verifyErrorCase struct type signVerifyTestVectors (line 80) | type signVerifyTestVectors struct function TestMusig2SignVerify (line 103) | func TestMusig2SignVerify(t *testing.T) { type sigCombineValidCase (line 271) | type sigCombineValidCase struct type sigCombineTestVectors (line 287) | type sigCombineTestVectors struct function pSigsFromIndices (line 301) | func pSigsFromIndices(t *testing.T, sigs []string, indices []int) []*Par... function TestMusig2SignCombine (line 315) | func TestMusig2SignCombine(t *testing.T) { FILE: btcec/schnorr/pubkey.go constant PubKeyBytesLen (line 17) | PubKeyBytesLen = 32 function ParsePubKey (line 23) | func ParsePubKey(pubKeyStr []byte) (*btcec.PublicKey, error) { function SerializePubKey (line 46) | func SerializePubKey(pub *btcec.PublicKey) []byte { FILE: btcec/schnorr/signature.go constant SignatureSize (line 16) | SignatureSize = 64 constant scalarSize (line 19) | scalarSize = 32 type Signature (line 38) | type Signature struct method Serialize (line 57) | func (sig Signature) Serialize() []byte { method IsEqual (line 103) | func (sig Signature) IsEqual(otherSig *Signature) bool { method Verify (line 228) | func (sig *Signature) Verify(hash []byte, pubKey *btcec.PublicKey) bool { function NewSignature (line 44) | func NewSignature(r *btcec.FieldVal, s *btcec.ModNScalar) *Signature { function ParseSignature (line 70) | func ParseSignature(sig []byte) (*Signature, error) { function schnorrVerify (line 114) | func schnorrVerify(sig *Signature, hash []byte, pubKeyBytes []byte) error { function zeroArray (line 234) | func zeroArray(a *[scalarSize]byte) { function schnorrSign (line 248) | func schnorrSign(privKey, nonce *btcec.ModNScalar, pubKey *btcec.PublicK... type SignOption (line 342) | type SignOption type signOptions (line 346) | type signOptions struct function defaultSignOptions (line 357) | func defaultSignOptions() *signOptions { function FastSign (line 364) | func FastSign() SignOption { function CustomNonce (line 375) | func CustomNonce(auxData [32]byte) SignOption { function Sign (line 391) | func Sign(privKey *btcec.PrivateKey, hash []byte, FILE: btcec/schnorr/signature_test.go type bip340Test (line 21) | type bip340Test struct function decodeHex (line 156) | func decodeHex(hexStr string) []byte { function TestSchnorrSign (line 166) | func TestSchnorrSign(t *testing.T) { function TestSchnorrVerify (line 212) | func TestSchnorrVerify(t *testing.T) { function TestSchnorrSignNoMutate (line 262) | func TestSchnorrSignNoMutate(t *testing.T) { FILE: btcjson/btcdextcmds.go type NodeSubCmd (line 13) | type NodeSubCmd constant NConnect (line 17) | NConnect NodeSubCmd = "connect" constant NRemove (line 21) | NRemove NodeSubCmd = "remove" constant NDisconnect (line 24) | NDisconnect NodeSubCmd = "disconnect" type NodeCmd (line 28) | type NodeCmd struct function NewNodeCmd (line 39) | func NewNodeCmd(subCmd NodeSubCmd, target string, connectSubCmd *string)... type DebugLevelCmd (line 49) | type DebugLevelCmd struct function NewDebugLevelCmd (line 56) | func NewDebugLevelCmd(levelSpec string) *DebugLevelCmd { type GenerateToAddressCmd (line 63) | type GenerateToAddressCmd struct function NewGenerateToAddressCmd (line 71) | func NewGenerateToAddressCmd(numBlocks int64, address string, maxTries *... type GenerateCmd (line 80) | type GenerateCmd struct function NewGenerateCmd (line 86) | func NewGenerateCmd(numBlocks uint32) *GenerateCmd { type GetBestBlockCmd (line 93) | type GetBestBlockCmd struct function NewGetBestBlockCmd (line 97) | func NewGetBestBlockCmd() *GetBestBlockCmd { type GetCurrentNetCmd (line 102) | type GetCurrentNetCmd struct function NewGetCurrentNetCmd (line 106) | func NewGetCurrentNetCmd() *GetCurrentNetCmd { type GetHeadersCmd (line 114) | type GetHeadersCmd struct function NewGetHeadersCmd (line 124) | func NewGetHeadersCmd(blockLocators []string, hashStop string) *GetHeade... type VersionCmd (line 135) | type VersionCmd struct function NewVersionCmd (line 142) | func NewVersionCmd() *VersionCmd { return new(VersionCmd) } function init (line 144) | func init() { FILE: btcjson/btcdextcmds_test.go function TestBtcdExtCmds (line 22) | func TestBtcdExtCmds(t *testing.T) { FILE: btcjson/btcdextresults.go type VersionResult (line 13) | type VersionResult struct FILE: btcjson/btcdextresults_test.go function TestBtcdExtCustomResults (line 18) | func TestBtcdExtCustomResults(t *testing.T) { FILE: btcjson/btcwalletextcmds.go type CreateNewAccountCmd (line 11) | type CreateNewAccountCmd struct function NewCreateNewAccountCmd (line 17) | func NewCreateNewAccountCmd(account string) *CreateNewAccountCmd { type DumpWalletCmd (line 24) | type DumpWalletCmd struct function NewDumpWalletCmd (line 30) | func NewDumpWalletCmd(filename string) *DumpWalletCmd { type ImportAddressCmd (line 37) | type ImportAddressCmd struct function NewImportAddressCmd (line 45) | func NewImportAddressCmd(address string, account string, rescan *bool) *... type ImportPubKeyCmd (line 54) | type ImportPubKeyCmd struct function NewImportPubKeyCmd (line 61) | func NewImportPubKeyCmd(pubKey string, rescan *bool) *ImportPubKeyCmd { type ImportWalletCmd (line 69) | type ImportWalletCmd struct function NewImportWalletCmd (line 75) | func NewImportWalletCmd(filename string) *ImportWalletCmd { type RenameAccountCmd (line 82) | type RenameAccountCmd struct function NewRenameAccountCmd (line 89) | func NewRenameAccountCmd(oldAccount, newAccount string) *RenameAccountCmd { function init (line 96) | func init() { FILE: btcjson/btcwalletextcmds_test.go function TestBtcWalletExtCmds (line 21) | func TestBtcWalletExtCmds(t *testing.T) { FILE: btcjson/chainsvrcmds.go type AddNodeSubCmd (line 25) | type AddNodeSubCmd constant ANAdd (line 30) | ANAdd AddNodeSubCmd = "add" constant ANRemove (line 33) | ANRemove AddNodeSubCmd = "remove" constant ANOneTry (line 37) | ANOneTry AddNodeSubCmd = "onetry" type AddNodeCmd (line 41) | type AddNodeCmd struct function NewAddNodeCmd (line 48) | func NewAddNodeCmd(addr string, subCmd AddNodeSubCmd) *AddNodeCmd { type TransactionInput (line 57) | type TransactionInput struct type CreateRawTransactionCmd (line 63) | type CreateRawTransactionCmd struct function NewCreateRawTransactionCmd (line 74) | func NewCreateRawTransactionCmd(inputs []TransactionInput, amounts map[s... type DecodeRawTransactionCmd (line 89) | type DecodeRawTransactionCmd struct function NewDecodeRawTransactionCmd (line 95) | func NewDecodeRawTransactionCmd(hexTx string) *DecodeRawTransactionCmd { type DecodeScriptCmd (line 102) | type DecodeScriptCmd struct function NewDecodeScriptCmd (line 108) | func NewDecodeScriptCmd(hexScript string) *DecodeScriptCmd { type DeriveAddressesCmd (line 115) | type DeriveAddressesCmd struct function NewDeriveAddressesCmd (line 122) | func NewDeriveAddressesCmd(descriptor string, descriptorRange *Descripto... type ChangeType (line 131) | type ChangeType type FundRawTransactionOpts (line 143) | type FundRawTransactionOpts struct type FundRawTransactionCmd (line 158) | type FundRawTransactionCmd struct function NewFundRawTransactionCmd (line 166) | func NewFundRawTransactionCmd(serializedTx []byte, opts FundRawTransacti... type GetAddedNodeInfoCmd (line 175) | type GetAddedNodeInfoCmd struct function NewGetAddedNodeInfoCmd (line 185) | func NewGetAddedNodeInfoCmd(dns bool, node *string) *GetAddedNodeInfoCmd { type GetBestBlockHashCmd (line 193) | type GetBestBlockHashCmd struct function NewGetBestBlockHashCmd (line 197) | func NewGetBestBlockHashCmd() *GetBestBlockHashCmd { type GetBlockCmd (line 202) | type GetBlockCmd struct function NewGetBlockCmd (line 212) | func NewGetBlockCmd(hash string, verbosity *int) *GetBlockCmd { type GetBlockChainInfoCmd (line 220) | type GetBlockChainInfoCmd struct function NewGetBlockChainInfoCmd (line 224) | func NewGetBlockChainInfoCmd() *GetBlockChainInfoCmd { type GetBlockCountCmd (line 229) | type GetBlockCountCmd struct function NewGetBlockCountCmd (line 233) | func NewGetBlockCountCmd() *GetBlockCountCmd { type FilterTypeName (line 239) | type FilterTypeName constant FilterTypeBasic (line 243) | FilterTypeBasic FilterTypeName = "basic" type GetBlockFilterCmd (line 247) | type GetBlockFilterCmd struct function NewGetBlockFilterCmd (line 257) | func NewGetBlockFilterCmd(blockHash string, filterType *FilterTypeName) ... type GetBlockHashCmd (line 265) | type GetBlockHashCmd struct function NewGetBlockHashCmd (line 271) | func NewGetBlockHashCmd(index int64) *GetBlockHashCmd { type GetBlockHeaderCmd (line 278) | type GetBlockHeaderCmd struct function NewGetBlockHeaderCmd (line 285) | func NewGetBlockHeaderCmd(hash string, verbose *bool) *GetBlockHeaderCmd { type HashOrHeight (line 293) | type HashOrHeight struct method MarshalJSON (line 298) | func (h HashOrHeight) MarshalJSON() ([]byte, error) { method UnmarshalJSON (line 303) | func (h *HashOrHeight) UnmarshalJSON(data []byte) error { type GetBlockStatsCmd (line 322) | type GetBlockStatsCmd struct function NewGetBlockStatsCmd (line 329) | func NewGetBlockStatsCmd(hashOrHeight HashOrHeight, stats *[]string) *Ge... type TemplateRequest (line 339) | type TemplateRequest struct method UnmarshalJSON (line 387) | func (t *TemplateRequest) UnmarshalJSON(data []byte) error { function convertTemplateRequestField (line 367) | func convertTemplateRequestField(fieldName string, iface interface{}) (i... type GetBlockTemplateCmd (line 413) | type GetBlockTemplateCmd struct function NewGetBlockTemplateCmd (line 422) | func NewGetBlockTemplateCmd(request *TemplateRequest) *GetBlockTemplateC... type GetCFilterCmd (line 429) | type GetCFilterCmd struct function NewGetCFilterCmd (line 436) | func NewGetCFilterCmd(hash string, filterType wire.FilterType) *GetCFilt... type GetCFilterHeaderCmd (line 444) | type GetCFilterHeaderCmd struct function NewGetCFilterHeaderCmd (line 451) | func NewGetCFilterHeaderCmd(hash string, type GetChainTipsCmd (line 460) | type GetChainTipsCmd struct function NewGetChainTipsCmd (line 464) | func NewGetChainTipsCmd() *GetChainTipsCmd { type GetChainTxStatsCmd (line 469) | type GetChainTxStatsCmd struct function NewGetChainTxStatsCmd (line 479) | func NewGetChainTxStatsCmd(nBlocks *int32, blockHash *string) *GetChainT... type GetConnectionCountCmd (line 487) | type GetConnectionCountCmd struct function NewGetConnectionCountCmd (line 491) | func NewGetConnectionCountCmd() *GetConnectionCountCmd { type GetDescriptorInfoCmd (line 496) | type GetDescriptorInfoCmd struct function NewGetDescriptorInfoCmd (line 502) | func NewGetDescriptorInfoCmd(descriptor string) *GetDescriptorInfoCmd { type GetDifficultyCmd (line 509) | type GetDifficultyCmd struct function NewGetDifficultyCmd (line 513) | func NewGetDifficultyCmd() *GetDifficultyCmd { type GetGenerateCmd (line 518) | type GetGenerateCmd struct function NewGetGenerateCmd (line 522) | func NewGetGenerateCmd() *GetGenerateCmd { type GetHashesPerSecCmd (line 527) | type GetHashesPerSecCmd struct function NewGetHashesPerSecCmd (line 531) | func NewGetHashesPerSecCmd() *GetHashesPerSecCmd { type GetInfoCmd (line 536) | type GetInfoCmd struct function NewGetInfoCmd (line 540) | func NewGetInfoCmd() *GetInfoCmd { type GetMempoolEntryCmd (line 545) | type GetMempoolEntryCmd struct function NewGetMempoolEntryCmd (line 551) | func NewGetMempoolEntryCmd(txHash string) *GetMempoolEntryCmd { type GetMempoolInfoCmd (line 558) | type GetMempoolInfoCmd struct function NewGetMempoolInfoCmd (line 562) | func NewGetMempoolInfoCmd() *GetMempoolInfoCmd { type GetMiningInfoCmd (line 567) | type GetMiningInfoCmd struct function NewGetMiningInfoCmd (line 571) | func NewGetMiningInfoCmd() *GetMiningInfoCmd { type GetNetworkInfoCmd (line 576) | type GetNetworkInfoCmd struct function NewGetNetworkInfoCmd (line 580) | func NewGetNetworkInfoCmd() *GetNetworkInfoCmd { type GetNetTotalsCmd (line 585) | type GetNetTotalsCmd struct function NewGetNetTotalsCmd (line 589) | func NewGetNetTotalsCmd() *GetNetTotalsCmd { type GetNetworkHashPSCmd (line 594) | type GetNetworkHashPSCmd struct function NewGetNetworkHashPSCmd (line 604) | func NewGetNetworkHashPSCmd(numBlocks, height *int) *GetNetworkHashPSCmd { type GetNodeAddressesCmd (line 612) | type GetNodeAddressesCmd struct function NewGetNodeAddressesCmd (line 621) | func NewGetNodeAddressesCmd(count *int32) *GetNodeAddressesCmd { type GetPeerInfoCmd (line 628) | type GetPeerInfoCmd struct function NewGetPeerInfoCmd (line 632) | func NewGetPeerInfoCmd() *GetPeerInfoCmd { type GetRawMempoolCmd (line 637) | type GetRawMempoolCmd struct function NewGetRawMempoolCmd (line 646) | func NewGetRawMempoolCmd(verbose *bool) *GetRawMempoolCmd { type GetRawTransactionCmd (line 656) | type GetRawTransactionCmd struct function NewGetRawTransactionCmd (line 666) | func NewGetRawTransactionCmd(txHash string, verbose *int) *GetRawTransac... type GetTxOutCmd (line 674) | type GetTxOutCmd struct function NewGetTxOutCmd (line 685) | func NewGetTxOutCmd(txHash string, vout uint32, includeMempool *bool) *G... type GetTxOutProofCmd (line 694) | type GetTxOutProofCmd struct function NewGetTxOutProofCmd (line 704) | func NewGetTxOutProofCmd(txIDs []string, blockHash *string) *GetTxOutPro... type GetTxOutSetInfoCmd (line 712) | type GetTxOutSetInfoCmd struct function NewGetTxOutSetInfoCmd (line 716) | func NewGetTxOutSetInfoCmd() *GetTxOutSetInfoCmd { type GetWorkCmd (line 721) | type GetWorkCmd struct function NewGetWorkCmd (line 730) | func NewGetWorkCmd(data *string) *GetWorkCmd { type HelpCmd (line 737) | type HelpCmd struct function NewHelpCmd (line 746) | func NewHelpCmd(command *string) *HelpCmd { type InvalidateBlockCmd (line 753) | type InvalidateBlockCmd struct function NewInvalidateBlockCmd (line 759) | func NewInvalidateBlockCmd(blockHash string) *InvalidateBlockCmd { type PingCmd (line 766) | type PingCmd struct function NewPingCmd (line 770) | func NewPingCmd() *PingCmd { type PreciousBlockCmd (line 775) | type PreciousBlockCmd struct function NewPreciousBlockCmd (line 781) | func NewPreciousBlockCmd(blockHash string) *PreciousBlockCmd { type ReconsiderBlockCmd (line 788) | type ReconsiderBlockCmd struct function NewReconsiderBlockCmd (line 794) | func NewReconsiderBlockCmd(blockHash string) *ReconsiderBlockCmd { type SearchRawTransactionsCmd (line 801) | type SearchRawTransactionsCmd struct function NewSearchRawTransactionsCmd (line 816) | func NewSearchRawTransactionsCmd(address string, verbose, skip, count *i... type AllowHighFeesOrMaxFeeRate (line 830) | type AllowHighFeesOrMaxFeeRate struct method String (line 836) | func (a AllowHighFeesOrMaxFeeRate) String() string { method MarshalJSON (line 842) | func (a AllowHighFeesOrMaxFeeRate) MarshalJSON() ([]byte, error) { method UnmarshalJSON (line 855) | func (a *AllowHighFeesOrMaxFeeRate) UnmarshalJSON(data []byte) error { type SendRawTransactionCmd (line 879) | type SendRawTransactionCmd struct function NewSendRawTransactionCmd (line 889) | func NewSendRawTransactionCmd(hexTx string, allowHighFees *bool) *SendRa... function NewBitcoindSendRawTransactionCmd (line 903) | func NewBitcoindSendRawTransactionCmd(hexTx string, maxFeeRate BTCPerkvB... type SetGenerateCmd (line 913) | type SetGenerateCmd struct function NewSetGenerateCmd (line 923) | func NewSetGenerateCmd(generate bool, genProcLimit *int) *SetGenerateCmd { type SignMessageWithPrivKeyCmd (line 931) | type SignMessageWithPrivKeyCmd struct function NewSignMessageWithPrivKey (line 941) | func NewSignMessageWithPrivKey(privKey, message string) *SignMessageWith... type StopCmd (line 949) | type StopCmd struct function NewStopCmd (line 953) | func NewStopCmd() *StopCmd { type SubmitBlockOptions (line 959) | type SubmitBlockOptions struct type SubmitBlockCmd (line 965) | type SubmitBlockCmd struct function NewSubmitBlockCmd (line 975) | func NewSubmitBlockCmd(hexBlock string, options *SubmitBlockOptions) *Su... type UptimeCmd (line 983) | type UptimeCmd struct function NewUptimeCmd (line 986) | func NewUptimeCmd() *UptimeCmd { type ValidateAddressCmd (line 991) | type ValidateAddressCmd struct function NewValidateAddressCmd (line 997) | func NewValidateAddressCmd(address string) *ValidateAddressCmd { type VerifyChainCmd (line 1004) | type VerifyChainCmd struct function NewVerifyChainCmd (line 1014) | func NewVerifyChainCmd(checkLevel, checkDepth *int32) *VerifyChainCmd { type VerifyMessageCmd (line 1022) | type VerifyMessageCmd struct function NewVerifyMessageCmd (line 1030) | func NewVerifyMessageCmd(address, signature, message string) *VerifyMess... type VerifyTxOutProofCmd (line 1039) | type VerifyTxOutProofCmd struct function NewVerifyTxOutProofCmd (line 1045) | func NewVerifyTxOutProofCmd(proof string) *VerifyTxOutProofCmd { type TestMempoolAcceptCmd (line 1052) | type TestMempoolAcceptCmd struct function NewTestMempoolAcceptCmd (line 1063) | func NewTestMempoolAcceptCmd(rawTxns []string, type GetTxSpendingPrevOutCmd (line 1073) | type GetTxSpendingPrevOutCmd struct type GetTxSpendingPrevOutCmdOutput (line 1080) | type GetTxSpendingPrevOutCmdOutput struct function NewGetTxSpendingPrevOutCmd (line 1087) | func NewGetTxSpendingPrevOutCmd( function init (line 1104) | func init() { FILE: btcjson/chainsvrcmds_test.go function TestChainSvrCmds (line 24) | func TestChainSvrCmds(t *testing.T) { function TestChainSvrCmdErrors (line 1599) | func TestChainSvrCmdErrors(t *testing.T) { FILE: btcjson/chainsvrresults.go type GetBlockHeaderVerboseResult (line 22) | type GetBlockHeaderVerboseResult struct type GetBlockStatsResult (line 38) | type GetBlockStatsResult struct type GetBlockVerboseResult (line 75) | type GetBlockVerboseResult struct type GetBlockVerboseTxResult (line 101) | type GetBlockVerboseTxResult struct type GetChainTipsResult (line 122) | type GetChainTipsResult struct type GetChainTxStatsResult (line 130) | type GetChainTxStatsResult struct type CreateMultiSigResult (line 143) | type CreateMultiSigResult struct type DecodeScriptResult (line 149) | type DecodeScriptResult struct type GetAddedNodeInfoResultAddr (line 160) | type GetAddedNodeInfoResultAddr struct type GetAddedNodeInfoResult (line 166) | type GetAddedNodeInfoResult struct type SoftForkDescription (line 174) | type SoftForkDescription struct type Bip9SoftForkDescription (line 184) | type Bip9SoftForkDescription struct method StartTime (line 195) | func (d *Bip9SoftForkDescription) StartTime() int64 { type SoftForks (line 205) | type SoftForks struct type UnifiedSoftFork (line 212) | type UnifiedSoftFork struct type UnifiedSoftForks (line 222) | type UnifiedSoftForks struct type GetBlockChainInfoResult (line 228) | type GetBlockChainInfoResult struct type GetBlockFilterResult (line 247) | type GetBlockFilterResult struct type GetBlockTemplateResultTx (line 254) | type GetBlockTemplateResultTx struct type GetBlockTemplateResultAux (line 266) | type GetBlockTemplateResultAux struct type GetBlockTemplateResult (line 272) | type GetBlockTemplateResult struct type MempoolFees (line 315) | type MempoolFees struct type GetMempoolEntryResult (line 324) | type GetMempoolEntryResult struct type GetMempoolInfoResult (line 345) | type GetMempoolInfoResult struct type NetworksResult (line 351) | type NetworksResult struct type LocalAddressesResult (line 361) | type LocalAddressesResult struct type StringOrArray (line 370) | type StringOrArray method MarshalJSON (line 373) | func (h StringOrArray) MarshalJSON() ([]byte, error) { method UnmarshalJSON (line 378) | func (h *StringOrArray) UnmarshalJSON(data []byte) error { type GetNetworkInfoResult (line 412) | type GetNetworkInfoResult struct type GetNodeAddressesResult (line 432) | type GetNodeAddressesResult struct type GetPeerInfoResult (line 441) | type GetPeerInfoResult struct type GetRawMempoolVerboseResult (line 469) | type GetRawMempoolVerboseResult struct type ScriptPubKeyResult (line 483) | type ScriptPubKeyResult struct type GetTxOutResult (line 493) | type GetTxOutResult struct type GetTxOutSetInfoResult (line 502) | type GetTxOutSetInfoResult struct method UnmarshalJSON (line 514) | func (g *GetTxOutSetInfoResult) UnmarshalJSON(data []byte) error { type GetNetTotalsResult (line 560) | type GetNetTotalsResult struct type ScriptSig (line 569) | type ScriptSig struct type Vin (line 577) | type Vin struct method IsCoinBase (line 587) | func (v *Vin) IsCoinBase() bool { method HasWitness (line 593) | func (v *Vin) HasWitness() bool { method MarshalJSON (line 598) | func (v *Vin) MarshalJSON() ([]byte, error) { type PrevOut (line 644) | type PrevOut struct type VinPrevOut (line 650) | type VinPrevOut struct method IsCoinBase (line 661) | func (v *VinPrevOut) IsCoinBase() bool { method HasWitness (line 667) | func (v *VinPrevOut) HasWitness() bool { method MarshalJSON (line 672) | func (v *VinPrevOut) MarshalJSON() ([]byte, error) { type Vout (line 721) | type Vout struct type GetMiningInfoResult (line 728) | type GetMiningInfoResult struct type GetWorkResult (line 744) | type GetWorkResult struct type InfoChainResult (line 752) | type InfoChainResult struct type TxRawResult (line 766) | type TxRawResult struct type SearchRawTransactionsResult (line 785) | type SearchRawTransactionsResult struct type TxRawDecodeResult (line 803) | type TxRawDecodeResult struct type ValidateAddressChainResult (line 817) | type ValidateAddressChainResult struct type EstimateSmartFeeResult (line 828) | type EstimateSmartFeeResult struct type rawFundRawTransactionResult (line 836) | type rawFundRawTransactionResult struct type FundRawTransactionResult (line 843) | type FundRawTransactionResult struct method UnmarshalJSON (line 850) | func (f *FundRawTransactionResult) UnmarshalJSON(data []byte) error { type GetDescriptorInfoResult (line 882) | type GetDescriptorInfoResult struct type DeriveAddressesResult (line 891) | type DeriveAddressesResult type LoadWalletResult (line 894) | type LoadWalletResult struct type DumpWalletResult (line 900) | type DumpWalletResult struct type TestMempoolAcceptResult (line 909) | type TestMempoolAcceptResult struct type TestMempoolAcceptFees (line 941) | type TestMempoolAcceptFees struct type GetTxSpendingPrevOutResult (line 962) | type GetTxSpendingPrevOutResult struct FILE: btcjson/chainsvrresults_test.go function TestChainSvrCustomResults (line 22) | func TestChainSvrCustomResults(t *testing.T) { function TestGetTxOutSetInfoResult (line 112) | func TestGetTxOutSetInfoResult(t *testing.T) { function TestChainSvrMiningInfoResults (line 177) | func TestChainSvrMiningInfoResults(t *testing.T) { function TestGetNetworkInfoWarnings (line 221) | func TestGetNetworkInfoWarnings(t *testing.T) { FILE: btcjson/chainsvrwscmds.go type AuthenticateCmd (line 12) | type AuthenticateCmd struct function NewAuthenticateCmd (line 19) | func NewAuthenticateCmd(username, passphrase string) *AuthenticateCmd { type NotifyBlocksCmd (line 27) | type NotifyBlocksCmd struct function NewNotifyBlocksCmd (line 31) | func NewNotifyBlocksCmd() *NotifyBlocksCmd { type StopNotifyBlocksCmd (line 36) | type StopNotifyBlocksCmd struct function NewStopNotifyBlocksCmd (line 40) | func NewStopNotifyBlocksCmd() *StopNotifyBlocksCmd { type NotifyNewTransactionsCmd (line 45) | type NotifyNewTransactionsCmd struct function NewNotifyNewTransactionsCmd (line 54) | func NewNotifyNewTransactionsCmd(verbose *bool) *NotifyNewTransactionsCmd { type SessionCmd (line 61) | type SessionCmd struct function NewSessionCmd (line 65) | func NewSessionCmd() *SessionCmd { type StopNotifyNewTransactionsCmd (line 70) | type StopNotifyNewTransactionsCmd struct function NewStopNotifyNewTransactionsCmd (line 77) | func NewStopNotifyNewTransactionsCmd() *StopNotifyNewTransactionsCmd { type NotifyReceivedCmd (line 84) | type NotifyReceivedCmd struct function NewNotifyReceivedCmd (line 92) | func NewNotifyReceivedCmd(addresses []string) *NotifyReceivedCmd { type OutPoint (line 100) | type OutPoint struct type LoadTxFilterCmd (line 110) | type LoadTxFilterCmd struct function NewLoadTxFilterCmd (line 121) | func NewLoadTxFilterCmd(reload bool, addresses []string, outPoints []Out... type NotifySpentCmd (line 132) | type NotifySpentCmd struct function NewNotifySpentCmd (line 140) | func NewNotifySpentCmd(outPoints []OutPoint) *NotifySpentCmd { type StopNotifyReceivedCmd (line 149) | type StopNotifyReceivedCmd struct function NewStopNotifyReceivedCmd (line 157) | func NewStopNotifyReceivedCmd(addresses []string) *StopNotifyReceivedCmd { type StopNotifySpentCmd (line 166) | type StopNotifySpentCmd struct function NewStopNotifySpentCmd (line 174) | func NewStopNotifySpentCmd(outPoints []OutPoint) *StopNotifySpentCmd { type RescanCmd (line 183) | type RescanCmd struct function NewRescanCmd (line 197) | func NewRescanCmd(beginBlock string, addresses []string, outPoints []Out... type RescanBlocksCmd (line 210) | type RescanBlocksCmd struct function NewRescanBlocksCmd (line 220) | func NewRescanBlocksCmd(blockHashes []string) *RescanBlocksCmd { function init (line 224) | func init() { FILE: btcjson/chainsvrwscmds_test.go function TestChainSvrWsCmds (line 22) | func TestChainSvrWsCmds(t *testing.T) { FILE: btcjson/chainsvrwsntfns.go constant BlockConnectedNtfnMethod (line 16) | BlockConnectedNtfnMethod = "blockconnected" constant BlockDisconnectedNtfnMethod (line 23) | BlockDisconnectedNtfnMethod = "blockdisconnected" constant FilteredBlockConnectedNtfnMethod (line 27) | FilteredBlockConnectedNtfnMethod = "filteredblockconnected" constant FilteredBlockDisconnectedNtfnMethod (line 32) | FilteredBlockDisconnectedNtfnMethod = "filteredblockdisconnected" constant RecvTxNtfnMethod (line 40) | RecvTxNtfnMethod = "recvtx" constant RedeemingTxNtfnMethod (line 48) | RedeemingTxNtfnMethod = "redeemingtx" constant RescanFinishedNtfnMethod (line 55) | RescanFinishedNtfnMethod = "rescanfinished" constant RescanProgressNtfnMethod (line 62) | RescanProgressNtfnMethod = "rescanprogress" constant TxAcceptedNtfnMethod (line 66) | TxAcceptedNtfnMethod = "txaccepted" constant TxAcceptedVerboseNtfnMethod (line 72) | TxAcceptedVerboseNtfnMethod = "txacceptedverbose" constant RelevantTxAcceptedNtfnMethod (line 77) | RelevantTxAcceptedNtfnMethod = "relevanttxaccepted" type BlockConnectedNtfn (line 83) | type BlockConnectedNtfn struct function NewBlockConnectedNtfn (line 93) | func NewBlockConnectedNtfn(hash string, height int32, time int64) *Block... type BlockDisconnectedNtfn (line 104) | type BlockDisconnectedNtfn struct function NewBlockDisconnectedNtfn (line 114) | func NewBlockDisconnectedNtfn(hash string, height int32, time int64) *Bl... type FilteredBlockConnectedNtfn (line 124) | type FilteredBlockConnectedNtfn struct function NewFilteredBlockConnectedNtfn (line 132) | func NewFilteredBlockConnectedNtfn(height int32, header string, subscrib... type FilteredBlockDisconnectedNtfn (line 142) | type FilteredBlockDisconnectedNtfn struct function NewFilteredBlockDisconnectedNtfn (line 149) | func NewFilteredBlockDisconnectedNtfn(height int32, header string) *Filt... type BlockDetails (line 157) | type BlockDetails struct type RecvTxNtfn (line 168) | type RecvTxNtfn struct function NewRecvTxNtfn (line 178) | func NewRecvTxNtfn(hexTx string, block *BlockDetails) *RecvTxNtfn { type RedeemingTxNtfn (line 189) | type RedeemingTxNtfn struct function NewRedeemingTxNtfn (line 199) | func NewRedeemingTxNtfn(hexTx string, block *BlockDetails) *RedeemingTxN... type RescanFinishedNtfn (line 209) | type RescanFinishedNtfn struct function NewRescanFinishedNtfn (line 219) | func NewRescanFinishedNtfn(hash string, height int32, time int64) *Resca... type RescanProgressNtfn (line 230) | type RescanProgressNtfn struct function NewRescanProgressNtfn (line 240) | func NewRescanProgressNtfn(hash string, height int32, time int64) *Resca... type TxAcceptedNtfn (line 249) | type TxAcceptedNtfn struct function NewTxAcceptedNtfn (line 256) | func NewTxAcceptedNtfn(txHash string, amount float64) *TxAcceptedNtfn { type TxAcceptedVerboseNtfn (line 264) | type TxAcceptedVerboseNtfn struct function NewTxAcceptedVerboseNtfn (line 270) | func NewTxAcceptedVerboseNtfn(rawTx TxRawResult) *TxAcceptedVerboseNtfn { type RelevantTxAcceptedNtfn (line 278) | type RelevantTxAcceptedNtfn struct function NewRelevantTxAcceptedNtfn (line 284) | func NewRelevantTxAcceptedNtfn(txHex string) *RelevantTxAcceptedNtfn { function init (line 288) | func init() { FILE: btcjson/chainsvrwsntfns_test.go function TestChainSvrWsNtfns (line 22) | func TestChainSvrWsNtfns(t *testing.T) { FILE: btcjson/chainsvrwsresults.go type SessionResult (line 9) | type SessionResult struct type RescannedBlock (line 18) | type RescannedBlock struct FILE: btcjson/chainsvrwsresults_test.go function TestChainSvrWsResults (line 17) | func TestChainSvrWsResults(t *testing.T) { FILE: btcjson/cmdinfo.go function CmdMethod (line 16) | func CmdMethod(cmd interface{}) (string, error) { function MethodUsageFlags (line 33) | func MethodUsageFlags(method string) (UsageFlag, error) { function subStructUsage (line 54) | func subStructUsage(structType reflect.Type) string { function subArrayUsage (line 101) | func subArrayUsage(arrayType reflect.Type, fieldName string) string { function fieldUsage (line 131) | func fieldUsage(structField reflect.StructField, defaultVal *reflect.Val... function methodUsageText (line 180) | func methodUsageText(rtp reflect.Type, defaults map[int]reflect.Value, m... function MethodUsageText (line 224) | func MethodUsageText(method string) (string, error) { FILE: btcjson/cmdinfo_test.go function TestCmdMethod (line 16) | func TestCmdMethod(t *testing.T) { function TestMethodUsageFlags (line 74) | func TestMethodUsageFlags(t *testing.T) { function TestMethodUsageText (line 132) | func TestMethodUsageText(t *testing.T) { function TestFieldUsage (line 205) | func TestFieldUsage(t *testing.T) { FILE: btcjson/cmdparse.go function makeParams (line 16) | func makeParams(rt reflect.Type, rv reflect.Value) []interface{} { function MarshalCmd (line 39) | func MarshalCmd(rpcVersion RPCVersion, id interface{}, cmd interface{}) ... function checkNumParams (line 72) | func checkNumParams(numParams int, info *methodInfo) error { function populateDefaults (line 96) | func populateDefaults(numParams int, info *methodInfo, rv reflect.Value) { function UnmarshalCmd (line 111) | func UnmarshalCmd(r *Request) (interface{}, error) { function isNumeric (line 166) | func isNumeric(kind reflect.Kind) bool { function typesMaybeCompatible (line 181) | func typesMaybeCompatible(dest reflect.Type, src reflect.Type) bool { function baseType (line 223) | func baseType(arg reflect.Type) (reflect.Type, int) { function assignField (line 237) | func assignField(paramNum int, fieldName string, dest reflect.Value, src... function NewCmd (line 517) | func NewCmd(method string, args ...interface{}) (interface{}, error) { FILE: btcjson/cmdparse_test.go function TestAssignField (line 18) | func TestAssignField(t *testing.T) { function TestAssignFieldErrors (line 214) | func TestAssignFieldErrors(t *testing.T) { function TestNewCmdErrors (line 372) | func TestNewCmdErrors(t *testing.T) { function TestMarshalCmd (line 426) | func TestMarshalCmd(t *testing.T) { function TestMarshalCmdErrors (line 479) | func TestMarshalCmdErrors(t *testing.T) { function TestUnmarshalCmdErrors (line 527) | func TestUnmarshalCmdErrors(t *testing.T) { FILE: btcjson/error.go type ErrorCode (line 13) | type ErrorCode method String (line 86) | func (e ErrorCode) String() string { constant ErrDuplicateMethod (line 19) | ErrDuplicateMethod ErrorCode = iota constant ErrInvalidUsageFlags (line 23) | ErrInvalidUsageFlags constant ErrInvalidType (line 27) | ErrInvalidType constant ErrEmbeddedType (line 31) | ErrEmbeddedType constant ErrUnexportedField (line 35) | ErrUnexportedField constant ErrUnsupportedFieldType (line 39) | ErrUnsupportedFieldType constant ErrNonOptionalField (line 43) | ErrNonOptionalField constant ErrNonOptionalDefault (line 47) | ErrNonOptionalDefault constant ErrMismatchedDefault (line 51) | ErrMismatchedDefault constant ErrUnregisteredMethod (line 55) | ErrUnregisteredMethod constant ErrMissingDescription (line 59) | ErrMissingDescription constant ErrNumParams (line 63) | ErrNumParams constant numErrorCodes (line 66) | numErrorCodes type Error (line 98) | type Error struct method Error (line 104) | func (e Error) Error() string { function makeError (line 109) | func makeError(c ErrorCode, desc string) Error { FILE: btcjson/error_test.go function TestErrorCodeStringer (line 14) | func TestErrorCodeStringer(t *testing.T) { function TestError (line 54) | func TestError(t *testing.T) { FILE: btcjson/example_test.go function ExampleMarshalCmd (line 16) | func ExampleMarshalCmd() { function ExampleUnmarshalCmd (line 46) | func ExampleUnmarshalCmd() { function ExampleMarshalResponse (line 95) | func ExampleMarshalResponse() { function Example_unmarshalResponse (line 115) | func Example_unmarshalResponse() { FILE: btcjson/help.go type descLookupFunc (line 45) | type descLookupFunc function reflectTypeToJSONType (line 49) | func reflectTypeToJSONType(xT descLookupFunc, rt reflect.Type) string { function resultStructHelp (line 82) | func resultStructHelp(xT descLookupFunc, rt reflect.Type, indentLevel in... function reflectTypeToJSONExample (line 143) | func reflectTypeToJSONExample(xT descLookupFunc, rt reflect.Type, indent... function resultTypeHelp (line 252) | func resultTypeHelp(xT descLookupFunc, rt reflect.Type, fieldDescKey str... function argTypeHelp (line 285) | func argTypeHelp(xT descLookupFunc, structField reflect.StructField, def... function argHelp (line 328) | func argHelp(xT descLookupFunc, rtp reflect.Type, defaults map[int]refle... function methodHelp (line 396) | func methodHelp(xT descLookupFunc, rtp reflect.Type, defaults map[int]re... function isValidResultType (line 445) | func isValidResultType(kind reflect.Kind) bool { function GenerateHelp (line 507) | func GenerateHelp(method string, descs map[string]string, resultTypes ..... FILE: btcjson/help_test.go function TestHelpReflectInternals (line 16) | func TestHelpReflectInternals(t *testing.T) { function TestResultStructHelp (line 291) | func TestResultStructHelp(t *testing.T) { function TestHelpArgInternals (line 425) | func TestHelpArgInternals(t *testing.T) { function TestMethodHelp (line 570) | func TestMethodHelp(t *testing.T) { function TestGenerateHelpErrors (line 663) | func TestGenerateHelpErrors(t *testing.T) { function TestGenerateHelp (line 719) | func TestGenerateHelp(t *testing.T) { FILE: btcjson/helpers.go function Bool (line 9) | func Bool(v bool) *bool { function Int (line 17) | func Int(v int) *int { function Uint (line 25) | func Uint(v uint) *uint { function Int32 (line 33) | func Int32(v int32) *int32 { function Uint32 (line 41) | func Uint32(v uint32) *uint32 { function Int64 (line 49) | func Int64(v int64) *int64 { function Uint64 (line 57) | func Uint64(v uint64) *uint64 { function Float64 (line 65) | func Float64(v float64) *float64 { function String (line 73) | func String(v string) *string { function NewFilterTypeName (line 81) | func NewFilterTypeName(v FilterTypeName) *FilterTypeName { FILE: btcjson/helpers_test.go function TestHelpers (line 16) | func TestHelpers(t *testing.T) { FILE: btcjson/jsonrpc.go type RPCVersion (line 13) | type RPCVersion method IsValid (line 25) | func (r RPCVersion) IsValid() bool { method String (line 35) | func (r RPCVersion) String() string { constant RpcVersion1 (line 17) | RpcVersion1 RPCVersion = RPCVersion("1.0") constant RpcVersion2 (line 19) | RpcVersion2 RPCVersion = RPCVersion("2.0") type RPCErrorCode (line 43) | type RPCErrorCode type RPCError (line 47) | type RPCError struct method Error (line 57) | func (e RPCError) Error() string { function NewRPCError (line 63) | func NewRPCError(code RPCErrorCode, message string) *RPCError { function IsValidIDType (line 77) | func IsValidIDType(id interface{}) bool { type Request (line 96) | type Request struct method UnmarshalJSON (line 106) | func (request *Request) UnmarshalJSON(b []byte) error { function NewRequest (line 158) | func NewRequest(rpcVersion RPCVersion, id interface{}, method string, pa... type Response (line 195) | type Response struct function NewResponse (line 207) | func NewResponse(rpcVersion RPCVersion, id interface{}, marshalledResult... function MarshalResponse (line 230) | func MarshalResponse(rpcVersion RPCVersion, id interface{}, result inter... FILE: btcjson/jsonrpc_test.go function TestIsValidIDType (line 16) | func TestIsValidIDType(t *testing.T) { function TestMarshalResponse (line 57) | func TestMarshalResponse(t *testing.T) { function TestMiscErrors (line 102) | func TestMiscErrors(t *testing.T) { function TestRPCError (line 135) | func TestRPCError(t *testing.T) { FILE: btcjson/jsonrpcerr.go constant ErrRPCMisc (line 34) | ErrRPCMisc RPCErrorCode = -1 constant ErrRPCForbiddenBySafeMode (line 38) | ErrRPCForbiddenBySafeMode RPCErrorCode = -2 constant ErrRPCType (line 41) | ErrRPCType RPCErrorCode = -3 constant ErrRPCInvalidAddressOrKey (line 44) | ErrRPCInvalidAddressOrKey RPCErrorCode = -5 constant ErrRPCOutOfMemory (line 48) | ErrRPCOutOfMemory RPCErrorCode = -7 constant ErrRPCInvalidParameter (line 52) | ErrRPCInvalidParameter RPCErrorCode = -8 constant ErrRPCDatabase (line 55) | ErrRPCDatabase RPCErrorCode = -20 constant ErrRPCDeserialization (line 59) | ErrRPCDeserialization RPCErrorCode = -22 constant ErrRPCVerify (line 63) | ErrRPCVerify RPCErrorCode = -25 constant ErrRPCVerifyRejected (line 67) | ErrRPCVerifyRejected RPCErrorCode = -26 constant ErrRPCVerifyAlreadyInChain (line 71) | ErrRPCVerifyAlreadyInChain RPCErrorCode = -27 constant ErrRPCInWarmup (line 74) | ErrRPCInWarmup RPCErrorCode = -28 constant ErrRPCMethodDeprecated (line 77) | ErrRPCMethodDeprecated RPCErrorCode = -32 constant ErrRPCClientNotConnected (line 83) | ErrRPCClientNotConnected RPCErrorCode = -9 constant ErrRPCClientInInitialDownload (line 87) | ErrRPCClientInInitialDownload RPCErrorCode = -10 constant ErrRPCClientNodeAlreadyAdded (line 90) | ErrRPCClientNodeAlreadyAdded RPCErrorCode = -23 constant ErrRPCClientNodeNotAdded (line 93) | ErrRPCClientNodeNotAdded RPCErrorCode = -24 constant ErrRPCClientNodeNotConnected (line 97) | ErrRPCClientNodeNotConnected RPCErrorCode = -29 constant ErrRPCClientInvalidIPOrSubnet (line 100) | ErrRPCClientInvalidIPOrSubnet RPCErrorCode = -30 constant ErrRPCClientP2PDisabled (line 104) | ErrRPCClientP2PDisabled RPCErrorCode = -31 constant ErrRPCClientMempoolDisabled (line 111) | ErrRPCClientMempoolDisabled RPCErrorCode = -33 constant ErrRPCWallet (line 118) | ErrRPCWallet RPCErrorCode = -4 constant ErrRPCWalletInvalidAddressType (line 121) | ErrRPCWalletInvalidAddressType RPCErrorCode = -5 constant ErrRPCWalletInsufficientFunds (line 125) | ErrRPCWalletInsufficientFunds RPCErrorCode = -6 constant ErrRPCWalletInvalidAccountName (line 128) | ErrRPCWalletInvalidAccountName RPCErrorCode = -11 constant ErrRPCWalletKeypoolRanOut (line 132) | ErrRPCWalletKeypoolRanOut RPCErrorCode = -12 constant ErrRPCWalletUnlockNeeded (line 136) | ErrRPCWalletUnlockNeeded RPCErrorCode = -13 constant ErrRPCWalletPassphraseIncorrect (line 140) | ErrRPCWalletPassphraseIncorrect RPCErrorCode = -14 constant ErrRPCWalletWrongEncState (line 144) | ErrRPCWalletWrongEncState RPCErrorCode = -15 constant ErrRPCWalletEncryptionFailed (line 147) | ErrRPCWalletEncryptionFailed RPCErrorCode = -16 constant ErrRPCWalletAlreadyUnlocked (line 151) | ErrRPCWalletAlreadyUnlocked RPCErrorCode = -17 constant ErrRPCWalletNotFound (line 158) | ErrRPCWalletNotFound RPCErrorCode = -18 constant ErrRPCWalletNotSpecified (line 162) | ErrRPCWalletNotSpecified RPCErrorCode = -19 constant ErrRPCBlockNotFound (line 169) | ErrRPCBlockNotFound RPCErrorCode = -5 constant ErrRPCBlockCount (line 170) | ErrRPCBlockCount RPCErrorCode = -5 constant ErrRPCBestBlockHash (line 171) | ErrRPCBestBlockHash RPCErrorCode = -5 constant ErrRPCDifficulty (line 172) | ErrRPCDifficulty RPCErrorCode = -5 constant ErrRPCOutOfRange (line 173) | ErrRPCOutOfRange RPCErrorCode = -1 constant ErrRPCNoTxInfo (line 174) | ErrRPCNoTxInfo RPCErrorCode = -5 constant ErrRPCNoCFIndex (line 175) | ErrRPCNoCFIndex RPCErrorCode = -5 constant ErrRPCNoNewestBlockInfo (line 176) | ErrRPCNoNewestBlockInfo RPCErrorCode = -5 constant ErrRPCInvalidTxVout (line 177) | ErrRPCInvalidTxVout RPCErrorCode = -5 constant ErrRPCRawTxString (line 178) | ErrRPCRawTxString RPCErrorCode = -32602 constant ErrRPCDecodeHexString (line 179) | ErrRPCDecodeHexString RPCErrorCode = -22 constant ErrRPCTxError (line 180) | ErrRPCTxError RPCErrorCode = -25 constant ErrRPCTxRejected (line 181) | ErrRPCTxRejected RPCErrorCode = -26 constant ErrRPCTxAlreadyInChain (line 182) | ErrRPCTxAlreadyInChain RPCErrorCode = -27 constant ErrRPCNoWallet (line 187) | ErrRPCNoWallet RPCErrorCode = -1 constant ErrRPCUnimplemented (line 188) | ErrRPCUnimplemented RPCErrorCode = -1 FILE: btcjson/register.go type UsageFlag (line 19) | type UsageFlag method String (line 50) | func (fl UsageFlag) String() string { constant UFWalletOnly (line 24) | UFWalletOnly UsageFlag = 1 << iota constant UFWebsocketOnly (line 30) | UFWebsocketOnly constant UFNotification (line 34) | UFNotification constant highestUsageFlagBit (line 39) | highestUsageFlagBit type methodInfo (line 76) | type methodInfo struct function baseKindString (line 95) | func baseKindString(rt reflect.Type) string { function isAcceptableKind (line 108) | func isAcceptableKind(kind reflect.Kind) bool { function RegisterCmd (line 157) | func RegisterCmd(method string, cmd interface{}, flags UsageFlag) error { function MustRegisterCmd (line 272) | func MustRegisterCmd(method string, cmd interface{}, flags UsageFlag) { function RegisteredCmdMethods (line 281) | func RegisteredCmdMethods() []string { FILE: btcjson/register_test.go function TestUsageFlagStringer (line 16) | func TestUsageFlagStringer(t *testing.T) { function TestRegisterCmdErrors (line 58) | func TestRegisterCmdErrors(t *testing.T) { function TestMustRegisterCmdPanic (line 230) | func TestMustRegisterCmdPanic(t *testing.T) { function TestRegisteredCmdMethods (line 247) | func TestRegisteredCmdMethods(t *testing.T) { FILE: btcjson/submitpackage.go type JsonSubmitPackageCmd (line 45) | type JsonSubmitPackageCmd struct type JsonSubmitPackageFees (line 65) | type JsonSubmitPackageFees struct type JsonSubmitPackageTxResult (line 81) | type JsonSubmitPackageTxResult struct type JsonSubmitPackageResult (line 105) | type JsonSubmitPackageResult struct function NewJsonSubmitPackageCmd (line 124) | func NewJsonSubmitPackageCmd(rawTxs []string, type SubmitPackageResult (line 135) | type SubmitPackageResult struct method UnmarshalJSON (line 167) | func (s *SubmitPackageResult) UnmarshalJSON(data []byte) error { type SubmitPackageTxResult (line 149) | type SubmitPackageTxResult struct FILE: btcjson/submitpackage_test.go function TestSubmitPackageCmd (line 20) | func TestSubmitPackageCmd(t *testing.T) { function TestSubmitPackageResultUnmarshalJSON (line 211) | func TestSubmitPackageResultUnmarshalJSON(t *testing.T) { function mustParseHash (line 419) | func mustParseHash(s string) *chainhash.Hash { FILE: btcjson/walletsvrcmds.go type AddMultisigAddressCmd (line 19) | type AddMultisigAddressCmd struct function NewAddMultisigAddressCmd (line 30) | func NewAddMultisigAddressCmd(nRequired int, keys []string, account *str... type AddWitnessAddressCmd (line 39) | type AddWitnessAddressCmd struct function NewAddWitnessAddressCmd (line 45) | func NewAddWitnessAddressCmd(address string) *AddWitnessAddressCmd { type CreateMultisigCmd (line 52) | type CreateMultisigCmd struct function NewCreateMultisigCmd (line 59) | func NewCreateMultisigCmd(nRequired int, keys []string) *CreateMultisigC... type CreateWalletCmd (line 67) | type CreateWalletCmd struct function NewCreateWalletCmd (line 77) | func NewCreateWalletCmd(walletName string, disablePrivateKeys *bool, type DumpPrivKeyCmd (line 89) | type DumpPrivKeyCmd struct function NewDumpPrivKeyCmd (line 95) | func NewDumpPrivKeyCmd(address string) *DumpPrivKeyCmd { type EncryptWalletCmd (line 102) | type EncryptWalletCmd struct function NewEncryptWalletCmd (line 108) | func NewEncryptWalletCmd(passphrase string) *EncryptWalletCmd { type EstimateSmartFeeMode (line 116) | type EstimateSmartFeeMode type EstimateSmartFeeCmd (line 125) | type EstimateSmartFeeCmd struct function NewEstimateSmartFeeCmd (line 132) | func NewEstimateSmartFeeCmd(confTarget int64, mode *EstimateSmartFeeMode... type EstimateFeeCmd (line 139) | type EstimateFeeCmd struct function NewEstimateFeeCmd (line 145) | func NewEstimateFeeCmd(numBlocks int64) *EstimateFeeCmd { type EstimatePriorityCmd (line 152) | type EstimatePriorityCmd struct function NewEstimatePriorityCmd (line 158) | func NewEstimatePriorityCmd(numBlocks int64) *EstimatePriorityCmd { type GetAccountCmd (line 165) | type GetAccountCmd struct function NewGetAccountCmd (line 171) | func NewGetAccountCmd(address string) *GetAccountCmd { type GetAccountAddressCmd (line 178) | type GetAccountAddressCmd struct function NewGetAccountAddressCmd (line 184) | func NewGetAccountAddressCmd(account string) *GetAccountAddressCmd { type GetAddressesByAccountCmd (line 191) | type GetAddressesByAccountCmd struct function NewGetAddressesByAccountCmd (line 197) | func NewGetAddressesByAccountCmd(account string) *GetAddressesByAccountC... type GetAddressInfoCmd (line 204) | type GetAddressInfoCmd struct function NewGetAddressInfoCmd (line 210) | func NewGetAddressInfoCmd(address string) *GetAddressInfoCmd { type GetBalanceCmd (line 217) | type GetBalanceCmd struct function NewGetBalanceCmd (line 227) | func NewGetBalanceCmd(account *string, minConf *int) *GetBalanceCmd { type GetBalancesCmd (line 235) | type GetBalancesCmd struct function NewGetBalancesCmd (line 239) | func NewGetBalancesCmd() *GetBalancesCmd { type GetNewAddressCmd (line 244) | type GetNewAddressCmd struct function NewGetNewAddressCmd (line 254) | func NewGetNewAddressCmd(account, addrType *string) *GetNewAddressCmd { type GetRawChangeAddressCmd (line 262) | type GetRawChangeAddressCmd struct function NewGetRawChangeAddressCmd (line 272) | func NewGetRawChangeAddressCmd(account, addrType *string) *GetRawChangeA... type GetReceivedByAccountCmd (line 280) | type GetReceivedByAccountCmd struct function NewGetReceivedByAccountCmd (line 290) | func NewGetReceivedByAccountCmd(account string, minConf *int) *GetReceiv... type GetReceivedByAddressCmd (line 298) | type GetReceivedByAddressCmd struct function NewGetReceivedByAddressCmd (line 308) | func NewGetReceivedByAddressCmd(address string, minConf *int) *GetReceiv... type GetTransactionCmd (line 316) | type GetTransactionCmd struct function NewGetTransactionCmd (line 326) | func NewGetTransactionCmd(txHash string, includeWatchOnly *bool) *GetTra... type GetWalletInfoCmd (line 334) | type GetWalletInfoCmd struct function NewGetWalletInfoCmd (line 338) | func NewGetWalletInfoCmd() *GetWalletInfoCmd { type BackupWalletCmd (line 343) | type BackupWalletCmd struct function NewBackupWalletCmd (line 349) | func NewBackupWalletCmd(destination string) *BackupWalletCmd { type UnloadWalletCmd (line 354) | type UnloadWalletCmd struct function NewUnloadWalletCmd (line 360) | func NewUnloadWalletCmd(walletName *string) *UnloadWalletCmd { type LoadWalletCmd (line 365) | type LoadWalletCmd struct function NewLoadWalletCmd (line 371) | func NewLoadWalletCmd(walletName string) *LoadWalletCmd { type ImportPrivKeyCmd (line 376) | type ImportPrivKeyCmd struct function NewImportPrivKeyCmd (line 387) | func NewImportPrivKeyCmd(privKey string, label *string, rescan *bool) *I... type KeyPoolRefillCmd (line 396) | type KeyPoolRefillCmd struct function NewKeyPoolRefillCmd (line 405) | func NewKeyPoolRefillCmd(newSize *uint) *KeyPoolRefillCmd { type ListAccountsCmd (line 412) | type ListAccountsCmd struct function NewListAccountsCmd (line 421) | func NewListAccountsCmd(minConf *int) *ListAccountsCmd { type ListAddressGroupingsCmd (line 428) | type ListAddressGroupingsCmd struct function NewListAddressGroupingsCmd (line 432) | func NewListAddressGroupingsCmd() *ListAddressGroupingsCmd { type ListLockUnspentCmd (line 437) | type ListLockUnspentCmd struct function NewListLockUnspentCmd (line 441) | func NewListLockUnspentCmd() *ListLockUnspentCmd { type ListReceivedByAccountCmd (line 446) | type ListReceivedByAccountCmd struct function NewListReceivedByAccountCmd (line 457) | func NewListReceivedByAccountCmd(minConf *int, includeEmpty, includeWatc... type ListReceivedByAddressCmd (line 466) | type ListReceivedByAddressCmd struct function NewListReceivedByAddressCmd (line 477) | func NewListReceivedByAddressCmd(minConf *int, includeEmpty, includeWatc... type ListSinceBlockCmd (line 486) | type ListSinceBlockCmd struct function NewListSinceBlockCmd (line 497) | func NewListSinceBlockCmd(blockHash *string, targetConfirms *int, includ... type ListTransactionsCmd (line 506) | type ListTransactionsCmd struct function NewListTransactionsCmd (line 518) | func NewListTransactionsCmd(account *string, count, from *int, includeWa... type ListUnspentCmd (line 528) | type ListUnspentCmd struct function NewListUnspentCmd (line 539) | func NewListUnspentCmd(minConf, maxConf *int, addresses *[]string) *List... type LockUnspentCmd (line 548) | type LockUnspentCmd struct function NewLockUnspentCmd (line 555) | func NewLockUnspentCmd(unlock bool, transactions []TransactionInput) *Lo... type MoveCmd (line 563) | type MoveCmd struct function NewMoveCmd (line 576) | func NewMoveCmd(fromAccount, toAccount string, amount float64, minConf *... type SendFromCmd (line 587) | type SendFromCmd struct function NewSendFromCmd (line 601) | func NewSendFromCmd(fromAccount, toAddress string, amount float64, minCo... type SendManyCmd (line 613) | type SendManyCmd struct function NewSendManyCmd (line 625) | func NewSendManyCmd(fromAccount string, amounts map[string]float64, minC... type SendToAddressCmd (line 635) | type SendToAddressCmd struct function NewSendToAddressCmd (line 647) | func NewSendToAddressCmd(address string, amount float64, comment, commen... type SetAccountCmd (line 657) | type SetAccountCmd struct function NewSetAccountCmd (line 664) | func NewSetAccountCmd(address, account string) *SetAccountCmd { type SetTxFeeCmd (line 672) | type SetTxFeeCmd struct function NewSetTxFeeCmd (line 678) | func NewSetTxFeeCmd(amount float64) *SetTxFeeCmd { type SignMessageCmd (line 685) | type SignMessageCmd struct function NewSignMessageCmd (line 692) | func NewSignMessageCmd(address, message string) *SignMessageCmd { type RawTxInput (line 701) | type RawTxInput struct type SignRawTransactionCmd (line 709) | type SignRawTransactionCmd struct function NewSignRawTransactionCmd (line 721) | func NewSignRawTransactionCmd(hexEncodedTx string, inputs *[]RawTxInput,... type RawTxWitnessInput (line 734) | type RawTxWitnessInput struct type SignRawTransactionWithWalletCmd (line 744) | type SignRawTransactionWithWalletCmd struct function NewSignRawTransactionWithWalletCmd (line 755) | func NewSignRawTransactionWithWalletCmd(hexEncodedTx string, inputs *[]R... type WalletLockCmd (line 764) | type WalletLockCmd struct function NewWalletLockCmd (line 768) | func NewWalletLockCmd() *WalletLockCmd { type WalletPassphraseCmd (line 773) | type WalletPassphraseCmd struct function NewWalletPassphraseCmd (line 780) | func NewWalletPassphraseCmd(passphrase string, timeout int64) *WalletPas... type WalletPassphraseChangeCmd (line 788) | type WalletPassphraseChangeCmd struct function NewWalletPassphraseChangeCmd (line 795) | func NewWalletPassphraseChangeCmd(oldPassphrase, newPassphrase string) *... type TimestampOrNow (line 809) | type TimestampOrNow struct method MarshalJSON (line 814) | func (t TimestampOrNow) MarshalJSON() ([]byte, error) { method UnmarshalJSON (line 819) | func (t *TimestampOrNow) UnmarshalJSON(data []byte) error { type ScriptPubKeyAddress (line 841) | type ScriptPubKeyAddress struct type ScriptPubKey (line 847) | type ScriptPubKey struct method MarshalJSON (line 852) | func (s ScriptPubKey) MarshalJSON() ([]byte, error) { method UnmarshalJSON (line 857) | func (s *ScriptPubKey) UnmarshalJSON(data []byte) error { type DescriptorRange (line 883) | type DescriptorRange struct method MarshalJSON (line 888) | func (r DescriptorRange) MarshalJSON() ([]byte, error) { method UnmarshalJSON (line 893) | func (r *DescriptorRange) UnmarshalJSON(data []byte) error { type ImportMultiRequest (line 923) | type ImportMultiRequest struct type ImportMultiOptions (line 988) | type ImportMultiOptions struct type ImportMultiCmd (line 993) | type ImportMultiCmd struct function NewImportMultiCmd (line 1003) | func NewImportMultiCmd(requests []ImportMultiRequest, options *ImportMul... type PsbtInput (line 1012) | type PsbtInput struct type PsbtOutput (line 1020) | type PsbtOutput function NewPsbtOutput (line 1024) | func NewPsbtOutput(address string, amount btcutil.Amount) PsbtOutput { function NewPsbtDataOutput (line 1030) | func NewPsbtDataOutput(data []byte) PsbtOutput { type WalletCreateFundedPsbtOpts (line 1036) | type WalletCreateFundedPsbtOpts struct type WalletCreateFundedPsbtCmd (line 1050) | type WalletCreateFundedPsbtCmd struct function NewWalletCreateFundedPsbtCmd (line 1060) | func NewWalletCreateFundedPsbtCmd( type WalletProcessPsbtCmd (line 1074) | type WalletProcessPsbtCmd struct function NewWalletProcessPsbtCmd (line 1083) | func NewWalletProcessPsbtCmd(psbt string, sign *bool, sighashType *strin... function init (line 1092) | func init() { FILE: btcjson/walletsvrcmds_test.go function TestWalletSvrCmds (line 22) | func TestWalletSvrCmds(t *testing.T) { FILE: btcjson/walletsvrresults.go type CreateWalletResult (line 15) | type CreateWalletResult struct type embeddedAddressInfo (line 25) | type embeddedAddressInfo struct type GetAddressInfoResult (line 56) | type GetAddressInfoResult struct method UnmarshalJSON (line 71) | func (e *GetAddressInfoResult) UnmarshalJSON(data []byte) error { type GetTransactionDetailsResult (line 135) | type GetTransactionDetailsResult struct type GetTransactionResult (line 146) | type GetTransactionResult struct type ScanningOrFalse (line 161) | type ScanningOrFalse struct method MarshalJSON (line 171) | func (h ScanningOrFalse) MarshalJSON() ([]byte, error) { method UnmarshalJSON (line 176) | func (h *ScanningOrFalse) UnmarshalJSON(data []byte) error { type ScanProgress (line 165) | type ScanProgress struct type GetWalletInfoResult (line 198) | type GetWalletInfoResult struct type InfoWalletResult (line 215) | type InfoWalletResult struct type ListTransactionsResult (line 235) | type ListTransactionsResult struct type ListReceivedByAccountResult (line 263) | type ListReceivedByAccountResult struct type ListReceivedByAddressResult (line 271) | type ListReceivedByAddressResult struct type ListSinceBlockResult (line 281) | type ListSinceBlockResult struct type ListUnspentResult (line 287) | type ListUnspentResult struct type SignRawTransactionError (line 301) | type SignRawTransactionError struct type SignRawTransactionResult (line 311) | type SignRawTransactionResult struct type SignRawTransactionWithWalletResult (line 319) | type SignRawTransactionWithWalletResult struct type ValidateAddressWalletResult (line 327) | type ValidateAddressWalletResult struct type GetBestBlockResult (line 343) | type GetBestBlockResult struct type BalanceDetailsResult (line 349) | type BalanceDetailsResult struct type GetBalancesResult (line 357) | type GetBalancesResult struct type ImportMultiResults (line 367) | type ImportMultiResults type WalletCreateFundedPsbtResult (line 375) | type WalletCreateFundedPsbtResult struct type WalletProcessPsbtResult (line 383) | type WalletProcessPsbtResult struct FILE: btcjson/walletsvrresults_test.go function TestGetAddressInfoResult (line 19) | func TestGetAddressInfoResult(t *testing.T) { function TestGetWalletInfoResult (line 84) | func TestGetWalletInfoResult(t *testing.T) { FILE: btcjson/walletsvrwscmds.go type CreateEncryptedWalletCmd (line 11) | type CreateEncryptedWalletCmd struct function NewCreateEncryptedWalletCmd (line 17) | func NewCreateEncryptedWalletCmd(passphrase string) *CreateEncryptedWall... type ExportWatchingWalletCmd (line 24) | type ExportWatchingWalletCmd struct function NewExportWatchingWalletCmd (line 34) | func NewExportWatchingWalletCmd(account *string, download *bool) *Export... type GetUnconfirmedBalanceCmd (line 42) | type GetUnconfirmedBalanceCmd struct function NewGetUnconfirmedBalanceCmd (line 51) | func NewGetUnconfirmedBalanceCmd(account *string) *GetUnconfirmedBalance... type ListAddressTransactionsCmd (line 59) | type ListAddressTransactionsCmd struct function NewListAddressTransactionsCmd (line 69) | func NewListAddressTransactionsCmd(addresses []string, account *string) ... type ListAllTransactionsCmd (line 77) | type ListAllTransactionsCmd struct function NewListAllTransactionsCmd (line 86) | func NewListAllTransactionsCmd(account *string) *ListAllTransactionsCmd { type RecoverAddressesCmd (line 93) | type RecoverAddressesCmd struct function NewRecoverAddressesCmd (line 100) | func NewRecoverAddressesCmd(account string, n int) *RecoverAddressesCmd { type WalletIsLockedCmd (line 108) | type WalletIsLockedCmd struct function NewWalletIsLockedCmd (line 112) | func NewWalletIsLockedCmd() *WalletIsLockedCmd { function init (line 116) | func init() { FILE: btcjson/walletsvrwscmds_test.go function TestWalletSvrWsCmds (line 21) | func TestWalletSvrWsCmds(t *testing.T) { FILE: btcjson/walletsvrwsntfns.go constant AccountBalanceNtfnMethod (line 13) | AccountBalanceNtfnMethod = "accountbalance" constant BtcdConnectedNtfnMethod (line 17) | BtcdConnectedNtfnMethod = "btcdconnected" constant WalletLockStateNtfnMethod (line 21) | WalletLockStateNtfnMethod = "walletlockstate" constant NewTxNtfnMethod (line 25) | NewTxNtfnMethod = "newtx" type AccountBalanceNtfn (line 29) | type AccountBalanceNtfn struct function NewAccountBalanceNtfn (line 37) | func NewAccountBalanceNtfn(account string, balance float64, confirmed bo... type BtcdConnectedNtfn (line 46) | type BtcdConnectedNtfn struct function NewBtcdConnectedNtfn (line 52) | func NewBtcdConnectedNtfn(connected bool) *BtcdConnectedNtfn { type WalletLockStateNtfn (line 59) | type WalletLockStateNtfn struct function NewWalletLockStateNtfn (line 65) | func NewWalletLockStateNtfn(locked bool) *WalletLockStateNtfn { type NewTxNtfn (line 72) | type NewTxNtfn struct function NewNewTxNtfn (line 79) | func NewNewTxNtfn(account string, details ListTransactionsResult) *NewTx... function init (line 86) | func init() { FILE: btcjson/walletsvrwsntfns_test.go function TestWalletSvrWsNtfns (line 21) | func TestWalletSvrWsNtfns(t *testing.T) { FILE: btcjson/zmqsvrcmds.go type GetZmqNotificationsCmd (line 4) | type GetZmqNotificationsCmd struct function NewGetZmqNotificationsCmd (line 8) | func NewGetZmqNotificationsCmd() *GetZmqNotificationsCmd { function init (line 12) | func init() { FILE: btcjson/zmqsvrresults.go type GetZmqNotificationResult (line 9) | type GetZmqNotificationResult method MarshalJSON (line 15) | func (z *GetZmqNotificationResult) MarshalJSON() ([]byte, error) { method UnmarshalJSON (line 29) | func (z *GetZmqNotificationResult) UnmarshalJSON(bytes []byte) error { FILE: btcutil/address.go type UnsupportedWitnessVerError (line 23) | type UnsupportedWitnessVerError method Error (line 25) | func (e UnsupportedWitnessVerError) Error() string { type UnsupportedWitnessProgLenError (line 31) | type UnsupportedWitnessProgLenError method Error (line 33) | func (e UnsupportedWitnessProgLenError) Error() string { function encodeAddress (line 61) | func encodeAddress(hash160 []byte, netID byte) string { function encodeSegWitAddress (line 69) | func encodeSegWitAddress(hrp string, witnessVersion byte, witnessProgram... type Address (line 117) | type Address interface function DecodeAddress (line 148) | func DecodeAddress(addr string, defaultNet *chaincfg.Params) (Address, e... function decodeSegWitAddress (line 228) | func decodeSegWitAddress(address string) (byte, []byte, error) { type AddressPubKeyHash (line 283) | type AddressPubKeyHash struct method EncodeAddress (line 312) | func (a *AddressPubKeyHash) EncodeAddress() string { method ScriptAddress (line 318) | func (a *AddressPubKeyHash) ScriptAddress() []byte { method IsForNet (line 324) | func (a *AddressPubKeyHash) IsForNet(net *chaincfg.Params) bool { method String (line 331) | func (a *AddressPubKeyHash) String() string { method Hash160 (line 338) | func (a *AddressPubKeyHash) Hash160() *[ripemd160.Size]byte { function NewAddressPubKeyHash (line 290) | func NewAddressPubKeyHash(pkHash []byte, net *chaincfg.Params) (*Address... function newAddressPubKeyHash (line 299) | func newAddressPubKeyHash(pkHash []byte, netID byte) (*AddressPubKeyHash... type AddressScriptHash (line 344) | type AddressScriptHash struct method EncodeAddress (line 379) | func (a *AddressScriptHash) EncodeAddress() string { method ScriptAddress (line 385) | func (a *AddressScriptHash) ScriptAddress() []byte { method IsForNet (line 391) | func (a *AddressScriptHash) IsForNet(net *chaincfg.Params) bool { method String (line 398) | func (a *AddressScriptHash) String() string { method Hash160 (line 405) | func (a *AddressScriptHash) Hash160() *[ripemd160.Size]byte { function NewAddressScriptHash (line 350) | func NewAddressScriptHash(serializedScript []byte, net *chaincfg.Params)... function NewAddressScriptHashFromHash (line 357) | func NewAddressScriptHashFromHash(scriptHash []byte, net *chaincfg.Param... function newAddressScriptHashFromHash (line 366) | func newAddressScriptHashFromHash(scriptHash []byte, netID byte) (*Addre... type PubKeyFormat (line 410) | type PubKeyFormat constant PKFUncompressed (line 415) | PKFUncompressed PubKeyFormat = iota constant PKFCompressed (line 419) | PKFCompressed type AddressPubKey (line 423) | type AddressPubKey struct method serialize (line 457) | func (a *AddressPubKey) serialize() []byte { method EncodeAddress (line 477) | func (a *AddressPubKey) EncodeAddress() string { method ScriptAddress (line 484) | func (a *AddressPubKey) ScriptAddress() []byte { method IsForNet (line 490) | func (a *AddressPubKey) IsForNet(net *chaincfg.Params) bool { method String (line 496) | func (a *AddressPubKey) String() string { method Format (line 502) | func (a *AddressPubKey) Format() PubKeyFormat { method SetFormat (line 508) | func (a *AddressPubKey) SetFormat(pkFormat PubKeyFormat) { method AddressPubKeyHash (line 518) | func (a *AddressPubKey) AddressPubKeyHash() *AddressPubKeyHash { method PubKey (line 525) | func (a *AddressPubKey) PubKey() *btcec.PublicKey { function NewAddressPubKey (line 432) | func NewAddressPubKey(serializedPubKey []byte, net *chaincfg.Params) (*A... type AddressSegWit (line 530) | type AddressSegWit struct method EncodeAddress (line 540) | func (a *AddressSegWit) EncodeAddress() string { method ScriptAddress (line 553) | func (a *AddressSegWit) ScriptAddress() []byte { method IsForNet (line 561) | func (a *AddressSegWit) IsForNet(net *chaincfg.Params) bool { method String (line 570) | func (a *AddressSegWit) String() string { method Hrp (line 576) | func (a *AddressSegWit) Hrp() string { method WitnessVersion (line 581) | func (a *AddressSegWit) WitnessVersion() byte { method WitnessProgram (line 586) | func (a *AddressSegWit) WitnessProgram() []byte { type AddressWitnessPubKeyHash (line 594) | type AddressWitnessPubKeyHash struct method Hash160 (line 631) | func (a *AddressWitnessPubKeyHash) Hash160() *[20]byte { function NewAddressWitnessPubKeyHash (line 599) | func NewAddressWitnessPubKeyHash(witnessProg []byte, function newAddressWitnessPubKeyHash (line 608) | func newAddressWitnessPubKeyHash(hrp string, type AddressWitnessScriptHash (line 641) | type AddressWitnessScriptHash struct function NewAddressWitnessScriptHash (line 646) | func NewAddressWitnessScriptHash(witnessProg []byte, function newAddressWitnessScriptHash (line 655) | func newAddressWitnessScriptHash(hrp string, type AddressTaproot (line 678) | type AddressTaproot struct function NewAddressTaproot (line 683) | func NewAddressTaproot(witnessProg []byte, function newAddressTaproot (line 692) | func newAddressTaproot(hrp string, FILE: btcutil/address_test.go type CustomParamStruct (line 21) | type CustomParamStruct struct function applyCustomParams (line 37) | func applyCustomParams(params chaincfg.Params, customParams CustomParamS... function TestAddresses (line 47) | func TestAddresses(t *testing.T) { FILE: btcutil/amount.go type AmountUnit (line 19) | type AmountUnit method String (line 35) | func (u AmountUnit) String() string { constant AmountMegaBTC (line 24) | AmountMegaBTC AmountUnit = 6 constant AmountKiloBTC (line 25) | AmountKiloBTC AmountUnit = 3 constant AmountBTC (line 26) | AmountBTC AmountUnit = 0 constant AmountMilliBTC (line 27) | AmountMilliBTC AmountUnit = -3 constant AmountMicroBTC (line 28) | AmountMicroBTC AmountUnit = -6 constant AmountSatoshi (line 29) | AmountSatoshi AmountUnit = -8 type Amount (line 56) | type Amount method ToUnit (line 95) | func (a Amount) ToUnit(u AmountUnit) float64 { method ToBTC (line 100) | func (a Amount) ToBTC() float64 { method Format (line 108) | func (a Amount) Format(u AmountUnit) string { method String (line 123) | func (a Amount) String() string { method MulF64 (line 131) | func (a Amount) MulF64(f float64) Amount { function round (line 62) | func round(f float64) Amount { function NewAmount (line 78) | func NewAmount(f float64) (Amount, error) { FILE: btcutil/amount_test.go function TestAmountCreation (line 14) | func TestAmountCreation(t *testing.T) { function TestAmountUnitConversions (line 113) | func TestAmountUnitConversions(t *testing.T) { function TestAmountMulF64 (line 225) | func TestAmountMulF64(t *testing.T) { FILE: btcutil/appdata.go function appDataDir (line 21) | func appDataDir(goos, appName string, roaming bool) string { function AppDataDir (line 104) | func AppDataDir(appName string, roaming bool) string { FILE: btcutil/appdata_test.go function TestAppDataDir (line 20) | func TestAppDataDir(t *testing.T) { FILE: btcutil/base58/alphabet.go constant alphabet (line 11) | alphabet = "123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz" constant alphabetIdx0 (line 13) | alphabetIdx0 = '1' FILE: btcutil/base58/base58.go function Decode (line 30) | func Decode(b string) []byte { function Encode (line 92) | func Encode(b []byte) string { FILE: btcutil/base58/base58_test.go function TestBase58 (line 70) | func TestBase58(t *testing.T) { FILE: btcutil/base58/base58bench_test.go function BenchmarkBase58Encode_5K (line 21) | func BenchmarkBase58Encode_5K(b *testing.B) { function BenchmarkBase58Encode_100K (line 28) | func BenchmarkBase58Encode_100K(b *testing.B) { function BenchmarkBase58Decode_5K (line 35) | func BenchmarkBase58Decode_5K(b *testing.B) { function BenchmarkBase58Decode_100K (line 42) | func BenchmarkBase58Decode_100K(b *testing.B) { FILE: btcutil/base58/base58check.go function checksum (line 20) | func checksum(input []byte) (cksum [4]byte) { function CheckEncode (line 28) | func CheckEncode(input []byte, version byte) string { function CheckDecode (line 38) | func CheckDecode(input string) (result []byte, version byte, err error) { FILE: btcutil/base58/base58check_test.go function TestBase58Check (line 31) | func TestBase58Check(t *testing.T) { FILE: btcutil/base58/example_test.go function ExampleDecode (line 14) | func ExampleDecode() { function ExampleEncode (line 28) | func ExampleEncode() { function ExampleCheckDecode (line 41) | func ExampleCheckDecode() { function ExampleCheckEncode (line 61) | func ExampleCheckEncode() { FILE: btcutil/base58/genalphabet.go function write (line 46) | func write(w io.Writer, b []byte) { function main (line 53) | func main() { FILE: btcutil/bech32/bech32.go constant charset (line 15) | charset = "qpzry9x8gf2tvdw0s3jn54khce6mua7l" function toBytes (line 22) | func toBytes(chars string) ([]byte, error) { function bech32Polymod (line 41) | func bech32Polymod(hrp string, values, checksum []byte) int { function writeBech32Checksum (line 126) | func writeBech32Checksum(hrp string, data []byte, bldr *strings.Builder, function bech32VerifyChecksum (line 150) | func bech32VerifyChecksum(hrp string, data []byte) (Version, bool) { function DecodeNoLimitWithVersion (line 175) | func DecodeNoLimitWithVersion(bech string) (string, []byte, Version, err... function DecodeNoLimit (line 267) | func DecodeNoLimit(bech string) (string, []byte, error) { function Decode (line 277) | func Decode(bech string) (string, []byte, error) { function DecodeGeneric (line 291) | func DecodeGeneric(bech string) (string, []byte, Version, error) { function encodeGeneric (line 303) | func encodeGeneric(hrp string, data []byte, function Encode (line 332) | func Encode(hrp string, data []byte) (string, error) { function EncodeM (line 339) | func EncodeM(hrp string, data []byte) (string, error) { function ConvertBits (line 345) | func ConvertBits(data []byte, fromBits, toBits uint8, pad bool) ([]byte,... function EncodeFromBase256 (line 424) | func EncodeFromBase256(hrp string, data []byte) (string, error) { function DecodeToBase256 (line 435) | func DecodeToBase256(bech string) (string, []byte, error) { FILE: btcutil/bech32/bech32_test.go function TestBech32 (line 19) | func TestBech32(t *testing.T) { function TestBech32M (line 94) | func TestBech32M(t *testing.T) { function TestBech32DecodeGeneric (line 167) | func TestBech32DecodeGeneric(t *testing.T) { function TestMixedCaseEncode (line 214) | func TestMixedCaseEncode(t *testing.T) { function TestCanDecodeUnlimitedBech32 (line 302) | func TestCanDecodeUnlimitedBech32(t *testing.T) { function TestBech32Base256 (line 332) | func TestBech32Base256(t *testing.T) { function BenchmarkEncodeDecodeCycle (line 498) | func BenchmarkEncodeDecodeCycle(b *testing.B) { function TestConvertBits (line 534) | func TestConvertBits(t *testing.T) { function TestConvertBitsFailures (line 615) | func TestConvertBitsFailures(t *testing.T) { function BenchmarkConvertBitsDown (line 654) | func BenchmarkConvertBitsDown(b *testing.B) { function BenchmarkConvertBitsUp (line 676) | func BenchmarkConvertBitsUp(b *testing.B) { FILE: btcutil/bech32/error.go type ErrMixedCase (line 13) | type ErrMixedCase struct method Error (line 15) | func (e ErrMixedCase) Error() string { type ErrInvalidBitGroups (line 21) | type ErrInvalidBitGroups struct method Error (line 23) | func (e ErrInvalidBitGroups) Error() string { type ErrInvalidIncompleteGroup (line 29) | type ErrInvalidIncompleteGroup struct method Error (line 31) | func (e ErrInvalidIncompleteGroup) Error() string { type ErrInvalidLength (line 37) | type ErrInvalidLength method Error (line 39) | func (e ErrInvalidLength) Error() string { type ErrInvalidCharacter (line 45) | type ErrInvalidCharacter method Error (line 47) | func (e ErrInvalidCharacter) Error() string { type ErrInvalidSeparatorIndex (line 53) | type ErrInvalidSeparatorIndex method Error (line 55) | func (e ErrInvalidSeparatorIndex) Error() string { type ErrNonCharsetChar (line 61) | type ErrNonCharsetChar method Error (line 63) | func (e ErrNonCharsetChar) Error() string { type ErrInvalidChecksum (line 70) | type ErrInvalidChecksum struct method Error (line 76) | func (e ErrInvalidChecksum) Error() string { type ErrInvalidDataByte (line 83) | type ErrInvalidDataByte method Error (line 85) | func (e ErrInvalidDataByte) Error() string { FILE: btcutil/bech32/example_test.go function ExampleDecode (line 15) | func ExampleDecode() { function ExampleEncode (line 32) | func ExampleEncode() { FILE: btcutil/bech32/version.go type ChecksumConst (line 5) | type ChecksumConst constant Version0Const (line 10) | Version0Const ChecksumConst = 1 constant VersionMConst (line 14) | VersionMConst ChecksumConst = 0x2bc830a3 type Version (line 18) | type Version constant Version0 (line 22) | Version0 Version = iota constant VersionM (line 26) | VersionM constant VersionUnknown (line 29) | VersionUnknown FILE: btcutil/bench_test.go function BenchmarkTxHash (line 16) | func BenchmarkTxHash(b *testing.B) { function BenchmarkTxWitnessHash (line 59) | func BenchmarkTxWitnessHash(b *testing.B) { FILE: btcutil/block.go type OutOfRangeError (line 18) | type OutOfRangeError method Error (line 26) | func (e OutOfRangeError) Error() string { constant BlockHeightUnknown (line 23) | BlockHeightUnknown = int32(-1) type Block (line 34) | type Block struct method MsgBlock (line 45) | func (b *Block) MsgBlock() *wire.MsgBlock { method Bytes (line 53) | func (b *Block) Bytes() ([]byte, error) { method BytesNoWitness (line 74) | func (b *Block) BytesNoWitness() ([]byte, error) { method Hash (line 96) | func (b *Block) Hash() *chainhash.Hash { method Tx (line 114) | func (b *Block) Tx(txNum int) (*Tx, error) { method Transactions (line 144) | func (b *Block) Transactions() []*Tx { method TxHash (line 196) | func (b *Block) TxHash(txNum int) (*chainhash.Hash, error) { method TxLoc (line 213) | func (b *Block) TxLoc() ([]wire.TxLoc, error) { method Height (line 230) | func (b *Block) Height() int32 { method SetHeight (line 235) | func (b *Block) SetHeight(height int32) { function NewBlock (line 241) | func NewBlock(msgBlock *wire.MsgBlock) *Block { function NewBlockFromBytes (line 250) | func NewBlockFromBytes(serializedBlock []byte) (*Block, error) { function NewBlockFromReader (line 268) | func NewBlockFromReader(r io.Reader) (*Block, error) { function NewBlockFromBlockAndBytes (line 285) | func NewBlockFromBlockAndBytes(msgBlock *wire.MsgBlock, FILE: btcutil/block_test.go function TestBlock (line 21) | func TestBlock(t *testing.T) { function TestNewBlockFromBytes (line 168) | func TestNewBlockFromBytes(t *testing.T) { function TestNewBlockFromBlockAndBytes (line 205) | func TestNewBlockFromBlockAndBytes(t *testing.T) { function TestBlockErrors (line 235) | func TestBlockErrors(t *testing.T) { FILE: btcutil/bloom/example_test.go function ExampleNewFilter (line 19) | func ExampleNewFilter() { FILE: btcutil/bloom/filter.go constant ln2Squared (line 19) | ln2Squared = math.Ln2 * math.Ln2 function minUint32 (line 23) | func minUint32(a, b uint32) uint32 { type Filter (line 32) | type Filter struct method normalize (line 80) | func (bf *Filter) normalize() { method IsLoaded (line 99) | func (bf *Filter) IsLoaded() bool { method Reload (line 109) | func (bf *Filter) Reload(filter *wire.MsgFilterLoad) { method Unload (line 119) | func (bf *Filter) Unload() { method hash (line 127) | func (bf *Filter) hash(hashNum uint32, data []byte) uint32 { method matches (line 142) | func (bf *Filter) matches(data []byte) bool { method Matches (line 168) | func (bf *Filter) Matches(data []byte) bool { method matchesOutPoint (line 179) | func (bf *Filter) matchesOutPoint(outpoint *wire.OutPoint) bool { method MatchesOutPoint (line 192) | func (bf *Filter) MatchesOutPoint(outpoint *wire.OutPoint) bool { method add (line 202) | func (bf *Filter) add(data []byte) { method Add (line 223) | func (bf *Filter) Add(data []byte) { method AddHash (line 232) | func (bf *Filter) AddHash(hash *chainhash.Hash) { method addOutPoint (line 241) | func (bf *Filter) addOutPoint(outpoint *wire.OutPoint) { method AddOutPoint (line 253) | func (bf *Filter) AddOutPoint(outpoint *wire.OutPoint) { method maybeAddOutpoint (line 264) | func (bf *Filter) maybeAddOutpoint(pkScript []byte, outHash *chainhash... method matchTxAndUpdate (line 284) | func (bf *Filter) matchTxAndUpdate(tx *btcutil.Tx) bool { method MatchTxAndUpdate (line 349) | func (bf *Filter) MatchTxAndUpdate(tx *btcutil.Tx) bool { method MsgFilterLoad (line 360) | func (bf *Filter) MsgFilterLoad() *wire.MsgFilterLoad { function NewFilter (line 46) | func NewFilter(elements, tweak uint32, fprate float64, flags wire.BloomU... function LoadFilter (line 88) | func LoadFilter(filter *wire.MsgFilterLoad) *Filter { FILE: btcutil/bloom/filter_test.go function TestFilterLarge (line 19) | func TestFilterLarge(t *testing.T) { function TestFilterLoad (line 28) | func TestFilterLoad(t *testing.T) { function TestFilterInsert (line 81) | func TestFilterInsert(t *testing.T) { function TestFilterFPRange (line 134) | func TestFilterFPRange(t *testing.T) { function TestFilterInsertWithTweak (line 195) | func TestFilterInsertWithTweak(t *testing.T) { function TestFilterInsertKey (line 247) | func TestFilterInsertKey(t *testing.T) { function TestFilterBloomMatch (line 279) | func TestFilterBloomMatch(t *testing.T) { function TestFilterInsertUpdateNone (line 478) | func TestFilterInsertUpdateNone(t *testing.T) { function TestFilterInsertP2PubKeyOnly (line 528) | func TestFilterInsertP2PubKeyOnly(t *testing.T) { function TestFilterReload (line 680) | func TestFilterReload(t *testing.T) { FILE: btcutil/bloom/merkleblock.go type merkleBlock (line 16) | type merkleBlock struct method calcTreeWidth (line 26) | func (m *merkleBlock) calcTreeWidth(height uint32) uint32 { method calcHash (line 32) | func (m *merkleBlock) calcHash(height, pos uint32) *chainhash.Hash { method traverseAndBuild (line 52) | func (m *merkleBlock) traverseAndBuild(height, pos uint32) { function NewMerkleBlock (line 83) | func NewMerkleBlock(block *btcutil.Block, filter *Filter) (*wire.MsgMerk... FILE: btcutil/bloom/merkleblock_test.go function TestMerkleBlock3 (line 18) | func TestMerkleBlock3(t *testing.T) { FILE: btcutil/bloom/murmurhash3.go constant murmurC1 (line 13) | murmurC1 = 0xcc9e2d51 constant murmurC2 (line 14) | murmurC2 = 0x1b873593 constant murmurR1 (line 15) | murmurR1 = 15 constant murmurR2 (line 16) | murmurR2 = 13 constant murmurM (line 17) | murmurM = 5 constant murmurN (line 18) | murmurN = 0xe6546b64 function MurmurHash3 (line 26) | func MurmurHash3(seed uint32, data []byte) uint32 { FILE: btcutil/bloom/murmurhash3_test.go function TestMurmurHash3 (line 15) | func TestMurmurHash3(t *testing.T) { FILE: btcutil/certgen.go function NewTLSCertPair (line 28) | func NewTLSCertPair(organization string, validUntil time.Time, extraHost... FILE: btcutil/certgen_test.go function TestNewTLSCertPair (line 19) | func TestNewTLSCertPair(t *testing.T) { FILE: btcutil/coinset/coins.go type Coin (line 18) | type Coin interface type Coins (line 28) | type Coins interface type CoinSet (line 40) | type CoinSet struct method Coins (line 64) | func (cs *CoinSet) Coins() []Coin { method TotalValue (line 73) | func (cs *CoinSet) TotalValue() (value btcutil.Amount) { method TotalValueAge (line 79) | func (cs *CoinSet) TotalValueAge() (valueAge int64) { method Num (line 84) | func (cs *CoinSet) Num() int { method PushCoin (line 90) | func (cs *CoinSet) PushCoin(c Coin) { method PopCoin (line 97) | func (cs *CoinSet) PopCoin() Coin { method ShiftCoin (line 106) | func (cs *CoinSet) ShiftCoin() Coin { method removeElement (line 117) | func (cs *CoinSet) removeElement(e *list.Element) Coin { function NewCoinSet (line 51) | func NewCoinSet(coins []Coin) *CoinSet { function NewMsgTxWithInputCoins (line 127) | func NewMsgTxWithInputCoins(txVersion int32, inputCoins Coins) *wire.Msg... function satisfiesTargetValue (line 152) | func satisfiesTargetValue(targetValue, minChange, totalValue btcutil.Amo... type CoinSelector (line 167) | type CoinSelector interface type MinIndexCoinSelector (line 174) | type MinIndexCoinSelector struct method CoinSelect (line 181) | func (s MinIndexCoinSelector) CoinSelect(targetValue btcutil.Amount, c... type MinNumberCoinSelector (line 195) | type MinNumberCoinSelector struct method CoinSelect (line 202) | func (s MinNumberCoinSelector) CoinSelect(targetValue btcutil.Amount, ... type MaxValueAgeCoinSelector (line 217) | type MaxValueAgeCoinSelector struct method CoinSelect (line 224) | func (s MaxValueAgeCoinSelector) CoinSelect(targetValue btcutil.Amount... type MinPriorityCoinSelector (line 241) | type MinPriorityCoinSelector struct method CoinSelect (line 249) | func (s MinPriorityCoinSelector) CoinSelect(targetValue btcutil.Amount... type byValueAge (line 332) | type byValueAge method Len (line 334) | func (a byValueAge) Len() int { return len(a) } method Swap (line 335) | func (a byValueAge) Swap(i, j int) { a[i], a[j] = a[j], a[i] } method Less (line 336) | func (a byValueAge) Less(i, j int) bool { return a[i].ValueAge() < a[j... type byAmount (line 338) | type byAmount method Len (line 340) | func (a byAmount) Len() int { return len(a) } method Swap (line 341) | func (a byAmount) Swap(i, j int) { a[i], a[j] = a[j], a[i] } method Less (line 342) | func (a byAmount) Less(i, j int) bool { return a[i].Value() < a[j].Val... type SimpleCoin (line 347) | type SimpleCoin struct method Hash (line 357) | func (c *SimpleCoin) Hash() *chainhash.Hash { method Index (line 362) | func (c *SimpleCoin) Index() uint32 { method txOut (line 367) | func (c *SimpleCoin) txOut() *wire.TxOut { method Value (line 372) | func (c *SimpleCoin) Value() btcutil.Amount { method PkScript (line 381) | func (c *SimpleCoin) PkScript() []byte { method NumConfs (line 387) | func (c *SimpleCoin) NumConfs() int64 { method ValueAge (line 393) | func (c *SimpleCoin) ValueAge() int64 { FILE: btcutil/coinset/coins_test.go type TestCoin (line 20) | type TestCoin struct method Hash (line 27) | func (c *TestCoin) Hash() *chainhash.Hash { return c.TxHash } method Index (line 28) | func (c *TestCoin) Index() uint32 { return c.TxIndex } method Value (line 29) | func (c *TestCoin) Value() btcutil.Amount { return c.TxValue } method PkScript (line 30) | func (c *TestCoin) PkScript() []byte { return nil } method NumConfs (line 31) | func (c *TestCoin) NumConfs() int64 { return c.TxNumConfs } method ValueAge (line 32) | func (c *TestCoin) ValueAge() int64 { return int64(c.TxValue) * ... function NewCoin (line 34) | func NewCoin(index int64, value btcutil.Amount, numConfs int64) coinset.... type coinSelectTest (line 47) | type coinSelectTest struct function testCoinSelector (line 55) | func testCoinSelector(tests []coinSelectTest, t *testing.T) { function TestCoinSet (line 94) | func TestCoinSet(t *testing.T) { function TestMinIndexSelector (line 140) | func TestMinIndexSelector(t *testing.T) { function TestMinNumberSelector (line 163) | func TestMinNumberSelector(t *testing.T) { function TestMaxValueAgeSelector (line 185) | func TestMaxValueAgeSelector(t *testing.T) { function TestMinPrioritySelector (line 219) | func TestMinPrioritySelector(t *testing.T) { function TestSimpleCoin (line 241) | func TestSimpleCoin(t *testing.T) { FILE: btcutil/const.go constant SatoshiPerBitcent (line 9) | SatoshiPerBitcent = 1e6 constant SatoshiPerBitcoin (line 12) | SatoshiPerBitcoin = 1e8 constant MaxSatoshi (line 15) | MaxSatoshi = 21e6 * SatoshiPerBitcoin FILE: btcutil/example_test.go function ExampleAmount (line 10) | func ExampleAmount() { function ExampleNewAmount (line 26) | func ExampleNewAmount() { function ExampleAmount_unitConversions (line 61) | func ExampleAmount_unitConversions() { FILE: btcutil/gcs/builder/builder.go constant DefaultP (line 22) | DefaultP = 19 constant DefaultM (line 25) | DefaultM uint64 = 784931 type GCSBuilder (line 29) | type GCSBuilder struct method Key (line 72) | func (b *GCSBuilder) Key() ([gcs.KeySize]byte, error) { method SetKey (line 83) | func (b *GCSBuilder) SetKey(key [gcs.KeySize]byte) *GCSBuilder { method SetKeyFromHash (line 95) | func (b *GCSBuilder) SetKeyFromHash(keyHash *chainhash.Hash) *GCSBuild... method SetP (line 105) | func (b *GCSBuilder) SetP(p uint8) *GCSBuilder { method SetM (line 122) | func (b *GCSBuilder) SetM(m uint64) *GCSBuilder { method Preallocate (line 141) | func (b *GCSBuilder) Preallocate(n uint32) *GCSBuilder { method AddEntry (line 156) | func (b *GCSBuilder) AddEntry(data []byte) *GCSBuilder { method AddEntries (line 168) | func (b *GCSBuilder) AddEntries(data [][]byte) *GCSBuilder { method AddHash (line 182) | func (b *GCSBuilder) AddHash(hash *chainhash.Hash) *GCSBuilder { method AddWitness (line 193) | func (b *GCSBuilder) AddWitness(witness wire.TxWitness) *GCSBuilder { method Build (line 204) | func (b *GCSBuilder) Build() (*gcs.Filter, error) { function RandomKey (line 44) | func RandomKey() ([gcs.KeySize]byte, error) { function DeriveKey (line 64) | func DeriveKey(keyHash *chainhash.Hash) [gcs.KeySize]byte { function WithKeyPNM (line 229) | func WithKeyPNM(key [gcs.KeySize]byte, p uint8, n uint32, m uint64) *GCS... function WithKeyPM (line 237) | func WithKeyPM(key [gcs.KeySize]byte, p uint8, m uint64) *GCSBuilder { function WithKey (line 244) | func WithKey(key [gcs.KeySize]byte) *GCSBuilder { function WithKeyHashPNM (line 250) | func WithKeyHashPNM(keyHash *chainhash.Hash, p uint8, n uint32, function WithKeyHashPM (line 259) | func WithKeyHashPM(keyHash *chainhash.Hash, p uint8, m uint64) *GCSBuild... function WithKeyHash (line 267) | func WithKeyHash(keyHash *chainhash.Hash) *GCSBuilder { function WithRandomKeyPNM (line 273) | func WithRandomKeyPNM(p uint8, n uint32, m uint64) *GCSBuilder { function WithRandomKeyPM (line 285) | func WithRandomKeyPM(p uint8, m uint64) *GCSBuilder { function WithRandomKey (line 293) | func WithRandomKey() *GCSBuilder { function BuildBasicFilter (line 300) | func BuildBasicFilter(block *wire.MsgBlock, prevOutScripts [][]byte) (*g... function GetFilterHash (line 346) | func GetFilterHash(filter *gcs.Filter) (chainhash.Hash, error) { function MakeHeaderForFilter (line 360) | func MakeHeaderForFilter(filter *gcs.Filter, prevHeader chainhash.Hash) ... FILE: btcutil/gcs/builder/builder_test.go function TestUseBlockHash (line 66) | func TestUseBlockHash(t *testing.T) { function BuilderTest (line 192) | func BuilderTest(b *builder.GCSBuilder, hash *chainhash.Hash, p uint8, FILE: btcutil/gcs/gcs.go constant KeySize (line 33) | KeySize = 16 constant varIntProtoVer (line 37) | varIntProtoVer uint32 = 0 function fastReduction (line 54) | func fastReduction(v, nHi, nLo uint64) uint64 { type Filter (line 83) | type Filter struct method Bytes (line 217) | func (f *Filter) Bytes() ([]byte, error) { method NBytes (line 225) | func (f *Filter) NBytes() ([]byte, error) { method PBytes (line 244) | func (f *Filter) PBytes() ([]byte, error) { method NPBytes (line 253) | func (f *Filter) NPBytes() ([]byte, error) { method P (line 277) | func (f *Filter) P() uint8 { method N (line 282) | func (f *Filter) N() uint32 { method Match (line 288) | func (f *Filter) Match(key [KeySize]byte, data []byte) (bool, error) { method MatchAny (line 344) | func (f *Filter) MatchAny(key [KeySize]byte, data [][]byte) (bool, err... method ZipMatchAny (line 362) | func (f *Filter) ZipMatchAny(key [KeySize]byte, data [][]byte) (bool, ... method HashMatchAny (line 451) | func (f *Filter) HashMatchAny(key [KeySize]byte, data [][]byte) (bool,... method readFullUint64 (line 516) | func (f *Filter) readFullUint64(b *bstream.BStream) (uint64, error) { function BuildGCSFilter (line 94) | func BuildGCSFilter(P uint8, M uint64, key [KeySize]byte, data [][]byte)... function FromBytes (line 177) | func FromBytes(N uint32, P uint8, M uint64, d []byte) (*Filter, error) {... function FromNBytes (line 203) | func FromNBytes(P uint8, M uint64, d []byte) (*Filter, error) { // nolin... FILE: btcutil/gcs/gcs_test.go function TestGCSFilterBuild (line 81) | func TestGCSFilterBuild(t *testing.T) { function TestGCSMatchZeroHash (line 101) | func TestGCSMatchZeroHash(t *testing.T) { function testGCSMatchZeroHash (line 110) | func testGCSMatchZeroHash(t *testing.T, includeZeroHash bool) { function TestGCSFilterCopy (line 171) | func TestGCSFilterCopy(t *testing.T) { function TestGCSFilterMetadata (line 192) | func TestGCSFilterMetadata(t *testing.T) { function TestGCSFilterMatch (line 240) | func TestGCSFilterMatch(t *testing.T) { type AnyMatcher (line 300) | type AnyMatcher function TestGCSFilterMatchAnySuite (line 305) | func TestGCSFilterMatchAnySuite(t *testing.T) { FILE: btcutil/gcs/gcsbench_test.go function genRandFilterElements (line 16) | func genRandFilterElements(numElements uint) ([][]byte, error) { function BenchmarkGCSFilterBuild50000 (line 34) | func BenchmarkGCSFilterBuild50000(b *testing.B) { function BenchmarkGCSFilterBuild100000 (line 61) | func BenchmarkGCSFilterBuild100000(b *testing.B) { function BenchmarkGCSFilterMatch (line 92) | func BenchmarkGCSFilterMatch(b *testing.B) { function BenchmarkGCSFilterZipMatchAny (line 162) | func BenchmarkGCSFilterZipMatchAny(b *testing.B) { function BenchmarkGCSFilterHashMatchAny (line 188) | func BenchmarkGCSFilterHashMatchAny(b *testing.B) { function BenchmarkGCSFilterMatchAny (line 214) | func BenchmarkGCSFilterMatchAny(b *testing.B) { FILE: btcutil/hash160.go function calcHash (line 15) | func calcHash(buf []byte, hasher hash.Hash) []byte { function Hash160 (line 21) | func Hash160(buf []byte) []byte { FILE: btcutil/hdkeychain/bench_test.go constant bip0032MasterPriv1 (line 15) | bip0032MasterPriv1 = "xprv9s21ZrQH143K3QTDL4LXw2F7HEK3wJUD2nW2nRk4stbP" + function BenchmarkDeriveHardened (line 20) | func BenchmarkDeriveHardened(b *testing.B) { function BenchmarkDeriveNormal (line 35) | func BenchmarkDeriveNormal(b *testing.B) { function BenchmarkPrivToPub (line 50) | func BenchmarkPrivToPub(b *testing.B) { function BenchmarkDeserialize (line 65) | func BenchmarkDeserialize(b *testing.B) { function BenchmarkSerialize (line 73) | func BenchmarkSerialize(b *testing.B) { FILE: btcutil/hdkeychain/example_test.go function ExampleNewMaster (line 16) | func ExampleNewMaster() { function Example_defaultWalletLayout (line 40) | func Example_defaultWalletLayout() { function Example_audits (line 140) | func Example_audits() { FILE: btcutil/hdkeychain/extendedkey.go constant RecommendedSeedLen (line 31) | RecommendedSeedLen = 32 constant HardenedKeyStart (line 37) | HardenedKeyStart = 0x80000000 constant MinSeedBytes (line 41) | MinSeedBytes = 16 constant MaxSeedBytes (line 45) | MaxSeedBytes = 64 constant serializedKeyLen (line 51) | serializedKeyLen = 4 + 1 + 4 + 4 + 32 + 33 constant maxUint8 (line 54) | maxUint8 = 1<<8 - 1 type ExtendedKey (line 108) | type ExtendedKey struct method pubKeyBytes (line 148) | func (k *ExtendedKey) pubKeyBytes() []byte { method IsPrivate (line 169) | func (k *ExtendedKey) IsPrivate() bool { method Depth (line 177) | func (k *ExtendedKey) Depth() uint8 { method Version (line 183) | func (k *ExtendedKey) Version() []byte { method ParentFingerprint (line 189) | func (k *ExtendedKey) ParentFingerprint() uint32 { method ChainCode (line 196) | func (k *ExtendedKey) ChainCode() []byte { method Derive (line 228) | func (k *ExtendedKey) Derive(i uint32) (*ExtendedKey, error) { method IsAffectedByIssue172 (line 386) | func (k *ExtendedKey) IsAffectedByIssue172() bool { method DeriveNonStandard (line 393) | func (k *ExtendedKey) DeriveNonStandard(i uint32) (*ExtendedKey, error) { method ChildIndex (line 474) | func (k *ExtendedKey) ChildIndex() uint32 { method Neuter (line 486) | func (k *ExtendedKey) Neuter() (*ExtendedKey, error) { method CloneWithVersion (line 523) | func (k *ExtendedKey) CloneWithVersion(version []byte) (*ExtendedKey, ... method ECPubKey (line 538) | func (k *ExtendedKey) ECPubKey() (*btcec.PublicKey, error) { method ECPrivKey (line 546) | func (k *ExtendedKey) ECPrivKey() (*btcec.PrivateKey, error) { method Address (line 557) | func (k *ExtendedKey) Address(net *chaincfg.Params) (*btcutil.AddressP... method String (line 573) | func (k *ExtendedKey) String() string { method IsForNet (line 604) | func (k *ExtendedKey) IsForNet(net *chaincfg.Params) bool { method SetNet (line 611) | func (k *ExtendedKey) SetNet(net *chaincfg.Params) { method Zero (line 632) | func (k *ExtendedKey) Zero() { function NewExtendedKey (line 124) | func NewExtendedKey(version, key, chainCode, parentFP []byte, depth uint8, function paddedAppend (line 565) | func paddedAppend(size uint, dst, src []byte) []byte { function zero (line 621) | func zero(b []byte) { function NewMaster (line 652) | func NewMaster(seed []byte, net *chaincfg.Params) (*ExtendedKey, error) { function NewKeyFromString (line 683) | func NewKeyFromString(key string) (*ExtendedKey, error) { function GenerateSeed (line 741) | func GenerateSeed(length uint8) ([]byte, error) { FILE: btcutil/hdkeychain/extendedkey_test.go function TestBIP0032Vectors (line 26) | func TestBIP0032Vectors(t *testing.T) { function TestPrivateDerivation (line 277) | func TestPrivateDerivation(t *testing.T) { function TestPublicDerivation (line 405) | func TestPublicDerivation(t *testing.T) { function TestGenerateSeed (line 523) | func TestGenerateSeed(t *testing.T) { function TestExtendedKeyAPI (line 561) | func TestExtendedKeyAPI(t *testing.T) { function TestNet (line 689) | func TestNet(t *testing.T) { function TestErrors (line 824) | func TestErrors(t *testing.T) { function TestZero (line 915) | func TestZero(t *testing.T) { function TestMaximumDepth (line 1065) | func TestMaximumDepth(t *testing.T) { function TestCloneWithVersion (line 1100) | func TestCloneWithVersion(t *testing.T) { function TestLeadingZero (line 1165) | func TestLeadingZero(t *testing.T) { FILE: btcutil/internal_test.go method SetBlockBytes (line 24) | func (b *Block) SetBlockBytes(buf []byte) { function TstAppDataDir (line 30) | func TstAppDataDir(goos, appName string, roaming bool) string { function TstAddressPubKeyHash (line 36) | func TstAddressPubKeyHash(hash [ripemd160.Size]byte, function TstAddressScriptHash (line 47) | func TstAddressScriptHash(hash [ripemd160.Size]byte, function TstAddressWitnessPubKeyHash (line 58) | func TstAddressWitnessPubKeyHash(version byte, program [20]byte, function TstAddressWitnessScriptHash (line 72) | func TstAddressWitnessScriptHash(version byte, program [32]byte, function TstAddressTaproot (line 85) | func TstAddressTaproot(version byte, program [32]byte, function TstAddressPubKey (line 99) | func TstAddressPubKey(serializedPubKey []byte, pubKeyFormat PubKeyFormat, function TstAddressSAddr (line 112) | func TstAddressSAddr(addr string) []byte { function TstAddressSegwitSAddr (line 119) | func TstAddressSegwitSAddr(addr string) []byte { function TstAddressTaprootSAddr (line 135) | func TstAddressTaprootSAddr(addr string) []byte { FILE: btcutil/net.go function interfaceAddrs (line 17) | func interfaceAddrs() ([]net.Addr, error) { FILE: btcutil/net_noop.go function interfaceAddrs (line 18) | func interfaceAddrs() ([]net.Addr, error) { FILE: btcutil/psbt/bip32.go constant uint32Size (line 14) | uint32Size = 4 type Bip32Derivation (line 21) | type Bip32Derivation struct method checkValid (line 33) | func (pb *Bip32Derivation) checkValid() bool { type Bip32Sorter (line 38) | type Bip32Sorter method Len (line 40) | func (s Bip32Sorter) Len() int { return len(s) } method Swap (line 42) | func (s Bip32Sorter) Swap(i, j int) { s[i], s[j] = s[j], s[i] } method Less (line 44) | func (s Bip32Sorter) Less(i, j int) bool { function ReadBip32Derivation (line 51) | func ReadBip32Derivation(path []byte) (uint32, []uint32, error) { function SerializeBIP32Derivation (line 76) | func SerializeBIP32Derivation(masterKeyFingerprint uint32, type XPub (line 95) | type XPub struct function ReadXPub (line 112) | func ReadXPub(keyData []byte, path []byte) (*XPub, error) { function EncodeExtendedKey (line 139) | func EncodeExtendedKey(key *hdkeychain.ExtendedKey) []byte { function DecodeExtendedKey (line 147) | func DecodeExtendedKey(encodedKey []byte) (*hdkeychain.ExtendedKey, erro... FILE: btcutil/psbt/bip32_test.go function TestReadBip32Derivation (line 12) | func TestReadBip32Derivation(t *testing.T) { FILE: btcutil/psbt/creator.go constant MinTxVersion (line 12) | MinTxVersion = 1 function New (line 21) | func New(inputs []*wire.OutPoint, FILE: btcutil/psbt/extractor.go function Extract (line 23) | func Extract(p *Packet) (*wire.MsgTx, error) { FILE: btcutil/psbt/finalizer.go function isFinalized (line 26) | func isFinalized(p *Packet, inIndex int) bool { function isFinalizableWitnessInput (line 33) | func isFinalizableWitnessInput(pInput *PInput) bool { function isFinalizableLegacyInput (line 106) | func isFinalizableLegacyInput(p *Packet, pInput *PInput, inIndex int) bo... function isFinalizable (line 131) | func isFinalizable(p *Packet, inIndex int) bool { function MaybeFinalize (line 170) | func MaybeFinalize(p *Packet, inIndex int) (bool, error) { function MaybeFinalizeAll (line 188) | func MaybeFinalizeAll(p *Packet) error { function Finalize (line 206) | func Finalize(p *Packet, inIndex int) error { function checkFinalScriptSigWitness (line 248) | func checkFinalScriptSigWitness(p *Packet, inIndex int) bool { function finalizeNonWitnessInput (line 265) | func finalizeNonWitnessInput(p *Packet, inIndex int) error { function finalizeWitnessInput (line 366) | func finalizeWitnessInput(p *Packet, inIndex int) error { function finalizeTaprootInput (line 505) | func finalizeTaprootInput(p *Packet, inIndex int) error { FILE: btcutil/psbt/partial_input.go type PInput (line 15) | type PInput struct method IsSane (line 57) | func (pi *PInput) IsSane() bool { method deserialize (line 67) | func (pi *PInput) deserialize(r io.Reader) error { method serialize (line 393) | func (pi *PInput) serialize(w io.Writer) error { function NewPsbtInput (line 40) | func NewPsbtInput(nonWitnessUtxo *wire.MsgTx, witnessUtxo *wire.TxOut) *... FILE: btcutil/psbt/partial_output.go type POutput (line 13) | type POutput struct method deserialize (line 36) | func (po *POutput) deserialize(r io.Reader) error { method serialize (line 175) | func (po *POutput) serialize(w io.Writer) error { function NewPsbtOutput (line 26) | func NewPsbtOutput(redeemScript []byte, witnessScript []byte, FILE: btcutil/psbt/partialsig.go type PartialSig (line 15) | type PartialSig struct method checkValid (line 48) | func (ps *PartialSig) checkValid() bool { type PartialSigSorter (line 21) | type PartialSigSorter method Len (line 23) | func (s PartialSigSorter) Len() int { return len(s) } method Swap (line 25) | func (s PartialSigSorter) Swap(i, j int) { s[i], s[j] = s[j], s[i] } method Less (line 27) | func (s PartialSigSorter) Less(i, j int) bool { function validatePubkey (line 33) | func validatePubkey(pubKey []byte) bool { function validateSignature (line 41) | func validateSignature(sig []byte) bool { FILE: btcutil/psbt/psbt.go constant psbtMagicLength (line 22) | psbtMagicLength = 5 constant MaxPsbtValueLength (line 34) | MaxPsbtValueLength = 4000000 constant MaxPsbtKeyLength (line 38) | MaxPsbtKeyLength = 10000 constant MaxPsbtKeyValue (line 44) | MaxPsbtKeyValue = 0x02000000 type Unknown (line 117) | type Unknown struct type Packet (line 126) | type Packet struct method Serialize (line 334) | func (p *Packet) Serialize(w io.Writer) error { method B64Encode (line 415) | func (p *Packet) B64Encode() (string, error) { method IsComplete (line 428) | func (p *Packet) IsComplete() bool { method SanityCheck (line 439) | func (p *Packet) SanityCheck() error { method GetTxFee (line 455) | func (p *Packet) GetTxFee() (btcutil.Amount, error) { function validateUnsignedTX (line 152) | func validateUnsignedTX(tx *wire.MsgTx) bool { function NewFromUnsignedTx (line 164) | func NewFromUnsignedTx(tx *wire.MsgTx) (*Packet, error) { function NewFromRawBytes (line 190) | func NewFromRawBytes(r io.Reader, b64 bool) (*Packet, error) { FILE: btcutil/psbt/psbt_test.go function createPsbtFromSignedTx (line 31) | func createPsbtFromSignedTx(serializedSignedTx []byte) ( function TestReadValidPsbtAndReserialize (line 188) | func TestReadValidPsbtAndReserialize(t *testing.T) { function TestReadInvalidPsbt (line 232) | func TestReadInvalidPsbt(t *testing.T) { function TestSanityCheck (line 251) | func TestSanityCheck(t *testing.T) { function TestPsbtCreator (line 410) | func TestPsbtCreator(t *testing.T) { function TestPsbtSigner (line 661) | func TestPsbtSigner(t *testing.T) { function TestFinalize2of3 (line 710) | func TestFinalize2of3(t *testing.T) { function TestPsbtExtractor (line 731) | func TestPsbtExtractor(t *testing.T) { function TestFinalizerAddSigHashFlags (line 786) | func TestFinalizerAddSigHashFlags(t *testing.T) { function TestImportFromCore1 (line 832) | func TestImportFromCore1(t *testing.T) { function TestImportFromCore2 (line 990) | func TestImportFromCore2(t *testing.T) { function TestMaybeFinalizeAll (line 1221) | func TestMaybeFinalizeAll(t *testing.T) { function TestFromUnsigned (line 1307) | func TestFromUnsigned(t *testing.T) { function TestNonWitnessToWitness (line 1337) | func TestNonWitnessToWitness(t *testing.T) { function TestPSBTNumberOfHashesOverflow (line 1454) | func TestPSBTNumberOfHashesOverflow(t *testing.T) { function TestMinTaprootBip32DerivationByteSize (line 1482) | func TestMinTaprootBip32DerivationByteSize(t *testing.T) { function TestEmptyInputSerialization (line 1536) | func TestEmptyInputSerialization(t *testing.T) { function TestWitnessForNonWitnessUtxo (line 1567) | func TestWitnessForNonWitnessUtxo(t *testing.T) { function TestUnknowns (line 1671) | func TestUnknowns(t *testing.T) { FILE: btcutil/psbt/signer.go type SignOutcome (line 18) | type SignOutcome constant SignSuccesful (line 23) | SignSuccesful = 0 constant SignFinalized (line 27) | SignFinalized = 1 constant SignInvalid (line 31) | SignInvalid = -1 method Sign (line 46) | func (u *Updater) Sign(inIndex int, sig []byte, pubKey []byte, function nonWitnessToWitness (line 143) | func nonWitnessToWitness(p *Packet, inIndex int) error { FILE: btcutil/psbt/sort.go function InPlaceSort (line 24) | func InPlaceSort(packet *Packet) error { type sortableInputs (line 40) | type sortableInputs struct method Len (line 53) | func (s *sortableInputs) Len() int { return len(s.p.UnsignedTx.TxIn) } method Swap (line 57) | func (s *sortableInputs) Swap(i, j int) { method Less (line 72) | func (s *sortableInputs) Less(i, j int) bool { type sortableOutputs (line 46) | type sortableOutputs struct method Len (line 54) | func (s sortableOutputs) Len() int { return len(s.p.UnsignedTx.TxOut) } method Swap (line 64) | func (s *sortableOutputs) Swap(i, j int) { method Less (line 95) | func (s *sortableOutputs) Less(i, j int) bool { FILE: btcutil/psbt/sort_test.go function TestInPlaceSort (line 11) | func TestInPlaceSort(t *testing.T) { FILE: btcutil/psbt/taproot.go constant schnorrSigMinLength (line 16) | schnorrSigMinLength = schnorr.SignatureSize constant schnorrSigMaxLength (line 20) | schnorrSigMaxLength = schnorrSigMinLength + 1 type TaprootScriptSpendSig (line 25) | type TaprootScriptSpendSig struct method checkValid (line 33) | func (s *TaprootScriptSpendSig) checkValid() bool { method EqualKey (line 40) | func (s *TaprootScriptSpendSig) EqualKey(other *TaprootScriptSpendSig)... method SortBefore (line 48) | func (s *TaprootScriptSpendSig) SortBefore(other *TaprootScriptSpendSi... type TaprootTapLeafScript (line 55) | type TaprootTapLeafScript struct method checkValid (line 62) | func (s *TaprootTapLeafScript) checkValid() bool { method SortBefore (line 69) | func (s *TaprootTapLeafScript) SortBefore(other *TaprootTapLeafScript)... type TaprootBip32Derivation (line 75) | type TaprootBip32Derivation struct method SortBefore (line 94) | func (s *TaprootBip32Derivation) SortBefore(other *TaprootBip32Derivat... function minTaprootBip32DerivationByteSize (line 105) | func minTaprootBip32DerivationByteSize(numHashes uint64) (uint64, error) { function ReadTaprootBip32Derivation (line 143) | func ReadTaprootBip32Derivation(xOnlyPubKey, function SerializeTaprootBip32Derivation (line 222) | func SerializeTaprootBip32Derivation(d *TaprootBip32Derivation) ([]byte, function validateXOnlyPubkey (line 253) | func validateXOnlyPubkey(pubKey []byte) bool { function validateSchnorrSignature (line 261) | func validateSchnorrSignature(sig []byte) bool { function validateControlBlock (line 268) | func validateControlBlock(controlBlock []byte) bool { FILE: btcutil/psbt/types.go type GlobalType (line 5) | type GlobalType constant UnsignedTxType (line 14) | UnsignedTxType GlobalType = 0 constant XPubType (line 31) | XPubType GlobalType = 1 constant VersionType (line 36) | VersionType GlobalType = 0xFB constant ProprietaryGlobalType (line 46) | ProprietaryGlobalType = 0xFC type InputType (line 51) | type InputType constant NonWitnessUtxoType (line 61) | NonWitnessUtxoType InputType = 0 constant WitnessUtxoType (line 67) | WitnessUtxoType InputType = 1 constant PartialSigType (line 74) | PartialSigType InputType = 2 constant SighashType (line 84) | SighashType InputType = 3 constant RedeemScriptInputType (line 89) | RedeemScriptInputType InputType = 4 constant WitnessScriptInputType (line 94) | WitnessScriptInputType InputType = 5 constant Bip32DerivationInputType (line 104) | Bip32DerivationInputType InputType = 6 constant FinalScriptSigType (line 110) | FinalScriptSigType InputType = 7 constant FinalScriptWitnessType (line 115) | FinalScriptWitnessType InputType = 8 constant TaprootKeySpendSignatureType (line 120) | TaprootKeySpendSignatureType InputType = 0x13 constant TaprootScriptSpendSignatureType (line 128) | TaprootScriptSpendSignatureType InputType = 0x14 constant TaprootLeafScriptType (line 135) | TaprootLeafScriptType InputType = 0x15 constant TaprootBip32DerivationInputType (line 143) | TaprootBip32DerivationInputType InputType = 0x16 constant TaprootInternalKeyInputType (line 148) | TaprootInternalKeyInputType InputType = 0x17 constant TaprootMerkleRootType (line 152) | TaprootMerkleRootType InputType = 0x18 constant ProprietaryInputType (line 161) | ProprietaryInputType InputType = 0xFC type OutputType (line 165) | type OutputType constant RedeemScriptOutputType (line 171) | RedeemScriptOutputType OutputType = 0 constant WitnessScriptOutputType (line 176) | WitnessScriptOutputType OutputType = 1 constant Bip32DerivationOutputType (line 185) | Bip32DerivationOutputType OutputType = 2 constant TaprootInternalKeyOutputType (line 190) | TaprootInternalKeyOutputType OutputType = 5 constant TaprootTapTreeType (line 194) | TaprootTapTreeType OutputType = 6 constant TaprootBip32DerivationOutputType (line 202) | TaprootBip32DerivationOutputType OutputType = 7 FILE: btcutil/psbt/updater.go type Updater (line 24) | type Updater struct method AddInNonWitnessUtxo (line 43) | func (u *Updater) AddInNonWitnessUtxo(tx *wire.MsgTx, inIndex int) err... method AddInWitnessUtxo (line 62) | func (u *Updater) AddInWitnessUtxo(txout *wire.TxOut, inIndex int) err... method addPartialSignature (line 84) | func (u *Updater) addPartialSignature(inIndex int, sig []byte, method AddInSighashType (line 232) | func (u *Updater) AddInSighashType(sighashType txscript.SigHashType, method AddInRedeemScript (line 247) | func (u *Updater) AddInRedeemScript(redeemScript []byte, method AddInWitnessScript (line 263) | func (u *Updater) AddInWitnessScript(witnessScript []byte, method AddInBip32Derivation (line 282) | func (u *Updater) AddInBip32Derivation(masterKeyFingerprint uint32, method AddOutBip32Derivation (line 320) | func (u *Updater) AddOutBip32Derivation(masterKeyFingerprint uint32, method AddOutRedeemScript (line 353) | func (u *Updater) AddOutRedeemScript(redeemScript []byte, method AddOutWitnessScript (line 367) | func (u *Updater) AddOutWitnessScript(witnessScript []byte, function NewUpdater (line 30) | func NewUpdater(p *Packet) (*Updater, error) { FILE: btcutil/psbt/utils.go function WriteTxWitness (line 22) | func WriteTxWitness(w io.Writer, wit [][]byte) error { function writePKHWitness (line 37) | func writePKHWitness(sig []byte, pub []byte) ([]byte, error) { function writeWitness (line 42) | func writeWitness(stackElements ...[]byte) ([]byte, error) { function checkIsMultiSigScript (line 58) | func checkIsMultiSigScript(pubKeys [][]byte, sigs [][]byte, function extractKeyOrderFromScript (line 87) | func extractKeyOrderFromScript(script []byte, expectedPubkeys [][]byte, function getMultisigScriptWitness (line 155) | func getMultisigScriptWitness(witnessScript []byte, pubKeys [][]byte, function checkSigHashFlags (line 194) | func checkSigHashFlags(sig []byte, input *PInput) bool { function serializeKVpair (line 204) | func serializeKVpair(w io.Writer, key []byte, value []byte) error { function serializeKVPairWithType (line 214) | func serializeKVPairWithType(w io.Writer, kt uint8, keydata []byte, function getKey (line 232) | func getKey(r io.Reader) (int, []byte, error) { function readTxOut (line 283) | func readTxOut(txout []byte) (*wire.TxOut, error) { function SumUtxoInputValues (line 297) | func SumUtxoInputValues(packet *Packet) (int64, error) { function TxOutsEqual (line 338) | func TxOutsEqual(out1, out2 *wire.TxOut) bool { function VerifyOutputsEqual (line 349) | func VerifyOutputsEqual(outs1, outs2 []*wire.TxOut) error { function VerifyInputPrevOutpointsEqual (line 367) | func VerifyInputPrevOutpointsEqual(ins1, ins2 []*wire.TxIn) error { function VerifyInputOutputLen (line 384) | func VerifyInputOutputLen(packet *Packet, needInputs, needOutputs bool) ... function InputsReadyToSign (line 417) | func InputsReadyToSign(packet *Packet) error { function NewFromSignedTx (line 438) | func NewFromSignedTx(tx *wire.MsgTx) (*Packet, [][]byte, function FindLeafScript (line 464) | func FindLeafScript(pInput *PInput, FILE: btcutil/psbt/utils_test.go function TestSumUtxoInputValues (line 12) | func TestSumUtxoInputValues(t *testing.T) { function TestTxOutsEqual (line 76) | func TestTxOutsEqual(t *testing.T) { function TestVerifyOutputsEqual (line 129) | func TestVerifyOutputsEqual(t *testing.T) { function TestVerifyInputPrevOutpointsEqual (line 184) | func TestVerifyInputPrevOutpointsEqual(t *testing.T) { function TestVerifyInputOutputLen (line 246) | func TestVerifyInputOutputLen(t *testing.T) { function TestNewFromSignedTx (line 330) | func TestNewFromSignedTx(t *testing.T) { FILE: btcutil/tx.go constant TxIndexUnknown (line 18) | TxIndexUnknown = -1 type Tx (line 24) | type Tx struct method MsgTx (line 34) | func (t *Tx) MsgTx() *wire.MsgTx { method Hash (line 43) | func (t *Tx) Hash() *chainhash.Hash { method WitnessHash (line 115) | func (t *Tx) WitnessHash() *chainhash.Hash { method HasWitness (line 137) | func (t *Tx) HasWitness() bool { method Index (line 149) | func (t *Tx) Index() int { method SetIndex (line 154) | func (t *Tx) SetIndex(index int) { method setBytes (line 168) | func (t *Tx) setBytes(bytes []byte) { function NewTx (line 160) | func NewTx(msgTx *wire.MsgTx) *Tx { function NewTxFromBytes (line 174) | func NewTxFromBytes(serializedTx []byte) (*Tx, error) { function NewTxFromReader (line 181) | func NewTxFromReader(r io.Reader) (*Tx, error) { FILE: btcutil/tx_test.go function TestTx (line 19) | func TestTx(t *testing.T) { function TestNewTxFromBytes (line 55) | func TestNewTxFromBytes(t *testing.T) { function TestTxErrors (line 80) | func TestTxErrors(t *testing.T) { function TestTxHasWitness (line 100) | func TestTxHasWitness(t *testing.T) { function TestTxWitnessHash (line 120) | func TestTxWitnessHash(t *testing.T) { FILE: btcutil/txsort/txsort.go function InPlaceSort (line 30) | func InPlaceSort(tx *wire.MsgTx) { function Sort (line 38) | func Sort(tx *wire.MsgTx) *wire.MsgTx { function IsSorted (line 47) | func IsSorted(tx *wire.MsgTx) bool { type sortableInputSlice (line 57) | type sortableInputSlice method Len (line 63) | func (s sortableInputSlice) Len() int { return len(s) } method Swap (line 66) | func (s sortableInputSlice) Swap(i, j int) { s[i], s[j] = s[j], s[i] } method Less (line 70) | func (s sortableInputSlice) Less(i, j int) bool { type sortableOutputSlice (line 58) | type sortableOutputSlice method Len (line 64) | func (s sortableOutputSlice) Len() int { return len(s) } method Swap (line 65) | func (s sortableOutputSlice) Swap(i, j int) { s[i], s[j] = s[j], s[i] } method Less (line 90) | func (s sortableOutputSlice) Less(i, j int) bool { FILE: btcutil/txsort/txsort_test.go function TestSort (line 19) | func TestSort(t *testing.T) { FILE: btcutil/wif.go constant compressMagic (line 25) | compressMagic byte = 0x01 type WIF (line 33) | type WIF struct method IsForNet (line 61) | func (w *WIF) IsForNet(net *chaincfg.Params) bool { method String (line 127) | func (w *WIF) String() string { method SerializePubKey (line 151) | func (w *WIF) SerializePubKey() []byte { function NewWIF (line 52) | func NewWIF(privKey *btcec.PrivateKey, net *chaincfg.Params, compress bo... function DecodeWIF (line 85) | func DecodeWIF(wif string) (*WIF, error) { FILE: btcutil/wif_test.go function TestEncodeDecodeWIF (line 17) | func TestEncodeDecodeWIF(t *testing.T) { FILE: chaincfg/chainhash/hash.go constant HashSize (line 16) | HashSize = 32 constant MaxHashStringSize (line 19) | MaxHashStringSize = HashSize * 2 type Hash (line 67) | type Hash method String (line 71) | func (hash Hash) String() string { method CloneBytes (line 83) | func (hash *Hash) CloneBytes() []byte { method SetBytes (line 92) | func (hash *Hash) SetBytes(newHash []byte) error { method IsEqual (line 104) | func (hash *Hash) IsEqual(target *Hash) bool { method MarshalJSON (line 115) | func (hash Hash) MarshalJSON() ([]byte, error) { method UnmarshalJSON (line 120) | func (hash *Hash) UnmarshalJSON(input []byte) error { function NewHash (line 142) | func NewHash(newHash []byte) (*Hash, error) { function TaggedHash (line 154) | func TaggedHash(tag []byte, msgs ...[]byte) *Hash { function NewHashFromStr (line 183) | func NewHashFromStr(hash string) (*Hash, error) { function Decode (line 194) | func Decode(dst *Hash, src string) error { function decodeLegacy (line 229) | func decodeLegacy(dst *Hash, src []byte) error { FILE: chaincfg/chainhash/hash_test.go function TestHash (line 24) | func TestHash(t *testing.T) { function TestHashString (line 96) | func TestHashString(t *testing.T) { function TestNewHashFromStr (line 114) | func TestNewHashFromStr(t *testing.T) { function TestHashJsonMarshal (line 200) | func TestHashJsonMarshal(t *testing.T) { FILE: chaincfg/chainhash/hashfuncs.go function HashB (line 14) | func HashB(b []byte) []byte { function HashH (line 20) | func HashH(b []byte) Hash { function DoubleHashB (line 25) | func DoubleHashB(b []byte) []byte { function DoubleHashH (line 33) | func DoubleHashH(b []byte) Hash { function DoubleHashRaw (line 40) | func DoubleHashRaw(serialize func(w io.Writer) error) Hash { FILE: chaincfg/chainhash/hashfuncs_test.go function TestHashFuncs (line 15) | func TestHashFuncs(t *testing.T) { function TestDoubleHashFuncs (line 77) | func TestDoubleHashFuncs(t *testing.T) { FILE: chaincfg/deployment_time_frame.go type BlockClock (line 21) | type BlockClock interface type ConsensusDeploymentStarter (line 32) | type ConsensusDeploymentStarter interface type ClockConsensusDeploymentStarter (line 43) | type ClockConsensusDeploymentStarter interface type ConsensusDeploymentEnder (line 54) | type ConsensusDeploymentEnder interface type ClockConsensusDeploymentEnder (line 65) | type ClockConsensusDeploymentEnder interface type MedianTimeDeploymentStarter (line 76) | type MedianTimeDeploymentStarter struct method SynchronizeClock (line 94) | func (m *MedianTimeDeploymentStarter) SynchronizeClock(clock BlockCloc... method HasStarted (line 99) | func (m *MedianTimeDeploymentStarter) HasStarted(blkHeader *wire.Block... method StartTime (line 122) | func (m *MedianTimeDeploymentStarter) StartTime() time.Time { function NewMedianTimeDeploymentStarter (line 86) | func NewMedianTimeDeploymentStarter(startTime time.Time) *MedianTimeDepl... type MedianTimeDeploymentEnder (line 132) | type MedianTimeDeploymentEnder struct method HasEnded (line 149) | func (m *MedianTimeDeploymentEnder) HasEnded(blkHeader *wire.BlockHead... method EndTime (line 173) | func (m *MedianTimeDeploymentEnder) EndTime() time.Time { method SynchronizeClock (line 179) | func (m *MedianTimeDeploymentEnder) SynchronizeClock(clock BlockClock) { function NewMedianTimeDeploymentEnder (line 142) | func NewMedianTimeDeploymentEnder(endTime time.Time) *MedianTimeDeployme... FILE: chaincfg/genesis_test.go function TestGenesisBlock (line 17) | func TestGenesisBlock(t *testing.T) { function TestRegTestGenesisBlock (line 43) | func TestRegTestGenesisBlock(t *testing.T) { function TestTestNet3GenesisBlock (line 70) | func TestTestNet3GenesisBlock(t *testing.T) { function TestTestNet4GenesisBlock (line 97) | func TestTestNet4GenesisBlock(t *testing.T) { function TestSimNetGenesisBlock (line 125) | func TestSimNetGenesisBlock(t *testing.T) { function TestSigNetGenesisBlock (line 152) | func TestSigNetGenesisBlock(t *testing.T) { FILE: chaincfg/params.go type Checkpoint (line 77) | type Checkpoint struct type DNSSeed (line 93) | type DNSSeed struct method String (line 1141) | func (d DNSSeed) String() string { type ConsensusDeployment (line 104) | type ConsensusDeployment struct method EffectiveAlwaysActiveHeight (line 85) | func (d *ConsensusDeployment) EffectiveAlwaysActiveHeight() uint32 { constant DeploymentTestDummy (line 142) | DeploymentTestDummy = iota constant DeploymentTestDummyMinActivation (line 148) | DeploymentTestDummyMinActivation constant DeploymentCSV (line 153) | DeploymentCSV constant DeploymentSegwit (line 158) | DeploymentSegwit constant DeploymentTaproot (line 163) | DeploymentTaproot constant DeploymentTestDummyAlwaysActive (line 167) | DeploymentTestDummyAlwaysActive constant DefinedDeployments (line 173) | DefinedDeployments type Params (line 179) | type Params struct function CustomSignetParams (line 988) | func CustomSignetParams(challenge []byte, dnsSeeds []DNSSeed) Params { function Register (line 1154) | func Register(params *Params) error { function mustRegister (line 1175) | func mustRegister(params *Params) { function IsPubKeyHashAddrID (line 1187) | func IsPubKeyHashAddrID(id byte) bool { function IsScriptHashAddrID (line 1198) | func IsScriptHashAddrID(id byte) bool { function IsBech32SegwitPrefix (line 1206) | func IsBech32SegwitPrefix(prefix string) bool { function RegisterHDKeyID (line 1224) | func RegisterHDKeyID(hdPublicKeyID []byte, hdPrivateKeyID []byte) error { function HDPrivateKeyToPublicKeyID (line 1239) | func HDPrivateKeyToPublicKeyID(id []byte) ([]byte, error) { function newHashFromStr (line 1258) | func newHashFromStr(hexStr string) *chainhash.Hash { function init (line 1273) | func init() { FILE: chaincfg/params_test.go function TestInvalidHashStr (line 19) | func TestInvalidHashStr(t *testing.T) { function TestMustRegisterPanic (line 30) | func TestMustRegisterPanic(t *testing.T) { function TestRegisterHDKeyID (line 45) | func TestRegisterHDKeyID(t *testing.T) { function TestInvalidHDKeyID (line 67) | func TestInvalidHDKeyID(t *testing.T) { function TestSigNetPowLimit (line 93) | func TestSigNetPowLimit(t *testing.T) { function TestSigNetMagic (line 112) | func TestSigNetMagic(t *testing.T) { function compactToBig (line 118) | func compactToBig(compact uint32) *big.Int { FILE: chaincfg/register_test.go function TestRegister (line 25) | func TestRegister(t *testing.T) { FILE: cmd/addblock/addblock.go constant blockDbNamePrefix (line 20) | blockDbNamePrefix = "blocks" function loadBlockDB (line 29) | func loadBlockDB() (database.DB, error) { function realMain (line 62) | func realMain() error { function main (line 120) | func main() { FILE: cmd/addblock/config.go constant defaultDbType (line 22) | defaultDbType = "ffldb" constant defaultDataFile (line 23) | defaultDataFile = "bootstrap.dat" constant defaultProgress (line 24) | defaultProgress = 10 type config (line 37) | type config struct function fileExists (line 51) | func fileExists(name string) bool { function validDbType (line 61) | func validDbType(dbType string) bool { function netName (line 74) | func netName(chainParams *chaincfg.Params) string { function loadConfig (line 84) | func loadConfig() (*config, []string, error) { FILE: cmd/addblock/import.go type importResults (line 25) | type importResults struct type blockImporter (line 33) | type blockImporter struct method readBlock (line 52) | func (bi *blockImporter) readBlock() ([]byte, error) { method processBlock (line 95) | func (bi *blockImporter) processBlock(serializedBlock []byte) (bool, e... method readHandler (line 152) | func (bi *blockImporter) readHandler() { method logProgress (line 186) | func (bi *blockImporter) logProgress() { method processHandler (line 220) | func (bi *blockImporter) processHandler() { method statusHandler (line 254) | func (bi *blockImporter) statusHandler(resultsChan chan *importResults) { method Import (line 279) | func (bi *blockImporter) Import() chan *importResults { function newBlockImporter (line 312) | func newBlockImporter(db database.DB, r io.ReadSeeker) (*blockImporter, ... FILE: cmd/btcctl/btcctl.go constant showHelpMessage (line 17) | showHelpMessage = "Specify -h to show available options" constant listCmdMessage (line 18) | listCmdMessage = "Specify -l to list available commands" function commandUsage (line 22) | func commandUsage(method string) { function usage (line 38) | func usage(errorMessage string) { function main (line 49) | func main() { FILE: cmd/btcctl/config.go constant unusableFlags (line 26) | unusableFlags = btcjson.UFWebsocketOnly | btcjson.UFNotification function listCommands (line 41) | func listCommands() { type config (line 95) | type config struct function normalizeAddress (line 118) | func normalizeAddress(addr string, chain *chaincfg.Params, useWallet boo... function cleanAndExpandPath (line 170) | func cleanAndExpandPath(path string) string { function loadConfig (line 194) | func loadConfig() (*config, []string, error) { function createDefaultConfigFile (line 329) | func createDefaultConfigFile(destinationPath, serverConfigPath string) e... FILE: cmd/btcctl/httpclient.go function newHTTPClient (line 20) | func newHTTPClient(cfg *config) (*http.Client, error) { function sendPostRequest (line 69) | func sendPostRequest(marshalledJSON []byte, cfg *config) ([]byte, error) { FILE: cmd/btcctl/version.go constant semanticAlphabet (line 14) | semanticAlphabet = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnop... constant appMajor (line 19) | appMajor uint = 0 constant appMinor (line 20) | appMinor uint = 23 constant appPatch (line 21) | appPatch uint = 1 constant appPreRelease (line 25) | appPreRelease = "beta" function version (line 35) | func version() string { function normalizeVerString (line 64) | func normalizeVerString(str string) string { FILE: cmd/findcheckpoint/config.go constant minCandidates (line 22) | minCandidates = 1 constant maxCandidates (line 23) | maxCandidates = 20 constant defaultNumCandidates (line 24) | defaultNumCandidates = 5 constant defaultDbType (line 25) | defaultDbType = "ffldb" type config (line 38) | type config struct function validDbType (line 50) | func validDbType(dbType string) bool { function netName (line 63) | func netName(chainParams *chaincfg.Params) string { function loadConfig (line 73) | func loadConfig() (*config, []string, error) { FILE: cmd/findcheckpoint/findcheckpoint.go constant blockDbNamePrefix (line 18) | blockDbNamePrefix = "blocks" function loadBlockDB (line 25) | func loadBlockDB() (database.DB, error) { function findCandidates (line 42) | func findCandidates(chain *blockchain.BlockChain, latestHash *chainhash.... function showCandidate (line 123) | func showCandidate(candidateNum int, checkpoint *chaincfg.Checkpoint) { function main (line 135) | func main() { FILE: cmd/gencerts/gencerts.go type config (line 18) | type config struct function main (line 26) | func main() { function cleanAndExpandPath (line 80) | func cleanAndExpandPath(path string) string { function fileExists (line 94) | func fileExists(name string) bool { FILE: config.go constant defaultConfigFilename (line 40) | defaultConfigFilename = "btcd.conf" constant defaultDataDirname (line 41) | defaultDataDirname = "data" constant defaultLogLevel (line 42) | defaultLogLevel = "info" constant defaultLogDirname (line 43) | defaultLogDirname = "logs" constant defaultLogFilename (line 44) | defaultLogFilename = "btcd.log" constant defaultMaxPeers (line 45) | defaultMaxPeers = 125 constant defaultBanDuration (line 46) | defaultBanDuration = time.Hour * 24 constant defaultBanThreshold (line 47) | defaultBanThreshold = 100 constant defaultConnectTimeout (line 48) | defaultConnectTimeout = time.Second * 30 constant defaultMaxRPCClients (line 49) | defaultMaxRPCClients = 10 constant defaultMaxRPCWebsockets (line 50) | defaultMaxRPCWebsockets = 25 constant defaultMaxRPCConcurrentReqs (line 51) | defaultMaxRPCConcurrentReqs = 20 constant defaultDbType (line 52) | defaultDbType = "ffldb" constant defaultFreeTxRelayLimit (line 53) | defaultFreeTxRelayLimit = 15.0 constant defaultTrickleInterval (line 54) | defaultTrickleInterval = peer.DefaultTrickleInterval constant defaultBlockMinSize (line 55) | defaultBlockMinSize = 0 constant defaultBlockMaxSize (line 56) | defaultBlockMaxSize = 750000 constant defaultBlockMinWeight (line 57) | defaultBlockMinWeight = 0 constant defaultBlockMaxWeight (line 58) | defaultBlockMaxWeight = 3000000 constant blockMaxSizeMin (line 59) | blockMaxSizeMin = 1000 constant blockMaxSizeMax (line 60) | blockMaxSizeMax = blockchain.MaxBlockBaseSize - 1000 constant blockMaxWeightMin (line 61) | blockMaxWeightMin = 4000 constant blockMaxWeightMax (line 62) | blockMaxWeightMax = blockchain.MaxBlockWeight - 4000 constant defaultGenerate (line 63) | defaultGenerate = false constant defaultMaxOrphanTransactions (line 64) | defaultMaxOrphanTransactions = 100 constant defaultMaxOrphanTxSize (line 65) | defaultMaxOrphanTxSize = 100000 constant defaultSigCacheMaxSize (line 66) | defaultSigCacheMaxSize = 100000 constant defaultUtxoCacheMaxSizeMiB (line 67) | defaultUtxoCacheMaxSizeMiB = 250 constant sampleConfigFilename (line 68) | sampleConfigFilename = "sample-btcd.conf" constant defaultTxIndex (line 69) | defaultTxIndex = false constant defaultAddrIndex (line 70) | defaultAddrIndex = false constant pruneMinSize (line 71) | pruneMinSize = 1536 function minUint32 (line 90) | func minUint32(a, b uint32) uint32 { type config (line 100) | type config struct type serviceOptions (line 196) | type serviceOptions struct function cleanAndExpandPath (line 202) | func cleanAndExpandPath(path string) string { function validLogLevel (line 215) | func validLogLevel(logLevel string) bool { function supportedSubsystems (line 235) | func supportedSubsystems() []string { function parseAndSetDebugLevels (line 250) | func parseAndSetDebugLevels(debugLevel string) error { function validDbType (line 299) | func validDbType(dbType string) bool { function removeDuplicateAddresses (line 305) | func removeDuplicateAddresses(addrs []string) []string { function normalizeAddress (line 319) | func normalizeAddress(addr, defaultPort string) string { function normalizeAddresses (line 329) | func normalizeAddresses(addrs []string, defaultPort string) []string { function newCheckpointFromStr (line 338) | func newCheckpointFromStr(checkpoint string) (chaincfg.Checkpoint, error) { function parseCheckpoints (line 370) | func parseCheckpoints(checkpointStrings []string) ([]chaincfg.Checkpoint... function fileExists (line 386) | func fileExists(name string) bool { function newConfigParser (line 396) | func newConfigParser(cfg *config, so *serviceOptions, options flags.Opti... function loadConfig (line 416) | func loadConfig() (*config, []string, error) { function createDefaultConfigFile (line 1184) | func createDefaultConfigFile(destinationPath string) error { function btcdDial (line 1254) | func btcdDial(addr net.Addr) (net.Conn, error) { function btcdLookup (line 1269) | func btcdLookup(host string) ([]net.IP, error) { FILE: config_test.go function TestCreateDefaultConfigFile (line 16) | func TestCreateDefaultConfigFile(t *testing.T) { FILE: connmgr/connmanager.go constant maxFailedAttempts (line 19) | maxFailedAttempts = 25 type ConnState (line 41) | type ConnState constant ConnPending (line 48) | ConnPending ConnState = iota constant ConnFailing (line 49) | ConnFailing constant ConnCanceled (line 50) | ConnCanceled constant ConnEstablished (line 51) | ConnEstablished constant ConnDisconnected (line 52) | ConnDisconnected type ConnReq (line 57) | type ConnReq struct method updateState (line 71) | func (c *ConnReq) updateState(state ConnState) { method ID (line 78) | func (c *ConnReq) ID() uint64 { method State (line 83) | func (c *ConnReq) State() ConnState { method String (line 91) | func (c *ConnReq) String() string { type Config (line 99) | type Config struct type registerPending (line 151) | type registerPending struct type ConnOption (line 157) | type ConnOption type connOptions (line 160) | type connOptions struct function WithTriggerReconnect (line 166) | func WithTriggerReconnect() ConnOption { type handleConnected (line 173) | type handleConnected struct type handleDisconnected (line 179) | type handleDisconnected struct type handleFailed (line 186) | type handleFailed struct type ConnManager (line 192) | type ConnManager struct method handleFailedConn (line 210) | func (cm *ConnManager) handleFailedConn(c *ConnReq, triggerReconnect b... method connHandler (line 250) | func (cm *ConnManager) connHandler() { method NewConnReq (line 382) | func (cm *ConnManager) NewConnReq() { method Connect (line 428) | func (cm *ConnManager) Connect(c *ConnReq) { method Disconnect (line 484) | func (cm *ConnManager) Disconnect(id uint64, options ...ConnOption) { method Remove (line 506) | func (cm *ConnManager) Remove(id uint64) { method listenHandler (line 519) | func (cm *ConnManager) listenHandler(listener net.Listener) { method Start (line 538) | func (cm *ConnManager) Start() { method Wait (line 563) | func (cm *ConnManager) Wait() { method Stop (line 568) | func (cm *ConnManager) Stop() { function New (line 588) | func New(cfg *Config) (*ConnManager, error) { FILE: connmgr/connmanager_test.go function init (line 17) | func init() { type mockAddr (line 23) | type mockAddr struct method Network (line 27) | func (m mockAddr) Network() string { return m.net } method String (line 28) | func (m mockAddr) String() string { return m.address } type mockConn (line 31) | type mockConn struct method LocalAddr (line 44) | func (c mockConn) LocalAddr() net.Addr { method RemoteAddr (line 49) | func (c mockConn) RemoteAddr() net.Addr { method Close (line 54) | func (c mockConn) Close() error { method SetDeadline (line 58) | func (c mockConn) SetDeadline(t time.Time) error { return nil } method SetReadDeadline (line 59) | func (c mockConn) SetReadDeadline(t time.Time) error { return nil } method SetWriteDeadline (line 60) | func (c mockConn) SetWriteDeadline(t time.Time) error { return nil } function mockDialer (line 64) | func mockDialer(addr net.Addr) (net.Conn, error) { function TestNewConfig (line 73) | func TestNewConfig(t *testing.T) { function TestStartStop (line 88) | func TestStartStop(t *testing.T) { function TestConnectMode (line 141) | func TestConnectMode(t *testing.T) { function TestTargetOutbound (line 186) | func TestTargetOutbound(t *testing.T) { function TestRetryPermanent (line 223) | func TestRetryPermanent(t *testing.T) { function TestMaxRetryDuration (line 306) | func TestMaxRetryDuration(t *testing.T) { function TestNetworkFailure (line 354) | func TestNetworkFailure(t *testing.T) { function TestStopFailed (line 393) | func TestStopFailed(t *testing.T) { function TestRemovePendingConnection (line 427) | func TestRemovePendingConnection(t *testing.T) { function TestCancelIgnoreDelayedConnection (line 479) | func TestCancelIgnoreDelayedConnection(t *testing.T) { type mockListener (line 558) | type mockListener struct method Accept (line 567) | func (m *mockListener) Accept() (net.Conn, error) { method Close (line 578) | func (m *mockListener) Close() error { method Addr (line 586) | func (m *mockListener) Addr() net.Addr { method Connect (line 594) | func (m *mockListener) Connect(ip string, port int) { function newMockListener (line 607) | func newMockListener(localAddr string) *mockListener { function TestListeners (line 616) | func TestListeners(t *testing.T) { FILE: connmgr/dynamicbanscore.go constant Halflife (line 17) | Halflife = 60 constant lambda (line 20) | lambda = math.Ln2 / Halflife constant Lifetime (line 24) | Lifetime = 1800 constant precomputedLen (line 28) | precomputedLen = 64 function init (line 36) | func init() { function decayFactor (line 44) | func decayFactor(t int64) float64 { type DynamicBanScore (line 63) | type DynamicBanScore struct method String (line 71) | func (s *DynamicBanScore) String() string { method Int (line 83) | func (s *DynamicBanScore) Int() uint32 { method Increase (line 94) | func (s *DynamicBanScore) Increase(persistent, transient uint32) uint32 { method Reset (line 104) | func (s *DynamicBanScore) Reset() { method int (line 117) | func (s *DynamicBanScore) int(t time.Time) uint32 { method increase (line 131) | func (s *DynamicBanScore) increase(persistent, transient uint32, t tim... FILE: connmgr/dynamicbanscore_test.go function TestDynamicBanScoreDecay (line 15) | func TestDynamicBanScoreDecay(t *testing.T) { function TestDynamicBanScoreLifetime (line 37) | func TestDynamicBanScoreLifetime(t *testing.T) { function TestDynamicBanScoreReset (line 54) | func TestDynamicBanScoreReset(t *testing.T) { function TestDynamicBanScoreString (line 71) | func TestDynamicBanScoreString(t *testing.T) { FILE: connmgr/log.go function init (line 15) | func init() { function DisableLog (line 21) | func DisableLog() { function UseLogger (line 28) | func UseLogger(logger btclog.Logger) { FILE: connmgr/seed.go constant secondsIn3Days (line 21) | secondsIn3Days int32 = 24 * 60 * 60 * 3 constant secondsIn4Days (line 22) | secondsIn4Days int32 = 24 * 60 * 60 * 4 type OnSeed (line 27) | type OnSeed type LookupFunc (line 30) | type LookupFunc function SeedFromDNS (line 33) | func SeedFromDNS(chainParams *chaincfg.Params, reqServices wire.ServiceF... FILE: connmgr/tor.go constant torSucceeded (line 14) | torSucceeded = 0x00 constant torGeneralError (line 15) | torGeneralError = 0x01 constant torNotAllowed (line 16) | torNotAllowed = 0x02 constant torNetUnreachable (line 17) | torNetUnreachable = 0x03 constant torHostUnreachable (line 18) | torHostUnreachable = 0x04 constant torConnectionRefused (line 19) | torConnectionRefused = 0x05 constant torTTLExpired (line 20) | torTTLExpired = 0x06 constant torCmdNotSupported (line 21) | torCmdNotSupported = 0x07 constant torAddrNotSupported (line 22) | torAddrNotSupported = 0x08 function TorLookupIP (line 54) | func TorLookupIP(host, proxy string) ([]net.IP, error) { FILE: database/cmd/dbtool/fetchblock.go type fetchBlockCmd (line 17) | type fetchBlockCmd struct method Execute (line 25) | func (cmd *fetchBlockCmd) Execute(args []string) error { method Usage (line 60) | func (cmd *fetchBlockCmd) Usage() string { FILE: database/cmd/dbtool/fetchblockregion.go type blockRegionCmd (line 19) | type blockRegionCmd struct method Execute (line 27) | func (cmd *blockRegionCmd) Execute(args []string) error { method Usage (line 88) | func (cmd *blockRegionCmd) Usage() string { FILE: database/cmd/dbtool/globalconfig.go type config (line 34) | type config struct function fileExists (line 44) | func fileExists(name string) bool { function validDbType (line 54) | func validDbType(dbType string) bool { function netName (line 67) | func netName(chainParams *chaincfg.Params) string { function setupGlobalConfig (line 79) | func setupGlobalConfig() error { FILE: database/cmd/dbtool/insecureimport.go type importCmd (line 22) | type importCmd struct method Execute (line 328) | func (cmd *importCmd) Execute(args []string) error { type importResults (line 40) | type importResults struct type blockImporter (line 48) | type blockImporter struct method readBlock (line 66) | func (bi *blockImporter) readBlock() ([]byte, error) { method processBlock (line 109) | func (bi *blockImporter) processBlock(serializedBlock []byte) (bool, e... method readHandler (line 165) | func (bi *blockImporter) readHandler() { method logProgress (line 199) | func (bi *blockImporter) logProgress() { method processHandler (line 233) | func (bi *blockImporter) processHandler() { method statusHandler (line 267) | func (bi *blockImporter) statusHandler(resultsChan chan *importResults) { method Import (line 292) | func (bi *blockImporter) Import() chan *importResults { function newBlockImporter (line 315) | func newBlockImporter(db database.DB, r io.ReadSeeker) *blockImporter { FILE: database/cmd/dbtool/loadheaders.go type headersCmd (line 15) | type headersCmd struct method Execute (line 27) | func (cmd *headersCmd) Execute(args []string) error { FILE: database/cmd/dbtool/main.go constant blockDbNamePrefix (line 19) | blockDbNamePrefix = "blocks" function loadBlockDB (line 28) | func loadBlockDB() (database.DB, error) { function realMain (line 61) | func realMain() error { function main (line 107) | func main() { FILE: database/cmd/dbtool/signal.go function mainInterruptHandler (line 22) | func mainInterruptHandler() { function addInterruptHandler (line 72) | func addInterruptHandler(handler func()) { FILE: database/driver.go type Driver (line 15) | type Driver struct function RegisterDriver (line 40) | func RegisterDriver(driver Driver) error { function SupportedDrivers (line 53) | func SupportedDrivers() []string { function Create (line 66) | func Create(dbType string, args ...interface{}) (DB, error) { function Open (line 81) | func Open(dbType string, args ...interface{}) (DB, error) { FILE: database/driver_test.go function checkDbError (line 25) | func checkDbError(t *testing.T, testName string, gotErr error, wantErrCo... function TestAddDuplicateDriver (line 44) | func TestAddDuplicateDriver(t *testing.T) { function TestCreateOpenFail (line 78) | func TestCreateOpenFail(t *testing.T) { function TestCreateOpenUnsupported (line 119) | func TestCreateOpenUnsupported(t *testing.T) { FILE: database/error.go type ErrorCode (line 10) | type ErrorCode method String (line 160) | func (e ErrorCode) String() string { constant ErrDbTypeRegistered (line 20) | ErrDbTypeRegistered ErrorCode = iota constant ErrDbUnknownType (line 28) | ErrDbUnknownType constant ErrDbDoesNotExist (line 32) | ErrDbDoesNotExist constant ErrDbExists (line 36) | ErrDbExists constant ErrDbNotOpen (line 40) | ErrDbNotOpen constant ErrDbAlreadyOpen (line 44) | ErrDbAlreadyOpen constant ErrInvalid (line 47) | ErrInvalid constant ErrCorruption (line 51) | ErrCorruption constant ErrTxClosed (line 59) | ErrTxClosed constant ErrTxNotWritable (line 63) | ErrTxNotWritable constant ErrBucketNotFound (line 71) | ErrBucketNotFound constant ErrBucketExists (line 75) | ErrBucketExists constant ErrBucketNameRequired (line 79) | ErrBucketNameRequired constant ErrKeyRequired (line 82) | ErrKeyRequired constant ErrKeyTooLarge (line 88) | ErrKeyTooLarge constant ErrValueTooLarge (line 93) | ErrValueTooLarge constant ErrIncompatibleValue (line 100) | ErrIncompatibleValue constant ErrBlockNotFound (line 108) | ErrBlockNotFound constant ErrBlockExists (line 112) | ErrBlockExists constant ErrBlockRegionInvalid (line 118) | ErrBlockRegionInvalid constant ErrDriverSpecific (line 128) | ErrDriverSpecific constant numErrorCodes (line 131) | numErrorCodes type Error (line 179) | type Error struct method Error (line 186) | func (e Error) Error() string { function makeError (line 195) | func makeError(c ErrorCode, desc string, err error) Error { FILE: database/error_test.go function TestErrorCodeStringer (line 15) | func TestErrorCodeStringer(t *testing.T) { function TestError (line 63) | func TestError(t *testing.T) { FILE: database/example_test.go function ExampleCreate (line 21) | func ExampleCreate() { function Example_basicUsage (line 47) | func Example_basicUsage() { function Example_blockStorageAndRetrieval (line 113) | func Example_blockStorageAndRetrieval() { FILE: database/export_test.go constant TstNumErrorCodes (line 17) | TstNumErrorCodes = numErrorCodes FILE: database/ffldb/bench_test.go function BenchmarkBlockHeader (line 19) | func BenchmarkBlockHeader(b *testing.B) { function BenchmarkBlock (line 60) | func BenchmarkBlock(b *testing.B) { FILE: database/ffldb/blockio.go constant blockFileExtension (line 33) | blockFileExtension = ".fdb" constant blockFilenameTemplate (line 44) | blockFilenameTemplate = "%09d" + blockFileExtension constant maxOpenFiles (line 49) | maxOpenFiles = 25 constant maxBlockFileSize (line 57) | maxBlockFileSize uint32 = 512 * 1024 * 1024 constant blockLocSize (line 67) | blockLocSize = 12 type filer (line 78) | type filer interface type lockableFile (line 89) | type lockableFile struct type writeCursor (line 97) | type writeCursor struct type blockStore (line 115) | type blockStore struct method openWriteFile (line 240) | func (s *blockStore) openWriteFile(fileNum uint32) (filer, error) { method openFile (line 261) | func (s *blockStore) openFile(fileNum uint32) (*lockableFile, error) { method closeFile (line 300) | func (s *blockStore) closeFile(fileNum uint32) { method deleteFile (line 320) | func (s *blockStore) deleteFile(fileNum uint32) error { method blockFile (line 344) | func (s *blockStore) blockFile(fileNum uint32) (*lockableFile, error) { method writeData (line 402) | func (s *blockStore) writeData(data []byte, fieldName string) error { method writeBlock (line 432) | func (s *blockStore) writeBlock(rawBlock []byte) (blockLocation, error) { method readBlock (line 538) | func (s *blockStore) readBlock(hash *chainhash.Hash, loc blockLocation... method readBlockRegion (line 594) | func (s *blockStore) readBlockRegion(loc blockLocation, offset, numByt... method syncBlocks (line 627) | func (s *blockStore) syncBlocks() error { method handleRollback (line 679) | func (s *blockStore) handleRollback(oldBlockFileNum, oldBlockOffset ui... type blockLocation (line 189) | type blockLocation struct function deserializeBlockLoc (line 201) | func deserializeBlockLoc(serializedLoc []byte) blockLocation { function serializeBlockLoc (line 216) | func serializeBlockLoc(loc blockLocation) []byte { function blockFilePath (line 230) | func blockFilePath(dbPath string, fileNum uint32) string { function scanBlockFiles (line 756) | func scanBlockFiles(dbPath string) (int, int, uint32, error) { function newBlockStore (line 795) | func newBlockStore(basePath string, network wire.BitcoinNet) (*blockStor... FILE: database/ffldb/db.go constant metadataDbName (line 33) | metadataDbName = "metadata" constant blockHdrSize (line 38) | blockHdrSize = wire.MaxBlockHeaderPayload constant blockHdrOffset (line 45) | blockHdrOffset = blockLocSize constant errDbNotOpenStr (line 83) | errDbNotOpenStr = "database is not open" constant errTxClosedStr (line 87) | errTxClosedStr = "database tx is closed" type bulkFetchData (line 94) | type bulkFetchData struct type bulkFetchDataSorter (line 102) | type bulkFetchDataSorter method Len (line 106) | func (s bulkFetchDataSorter) Len() int { method Swap (line 112) | func (s bulkFetchDataSorter) Swap(i, j int) { method Less (line 118) | func (s bulkFetchDataSorter) Less(i, j int) bool { function makeDbErr (line 130) | func makeDbErr(c database.ErrorCode, desc string, err error) database.Er... function convertErr (line 137) | func convertErr(desc string, ldbErr error) database.Error { function copySlice (line 164) | func copySlice(slice []byte) []byte { type cursor (line 172) | type cursor struct method Bucket (line 185) | func (c *cursor) Bucket() database.Bucket { method Delete (line 204) | func (c *cursor) Delete() error { method skipPendingUpdates (line 230) | func (c *cursor) skipPendingUpdates(forwards bool) { method chooseIterator (line 257) | func (c *cursor) chooseIterator(forwards bool) bool { method First (line 297) | func (c *cursor) First() bool { method Last (line 314) | func (c *cursor) Last() bool { method Next (line 331) | func (c *cursor) Next() bool { method Prev (line 352) | func (c *cursor) Prev() bool { method Seek (line 373) | func (c *cursor) Seek(seek []byte) bool { method rawKey (line 389) | func (c *cursor) rawKey() []byte { method Key (line 401) | func (c *cursor) Key() []byte { method rawValue (line 431) | func (c *cursor) rawValue() []byte { method Value (line 444) | func (c *cursor) Value() []byte { type cursorType (line 465) | type cursorType constant ctKeys (line 470) | ctKeys cursorType = iota constant ctBuckets (line 474) | ctBuckets constant ctFull (line 478) | ctFull function cursorFinalizer (line 483) | func cursorFinalizer(c *cursor) { function newCursor (line 493) | func newCursor(b *bucket, bucketID []byte, cursorTyp cursorType) *cursor { type bucket (line 554) | type bucket struct method Bucket (line 591) | func (b *bucket) Bucket(key []byte) database.Bucket { method CreateBucket (line 620) | func (b *bucket) CreateBucket(key []byte) (database.Bucket, error) { method CreateBucketIfNotExists (line 677) | func (b *bucket) CreateBucketIfNotExists(key []byte) (database.Bucket,... method DeleteBucket (line 704) | func (b *bucket) DeleteBucket(key []byte) error { method Cursor (line 768) | func (b *bucket) Cursor() database.Cursor { method ForEach (line 797) | func (b *bucket) ForEach(fn func(k, v []byte) error) error { method ForEachBucket (line 833) | func (b *bucket) ForEachBucket(fn func(k []byte) error) error { method Writable (line 856) | func (b *bucket) Writable() bool { method Put (line 870) | func (b *bucket) Put(key, value []byte) error { method Get (line 900) | func (b *bucket) Get(key []byte) []byte { method Delete (line 924) | func (b *bucket) Delete(key []byte) error { function bucketIndexKey (line 565) | func bucketIndexKey(parentID [4]byte, key []byte) []byte { function bucketizedKey (line 578) | func bucketizedKey(bucketID [4]byte, key []byte) []byte { type pendingBlock (line 947) | type pendingBlock struct type transaction (line 955) | type transaction struct method removeActiveIter (line 989) | func (tx *transaction) removeActiveIter(iter *treap.Iterator) { method addActiveIter (line 1006) | func (tx *transaction) addActiveIter(iter *treap.Iterator) { method notifyActiveIters (line 1014) | func (tx *transaction) notifyActiveIters() { method checkClosed (line 1023) | func (tx *transaction) checkClosed() error { method hasKey (line 1034) | func (tx *transaction) hasKey(key []byte) bool { method putKey (line 1055) | func (tx *transaction) putKey(key, value []byte) error { method fetchKey (line 1070) | func (tx *transaction) fetchKey(key []byte) []byte { method deleteKey (line 1092) | func (tx *transaction) deleteKey(key []byte, notifyIterators bool) { method nextBucketID (line 1110) | func (tx *transaction) nextBucketID() ([4]byte, error) { method Metadata (line 1127) | func (tx *transaction) Metadata() database.Bucket { method hasBlock (line 1132) | func (tx *transaction) hasBlock(hash *chainhash.Hash) bool { method StoreBlock (line 1153) | func (tx *transaction) StoreBlock(block *btcutil.Block) error { method HasBlock (line 1203) | func (tx *transaction) HasBlock(hash *chainhash.Hash) (bool, error) { method HasBlocks (line 1219) | func (tx *transaction) HasBlocks(hashes []chainhash.Hash) ([]bool, err... method fetchBlockRow (line 1235) | func (tx *transaction) fetchBlockRow(hash *chainhash.Hash) ([]byte, er... method FetchBlockHeader (line 1261) | func (tx *transaction) FetchBlockHeader(hash *chainhash.Hash) ([]byte,... method FetchBlockHeaders (line 1284) | func (tx *transaction) FetchBlockHeaders(hashes []chainhash.Hash) ([][... method FetchBlock (line 1312) | func (tx *transaction) FetchBlock(hash *chainhash.Hash) ([]byte, error) { method FetchBlocks (line 1359) | func (tx *transaction) FetchBlocks(hashes []chainhash.Hash) ([][]byte,... method fetchPendingRegion (line 1388) | func (tx *transaction) fetchPendingRegion(region *database.BlockRegion... method FetchBlockRegion (line 1437) | func (tx *transaction) FetchBlockRegion(region *database.BlockRegion) ... method FetchBlockRegions (line 1510) | func (tx *transaction) FetchBlockRegions(regions []database.BlockRegio... method close (line 1593) | func (tx *transaction) close() { method writePendingAndCommit (line 1628) | func (tx *transaction) writePendingAndCommit() error { method PruneBlocks (line 1699) | func (tx *transaction) PruneBlocks(targetSize uint64) ([]chainhash.Has... method BeenPruned (line 1793) | func (tx *transaction) BeenPruned() (bool, error) { method Commit (line 1813) | func (tx *transaction) Commit() error { method Rollback (line 1843) | func (tx *transaction) Rollback() error { type db (line 1862) | type db struct method Type (line 1877) | func (db *db) Type() string { method begin (line 1887) | func (db *db) begin(writable bool) (*transaction, error) { method Begin (line 1946) | func (db *db) Begin(writable bool) (database.Tx, error) { method View (line 1973) | func (db *db) View(fn func(database.Tx) error) error { method Update (line 2007) | func (db *db) Update(fn func(database.Tx) error) error { method Close (line 2039) | func (db *db) Close() error { function rollbackOnPanic (line 1960) | func rollbackOnPanic(tx *transaction) { function fileExists (line 2078) | func fileExists(name string) bool { function initDB (line 2089) | func initDB(ldb *leveldb.DB) error { function openDB (line 2118) | func openDB(dbPath string, network wire.BitcoinNet, create bool) (databa... FILE: database/ffldb/dbcache.go constant defaultCacheSize (line 24) | defaultCacheSize = 100 * 1024 * 1024 constant defaultFlushSecs (line 29) | defaultFlushSecs = 300 constant ldbBatchHeaderSize (line 41) | ldbBatchHeaderSize = 12 constant ldbRecordIKeySize (line 42) | ldbRecordIKeySize = 8 type ldbCacheIter (line 47) | type ldbCacheIter struct method Error (line 58) | func (iter *ldbCacheIter) Error() error { method SetReleaser (line 66) | func (iter *ldbCacheIter) SetReleaser(releaser util.Releaser) { method Release (line 72) | func (iter *ldbCacheIter) Release() { function newLdbCacheIter (line 78) | func newLdbCacheIter(snap *dbCacheSnapshot, slice *util.Range) *ldbCache... type dbCacheIterator (line 85) | type dbCacheIterator struct method skipPendingUpdates (line 99) | func (iter *dbCacheIterator) skipPendingUpdates(forwards bool) { method chooseIterator (line 126) | func (iter *dbCacheIterator) chooseIterator(forwards bool) bool { method First (line 164) | func (iter *dbCacheIterator) First() bool { method Last (line 176) | func (iter *dbCacheIterator) Last() bool { method Next (line 188) | func (iter *dbCacheIterator) Next() bool { method Prev (line 204) | func (iter *dbCacheIterator) Prev() bool { method Seek (line 220) | func (iter *dbCacheIterator) Seek(key []byte) bool { method Valid (line 232) | func (iter *dbCacheIterator) Valid() bool { method Key (line 239) | func (iter *dbCacheIterator) Key() []byte { method Value (line 251) | func (iter *dbCacheIterator) Value() []byte { method SetReleaser (line 264) | func (iter *dbCacheIterator) SetReleaser(releaser util.Releaser) { method Release (line 271) | func (iter *dbCacheIterator) Release() { method Error (line 284) | func (iter *dbCacheIterator) Error() error { type dbCacheSnapshot (line 290) | type dbCacheSnapshot struct method Has (line 297) | func (snap *dbCacheSnapshot) Has(key []byte) bool { method Get (line 313) | func (snap *dbCacheSnapshot) Get(key []byte) []byte { method Release (line 331) | func (snap *dbCacheSnapshot) Release() { method NewIterator (line 344) | func (snap *dbCacheSnapshot) NewIterator(slice *util.Range) *dbCacheIt... type dbCache (line 359) | type dbCache struct method Snapshot (line 401) | func (c *dbCache) Snapshot() (*dbCacheSnapshot, error) { method updateDB (line 426) | func (c *dbCache) updateDB(fn func(ldbTx *leveldb.Transaction) error) ... method commitTreaps (line 455) | func (c *dbCache) commitTreaps(pendingKeys, pendingRemove TreapForEach... method flush (line 491) | func (c *dbCache) flush() error { method needsFlush (line 542) | func (c *dbCache) needsFlush(tx *transaction) bool { method commitTx (line 576) | func (c *dbCache) commitTx(tx *transaction) error { method Close (line 642) | func (c *dbCache) Close() error { type TreapForEacher (line 449) | type TreapForEacher interface function newDbCache (line 665) | func newDbCache(ldb *leveldb.DB, store *blockStore, maxSize uint64, flus... FILE: database/ffldb/driver.go constant dbType (line 18) | dbType = "ffldb" function parseArgs (line 22) | func parseArgs(funcName string, args ...interface{}) (string, wire.Bitco... function openDBDriver (line 46) | func openDBDriver(args ...interface{}) (database.DB, error) { function createDBDriver (line 57) | func createDBDriver(args ...interface{}) (database.DB, error) { function useLogger (line 68) | func useLogger(logger btclog.Logger) { function init (line 72) | func init() { FILE: database/ffldb/driver_test.go constant dbType (line 23) | dbType = "ffldb" function TestCreateOpenFail (line 27) | func TestCreateOpenFail(t *testing.T) { function TestPersistence (line 152) | func TestPersistence(t *testing.T) { function TestPrune (line 257) | func TestPrune(t *testing.T) { function TestInterface (line 444) | func TestInterface(t *testing.T) { FILE: database/ffldb/export.go function TstRunWithMaxBlockFileSize (line 16) | func TstRunWithMaxBlockFileSize(idb database.DB, size uint32, fn func()) { FILE: database/ffldb/interface_test.go function loadBlocks (line 49) | func loadBlocks(t *testing.T, dataFile string, network wire.BitcoinNet) ... function checkDbError (line 118) | func checkDbError(t *testing.T, testName string, gotErr error, wantErrCo... type testContext (line 137) | type testContext struct type keyPair (line 147) | type keyPair struct function lookupKey (line 154) | func lookupKey(key []byte, values []keyPair) ([]byte, bool) { function toGetValues (line 167) | func toGetValues(values []keyPair) []keyPair { function rollbackValues (line 180) | func rollbackValues(values []keyPair) []keyPair { function testCursorKeyPair (line 192) | func testCursorKeyPair(tc *testContext, k, v []byte, index int, values [... function testGetValues (line 219) | func testGetValues(tc *testContext, bucket database.Bucket, values []key... function testPutValues (line 234) | func testPutValues(tc *testContext, bucket database.Bucket, values []key... function testDeleteValues (line 247) | func testDeleteValues(tc *testContext, bucket database.Bucket, values []... function testCursorInterface (line 260) | func testCursorInterface(tc *testContext, bucket database.Bucket) bool { function testNestedBucket (line 388) | func testNestedBucket(tc *testContext, testBucket database.Bucket) bool { function testBucketInterface (line 404) | func testBucketInterface(tc *testContext, bucket database.Bucket) bool { function rollbackOnPanic (line 629) | func rollbackOnPanic(t *testing.T, tx database.Tx) { function testMetadataManualTxInterface (line 639) | func testMetadataManualTxInterface(tc *testContext) bool { function testManagedTxPanics (line 838) | func testManagedTxPanics(tc *testContext) bool { function testMetadataTxInterface (line 906) | func testMetadataTxInterface(tc *testContext) bool { function testFetchBlockIOMissing (line 1110) | func testFetchBlockIOMissing(tc *testContext, tx database.Tx) bool { function testFetchBlockIO (line 1218) | func testFetchBlockIO(tc *testContext, tx database.Tx) bool { function testBlockIOTxInterface (line 1508) | func testBlockIOTxInterface(tc *testContext) bool { function testClosedTxInterface (line 1684) | func testClosedTxInterface(tc *testContext, tx database.Tx) bool { function testTxClosed (line 1942) | func testTxClosed(tc *testContext) bool { function testConcurrecy (line 1993) | func testConcurrecy(tc *testContext) bool { function testConcurrentClose (line 2186) | func testConcurrentClose(tc *testContext) bool { function testInterface (line 2257) | func testInterface(t *testing.T, db database.DB) { FILE: database/ffldb/ldbtreapiter.go type ldbTreapIter (line 15) | type ldbTreapIter struct method Error (line 28) | func (iter *ldbTreapIter) Error() error { method SetReleaser (line 36) | func (iter *ldbTreapIter) SetReleaser(releaser util.Releaser) { method Release (line 43) | func (iter *ldbTreapIter) Release() { function newLdbTreapIter (line 54) | func newLdbTreapIter(tx *transaction, slice *util.Range) *ldbTreapIter { FILE: database/ffldb/mockfile_test.go type mockFile (line 32) | type mockFile struct method Close (line 44) | func (f *mockFile) Close() error { method ReadAt (line 61) | func (f *mockFile) ReadAt(b []byte, off int64) (int, error) { method Truncate (line 93) | func (f *mockFile) Truncate(size int64) error { method WriteAt (line 117) | func (f *mockFile) WriteAt(b []byte, off int64) (int, error) { method Sync (line 154) | func (f *mockFile) Sync() error { FILE: database/ffldb/reconcile.go function serializeWriteRow (line 22) | func serializeWriteRow(curBlockFileNum, curFileOffset uint32) []byte { function deserializeWriteRow (line 33) | func deserializeWriteRow(writeRow []byte) (uint32, uint32, error) { function reconcileDB (line 52) | func reconcileDB(pdb *db, create bool) (database.DB, error) { FILE: database/ffldb/whitebox_test.go function loadBlocks (line 42) | func loadBlocks(t *testing.T, dataFile string, network wire.BitcoinNet) ... function checkDbError (line 111) | func checkDbError(t *testing.T, testName string, gotErr error, wantErrCo... type testContext (line 130) | type testContext struct function TestConvertErr (line 140) | func TestConvertErr(t *testing.T) { function TestCornerCases (line 165) | func TestCornerCases(t *testing.T) { function resetDatabase (line 254) | func resetDatabase(tc *testContext) bool { function testWriteFailures (line 308) | func testWriteFailures(tc *testContext) bool { function testBlockFileErrors (line 406) | func testBlockFileErrors(tc *testContext) bool { function testCorruption (line 508) | func testCorruption(tc *testContext) bool { function TestFailureScenarios (line 604) | func TestFailureScenarios(t *testing.T) { FILE: database/interface.go type Cursor (line 22) | type Cursor interface type Bucket (line 67) | type Bucket interface type BlockRegion (line 200) | type BlockRegion struct type Tx (line 214) | type Tx interface type DB (line 447) | type DB interface FILE: database/internal/treap/common.go constant staticDepth (line 18) | staticDepth = 128 constant nodeFieldsSize (line 26) | nodeFieldsSize = 72 type treapNode (line 37) | type treapNode struct function nodeSize (line 47) | func nodeSize(node *treapNode) uint64 { function newTreapNode (line 53) | func newTreapNode(key, value []byte, priority int) *treapNode { type parentStack (line 64) | type parentStack struct method Len (line 71) | func (s *parentStack) Len() int { method At (line 78) | func (s *parentStack) At(n int) *treapNode { method Pop (line 93) | func (s *parentStack) Pop() *treapNode { method Push (line 111) | func (s *parentStack) Push(node *treapNode) { function init (line 134) | func init() { FILE: database/internal/treap/common_test.go function fromHex (line 19) | func fromHex(s string) []byte { function serializeUint32 (line 28) | func serializeUint32(ui uint32) []byte { function TestParentStack (line 35) | func TestParentStack(t *testing.T) { function init (line 118) | func init() { FILE: database/internal/treap/immutable.go function cloneTreapNode (line 13) | func cloneTreapNode(node *treapNode) *treapNode { type Immutable (line 39) | type Immutable struct method Len (line 54) | func (t *Immutable) Len() int { method Size (line 62) | func (t *Immutable) Size() uint64 { method get (line 68) | func (t *Immutable) get(key []byte) *treapNode { method Has (line 91) | func (t *Immutable) Has(key []byte) bool { method Get (line 100) | func (t *Immutable) Get(key []byte) []byte { method Put (line 108) | func (t *Immutable) Put(key, value []byte) *Immutable { method Delete (line 214) | func (t *Immutable) Delete(key []byte) *Immutable { method ForEach (line 334) | func (t *Immutable) ForEach(fn func(k, v []byte) bool) { function newImmutable (line 49) | func newImmutable(root *treapNode, count int, totalSize uint64) *Immutab... function NewImmutable (line 358) | func NewImmutable() *Immutable { FILE: database/internal/treap/immutable_test.go function TestImmutableEmpty (line 15) | func TestImmutableEmpty(t *testing.T) { function TestImmutableSequential (line 57) | func TestImmutableSequential(t *testing.T) { function TestImmutableReverseSequential (line 157) | func TestImmutableReverseSequential(t *testing.T) { function TestImmutableUnordered (line 258) | func TestImmutableUnordered(t *testing.T) { function TestImmutableDuplicatePut (line 335) | func TestImmutableDuplicatePut(t *testing.T) { function TestImmutableNilValue (line 372) | func TestImmutableNilValue(t *testing.T) { function TestImmutableForEachStopIterator (line 396) | func TestImmutableForEachStopIterator(t *testing.T) { function TestImmutableSnapshot (line 422) | func TestImmutableSnapshot(t *testing.T) { FILE: database/internal/treap/mutable.go type Mutable (line 17) | type Mutable struct method Len (line 27) | func (t *Mutable) Len() int { method Size (line 35) | func (t *Mutable) Size() uint64 { method get (line 42) | func (t *Mutable) get(key []byte) (*treapNode, *treapNode) { method Has (line 68) | func (t *Mutable) Has(key []byte) bool { method Get (line 77) | func (t *Mutable) Get(key []byte) []byte { method relinkGrandparent (line 89) | func (t *Mutable) relinkGrandparent(node, parent, grandparent *treapNo... method Put (line 106) | func (t *Mutable) Put(key, value []byte) { method Delete (line 179) | func (t *Mutable) Delete(key []byte) { method ForEach (line 245) | func (t *Mutable) ForEach(fn func(k, v []byte) bool) { method Reset (line 268) | func (t *Mutable) Reset() { function NewMutable (line 276) | func NewMutable() *Mutable { FILE: database/internal/treap/mutable_test.go function TestMutableEmpty (line 15) | func TestMutableEmpty(t *testing.T) { function TestMutableReset (line 57) | func TestMutableReset(t *testing.T) { function TestMutableSequential (line 113) | func TestMutableSequential(t *testing.T) { function TestMutableReverseSequential (line 213) | func TestMutableReverseSequential(t *testing.T) { function TestMutableUnordered (line 314) | func TestMutableUnordered(t *testing.T) { function TestMutableDuplicatePut (line 391) | func TestMutableDuplicatePut(t *testing.T) { function TestMutableNilValue (line 420) | func TestMutableNilValue(t *testing.T) { function TestMutableForEachStopIterator (line 444) | func TestMutableForEachStopIterator(t *testing.T) { FILE: database/internal/treap/treapiter.go type Iterator (line 11) | type Iterator struct method limitIterator (line 25) | func (iter *Iterator) limitIterator() bool { method seek (line 55) | func (iter *Iterator) seek(key []byte, exactMatch bool, greater bool) ... method First (line 116) | func (iter *Iterator) First() bool { method Last (line 140) | func (iter *Iterator) Last() bool { method Next (line 164) | func (iter *Iterator) Next() bool { method Prev (line 207) | func (iter *Iterator) Prev() bool { method Seek (line 250) | func (iter *Iterator) Seek(key []byte) bool { method Key (line 258) | func (iter *Iterator) Key() []byte { method Value (line 268) | func (iter *Iterator) Value() []byte { method Valid (line 277) | func (iter *Iterator) Valid() bool { method ForceReseek (line 287) | func (iter *Iterator) ForceReseek() { method Iterator (line 329) | func (t *Mutable) Iterator(startKey, limitKey []byte) *Iterator { method Iterator (line 347) | func (t *Immutable) Iterator(startKey, limitKey []byte) *Iterator { FILE: database/internal/treap/treapiter_test.go function TestMutableIterator (line 16) | func TestMutableIterator(t *testing.T) { function TestMutableEmptyIterator (line 273) | func TestMutableEmptyIterator(t *testing.T) { function TestIteratorUpdates (line 323) | func TestIteratorUpdates(t *testing.T) { function TestImmutableIterator (line 416) | func TestImmutableIterator(t *testing.T) { function TestImmutableEmptyIterator (line 673) | func TestImmutableEmptyIterator(t *testing.T) { FILE: database/log.go function init (line 17) | func init() { function DisableLog (line 23) | func DisableLog() { function UseLogger (line 28) | func UseLogger(logger btclog.Logger) { FILE: docs/conf.py function setup (line 68) | def setup(app): FILE: integration/bip0009_test.go constant vbLegacyBlockVersion (line 26) | vbLegacyBlockVersion = 4 constant vbTopBits (line 30) | vbTopBits = 0x20000000 function assertVersionBit (line 36) | func assertVersionBit(r *rpctest.Harness, t *testing.T, hash *chainhash.... function assertChainHeight (line 56) | func assertChainHeight(r *rpctest.Harness, t *testing.T, expectedHeight ... function thresholdStateToStatus (line 70) | func thresholdStateToStatus(state blockchain.ThresholdState) (string, er... function assertSoftForkStatus (line 90) | func assertSoftForkStatus(r *rpctest.Harness, t *testing.T, forkKey stri... function testBIP0009 (line 131) | func testBIP0009(t *testing.T, forkKey string, deploymentID uint32) { function TestBIP0009 (line 346) | func TestBIP0009(t *testing.T) { function TestBIP0009Mining (line 372) | func TestBIP0009Mining(t *testing.T) { FILE: integration/chain_test.go function TestGetTxSpendingPrevOut (line 25) | func TestGetTxSpendingPrevOut(t *testing.T) { function createTxInMempool (line 107) | func createTxInMempool(t *testing.T, r *rpctest.Harness) *wire.MsgTx { FILE: integration/csv_fork_test.go constant csvKey (line 29) | csvKey = "csv" function makeTestOutput (line 34) | func makeTestOutput(r *rpctest.Harness, t *testing.T, function TestBIP0113Activation (line 110) | func TestBIP0113Activation(t *testing.T) { function createCSVOutput (line 285) | func createCSVOutput(r *rpctest.Harness, t *testing.T, function spendCSVOutput (line 342) | func spendCSVOutput(redeemScript []byte, csvUTXO *wire.OutPoint, function assertTxInBlock (line 368) | func assertTxInBlock(r *rpctest.Harness, t *testing.T, blockHash *chainh... function TestBIP0068AndBIP0112Activation (line 403) | func TestBIP0068AndBIP0112Activation(t *testing.T) { FILE: integration/getchaintips_test.go function getBlockFromString (line 15) | func getBlockFromString(t *testing.T, hexStr string) *btcutil.Block { function compareMultipleChainTips (line 34) | func compareMultipleChainTips(t *testing.T, gotChainTips, expectedChainT... function TestGetChainTips (line 56) | func TestGetChainTips(t *testing.T) { FILE: integration/invalidate_reconsider_block_test.go function TestInvalidateAndReconsiderBlock (line 10) | func TestInvalidateAndReconsiderBlock(t *testing.T) { FILE: integration/log.go type logWriter (line 13) | type logWriter struct method Write (line 15) | func (logWriter) Write(p []byte) (n int, err error) { function init (line 20) | func init() { FILE: integration/prune_test.go function TestPrune (line 19) | func TestPrune(t *testing.T) { FILE: integration/rawtx_test.go function TestTestMempoolAccept (line 26) | func TestTestMempoolAccept(t *testing.T) { function createTestTx (line 175) | func createTestTx(t *testing.T, h *rpctest.Harness) *wire.MsgTx { function decodeHex (line 195) | func decodeHex(t *testing.T, txHex string) *wire.MsgTx { FILE: integration/rpcserver_test.go function testGetBestBlock (line 26) | func testGetBestBlock(r *rpctest.Harness, t *testing.T) { function testGetBlockCount (line 56) | func testGetBlockCount(r *rpctest.Harness, t *testing.T) { function testGetBlockHash (line 78) | func testGetBlockHash(r *rpctest.Harness, t *testing.T) { function testBulkClient (line 102) | func testBulkClient(r *rpctest.Harness, t *testing.T) { function calculateHashesPerSecBetweenBlockHeights (line 141) | func calculateHashesPerSecBetweenBlockHeights(r *rpctest.Harness, t *tes... function testGetNetworkHashPS (line 179) | func testGetNetworkHashPS(r *rpctest.Harness, t *testing.T) { function testGetNetworkHashPS2 (line 193) | func testGetNetworkHashPS2(r *rpctest.Harness, t *testing.T) { function testGetNetworkHashPS3 (line 230) | func testGetNetworkHashPS3(r *rpctest.Harness, t *testing.T) { function TestMain (line 304) | func TestMain(m *testing.M) { function TestRpcServer (line 347) | func TestRpcServer(t *testing.T) { FILE: integration/rpctest/blockgen.go function solveBlock (line 27) | func solveBlock(header *wire.BlockHeader, targetDifficulty *big.Int) bool { function standardCoinbaseScript (line 92) | func standardCoinbaseScript(nextBlockHeight int32, extraNonce uint64) ([... function createCoinbaseTx (line 99) | func createCoinbaseTx(coinbaseScript []byte, nextBlockHeight int32, function CreateBlock (line 136) | func CreateBlock(prevBlock *btcutil.Block, inclusionTxs []*btcutil.Tx, FILE: integration/rpctest/btcd.go function btcdExecutablePath (line 32) | func btcdExecutablePath() (string, error) { FILE: integration/rpctest/memwallet.go type utxo (line 40) | type utxo struct method isMature (line 50) | func (u *utxo) isMature(height int32) bool { type chainUpdate (line 57) | type chainUpdate struct type undoEntry (line 66) | type undoEntry struct type memWallet (line 74) | type memWallet struct method Start (line 162) | func (m *memWallet) Start() { method SyncedHeight (line 169) | func (m *memWallet) SyncedHeight() int32 { method SetRPCClient (line 177) | func (m *memWallet) SetRPCClient(rpcClient *rpcclient.Client) { method IngestBlock (line 184) | func (m *memWallet) IngestBlock(height int32, header *wire.BlockHeader... method ingestBlock (line 202) | func (m *memWallet) ingestBlock(update *chainUpdate) { method chainSyncer (line 228) | func (m *memWallet) chainSyncer() { method evalOutputs (line 252) | func (m *memWallet) evalOutputs(outputs []*wire.TxOut, txHash *chainha... method evalInputs (line 288) | func (m *memWallet) evalInputs(inputs []*wire.TxIn, undo *undoEntry) { method UnwindBlock (line 304) | func (m *memWallet) UnwindBlock(height int32, header *wire.BlockHeader) { method unwindBlock (line 322) | func (m *memWallet) unwindBlock(update *chainUpdate) { method newAddress (line 337) | func (m *memWallet) newAddress() (btcutil.Address, error) { method NewAddress (line 369) | func (m *memWallet) NewAddress() (btcutil.Address, error) { method fundTx (line 383) | func (m *memWallet) fundTx(tx *wire.MsgTx, amt btcutil.Amount, method SendOutputs (line 452) | func (m *memWallet) SendOutputs(outputs []*wire.TxOut, method SendOutputsWithoutChange (line 466) | func (m *memWallet) SendOutputsWithoutChange(outputs []*wire.TxOut, method CreateTransaction (line 483) | func (m *memWallet) CreateTransaction(outputs []*wire.TxOut, method UnlockOutputs (line 550) | func (m *memWallet) UnlockOutputs(inputs []*wire.TxIn) { method ConfirmedBalance (line 567) | func (m *memWallet) ConfirmedBalance() btcutil.Amount { function newMemWallet (line 114) | func newMemWallet(net *chaincfg.Params, harnessID uint32) (*memWallet, e... function keyToAddr (line 586) | func keyToAddr(key *btcec.PrivateKey, net *chaincfg.Params) (btcutil.Add... FILE: integration/rpctest/node.go type nodeConfig (line 22) | type nodeConfig struct method setDefaults (line 78) | func (n *nodeConfig) setDefaults() error { method arguments (line 91) | func (n *nodeConfig) arguments() []string { method command (line 138) | func (n *nodeConfig) command() *exec.Cmd { method rpcConnConfig (line 144) | func (n *nodeConfig) rpcConnConfig() rpc.ConnConfig { method String (line 156) | func (n *nodeConfig) String() string { function newConfig (line 43) | func newConfig(nodeDir, certFile, keyFile string, extra []string, type node (line 162) | type node struct method start (line 187) | func (n *node) start() error { method stop (line 212) | func (n *node) stop() error { method cleanup (line 228) | func (n *node) cleanup() error { method shutdown (line 244) | func (n *node) shutdown() error { function newNode (line 174) | func newNode(config *nodeConfig, dataDir string) (*node, error) { function genCertPair (line 255) | func genCertPair(certFile, keyFile string) error { FILE: integration/rpctest/rpc_harness.go constant minPeerPort (line 29) | minPeerPort = 10000 constant maxPeerPort (line 30) | maxPeerPort = 35000 constant minRPCPort (line 31) | minRPCPort = maxPeerPort constant maxRPCPort (line 32) | maxRPCPort = 60000 constant BlockVersion (line 36) | BlockVersion = 4 constant DefaultMaxConnectionRetries (line 40) | DefaultMaxConnectionRetries = 20 constant DefaultConnectionRetryTimeout (line 44) | DefaultConnectionRetryTimeout = 50 * time.Millisecond type HarnessTestCase (line 83) | type HarnessTestCase type Harness (line 94) | type Harness struct method SetUp (line 245) | func (h *Harness) SetUp(createTestChain bool, numMatureOutputs uint32)... method tearDown (line 303) | func (h *Harness) tearDown() error { method TearDown (line 332) | func (h *Harness) TearDown() error { method connectRPCClient (line 345) | func (h *Harness) connectRPCClient() error { method NewAddress (line 390) | func (h *Harness) NewAddress() (btcutil.Address, error) { method ConfirmedBalance (line 398) | func (h *Harness) ConfirmedBalance() btcutil.Amount { method SendOutputs (line 407) | func (h *Harness) SendOutputs(targetOutputs []*wire.TxOut, method SendOutputsWithoutChange (line 418) | func (h *Harness) SendOutputsWithoutChange(targetOutputs []*wire.TxOut, method CreateTransaction (line 435) | func (h *Harness) CreateTransaction(targetOutputs []*wire.TxOut, method UnlockOutputs (line 446) | func (h *Harness) UnlockOutputs(inputs []*wire.TxIn) { method RPCConfig (line 453) | func (h *Harness) RPCConfig() rpcclient.ConnConfig { method P2PAddress (line 460) | func (h *Harness) P2PAddress() string { method GenerateAndSubmitBlock (line 473) | func (h *Harness) GenerateAndSubmitBlock(txns []*btcutil.Tx, blockVers... method GenerateAndSubmitBlockWithCustomCoinbaseOutputs (line 493) | func (h *Harness) GenerateAndSubmitBlockWithCustomCoinbaseOutputs( function New (line 127) | func New(activeNet *chaincfg.Params, handlers *rpcclient.NotificationHan... function generateListeningAddresses (line 533) | func generateListeningAddresses() (string, string) { function NextAvailablePort (line 541) | func NextAvailablePort() int { function NextAvailablePortForProcess (line 570) | func NextAvailablePortForProcess(pid int) int { function GenerateProcessUniqueListenerAddresses (line 664) | func GenerateProcessUniqueListenerAddresses(pid int) (string, string) { function baseDir (line 672) | func baseDir() (string, error) { FILE: integration/rpctest/rpc_harness_test.go function testSendOutputs (line 24) | func testSendOutputs(r *Harness, t *testing.T) { function assertConnectedTo (line 87) | func assertConnectedTo(t *testing.T, nodeA *Harness, nodeB *Harness) { function testConnectNode (line 107) | func testConnectNode(r *Harness, t *testing.T) { function testTearDownAll (line 129) | func testTearDownAll(t *testing.T) { function testActiveHarnesses (line 153) | func testActiveHarnesses(r *Harness, t *testing.T) { function testJoinMempools (line 172) | func testJoinMempools(r *Harness, t *testing.T) { function testJoinBlocks (line 282) | func testJoinBlocks(r *Harness, t *testing.T) { function testGenerateAndSubmitBlock (line 329) | func testGenerateAndSubmitBlock(r *Harness, t *testing.T) { function testGenerateAndSubmitBlockWithCustomCoinbaseOutputs (line 395) | func testGenerateAndSubmitBlockWithCustomCoinbaseOutputs(r *Harness, function testMemWalletReorg (line 470) | func testMemWalletReorg(r *Harness, t *testing.T) { function testMemWalletLockedOutputs (line 511) | func testMemWalletLockedOutputs(r *Harness, t *testing.T) { constant numMatureOutputs (line 565) | numMatureOutputs = 25 function TestMain (line 568) | func TestMain(m *testing.M) { function TestHarness (line 604) | func TestHarness(t *testing.T) { FILE: integration/rpctest/utils.go type JoinType (line 18) | type JoinType constant Blocks (line 23) | Blocks JoinType = iota constant Mempools (line 27) | Mempools function JoinNodes (line 36) | func JoinNodes(nodes []*Harness, joinType JoinType) error { function syncMempools (line 47) | func syncMempools(nodes []*Harness) error { function syncBlocks (line 79) | func syncBlocks(nodes []*Harness) error { function ConnectNode (line 110) | func ConnectNode(from *Harness, to *Harness) error { function TearDownAll (line 138) | func TearDownAll() error { function ActiveHarnesses (line 154) | func ActiveHarnesses() []*Harness { FILE: limits/limits_plan9.go function SetLimits (line 8) | func SetLimits() error { FILE: limits/limits_unix.go constant fileLimitWant (line 16) | fileLimitWant = 2048 constant fileLimitMin (line 17) | fileLimitMin = 1024 function SetLimits (line 22) | func SetLimits() error { FILE: limits/limits_windows.go function SetLimits (line 8) | func SetLimits() error { FILE: log.go type logWriter (line 32) | type logWriter struct method Write (line 34) | func (logWriter) Write(p []byte) (n int, err error) { function init (line 77) | func init() { function initLogRotator (line 115) | func initLogRotator(logFile string) { function setLogLevel (line 134) | func setLogLevel(subsystemID string, logLevel string) { function setLogLevels (line 149) | func setLogLevels(logLevel string) { function directionString (line 159) | func directionString(inbound bool) string { function pickNoun (line 168) | func pickNoun(n uint64, singular, plural string) string { FILE: mempool/error.go type RuleError (line 18) | type RuleError struct method Error (line 23) | func (e RuleError) Error() string { type TxRuleError (line 35) | type TxRuleError struct method Error (line 41) | func (e TxRuleError) Error() string { function txRuleError (line 47) | func txRuleError(c wire.RejectCode, desc string) RuleError { function chainRuleError (line 55) | func chainRuleError(chainErr blockchain.RuleError) RuleError { function extractRejectCode (line 64) | func extractRejectCode(err error) (wire.RejectCode, bool) { function ErrToRejectErr (line 112) | func ErrToRejectErr(err error) (wire.RejectCode, string) { FILE: mempool/estimatefee.go constant estimateFeeDepth (line 30) | estimateFeeDepth = 25 constant estimateFeeBinSize (line 33) | estimateFeeBinSize = 100 constant estimateFeeMaxReplacements (line 37) | estimateFeeMaxReplacements = 10 constant DefaultEstimateFeeMaxRollback (line 41) | DefaultEstimateFeeMaxRollback = 2 constant DefaultEstimateFeeMinRegisteredBlocks (line 46) | DefaultEstimateFeeMinRegisteredBlocks = 3 constant bytePerKb (line 48) | bytePerKb = 1000 constant btcPerSatoshi (line 50) | btcPerSatoshi = 1e-8 type SatoshiPerByte (line 60) | type SatoshiPerByte method ToBtcPerKb (line 67) | func (rate SatoshiPerByte) ToBtcPerKb() BtcPerKilobyte { method Fee (line 78) | func (rate SatoshiPerByte) Fee(size uint32) btcutil.Amount { type BtcPerKilobyte (line 63) | type BtcPerKilobyte function NewSatoshiPerByte (line 89) | func NewSatoshiPerByte(fee btcutil.Amount, size uint32) SatoshiPerByte { type observedTransaction (line 95) | type observedTransaction struct method Serialize (line 110) | func (o *observedTransaction) Serialize(w io.Writer) { function deserializeObservedTransaction (line 117) | func deserializeObservedTransaction(r io.Reader) (*observedTransaction, ... type registeredBlock (line 137) | type registeredBlock struct method serialize (line 142) | func (rb *registeredBlock) serialize(w io.Writer, txs map[*observedTra... type FeeEstimator (line 153) | type FeeEstimator struct method ObserveTransaction (line 199) | func (ef *FeeEstimator) ObserveTransaction(t *TxDesc) { method RegisterBlock (line 223) | func (ef *FeeEstimator) RegisterBlock(block *btcutil.Block) error { method LastKnownHeight (line 339) | func (ef *FeeEstimator) LastKnownHeight() int32 { method Rollback (line 355) | func (ef *FeeEstimator) Rollback(hash *chainhash.Hash) error { method rollback (line 380) | func (ef *FeeEstimator) rollback() { method newEstimateFeeSet (line 518) | func (ef *FeeEstimator) newEstimateFeeSet() *estimateFeeSet { method estimates (line 545) | func (ef *FeeEstimator) estimates() []SatoshiPerByte { method EstimateFee (line 558) | func (ef *FeeEstimator) EstimateFee(numBlocks uint32) (BtcPerKilobyte,... method Save (line 631) | func (ef *FeeEstimator) Save() FeeEstimatorState { function NewFeeEstimator (line 186) | func NewFeeEstimator(maxRollback, minRegisteredBlocks uint32) *FeeEstima... type estimateFeeSet (line 467) | type estimateFeeSet struct method Len (line 472) | func (b *estimateFeeSet) Len() int { return len(b.feeRate) } method Less (line 474) | func (b *estimateFeeSet) Less(i, j int) bool { method Swap (line 478) | func (b *estimateFeeSet) Swap(i, j int) { method estimateFee (line 485) | func (b *estimateFeeSet) estimateFee(confirmations int) SatoshiPerByte { constant estimateFeeSaveVersion (line 590) | estimateFeeSaveVersion = 1 function deserializeRegisteredBlock (line 592) | func deserializeRegisteredBlock(r io.Reader, txs map[uint32]*observedTra... type FeeEstimatorState (line 612) | type FeeEstimatorState type observedTxSet (line 617) | type observedTxSet method Len (line 619) | func (q observedTxSet) Len() int { return len(q) } method Less (line 621) | func (q observedTxSet) Less(i, j int) bool { method Swap (line 625) | func (q observedTxSet) Swap(i, j int) { function RestoreFeeEstimator (line 689) | func RestoreFeeEstimator(data FeeEstimatorState) (*FeeEstimator, error) { FILE: mempool/estimatefee_test.go function newTestFeeEstimator (line 20) | func newTestFeeEstimator(binSize, maxReplacements, maxRollback uint32) *... type lastBlock (line 34) | type lastBlock struct type estimateFeeTester (line 41) | type estimateFeeTester struct method testTx (line 49) | func (eft *estimateFeeTester) testTx(fee btcutil.Amount) *TxDesc { method newBlock (line 70) | func (eft *estimateFeeTester) newBlock(txs []*wire.MsgTx) { method rollback (line 83) | func (eft *estimateFeeTester) rollback() { method estimates (line 259) | func (eft *estimateFeeTester) estimates() [estimateFeeDepth]BtcPerKilo... method round (line 279) | func (eft *estimateFeeTester) round(txHistory [][]*TxDesc, method checkSaveAndRestore (line 369) | func (eft *estimateFeeTester) checkSaveAndRestore( function expectedFeePerKilobyte (line 63) | func expectedFeePerKilobyte(t *TxDesc) BtcPerKilobyte { function TestEstimateFee (line 99) | func TestEstimateFee(t *testing.T) { function TestEstimateFeeRollback (line 325) | func TestEstimateFeeRollback(t *testing.T) { function TestDatabase (line 399) | func TestDatabase(t *testing.T) { FILE: mempool/interface.go type TxMempool (line 14) | type TxMempool interface FILE: mempool/log.go function init (line 17) | func init() { function DisableLog (line 23) | func DisableLog() { function UseLogger (line 30) | func UseLogger(logger btclog.Logger) { function pickNoun (line 36) | func pickNoun(n int, singular, plural string) string { FILE: mempool/mempool.go constant DefaultBlockPrioritySize (line 33) | DefaultBlockPrioritySize = 50000 constant orphanTTL (line 38) | orphanTTL = time.Minute * 15 constant orphanExpireScanInterval (line 42) | orphanExpireScanInterval = time.Minute * 5 constant MaxRBFSequence (line 47) | MaxRBFSequence = 0xfffffffd constant MaxReplacementEvictions (line 52) | MaxReplacementEvictions = 100 constant MinStandardTxNonWitnessSize (line 56) | MinStandardTxNonWitnessSize = 65 type Tag (line 62) | type Tag type Config (line 65) | type Config struct type Policy (line 116) | type Policy struct type TxDesc (line 161) | type TxDesc struct type orphanTx (line 172) | type orphanTx struct type TxPool (line 181) | type TxPool struct method removeOrphan (line 211) | func (mp *TxPool) removeOrphan(tx *btcutil.Tx, removeRedeemers bool) { method RemoveOrphan (line 252) | func (mp *TxPool) RemoveOrphan(tx *btcutil.Tx) { method RemoveOrphansByTag (line 262) | func (mp *TxPool) RemoveOrphansByTag(tag Tag) uint64 { method limitNumOrphans (line 279) | func (mp *TxPool) limitNumOrphans() error { method addOrphan (line 331) | func (mp *TxPool) addOrphan(tx *btcutil.Tx, tag Tag) { method maybeAddOrphan (line 362) | func (mp *TxPool) maybeAddOrphan(tx *btcutil.Tx, tag Tag) error { method removeOrphanDoubleSpends (line 394) | func (mp *TxPool) removeOrphanDoubleSpends(tx *btcutil.Tx) { method isTransactionInPool (line 407) | func (mp *TxPool) isTransactionInPool(hash *chainhash.Hash) bool { method IsTransactionInPool (line 419) | func (mp *TxPool) IsTransactionInPool(hash *chainhash.Hash) bool { method isOrphanInPool (line 432) | func (mp *TxPool) isOrphanInPool(hash *chainhash.Hash) bool { method IsOrphanInPool (line 444) | func (mp *TxPool) IsOrphanInPool(hash *chainhash.Hash) bool { method haveTransaction (line 457) | func (mp *TxPool) haveTransaction(hash *chainhash.Hash) bool { method HaveTransaction (line 465) | func (mp *TxPool) HaveTransaction(hash *chainhash.Hash) bool { method removeTransaction (line 478) | func (mp *TxPool) removeTransaction(tx *btcutil.Tx, removeRedeemers bo... method RemoveTransaction (line 513) | func (mp *TxPool) RemoveTransaction(tx *btcutil.Tx, removeRedeemers bo... method RemoveDoubleSpends (line 527) | func (mp *TxPool) RemoveDoubleSpends(tx *btcutil.Tx) { method addTransaction (line 545) | func (mp *TxPool) addTransaction(utxoView *blockchain.UtxoViewpoint, t... method checkPoolDoubleSpend (line 588) | func (mp *TxPool) checkPoolDoubleSpend(tx *btcutil.Tx) (bool, error) { method signalsReplacement (line 628) | func (mp *TxPool) signalsReplacement(tx *btcutil.Tx, method txAncestors (line 674) | func (mp *TxPool) txAncestors(tx *btcutil.Tx, method txDescendants (line 713) | func (mp *TxPool) txDescendants(tx *btcutil.Tx, method txConflicts (line 760) | func (mp *TxPool) txConflicts(tx *btcutil.Tx) map[chainhash.Hash]*btcu... method CheckSpend (line 777) | func (mp *TxPool) CheckSpend(op wire.OutPoint) *btcutil.Tx { method fetchInputUtxos (line 791) | func (mp *TxPool) fetchInputUtxos(tx *btcutil.Tx) (*blockchain.UtxoVie... method FetchTransaction (line 821) | func (mp *TxPool) FetchTransaction(txHash *chainhash.Hash) (*btcutil.T... method validateReplacement (line 840) | func (mp *TxPool) validateReplacement(tx *btcutil.Tx, method maybeAcceptTransaction (line 933) | func (mp *TxPool) maybeAcceptTransaction(tx *btcutil.Tx, isNew, rateLi... method MaybeAcceptTransaction (line 984) | func (mp *TxPool) MaybeAcceptTransaction(tx *btcutil.Tx, isNew, rateLi... method processOrphans (line 997) | func (mp *TxPool) processOrphans(acceptedTx *btcutil.Tx) []*TxDesc { method ProcessOrphans (line 1086) | func (mp *TxPool) ProcessOrphans(acceptedTx *btcutil.Tx) []*TxDesc { method ProcessTransaction (line 1105) | func (mp *TxPool) ProcessTransaction(tx *btcutil.Tx, allowOrphan, rate... method Count (line 1162) | func (mp *TxPool) Count() int { method TxHashes (line 1174) | func (mp *TxPool) TxHashes() []*chainhash.Hash { method TxDescs (line 1192) | func (mp *TxPool) TxDescs() []*TxDesc { method MiningDescs (line 1210) | func (mp *TxPool) MiningDescs() []*mining.TxDesc { method RawMempoolVerbose (line 1227) | func (mp *TxPool) RawMempoolVerbose() map[string]*btcjson.GetRawMempoo... method LastUpdated (line 1276) | func (mp *TxPool) LastUpdated() time.Time { method CheckMempoolAcceptance (line 1313) | func (mp *TxPool) CheckMempoolAcceptance(tx *btcutil.Tx) ( method checkMempoolAcceptance (line 1338) | func (mp *TxPool) checkMempoolAcceptance(tx *btcutil.Tx, method validateSegWitDeployment (line 1560) | func (mp *TxPool) validateSegWitDeployment(tx *btcutil.Tx) error { method validateStandardness (line 1595) | func (mp *TxPool) validateStandardness(tx *btcutil.Tx, nextBlockHeight... method validateSigCost (line 1647) | func (mp *TxPool) validateSigCost(tx *btcutil.Tx, method validateRelayFeeMet (line 1679) | func (mp *TxPool) validateRelayFeeMet(tx *btcutil.Tx, txFee, txSize in... type MempoolAcceptResult (line 1281) | type MempoolAcceptResult struct function New (line 1760) | func New(cfg *Config) *TxPool { FILE: mempool/mempool_test.go type fakeChain (line 27) | type fakeChain struct method FetchUtxoView (line 40) | func (s *fakeChain) FetchUtxoView(tx *btcutil.Tx) (*blockchain.UtxoVie... method BestHeight (line 67) | func (s *fakeChain) BestHeight() int32 { method SetHeight (line 75) | func (s *fakeChain) SetHeight(height int32) { method MedianTimePast (line 83) | func (s *fakeChain) MedianTimePast() time.Time { method SetMedianTimePast (line 92) | func (s *fakeChain) SetMedianTimePast(mtp time.Time) { method CalcSequenceLock (line 100) | func (s *fakeChain) CalcSequenceLock(tx *btcutil.Tx, type spendableOutput (line 111) | type spendableOutput struct function txOutToSpendableOut (line 119) | func txOutToSpendableOut(tx *btcutil.Tx, outputNum uint32) spendableOutp... type poolHarness (line 129) | type poolHarness struct method CreateCoinbaseTx (line 149) | func (p *poolHarness) CreateCoinbaseTx(blockHeight int32, numOutputs u... method CreateSignedTx (line 190) | func (p *poolHarness) CreateSignedTx(inputs []spendableOutput, method CreateTxChain (line 246) | func (p *poolHarness) CreateTxChain(firstOutput spendableOutput, numTx... function newPoolHarness (line 287) | func newPoolHarness(chainParams *chaincfg.Params) (*poolHarness, []spend... type testContext (line 362) | type testContext struct method addCoinbaseTx (line 369) | func (ctx *testContext) addCoinbaseTx(numOutputs uint32) *btcutil.Tx { method addSignedTx (line 389) | func (ctx *testContext) addSignedTx(inputs []spendableOutput, function testPoolMembership (line 429) | func testPoolMembership(tc *testContext, tx *btcutil.Tx, inOrphanPool, i... function TestSimpleOrphanChain (line 458) | func TestSimpleOrphanChain(t *testing.T) { function TestOrphanReject (line 521) | func TestOrphanReject(t *testing.T) { function TestOrphanEviction (line 576) | func TestOrphanEviction(t *testing.T) { function TestBasicOrphanRemoval (line 640) | func TestBasicOrphanRemoval(t *testing.T) { function TestOrphanChainRemoval (line 715) | func TestOrphanChainRemoval(t *testing.T) { function TestMultiInputOrphanDoubleSpend (line 778) | func TestMultiInputOrphanDoubleSpend(t *testing.T) { function TestCheckSpend (line 867) | func TestCheckSpend(t *testing.T) { function TestSignalsReplacement (line 936) | func TestSignalsReplacement(t *testing.T) { function TestCheckPoolDoubleSpend (line 1054) | func TestCheckPoolDoubleSpend(t *testing.T) { function TestConflicts (line 1230) | func TestConflicts(t *testing.T) { function TestAncestorsDescendants (line 1380) | func TestAncestorsDescendants(t *testing.T) { function TestRBF (line 1457) | func TestRBF(t *testing.T) { FILE: mempool/mocks.go type MockTxMempool (line 14) | type MockTxMempool struct method LastUpdated (line 23) | func (m *MockTxMempool) LastUpdated() time.Time { method TxDescs (line 29) | func (m *MockTxMempool) TxDescs() []*TxDesc { method RawMempoolVerbose (line 36) | func (m *MockTxMempool) RawMempoolVerbose() map[string]*btcjson. method Count (line 45) | func (m *MockTxMempool) Count() int { method FetchTransaction (line 53) | func (m *MockTxMempool) FetchTransaction( method HaveTransaction (line 67) | func (m *MockTxMempool) HaveTransaction(hash *chainhash.Hash) bool { method ProcessTransaction (line 76) | func (m *MockTxMempool) ProcessTransaction(tx *btcutil.Tx, allowOrphan, method RemoveTransaction (line 92) | func (m *MockTxMempool) RemoveTransaction(tx *btcutil.Tx, method CheckMempoolAcceptance (line 102) | func (m *MockTxMempool) CheckMempoolAcceptance( method CheckSpend (line 117) | func (m *MockTxMempool) CheckSpend(op wire.OutPoint) *btcutil.Tx { FILE: mempool/policy.go constant maxStandardP2SHSigOps (line 20) | maxStandardP2SHSigOps = 15 constant maxStandardTxWeight (line 24) | maxStandardTxWeight = 400000 constant maxStandardSigScriptSize (line 43) | maxStandardSigScriptSize = 1650 constant DefaultMinRelayTxFee (line 50) | DefaultMinRelayTxFee = btcutil.Amount(1000) constant maxStandardMultiSigKeys (line 55) | maxStandardMultiSigKeys = 3 function calcMinRequiredTxRelayFee (line 61) | func calcMinRequiredTxRelayFee(serializedSize int64, minRelayTxFee btcut... function checkInputsStandard (line 92) | func checkInputsStandard(tx *btcutil.Tx, utxoView *blockchain.UtxoViewpo... function checkPkScriptStandard (line 130) | func checkPkScriptStandard(pkScript []byte, scriptClass txscript.ScriptC... function GetDustThreshold (line 178) | func GetDustThreshold(txOut *wire.TxOut) int64 { function IsDust (line 257) | func IsDust(txOut *wire.TxOut, minRelayTxFee btcutil.Amount) bool { function CheckTransactionStandard (line 285) | func CheckTransactionStandard(tx *btcutil.Tx, height int32, function GetTxVirtualSize (line 382) | func GetTxVirtualSize(tx *btcutil.Tx) int64 { FILE: mempool/policy_test.go function TestCalcMinRequiredTxRelayFee (line 21) | func TestCalcMinRequiredTxRelayFee(t *testing.T) { function TestCheckPkScriptStandard (line 98) | func TestCheckPkScriptStandard(t *testing.T) { function TestDust (line 207) | func TestDust(t *testing.T) { function TestCheckTransactionStandard (line 279) | func TestCheckTransactionStandard(t *testing.T) { FILE: mining/cpuminer/cpuminer.go constant maxNonce (line 25) | maxNonce = ^uint32(0) constant maxExtraNonce (line 29) | maxExtraNonce = ^uint64(0) constant hpsUpdateSecs (line 33) | hpsUpdateSecs = 10 constant hashUpdateSecs (line 40) | hashUpdateSecs = 15 type Config (line 51) | type Config struct type CPUMiner (line 92) | type CPUMiner struct method speedMonitor (line 111) | func (m *CPUMiner) speedMonitor() { method submitBlock (line 155) | func (m *CPUMiner) submitBlock(block *btcutil.Block) bool { method solveBlock (line 207) | func (m *CPUMiner) solveBlock(msgBlock *wire.MsgBlock, blockHeight int32, method generateBlocks (line 299) | func (m *CPUMiner) generateBlocks(quit chan struct{}) { method miningWorkerController (line 372) | func (m *CPUMiner) miningWorkerController() { method Start (line 434) | func (m *CPUMiner) Start() { method Stop (line 459) | func (m *CPUMiner) Stop() { method IsMining (line 479) | func (m *CPUMiner) IsMining() bool { method HashesPerSecond (line 490) | func (m *CPUMiner) HashesPerSecond() float64 { method SetNumWorkers (line 508) | func (m *CPUMiner) SetNumWorkers(numWorkers int32) { method NumWorkers (line 535) | func (m *CPUMiner) NumWorkers() int32 { method GenerateNBlocks (line 547) | func (m *CPUMiner) GenerateNBlocks(n uint32) ([]*chainhash.Hash, error) { function New (line 633) | func New(cfg *Config) *CPUMiner { FILE: mining/cpuminer/log.go function init (line 17) | func init() { function DisableLog (line 23) | func DisableLog() { function UseLogger (line 28) | func UseLogger(logger btclog.Logger) { FILE: mining/log.go function init (line 17) | func init() { function DisableLog (line 23) | func DisableLog() { function UseLogger (line 28) | func UseLogger(logger btclog.Logger) { FILE: mining/mining.go constant MinHighPriority (line 24) | MinHighPriority = btcutil.SatoshiPerBitcoin * 144.0 / 250 constant blockHeaderOverhead (line 28) | blockHeaderOverhead = wire.MaxBlockHeaderPayload + wire.MaxVarIntPayload constant CoinbaseFlags (line 33) | CoinbaseFlags = "/P2SH/btcd/" type TxDesc (line 38) | type TxDesc struct type TxSource (line 61) | type TxSource interface type txPrioItem (line 78) | type txPrioItem struct type txPriorityQueueLessFunc (line 93) | type txPriorityQueueLessFunc type txPriorityQueue (line 97) | type txPriorityQueue struct method Len (line 104) | func (pq *txPriorityQueue) Len() int { method Less (line 111) | func (pq *txPriorityQueue) Less(i, j int) bool { method Swap (line 117) | func (pq *txPriorityQueue) Swap(i, j int) { method Push (line 123) | func (pq *txPriorityQueue) Push(x interface{}) { method Pop (line 129) | func (pq *txPriorityQueue) Pop() interface{} { method SetLessFunc (line 140) | func (pq *txPriorityQueue) SetLessFunc(lessFunc txPriorityQueueLessFun... function txPQByPriority (line 147) | func txPQByPriority(pq *txPriorityQueue, i, j int) bool { function txPQByFee (line 159) | func txPQByFee(pq *txPriorityQueue, i, j int) bool { function newTxPriorityQueue (line 174) | func newTxPriorityQueue(reserve int, sortByFee bool) *txPriorityQueue { type BlockTemplate (line 189) | type BlockTemplate struct function mergeUtxoView (line 226) | func mergeUtxoView(viewA *blockchain.UtxoViewpoint, viewB *blockchain.Ut... function standardCoinbaseScript (line 241) | func standardCoinbaseScript(nextBlockHeight int32, extraNonce uint64) ([... function createCoinbaseTx (line 253) | func createCoinbaseTx(params *chaincfg.Params, coinbaseScript []byte, ne... function spendTransaction (line 292) | func spendTransaction(utxoView *blockchain.UtxoViewpoint, tx *btcutil.Tx... function logSkippedDeps (line 306) | func logSkippedDeps(tx *btcutil.Tx, deps map[chainhash.Hash]*txPrioItem) { function MinimumMedianTime (line 321) | func MinimumMedianTime(chainState *blockchain.BestState) time.Time { function medianAdjustedTime (line 328) | func medianAdjustedTime(chainState *blockchain.BestState, timeSource blo... type BlkTmplGenerator (line 348) | type BlkTmplGenerator struct method NewBlockTemplate (line 443) | func (g *BlkTmplGenerator) NewBlockTemplate(payToAddress btcutil.Addre... method UpdateBlockTime (line 908) | func (g *BlkTmplGenerator) UpdateBlockTime(msgBlock *wire.MsgBlock) er... method UpdateExtraNonce (line 931) | func (g *BlkTmplGenerator) UpdateExtraNonce(msgBlock *wire.MsgBlock, b... method BestSnapshot (line 961) | func (g *BlkTmplGenerator) BestSnapshot() *blockchain.BestState { method TxSource (line 968) | func (g *BlkTmplGenerator) TxSource() TxSource { function NewBlkTmplGenerator (line 364) | func NewBlkTmplGenerator(policy *Policy, params *chaincfg.Params, function AddWitnessCommitment (line 863) | func AddWitnessCommitment(coinbaseTx *btcutil.Tx, FILE: mining/mining_test.go function TestTxFeePrioHeap (line 17) | func TestTxFeePrioHeap(t *testing.T) { FILE: mining/policy.go constant UnminedHeight (line 17) | UnminedHeight = 0x7fffffff type Policy (line 23) | type Policy struct function minInt (line 52) | func minInt(a, b int) int { function calcInputValueAge (line 65) | func calcInputValueAge(tx *wire.MsgTx, utxoView *blockchain.UtxoViewpoin... function CalcPriority (line 97) | func CalcPriority(tx *wire.MsgTx, utxoView *blockchain.UtxoViewpoint, ne... FILE: mining/policy_test.go function newHashFromStr (line 21) | func newHashFromStr(hexStr string) *chainhash.Hash { function hexToBytes (line 33) | func hexToBytes(s string) []byte { function newUtxoViewpoint (line 45) | func newUtxoViewpoint(sourceTxns []*wire.MsgTx, sourceTxHeights []int32)... function TestCalcPriority (line 58) | func TestCalcPriority(t *testing.T) { FILE: netsync/blocklogger.go type blockProgressLogger (line 20) | type blockProgressLogger struct method LogBlockHeight (line 46) | func (b *blockProgressLogger) LogBlockHeight(block *btcutil.Block, cha... method SetLastLogTime (line 82) | func (b *blockProgressLogger) SetLastLogTime(time time.Time) { function newBlockProgressLogger (line 35) | func newBlockProgressLogger(progressMessage string, logger btclog.Logger... FILE: netsync/interface.go type PeerNotifier (line 20) | type PeerNotifier interface type Config (line 31) | type Config struct FILE: netsync/log.go function DisableLog (line 16) | func DisableLog() { function UseLogger (line 23) | func UseLogger(logger btclog.Logger) { FILE: netsync/manager.go constant minInFlightBlocks (line 29) | minInFlightBlocks = 10 constant maxRejectedTxns (line 33) | maxRejectedTxns = 1000 constant maxRequestedBlocks (line 37) | maxRequestedBlocks = wire.MaxInvPerMsg constant maxRequestedTxns (line 41) | maxRequestedTxns = wire.MaxInvPerMsg constant maxStallDuration (line 45) | maxStallDuration = 3 * time.Minute constant stallSampleInterval (line 49) | stallSampleInterval = 30 * time.Second type newPeerMsg (line 56) | type newPeerMsg struct type blockMsg (line 62) | type blockMsg struct type invMsg (line 70) | type invMsg struct type headersMsg (line 77) | type headersMsg struct type notFoundMsg (line 84) | type notFoundMsg struct type donePeerMsg (line 90) | type donePeerMsg struct type txMsg (line 96) | type txMsg struct type getSyncPeerMsg (line 104) | type getSyncPeerMsg struct type processBlockResponse (line 110) | type processBlockResponse struct type processBlockMsg (line 120) | type processBlockMsg struct type isCurrentMsg (line 129) | type isCurrentMsg struct type pauseMsg (line 137) | type pauseMsg struct type headerNode (line 143) | type headerNode struct type peerSyncState (line 150) | type peerSyncState struct function limitAdd (line 160) | func limitAdd(m map[chainhash.Hash]struct{}, hash chainhash.Hash, limit ... type SyncManager (line 181) | type SyncManager struct method resetHeaderState (line 213) | func (sm *SyncManager) resetHeaderState(newestHash *chainhash.Hash, ne... method findNextHeaderCheckpoint (line 231) | func (sm *SyncManager) findNextHeaderCheckpoint(height int32) *chaincf... method startSync (line 259) | func (sm *SyncManager) startSync() { method isSyncCandidate (line 390) | func (sm *SyncManager) isSyncCandidate(peer *peerpkg.Peer) bool { method handleNewPeerMsg (line 463) | func (sm *SyncManager) handleNewPeerMsg(peer *peerpkg.Peer) { method handleStallSample (line 489) | func (sm *SyncManager) handleStallSample() { method shouldDCStalledSyncPeer (line 520) | func (sm *SyncManager) shouldDCStalledSyncPeer() bool { method handleDonePeerMsg (line 542) | func (sm *SyncManager) handleDonePeerMsg(peer *peerpkg.Peer) { method clearRequestedState (line 566) | func (sm *SyncManager) clearRequestedState(state *peerSyncState) { method updateSyncPeer (line 586) | func (sm *SyncManager) updateSyncPeer(dcSyncPeer bool) { method handleTxMsg (line 606) | func (sm *SyncManager) handleTxMsg(tmsg *txMsg) { method current (line 674) | func (sm *SyncManager) current() bool { method handleBlockMsg (line 694) | func (sm *SyncManager) handleBlockMsg(bmsg *blockMsg) { method fetchHeaderBlocks (line 907) | func (sm *SyncManager) fetchHeaderBlocks() { method handleHeadersMsg (line 961) | func (sm *SyncManager) handleHeadersMsg(hmsg *headersMsg) { method handleNotFoundMsg (line 1068) | func (sm *SyncManager) handleNotFoundMsg(nfmsg *notFoundMsg) { method haveInventory (line 1103) | func (sm *SyncManager) haveInventory(invVect *wire.InvVect) (bool, err... method handleInvMsg (line 1151) | func (sm *SyncManager) handleInvMsg(imsg *invMsg) { method blockHandler (line 1353) | func (sm *SyncManager) blockHandler() { method handleBlockchainNotification (line 1439) | func (sm *SyncManager) handleBlockchainNotification(notification *bloc... method NewPeer (line 1534) | func (sm *SyncManager) NewPeer(peer *peerpkg.Peer) { method QueueTx (line 1545) | func (sm *SyncManager) QueueTx(tx *btcutil.Tx, peer *peerpkg.Peer, don... method QueueBlock (line 1558) | func (sm *SyncManager) QueueBlock(block *btcutil.Block, peer *peerpkg.... method QueueInv (line 1569) | func (sm *SyncManager) QueueInv(inv *wire.MsgInv, peer *peerpkg.Peer) { method QueueHeaders (line 1581) | func (sm *SyncManager) QueueHeaders(headers *wire.MsgHeaders, peer *pe... method QueueNotFound (line 1593) | func (sm *SyncManager) QueueNotFound(notFound *wire.MsgNotFound, peer ... method DonePeer (line 1604) | func (sm *SyncManager) DonePeer(peer *peerpkg.Peer) { method Start (line 1614) | func (sm *SyncManager) Start() { method Stop (line 1627) | func (sm *SyncManager) Stop() error { method SyncPeerID (line 1641) | func (sm *SyncManager) SyncPeerID() int32 { method ProcessBlock (line 1649) | func (sm *SyncManager) ProcessBlock(block *btcutil.Block, flags blockc... method IsCurrent (line 1658) | func (sm *SyncManager) IsCurrent() bool { method Pause (line 1668) | func (sm *SyncManager) Pause() chan<- struct{} { function New (line 1676) | func New(config *Config) (*SyncManager, error) { FILE: ossec/ossec.go function Unveil (line 5) | func Unveil(path string, perms string) error { function Pledge (line 9) | func Pledge(promises, execpromises string) error { function PledgePromises (line 13) | func PledgePromises(promises string) error { FILE: ossec/ossec_openbsd.go function Unveil (line 7) | func Unveil(path string, perms string) error { function Pledge (line 11) | func Pledge(promises, execpromises string) error { function PledgePromises (line 15) | func PledgePromises(promises string) error { FILE: params.go type params (line 18) | type params struct function netName (line 82) | func netName(chainParams *params) string { FILE: peer/example_test.go function mockRemotePeer (line 21) | func mockRemotePeer() error { function Example_newOutboundPeer (line 55) | func Example_newOutboundPeer() { FILE: peer/log.go constant maxRejectReasonLen (line 21) | maxRejectReasonLen = 250 function init (line 30) | func init() { function DisableLog (line 36) | func DisableLog() { function UseLogger (line 41) | func UseLogger(logger btclog.Logger) { type logClosure (line 48) | type logClosure method String (line 50) | func (c logClosure) String() string { function newLogClosure (line 54) | func newLogClosure(c func() string) logClosure { function directionString (line 60) | func directionString(inbound bool) string { function formatLockTime (line 68) | func formatLockTime(lockTime uint32) string { function invSummary (line 81) | func invSummary(invList []*wire.InvVect) string { function locatorSummary (line 112) | func locatorSummary(locator []*chainhash.Hash, stopHash *chainhash.Hash)... function sanitizeString (line 125) | func sanitizeString(str string, maxLength uint) string { function messageSummary (line 147) | func messageSummary(msg wire.Message) string { FILE: peer/p2pdowngrader.go constant defaultDowngradeCacheSize (line 10) | defaultDowngradeCacheSize = 100 type P2PDowngrader (line 16) | type P2PDowngrader struct method MarkForDowngrade (line 33) | func (pd *P2PDowngrader) MarkForDowngrade(addr string) { method ShouldDowngrade (line 42) | func (pd *P2PDowngrader) ShouldDowngrade(addr string) bool { function NewP2PDowngrader (line 22) | func NewP2PDowngrader(cacheSize uint) *P2PDowngrader { FILE: peer/p2pdowngrader_test.go function TestP2PDowngraderMarkAndShouldDowngrade (line 13) | func TestP2PDowngraderMarkAndShouldDowngrade(t *testing.T) { function TestP2PDowngraderLRUEviction (line 85) | func TestP2PDowngraderLRUEviction(t *testing.T) { function TestP2PDowngraderMarkExistingUpdatesLRU (line 148) | func TestP2PDowngraderMarkExistingUpdatesLRU(t *testing.T) { FILE: peer/peer.go constant MaxProtocolVersion (line 34) | MaxProtocolVersion = wire.AddrV2Version constant DefaultTrickleInterval (line 38) | DefaultTrickleInterval = 10 * time.Second constant MinAcceptableProtocolVersion (line 42) | MinAcceptableProtocolVersion = wire.MultipleAddressVersion constant outputBufferSize (line 45) | outputBufferSize = 50 constant maxInvTrickleSize (line 49) | maxInvTrickleSize = 1000 constant maxKnownInventory (line 53) | maxKnownInventory = 1000 constant pingInterval (line 57) | pingInterval = 2 * time.Minute constant negotiateTimeout (line 61) | negotiateTimeout = 30 * time.Second constant idleTimeout (line 64) | idleTimeout = 5 * time.Minute constant stallTickInterval (line 68) | stallTickInterval = 15 * time.Second constant stallResponseTimeout (line 74) | stallResponseTimeout = 30 * time.Second type MessageListeners (line 100) | type MessageListeners struct type Config (line 222) | type Config struct function minUint32 (line 299) | func minUint32(a, b uint32) uint32 { function newNetAddress (line 309) | func newNetAddress(addr net.Addr, services wire.ServiceFlag) (*wire.NetA... type outMsg (line 348) | type outMsg struct type stallControlCmd (line 355) | type stallControlCmd constant sccSendMessage (line 360) | sccSendMessage stallControlCmd = iota constant sccReceiveMessage (line 364) | sccReceiveMessage constant sccHandlerStart (line 367) | sccHandlerStart constant sccHandlerDone (line 370) | sccHandlerDone type stallControlMsg (line 375) | type stallControlMsg struct type StatsSnap (line 381) | type StatsSnap struct type HashFunc (line 404) | type HashFunc type AddrFunc (line 407) | type AddrFunc type HostToNetAddrFunc (line 411) | type HostToNetAddrFunc type Peer (line 440) | type Peer struct method String (line 509) | func (p *Peer) String() string { method UpdateLastBlockHeight (line 516) | func (p *Peer) UpdateLastBlockHeight(newHeight int32) { method UpdateLastAnnouncedBlock (line 532) | func (p *Peer) UpdateLastAnnouncedBlock(blkHash *chainhash.Hash) { method AddKnownInventory (line 544) | func (p *Peer) AddKnownInventory(invVect *wire.InvVect) { method StatsSnapshot (line 551) | func (p *Peer) StatsSnapshot() *StatsSnap { method ID (line 591) | func (p *Peer) ID() int32 { method NA (line 602) | func (p *Peer) NA() *wire.NetAddressV2 { method Addr (line 613) | func (p *Peer) Addr() string { method Inbound (line 622) | func (p *Peer) Inbound() bool { method Services (line 629) | func (p *Peer) Services() wire.ServiceFlag { method UserAgent (line 640) | func (p *Peer) UserAgent() string { method LastAnnouncedBlock (line 651) | func (p *Peer) LastAnnouncedBlock() *chainhash.Hash { method LastPingNonce (line 662) | func (p *Peer) LastPingNonce() uint64 { method LastPingTime (line 673) | func (p *Peer) LastPingTime() time.Time { method LastPingMicros (line 684) | func (p *Peer) LastPingMicros() int64 { method VersionKnown (line 696) | func (p *Peer) VersionKnown() bool { method VerAckReceived (line 708) | func (p *Peer) VerAckReceived() bool { method ProtocolVersion (line 719) | func (p *Peer) ProtocolVersion() uint32 { method LastBlock (line 730) | func (p *Peer) LastBlock() int32 { method LastSend (line 741) | func (p *Peer) LastSend() time.Time { method LastRecv (line 748) | func (p *Peer) LastRecv() time.Time { method LocalAddr (line 755) | func (p *Peer) LocalAddr() net.Addr { method BytesSent (line 766) | func (p *Peer) BytesSent() uint64 { method BytesReceived (line 773) | func (p *Peer) BytesReceived() uint64 { method TimeConnected (line 780) | func (p *Peer) TimeConnected() time.Time { method TimeOffset (line 793) | func (p *Peer) TimeOffset() int64 { method StartingHeight (line 805) | func (p *Peer) StartingHeight() int32 { method WantsHeaders (line 817) | func (p *Peer) WantsHeaders() bool { method IsWitnessEnabled (line 829) | func (p *Peer) IsWitnessEnabled() bool { method WantsAddrV2 (line 839) | func (p *Peer) WantsAddrV2() bool { method PushAddrMsg (line 855) | func (p *Peer) PushAddrMsg(addresses []*wire.NetAddress) ([]*wire.NetA... method PushAddrV2Msg (line 886) | func (p *Peer) PushAddrV2Msg(addrs []*wire.NetAddressV2) ( method PushGetBlocksMsg (line 919) | func (p *Peer) PushGetBlocksMsg(locator blockchain.BlockLocator, stopH... method PushGetHeadersMsg (line 963) | func (p *Peer) PushGetHeadersMsg(locator blockchain.BlockLocator, stop... method PushRejectMsg (line 1010) | func (p *Peer) PushRejectMsg(command string, code wire.RejectCode, rea... method handlePingMsg (line 1044) | func (p *Peer) handlePingMsg(msg *wire.MsgPing) { method handlePongMsg (line 1056) | func (p *Peer) handlePongMsg(msg *wire.MsgPong) { method readMessage (line 1078) | func (p *Peer) readMessage(encoding wire.MessageEncoding, partial bool) ( method writeMessage (line 1140) | func (p *Peer) writeMessage(msg wire.Message, enc wire.MessageEncoding... method isAllowedReadError (line 1193) | func (p *Peer) isAllowedReadError(err error) bool { method shouldHandleReadError (line 1222) | func (p *Peer) shouldHandleReadError(err error) bool { method maybeAddDeadline (line 1243) | func (p *Peer) maybeAddDeadline(pendingResponses map[string]time.Time,... method stallHandler (line 1283) | func (p *Peer) stallHandler() { method inHandler (line 1438) | func (p *Peer) inHandler() { method queueHandler (line 1681) | func (p *Peer) queueHandler() { method shouldLogWriteError (line 1819) | func (p *Peer) shouldLogWriteError(err error) bool { method outHandler (line 1839) | func (p *Peer) outHandler() { method pingHandler (line 1910) | func (p *Peer) pingHandler() { method QueueMessage (line 1934) | func (p *Peer) QueueMessage(msg wire.Message, doneChan chan<- struct{}) { method QueueMessageWithEncoding (line 1944) | func (p *Peer) QueueMessageWithEncoding(msg wire.Message, doneChan cha... method QueueInventory (line 1966) | func (p *Peer) QueueInventory(invVect *wire.InvVect) { method Connected (line 1986) | func (p *Peer) Connected() bool { method recoverFromPanic (line 1994) | func (p *Peer) recoverFromPanic() { method Disconnect (line 2005) | func (p *Peer) Disconnect() { method readRemoteVersionMsg (line 2022) | func (p *Peer) readRemoteVersionMsg(readPartial bool) error { method processRemoteVerAckMsg (line 2121) | func (p *Peer) processRemoteVerAckMsg(msg *wire.MsgVerAck) { method localVersionMsg (line 2133) | func (p *Peer) localVersionMsg() (*wire.MsgVersion, error) { method writeLocalVersionMsg (line 2202) | func (p *Peer) writeLocalVersionMsg() error { method writeSendAddrV2Msg (line 2213) | func (p *Peer) writeSendAddrV2Msg(pver uint32) error { method waitToFinishNegotiation (line 2226) | func (p *Peer) waitToFinishNegotiation(pver uint32) error { method negotiateInboundProtocol (line 2276) | func (p *Peer) negotiateInboundProtocol() error { method negotiateOutboundProtocol (line 2351) | func (p *Peer) negotiateOutboundProtocol() error { method start (line 2404) | func (p *Peer) start() error { method AssociateConnection (line 2446) | func (p *Peer) AssociateConnection(conn net.Conn) { method WaitForDisconnect (line 2491) | func (p *Peer) WaitForDisconnect() { method ShouldDowngradeToV1 (line 2500) | func (p *Peer) ShouldDowngradeToV1() bool { function newPeerBase (line 2512) | func newPeerBase(origCfg *Config, inbound bool) *Peer { function NewInboundPeer (line 2560) | func NewInboundPeer(cfg *Config) *Peer { function NewOutboundPeer (line 2568) | func NewOutboundPeer(cfg *Config, addr string) (*Peer, error) { function init (line 2600) | func init() { FILE: peer/peer_test.go type conn (line 26) | type conn struct method LocalAddr (line 42) | func (c conn) LocalAddr() net.Addr { method RemoteAddr (line 47) | func (c conn) RemoteAddr() net.Addr { method Close (line 61) | func (c conn) Close() error { method SetDeadline (line 68) | func (c conn) SetDeadline(t time.Time) error { return nil } method SetReadDeadline (line 69) | func (c conn) SetReadDeadline(t time.Time) error { return nil } method SetWriteDeadline (line 70) | func (c conn) SetWriteDeadline(t time.Time) error { return nil } type addr (line 73) | type addr struct method Network (line 77) | func (m addr) Network() string { return m.net } method String (line 78) | func (m addr) String() string { return m.address } function pipe (line 82) | func pipe(c1, c2 *conn) (*conn, *conn) { type peerStats (line 97) | type peerStats struct function testPeer (line 116) | func testPeer(t *testing.T, p *peer.Peer, s peerStats) { function TestPeerConnection (line 220) | func TestPeerConnection(t *testing.T) { function TestPeerListeners (line 356) | func TestPeerListeners(t *testing.T) { function TestOutboundPeer (line 620) | func TestOutboundPeer(t *testing.T) { function TestUnsupportedVersionPeer (line 766) | func TestUnsupportedVersionPeer(t *testing.T) { function TestDuplicateVersionMsg (line 871) | func TestDuplicateVersionMsg(t *testing.T) { function TestUpdateLastBlockHeight (line 932) | func TestUpdateLastBlockHeight(t *testing.T) { function setupPeerConnection (line 996) | func setupPeerConnection(in, out *peer.Peer) error { function TestSendAddrV2Handshake (line 1059) | func TestSendAddrV2Handshake(t *testing.T) { FILE: peer/recover_test.go function TestRecoverFromPanic (line 10) | func TestRecoverFromPanic(t *testing.T) { FILE: rpcadapters.go type rpcPeer (line 21) | type rpcPeer method ToPeer (line 30) | func (p *rpcPeer) ToPeer() *peer.Peer { method IsTxRelayDisabled (line 42) | func (p *rpcPeer) IsTxRelayDisabled() bool { method BanScore (line 51) | func (p *rpcPeer) BanScore() uint32 { method FeeFilter (line 60) | func (p *rpcPeer) FeeFilter() int64 { type rpcConnManager (line 66) | type rpcConnManager struct method Connect (line 80) | func (cm *rpcConnManager) Connect(addr string, permanent bool) error { method RemoveByID (line 96) | func (cm *rpcConnManager) RemoveByID(id int32) error { method RemoveByAddr (line 111) | func (cm *rpcConnManager) RemoveByAddr(addr string) error { method DisconnectByID (line 126) | func (cm *rpcConnManager) DisconnectByID(id int32) error { method DisconnectByAddr (line 141) | func (cm *rpcConnManager) DisconnectByAddr(addr string) error { method ConnectedCount (line 154) | func (cm *rpcConnManager) ConnectedCount() int32 { method NetTotals (line 163) | func (cm *rpcConnManager) NetTotals() (uint64, uint64) { method ConnectedPeers (line 171) | func (cm *rpcConnManager) ConnectedPeers() []rpcserverPeer { method PersistentPeers (line 189) | func (cm *rpcConnManager) PersistentPeers() []rpcserverPeer { method BroadcastMessage (line 206) | func (cm *rpcConnManager) BroadcastMessage(msg wire.Message) { method AddRebroadcastInventory (line 216) | func (cm *rpcConnManager) AddRebroadcastInventory(iv *wire.InvVect, da... method RelayTransactions (line 222) | func (cm *rpcConnManager) RelayTransactions(txns []*mempool.TxDesc) { method NodeAddresses (line 231) | func (cm *rpcConnManager) NodeAddresses() []*wire.NetAddressV2 { type rpcSyncMgr (line 237) | type rpcSyncMgr struct method IsCurrent (line 250) | func (b *rpcSyncMgr) IsCurrent() bool { method SubmitBlock (line 259) | func (b *rpcSyncMgr) SubmitBlock(block *btcutil.Block, flags blockchai... method Pause (line 267) | func (b *rpcSyncMgr) Pause() chan<- struct{} { method SyncPeerID (line 276) | func (b *rpcSyncMgr) SyncPeerID() int32 { method LocateHeaders (line 286) | func (b *rpcSyncMgr) LocateHeaders(locators []*chainhash.Hash, hashSto... FILE: rpcclient/backend_version.go type BackendVersion (line 7) | type BackendVersion interface type BitcoindVersion (line 26) | type BitcoindVersion method String (line 50) | func (b BitcoindVersion) String() string { method SupportUnifiedSoftForks (line 74) | func (b BitcoindVersion) SupportUnifiedSoftForks() bool { method SupportTestMempoolAccept (line 81) | func (b BitcoindVersion) SupportTestMempoolAccept() bool { method SupportGetTxSpendingPrevOut (line 87) | func (b BitcoindVersion) SupportGetTxSpendingPrevOut() bool { constant BitcoindPre19 (line 30) | BitcoindPre19 BitcoindVersion = iota constant BitcoindPre22 (line 34) | BitcoindPre22 constant BitcoindPre24 (line 38) | BitcoindPre24 constant BitcoindPre25 (line 42) | BitcoindPre25 constant BitcoindPost25 (line 46) | BitcoindPost25 constant bitcoind19Str (line 97) | bitcoind19Str = "0.19.0" constant bitcoind22Str (line 100) | bitcoind22Str = "22.0.0" constant bitcoind24Str (line 103) | bitcoind24Str = "24.0.0" constant bitcoind25Str (line 106) | bitcoind25Str = "25.0.0" constant bitcoindVersionPrefix (line 110) | bitcoindVersionPrefix = "/Satoshi:" constant bitcoindVersionSuffix (line 114) | bitcoindVersionSuffix = "/" function parseBitcoindVersion (line 119) | func parseBitcoindVersion(version string) BitcoindVersion { type BtcdVersion (line 146) | type BtcdVersion method String (line 159) | func (b BtcdVersion) String() string { method SupportUnifiedSoftForks (line 176) | func (b BtcdVersion) SupportUnifiedSoftForks() bool { method SupportTestMempoolAccept (line 181) | func (b BtcdVersion) SupportTestMempoolAccept() bool { method SupportGetTxSpendingPrevOut (line 186) | func (b BtcdVersion) SupportGetTxSpendingPrevOut() bool { constant BtcdPre2401 (line 151) | BtcdPre2401 BtcdVersion = iota constant BtcdPost2401 (line 155) | BtcdPost2401 constant btcd2401Val (line 196) | btcd2401Val = 240100 function parseBtcdVersion (line 200) | func parseBtcdVersion(version int32) BtcdVersion { FILE: rpcclient/backend_version_test.go function TestParseBitcoindVersion (line 11) | func TestParseBitcoindVersion(t *testing.T) { function TestParseBtcdVersion (line 73) | func TestParseBtcdVersion(t *testing.T) { function TestVersionSupports (line 110) | func TestVersionSupports(t *testing.T) { FILE: rpcclient/chain.go type FutureGetBestBlockHashResult (line 20) | type FutureGetBestBlockHashResult method Receive (line 24) | func (r FutureGetBestBlockHashResult) Receive() (*chainhash.Hash, erro... method GetBestBlockHashAsync (line 44) | func (c *Client) GetBestBlockHashAsync() FutureGetBestBlockHashResult { method GetBestBlockHash (line 51) | func (c *Client) GetBestBlockHash() (*chainhash.Hash, error) { method legacyGetBlockRequest (line 58) | func (c *Client) legacyGetBlockRequest(hash string, verbose, method waitForGetBlockRes (line 81) | func (c *Client) waitForGetBlockRes(respChan chan *Response, hash string, type FutureGetBlockResult (line 100) | type FutureGetBlockResult struct method Receive (line 108) | func (r FutureGetBlockResult) Receive() (*wire.MsgBlock, error) { method GetBlockAsync (line 141) | func (c *Client) GetBlockAsync(blockHash *chainhash.Hash) FutureGetBlock... method GetBlock (line 159) | func (c *Client) GetBlock(blockHash *chainhash.Hash) (*wire.MsgBlock, er... type FutureGetBlockVerboseResult (line 165) | type FutureGetBlockVerboseResult struct method Receive (line 173) | func (r FutureGetBlockVerboseResult) Receive() (*btcjson.GetBlockVerbo... method GetBlockVerboseAsync (line 193) | func (c *Client) GetBlockVerboseAsync(blockHash *chainhash.Hash) FutureG... method GetBlockVerbose (line 213) | func (c *Client) GetBlockVerbose(blockHash *chainhash.Hash) (*btcjson.Ge... type FutureGetBlockVerboseTxResult (line 219) | type FutureGetBlockVerboseTxResult struct method Receive (line 227) | func (r FutureGetBlockVerboseTxResult) Receive() (*btcjson.GetBlockVer... method GetBlockVerboseTxAsync (line 247) | func (c *Client) GetBlockVerboseTxAsync(blockHash *chainhash.Hash) Futur... method GetBlockVerboseTx (line 270) | func (c *Client) GetBlockVerboseTx(blockHash *chainhash.Hash) (*btcjson.... type FutureGetBlockCountResult (line 276) | type FutureGetBlockCountResult method Receive (line 280) | func (r FutureGetBlockCountResult) Receive() (int64, error) { method GetBlockCountAsync (line 300) | func (c *Client) GetBlockCountAsync() FutureGetBlockCountResult { method GetBlockCount (line 307) | func (c *Client) GetBlockCount() (int64, error) { type FutureGetChainTxStatsResult (line 313) | type FutureGetChainTxStatsResult method Receive (line 316) | func (r FutureGetChainTxStatsResult) Receive() (*btcjson.GetChainTxSta... method GetChainTxStatsAsync (line 336) | func (c *Client) GetChainTxStatsAsync() FutureGetChainTxStatsResult { method GetChainTxStatsNBlocksAsync (line 346) | func (c *Client) GetChainTxStatsNBlocksAsync(nBlocks int32) FutureGetCha... method GetChainTxStatsNBlocksBlockHashAsync (line 356) | func (c *Client) GetChainTxStatsNBlocksBlockHashAsync(nBlocks int32, blo... method GetChainTxStats (line 365) | func (c *Client) GetChainTxStats() (*btcjson.GetChainTxStatsResult, erro... method GetChainTxStatsNBlocks (line 372) | func (c *Client) GetChainTxStatsNBlocks(nBlocks int32) (*btcjson.GetChai... method GetChainTxStatsNBlocksBlockHash (line 380) | func (c *Client) GetChainTxStatsNBlocksBlockHash(nBlocks int32, blockHas... type FutureGetDifficultyResult (line 386) | type FutureGetDifficultyResult method Receive (line 390) | func (r FutureGetDifficultyResult) Receive() (float64, error) { method GetDifficultyAsync (line 410) | func (c *Client) GetDifficultyAsync() FutureGetDifficultyResult { method GetDifficulty (line 417) | func (c *Client) GetDifficulty() (float64, error) { type FutureGetBlockChainInfoResult (line 423) | type FutureGetBlockChainInfoResult struct method Receive (line 466) | func (r FutureGetBlockChainInfoResult) Receive() (*btcjson.GetBlockCha... function unmarshalPartialGetBlockChainInfoResult (line 431) | func unmarshalPartialGetBlockChainInfoResult(res []byte) (*btcjson.GetBl... function unmarshalGetBlockChainInfoResultSoftForks (line 441) | func unmarshalGetBlockChainInfoResultSoftForks(chainInfo *btcjson.GetBlo... method GetBlockChainInfoAsync (line 496) | func (c *Client) GetBlockChainInfoAsync() FutureGetBlockChainInfoResult { method GetBlockChainInfo (line 507) | func (c *Client) GetBlockChainInfo() (*btcjson.GetBlockChainInfoResult, ... type FutureGetBlockFilterResult (line 513) | type FutureGetBlockFilterResult method Receive (line 517) | func (r FutureGetBlockFilterResult) Receive() (*btcjson.GetBlockFilter... method GetBlockFilterAsync (line 537) | func (c *Client) GetBlockFilterAsync(blockHash chainhash.Hash, filterTyp... method GetBlockFilter (line 545) | func (c *Client) GetBlockFilter(blockHash chainhash.Hash, filterType *bt... type FutureGetBlockHashResult (line 551) | type FutureGetBlockHashResult method Receive (line 555) | func (r FutureGetBlockHashResult) Receive() (*chainhash.Hash, error) { method GetBlockHashAsync (line 575) | func (c *Client) GetBlockHashAsync(blockHeight int64) FutureGetBlockHash... method GetBlockHash (line 582) | func (c *Client) GetBlockHash(blockHeight int64) (*chainhash.Hash, error) { type FutureGetBlockHeaderResult (line 588) | type FutureGetBlockHeaderResult method Receive (line 592) | func (r FutureGetBlockHeaderResult) Receive() (*wire.BlockHeader, erro... method GetBlockHeaderAsync (line 625) | func (c *Client) GetBlockHeaderAsync(blockHash *chainhash.Hash) FutureGe... method GetBlockHeader (line 639) | func (c *Client) GetBlockHeader(blockHash *chainhash.Hash) (*wire.BlockH... type FutureGetBlockHeaderVerboseResult (line 645) | type FutureGetBlockHeaderVerboseResult method Receive (line 649) | func (r FutureGetBlockHeaderVerboseResult) Receive() (*btcjson.GetBloc... method GetBlockHeaderVerboseAsync (line 670) | func (c *Client) GetBlockHeaderVerboseAsync(blockHash *chainhash.Hash) F... method GetBlockHeaderVerbose (line 684) | func (c *Client) GetBlockHeaderVerbose(blockHash *chainhash.Hash) (*btcj... type FutureGetChainTipsResult (line 690) | type FutureGetChainTipsResult method Receive (line 694) | func (r FutureGetChainTipsResult) Receive() ([]*btcjson.GetChainTipsRe... method GetChainTipsAsync (line 715) | func (c *Client) GetChainTipsAsync() FutureGetChainTipsResult { method GetChainTips (line 722) | func (c *Client) GetChainTips() ([]*btcjson.GetChainTipsResult, error) { type FutureGetMempoolEntryResult (line 728) | type FutureGetMempoolEntryResult method Receive (line 733) | func (r FutureGetMempoolEntryResult) Receive() (*btcjson.GetMempoolEnt... method GetMempoolEntryAsync (line 754) | func (c *Client) GetMempoolEntryAsync(txHash string) FutureGetMempoolEnt... method GetMempoolEntry (line 761) | func (c *Client) GetMempoolEntry(txHash string) (*btcjson.GetMempoolEntr... type FutureGetRawMempoolResult (line 767) | type FutureGetRawMempoolResult method Receive (line 771) | func (r FutureGetRawMempoolResult) Receive() ([]*chainhash.Hash, error) { method GetRawMempoolAsync (line 802) | func (c *Client) GetRawMempoolAsync() FutureGetRawMempoolResult { method GetRawMempool (line 811) | func (c *Client) GetRawMempool() ([]*chainhash.Hash, error) { type FutureGetRawMempoolVerboseResult (line 817) | type FutureGetRawMempoolVerboseResult method Receive (line 822) | func (r FutureGetRawMempoolVerboseResult) Receive() (map[string]btcjso... method GetRawMempoolVerboseAsync (line 843) | func (c *Client) GetRawMempoolVerboseAsync() FutureGetRawMempoolVerboseR... method GetRawMempoolVerbose (line 853) | func (c *Client) GetRawMempoolVerbose() (map[string]btcjson.GetRawMempoo... type FutureEstimateFeeResult (line 859) | type FutureEstimateFeeResult method Receive (line 863) | func (r FutureEstimateFeeResult) Receive() (float64, error) { method EstimateFeeAsync (line 884) | func (c *Client) EstimateFeeAsync(numBlocks int64) FutureEstimateFeeResu... method EstimateFee (line 890) | func (c *Client) EstimateFee(numBlocks int64) (float64, error) { type FutureEstimateSmartFeeResult (line 896) | type FutureEstimateSmartFeeResult method Receive (line 900) | func (r FutureEstimateSmartFeeResult) Receive() (*btcjson.EstimateSmar... method EstimateSmartFeeAsync (line 919) | func (c *Client) EstimateSmartFeeAsync(confTarget int64, mode *btcjson.E... method EstimateSmartFee (line 925) | func (c *Client) EstimateSmartFee(confTarget int64, mode *btcjson.Estima... type FutureVerifyChainResult (line 932) | type FutureVerifyChainResult method Receive (line 937) | func (r FutureVerifyChainResult) Receive() (bool, error) { method VerifyChainAsync (line 957) | func (c *Client) VerifyChainAsync() FutureVerifyChainResult { method VerifyChain (line 966) | func (c *Client) VerifyChain() (bool, error) { method VerifyChainLevelAsync (line 975) | func (c *Client) VerifyChainLevelAsync(checkLevel int32) FutureVerifyCha... method VerifyChainLevel (line 989) | func (c *Client) VerifyChainLevel(checkLevel int32) (bool, error) { method VerifyChainBlocksAsync (line 998) | func (c *Client) VerifyChainBlocksAsync(checkLevel, numBlocks int32) Fut... method VerifyChainBlocks (line 1014) | func (c *Client) VerifyChainBlocks(checkLevel, numBlocks int32) (bool, e... type FutureGetTxOutResult (line 1020) | type FutureGetTxOutResult method Receive (line 1024) | func (r FutureGetTxOutResult) Receive() (*btcjson.GetTxOutResult, erro... method GetTxOutAsync (line 1051) | func (c *Client) GetTxOutAsync(txHash *chainhash.Hash, index uint32, mem... method GetTxOut (line 1063) | func (c *Client) GetTxOut(txHash *chainhash.Hash, index uint32, mempool ... type FutureGetTxOutSetInfoResult (line 1069) | type FutureGetTxOutSetInfoResult method Receive (line 1073) | func (r FutureGetTxOutSetInfoResult) Receive() (*btcjson.GetTxOutSetIn... method GetTxOutSetInfoAsync (line 1094) | func (c *Client) GetTxOutSetInfoAsync() FutureGetTxOutSetInfoResult { method GetTxOutSetInfo (line 1101) | func (c *Client) GetTxOutSetInfo() (*btcjson.GetTxOutSetInfoResult, erro... type FutureRescanBlocksResult (line 1110) | type FutureRescanBlocksResult method Receive (line 1117) | func (r FutureRescanBlocksResult) Receive() ([]btcjson.RescannedBlock,... method RescanBlocksAsync (line 1140) | func (c *Client) RescanBlocksAsync(blockHashes []chainhash.Hash) FutureR... method RescanBlocks (line 1156) | func (c *Client) RescanBlocks(blockHashes []chainhash.Hash) ([]btcjson.R... type FutureInvalidateBlockResult (line 1162) | type FutureInvalidateBlockResult method Receive (line 1166) | func (r FutureInvalidateBlockResult) Receive() error { method InvalidateBlockAsync (line 1177) | func (c *Client) InvalidateBlockAsync(blockHash *chainhash.Hash) FutureI... method InvalidateBlock (line 1188) | func (c *Client) InvalidateBlock(blockHash *chainhash.Hash) error { type FutureGetCFilterResult (line 1194) | type FutureGetCFilterResult method Receive (line 1198) | func (r FutureGetCFilterResult) Receive() (*wire.MsgCFilter, error) { method GetCFilterAsync (line 1230) | func (c *Client) GetCFilterAsync(blockHash *chainhash.Hash, method GetCFilter (line 1242) | func (c *Client) GetCFilter(blockHash *chainhash.Hash, type FutureGetCFilterHeaderResult (line 1249) | type FutureGetCFilterHeaderResult method Receive (line 1253) | func (r FutureGetCFilterHeaderResult) Receive() (*wire.MsgCFHeaders, e... method GetCFilterHeaderAsync (line 1283) | func (c *Client) GetCFilterHeaderAsync(blockHash *chainhash.Hash, method GetCFilterHeader (line 1296) | func (c *Client) GetCFilterHeader(blockHash *chainhash.Hash, type FutureGetBlockStatsResult (line 1303) | type FutureGetBlockStatsResult method Receive (line 1307) | func (r FutureGetBlockStatsResult) Receive() (*btcjson.GetBlockStatsRe... method GetBlockStatsAsync (line 1327) | func (c *Client) GetBlockStatsAsync(hashOrHeight interface{}, stats *[]s... method GetBlockStats (line 1338) | func (c *Client) GetBlockStats(hashOrHeight interface{}, stats *[]string... type FutureDeriveAddressesResult (line 1344) | type FutureDeriveAddressesResult method Receive (line 1348) | func (r FutureDeriveAddressesResult) Receive() (*btcjson.DeriveAddress... method DeriveAddressesAsync (line 1369) | func (c *Client) DeriveAddressesAsync(descriptor string, descriptorRange... method DeriveAddresses (line 1377) | func (c *Client) DeriveAddresses(descriptor string, descriptorRange *btc... type FutureGetDescriptorInfoResult (line 1383) | type FutureGetDescriptorInfoResult method Receive (line 1387) | func (r FutureGetDescriptorInfoResult) Receive() (*btcjson.GetDescript... method GetDescriptorInfoAsync (line 1408) | func (c *Client) GetDescriptorInfoAsync(descriptor string) FutureGetDesc... method GetDescriptorInfo (line 1420) | func (c *Client) GetDescriptorInfo(descriptor string) (*btcjson.GetDescr... type FutureReconsiderBlockResult (line 1426) | type FutureReconsiderBlockResult method Receive (line 1430) | func (r FutureReconsiderBlockResult) Receive() error { method ReconsiderBlockAsync (line 1440) | func (c *Client) ReconsiderBlockAsync( method ReconsiderBlock (line 1455) | func (c *Client) ReconsiderBlock(blockHash *chainhash.Hash) error { FILE: rpcclient/chain_test.go function TestUnmarshalGetBlockChainInfoResultSoftForks (line 20) | func TestUnmarshalGetBlockChainInfoResultSoftForks(t *testing.T) { function TestFutureGetBlockCountResultReceiveErrors (line 106) | func TestFutureGetBlockCountResultReceiveErrors(t *testing.T) { function TestFutureGetBlockCountResultReceiveMarshalsResponseCorrectly (line 122) | func TestFutureGetBlockCountResultReceiveMarshalsResponseCorrectly(t *te... function TestClientConnectedToWSServerRunner (line 142) | func TestClientConnectedToWSServerRunner(t *testing.T) { function makeClient (line 257) | func makeClient(t *testing.T) (*Client, chan string, func()) { function makeUpgradeOnConnect (line 278) | func makeUpgradeOnConnect(ch chan string) func(http.ResponseWriter, *htt... FILE: rpcclient/cookiefile.go function readCookieFile (line 15) | func readCookieFile(path string) (username, password string, err error) { FILE: rpcclient/errors.go type BitcoindRPCErr (line 26) | type BitcoindRPCErr method Error (line 218) | func (r BitcoindRPCErr) Error() string { constant ErrMissingInputsOrSpent (line 33) | ErrMissingInputsOrSpent BitcoindRPCErr = iota constant ErrMaxBurnExceeded (line 37) | ErrMaxBurnExceeded constant ErrMaxFeeExceeded (line 41) | ErrMaxFeeExceeded constant ErrTxAlreadyKnown (line 45) | ErrTxAlreadyKnown constant ErrTxAlreadyConfirmed (line 50) | ErrTxAlreadyConfirmed constant ErrMempoolConflict (line 56) | ErrMempoolConflict constant ErrReplacementAddsUnconfirmed (line 62) | ErrReplacementAddsUnconfirmed constant ErrInsufficientFee (line 68) | ErrInsufficientFee constant ErrTooManyReplacements (line 75) | ErrTooManyReplacements constant ErrMempoolMinFeeNotMet (line 79) | ErrMempoolMinFeeNotMet constant ErrConflictingTx (line 83) | ErrConflictingTx constant ErrEmptyOutput (line 86) | ErrEmptyOutput constant ErrEmptyInput (line 89) | ErrEmptyInput constant ErrTxTooSmall (line 97) | ErrTxTooSmall constant ErrDuplicateInput (line 101) | ErrDuplicateInput constant ErrEmptyPrevOut (line 105) | ErrEmptyPrevOut constant ErrBelowOutValue (line 109) | ErrBelowOutValue constant ErrNegativeOutput (line 113) | ErrNegativeOutput constant ErrLargeOutput (line 117) | ErrLargeOutput constant ErrLargeTotalOutput (line 121) | ErrLargeTotalOutput constant ErrScriptVerifyFlag (line 125) | ErrScriptVerifyFlag constant ErrTooManySigOps (line 128) | ErrTooManySigOps constant ErrInvalidOpcode (line 132) | ErrInvalidOpcode constant ErrTxAlreadyInMempool (line 136) | ErrTxAlreadyInMempool constant ErrMissingInputs (line 140) | ErrMissingInputs constant ErrOversizeTx (line 143) | ErrOversizeTx constant ErrCoinbaseTx (line 146) | ErrCoinbaseTx constant ErrNonStandardVersion (line 150) | ErrNonStandardVersion constant ErrNonStandardScript (line 154) | ErrNonStandardScript constant ErrBareMultiSig (line 158) | ErrBareMultiSig constant ErrScriptSigNotPushOnly (line 162) | ErrScriptSigNotPushOnly constant ErrScriptSigSize (line 166) | ErrScriptSigSize constant ErrTxTooLarge (line 170) | ErrTxTooLarge constant ErrDust (line 174) | ErrDust constant ErrMultiOpReturn (line 178) | ErrMultiOpReturn constant ErrNonFinal (line 182) | ErrNonFinal constant ErrNonBIP68Final (line 186) | ErrNonBIP68Final constant ErrSameNonWitnessData (line 191) | ErrSameNonWitnessData constant ErrNonMandatoryScriptVerifyFlag (line 196) | ErrNonMandatoryScriptVerifyFlag constant errSentinel (line 200) | errSentinel function MapRPCErr (line 499) | func MapRPCErr(rpcErr error) error { function matchErrStr (line 532) | func matchErrStr(err error, s string) bool { FILE: rpcclient/errors_test.go function TestMatchErrStr (line 13) | func TestMatchErrStr(t *testing.T) { function TestMapRPCErr (line 84) | func TestMapRPCErr(t *testing.T) { function TestBitcoindErrorSentinel (line 119) | func TestBitcoindErrorSentinel(t *testing.T) { FILE: rpcclient/example_test.go function ExampleClient_GetDescriptorInfo (line 21) | func ExampleClient_GetDescriptorInfo() { function ExampleClient_ImportMulti (line 38) | func ExampleClient_ImportMulti() { function ExampleClient_DeriveAddresses (line 67) | func ExampleClient_DeriveAddresses() { function ExampleClient_GetAddressInfo (line 85) | func ExampleClient_GetAddressInfo() { function ExampleClient_GetWalletInfo (line 103) | func ExampleClient_GetWalletInfo() { function ExampleClient_GetTxOutSetInfo (line 121) | func ExampleClient_GetTxOutSetInfo() { function ExampleClient_CreateWallet (line 140) | func ExampleClient_CreateWallet() { FILE: rpcclient/examples/bitcoincorehttp/main.go function main (line 13) | func main() { FILE: rpcclient/examples/bitcoincorehttpbulk/main.go function main (line 14) | func main() { FILE: rpcclient/examples/bitcoincoreunixsocket/main.go function main (line 13) | func main() { FILE: rpcclient/examples/btcdwebsockets/main.go function main (line 18) | func main() { FILE: rpcclient/examples/btcwalletwebsockets/main.go function main (line 18) | func main() { FILE: rpcclient/examples/customcommand/main.go type NameShowCmd (line 17) | type NameShowCmd struct type NameShowResult (line 22) | type NameShowResult struct type FutureNameShowResult (line 40) | type FutureNameShowResult method Receive (line 44) | func (r FutureNameShowResult) Receive() (*NameShowResult, error) { function NameShowAsync (line 65) | func NameShowAsync(c *rpcclient.Client, name string) FutureNameShowResult { function NameShow (line 73) | func NameShow(c *rpcclient.Client, name string) (*NameShowResult, error) { function init (line 77) | func init() { function main (line 84) | func main() { FILE: rpcclient/extensions.go type FutureDebugLevelResult (line 23) | type FutureDebugLevelResult method Receive (line 28) | func (r FutureDebugLevelResult) Receive() (string, error) { method DebugLevelAsync (line 50) | func (c *Client) DebugLevelAsync(levelSpec string) FutureDebugLevelResult { method DebugLevel (line 66) | func (c *Client) DebugLevel(levelSpec string) (string, error) { type FutureCreateEncryptedWalletResult (line 72) | type FutureCreateEncryptedWalletResult method Receive (line 75) | func (r FutureCreateEncryptedWalletResult) Receive() error { method CreateEncryptedWalletAsync (line 87) | func (c *Client) CreateEncryptedWalletAsync(passphrase string) FutureCre... method CreateEncryptedWallet (line 100) | func (c *Client) CreateEncryptedWallet(passphrase string) error { type FutureListAddressTransactionsResult (line 106) | type FutureListAddressTransactionsResult method Receive (line 110) | func (r FutureListAddressTransactionsResult) Receive() ([]btcjson.List... method ListAddressTransactionsAsync (line 132) | func (c *Client) ListAddressTransactionsAsync(addresses []btcutil.Addres... method ListAddressTransactions (line 146) | func (c *Client) ListAddressTransactions(addresses []btcutil.Address, ac... type FutureGetBestBlockResult (line 152) | type FutureGetBestBlockResult method Receive (line 156) | func (r FutureGetBestBlockResult) Receive() (*chainhash.Hash, int32, e... method GetBestBlockAsync (line 185) | func (c *Client) GetBestBlockAsync() FutureGetBestBlockResult { method GetBestBlock (line 194) | func (c *Client) GetBestBlock() (*chainhash.Hash, int32, error) { type FutureGetCurrentNetResult (line 200) | type FutureGetCurrentNetResult method Receive (line 204) | func (r FutureGetCurrentNetResult) Receive() (wire.BitcoinNet, error) { method GetCurrentNetAsync (line 227) | func (c *Client) GetCurrentNetAsync() FutureGetCurrentNetResult { method GetCurrentNet (line 235) | func (c *Client) GetCurrentNet() (wire.BitcoinNet, error) { type FutureGetHeadersResult (line 244) | type FutureGetHeadersResult method Receive (line 251) | func (r FutureGetHeadersResult) Receive() ([]wire.BlockHeader, error) { method GetHeadersAsync (line 286) | func (c *Client) GetHeadersAsync(blockLocators []chainhash.Hash, hashSto... method GetHeaders (line 305) | func (c *Client) GetHeaders(blockLocators []chainhash.Hash, hashStop *ch... type FutureExportWatchingWalletResult (line 311) | type FutureExportWatchingWalletResult method Receive (line 315) | func (r FutureExportWatchingWalletResult) Receive() ([]byte, []byte, e... method ExportWatchingWalletAsync (line 363) | func (c *Client) ExportWatchingWalletAsync(account string) FutureExportW... method ExportWatchingWallet (line 374) | func (c *Client) ExportWatchingWallet(account string) ([]byte, []byte, e... type FutureSessionResult (line 380) | type FutureSessionResult method Receive (line 384) | func (r FutureSessionResult) Receive() (*btcjson.SessionResult, error) { method SessionAsync (line 407) | func (c *Client) SessionAsync() FutureSessionResult { method Session (line 422) | func (c *Client) Session() (*btcjson.SessionResult, error) { type FutureVersionResult (line 431) | type FutureVersionResult method Receive (line 438) | func (r FutureVersionResult) Receive() (map[string]btcjson.VersionResult, method VersionAsync (line 463) | func (c *Client) VersionAsync() FutureVersionResult { method Version (line 472) | func (c *Client) Version() (map[string]btcjson.VersionResult, error) { FILE: rpcclient/infrastructure.go constant sendBufferSize (line 84) | sendBufferSize = 50 constant sendPostBufferSize (line 88) | sendPostBufferSize = 100 constant connectionRetryInterval (line 92) | connectionRetryInterval = time.Second * 5 constant requestRetryInterval (line 96) | requestRetryInterval = time.Millisecond * 500 constant defaultHTTPTimeout (line 100) | defaultHTTPTimeout = time.Minute type jsonRequest (line 105) | type jsonRequest struct type Client (line 125) | type Client struct method NextID (line 188) | func (c *Client) NextID() uint64 { method addRequest (line 200) | func (c *Client) addRequest(jReq *jsonRequest) error { method removeRequest (line 234) | func (c *Client) removeRequest(id uint64) *jsonRequest { method removeAllRequests (line 261) | func (c *Client) removeAllRequests() { method trackRegisteredNtfns (line 269) | func (c *Client) trackRegisteredNtfns(cmd interface{}) { method handleMessage (line 380) | func (c *Client) handleMessage(msg []byte) { method shouldLogReadError (line 450) | func (c *Client) shouldLogReadError(err error) bool { method wsInHandler (line 471) | func (c *Client) wsInHandler() { method disconnectChan (line 504) | func (c *Client) disconnectChan() <-chan struct{} { method wsOutHandler (line 514) | func (c *Client) wsOutHandler() { method sendMessage (line 549) | func (c *Client) sendMessage(marshalledJSON []byte) { method reregisterNtfns (line 561) | func (c *Client) reregisterNtfns() error { method resendRequests (line 637) | func (c *Client) resendRequests() { method wsReconnectHandler (line 690) | func (c *Client) wsReconnectHandler() { method handleSendPostMessage (line 769) | func (c *Client) handleSendPostMessage(jReq *jsonRequest) { method sendPostHandler (line 894) | func (c *Client) sendPostHandler() { method sendPostRequest (line 930) | func (c *Client) sendPostRequest(jReq *jsonRequest) { method sendRequest (line 974) | func (c *Client) sendRequest(jReq *jsonRequest) { method SendCmd (line 1015) | func (c *Client) SendCmd(cmd interface{}) chan *Response { method sendCmdAndWait (line 1051) | func (c *Client) sendCmdAndWait(cmd interface{}) (interface{}, error) { method Disconnected (line 1059) | func (c *Client) Disconnected() bool { method doDisconnect (line 1076) | func (c *Client) doDisconnect() bool { method doShutdown (line 1102) | func (c *Client) doShutdown() bool { method Disconnect (line 1121) | func (c *Client) Disconnect() { method Shutdown (line 1148) | func (c *Client) Shutdown() { method start (line 1175) | func (c *Client) start() { method WaitForShutdown (line 1200) | func (c *Client) WaitForShutdown() { method Connect (line 1588) | func (c *Client) Connect(tries int) error { method BackendVersion (line 1636) | func (c *Client) BackendVersion() (BackendVersion, error) { method sendAsync (line 1686) | func (c *Client) sendAsync() (FutureGetBulkResult, error) { method Send (line 1721) | func (c *Client) Send() error { type FutureGetBulkResult (line 304) | type FutureGetBulkResult method Receive (line 308) | func (r FutureGetBulkResult) Receive() (BulkResult, error) { type IndividualBulkResult (line 329) | type IndividualBulkResult struct type inMessage (line 342) | type inMessage struct type rawNotification (line 349) | type rawNotification struct type rawResponse (line 356) | type rawResponse struct method result (line 372) | func (r rawResponse) result() (result []byte, err error) { type Response (line 363) | type Response struct function newFutureError (line 950) | func newFutureError(err error) chan *Response { function NewFutureError (line 957) | func NewFutureError(err error) chan *Response { function ReceiveFuture (line 965) | func ReceiveFuture(f chan *Response) ([]byte, error) { type ConnConfig (line 1206) | type ConnConfig struct method getAuth (line 1293) | func (config *ConnConfig) getAuth() (username, passphrase string, err ... method retrieveCookie (line 1304) | func (config *ConnConfig) retrieveCookie() (username, passphrase strin... method httpURL (line 1376) | func (config *ConnConfig) httpURL() (string, error) { function newHTTPClient (line 1328) | func newHTTPClient(config *ConnConfig) (*http.Client, error) { function dial (line 1403) | func dial(config *ConnConfig) (*websocket.Conn, error) { function New (line 1479) | func New(config *ConnConfig, ntfnHandlers *NotificationHandlers) (*Clien... function NewBatch (line 1563) | func NewBatch(config *ConnConfig) (*Client, error) { function cutPrefix (line 1779) | func cutPrefix(s, prefix string) (after string, found bool) { function ParseAddressString (line 1789) | func ParseAddressString(strAddress string) (net.Addr, error) { function verifyPort (line 1816) | func verifyPort(address string) string { FILE: rpcclient/infrastructure_test.go function TestParseAddressString (line 11) | func TestParseAddressString(t *testing.T) { FILE: rpcclient/log.go function init (line 17) | func init() { function DisableLog (line 23) | func DisableLog() { function UseLogger (line 28) | func UseLogger(logger btclog.Logger) { type logClosure (line 35) | type logClosure method String (line 38) | func (c logClosure) String() string { function newLogClosure (line 45) | func newLogClosure(c func() string) logClosure { FILE: rpcclient/mining.go type FutureGenerateResult (line 19) | type FutureGenerateResult method Receive (line 23) | func (r FutureGenerateResult) Receive() ([]*chainhash.Hash, error) { method GenerateAsync (line 54) | func (c *Client) GenerateAsync(numBlocks uint32) FutureGenerateResult { method Generate (line 60) | func (c *Client) Generate(numBlocks uint32) ([]*chainhash.Hash, error) { type FutureGenerateToAddressResult (line 66) | type FutureGenerateToAddressResult method Receive (line 70) | func (f FutureGenerateToAddressResult) Receive() ([]*chainhash.Hash, e... method GenerateToAddressAsync (line 101) | func (c *Client) GenerateToAddressAsync(numBlocks int64, address btcutil... method GenerateToAddress (line 107) | func (c *Client) GenerateToAddress(numBlocks int64, address btcutil.Addr... type FutureGetGenerateResult (line 113) | type FutureGetGenerateResult method Receive (line 117) | func (r FutureGetGenerateResult) Receive() (bool, error) { method GetGenerateAsync (line 138) | func (c *Client) GetGenerateAsync() FutureGetGenerateResult { method GetGenerate (line 144) | func (c *Client) GetGenerate() (bool, error) { type FutureSetGenerateResult (line 150) | type FutureSetGenerateResult method Receive (line 154) | func (r FutureSetGenerateResult) Receive() error { method SetGenerateAsync (line 164) | func (c *Client) SetGenerateAsync(enable bool, numCPUs int) FutureSetGen... method SetGenerate (line 170) | func (c *Client) SetGenerate(enable bool, numCPUs int) error { type FutureGetHashesPerSecResult (line 176) | type FutureGetHashesPerSecResult method Receive (line 181) | func (r FutureGetHashesPerSecResult) Receive() (int64, error) { method GetHashesPerSecAsync (line 202) | func (c *Client) GetHashesPerSecAsync() FutureGetHashesPerSecResult { method GetHashesPerSec (line 210) | func (c *Client) GetHashesPerSec() (int64, error) { type FutureGetMiningInfoResult (line 216) | type FutureGetMiningInfoResult method Receive (line 220) | func (r FutureGetMiningInfoResult) Receive() (*btcjson.GetMiningInfoRe... method GetMiningInfoAsync (line 241) | func (c *Client) GetMiningInfoAsync() FutureGetMiningInfoResult { method GetMiningInfo (line 247) | func (c *Client) GetMiningInfo() (*btcjson.GetMiningInfoResult, error) { type FutureGetNetworkHashPS (line 253) | type FutureGetNetworkHashPS method Receive (line 258) | func (r FutureGetNetworkHashPS) Receive() (float64, error) { method GetNetworkHashPSAsync (line 279) | func (c *Client) GetNetworkHashPSAsync() FutureGetNetworkHashPS { method GetNetworkHashPS (line 289) | func (c *Client) GetNetworkHashPS() (float64, error) { method GetNetworkHashPS2Async (line 298) | func (c *Client) GetNetworkHashPS2Async(blocks int) FutureGetNetworkHash... method GetNetworkHashPS2 (line 310) | func (c *Client) GetNetworkHashPS2(blocks int) (float64, error) { method GetNetworkHashPS3Async (line 319) | func (c *Client) GetNetworkHashPS3Async(blocks, height int) FutureGetNet... method GetNetworkHashPS3 (line 330) | func (c *Client) GetNetworkHashPS3(blocks, height int) (float64, error) { type FutureGetWork (line 336) | type FutureGetWork method Receive (line 340) | func (r FutureGetWork) Receive() (*btcjson.GetWorkResult, error) { method GetWorkAsync (line 361) | func (c *Client) GetWorkAsync() FutureGetWork { method GetWork (line 369) | func (c *Client) GetWork() (*btcjson.GetWorkResult, error) { type FutureGetWorkSubmit (line 375) | type FutureGetWorkSubmit method Receive (line 379) | func (r FutureGetWorkSubmit) Receive() (bool, error) { method GetWorkSubmitAsync (line 400) | func (c *Client) GetWorkSubmitAsync(data string) FutureGetWorkSubmit { method GetWorkSubmit (line 409) | func (c *Client) GetWorkSubmit(data string) (bool, error) { type FutureSubmitBlockResult (line 415) | type FutureSubmitBlockResult method Receive (line 419) | func (r FutureSubmitBlockResult) Receive() error { method SubmitBlockAsync (line 444) | func (c *Client) SubmitBlockAsync(block *btcutil.Block, options *btcjson... method SubmitBlock (line 460) | func (c *Client) SubmitBlock(block *btcutil.Block, options *btcjson.Subm... type FutureGetBlockTemplateResponse (line 466) | type FutureGetBlockTemplateResponse method Receive (line 470) | func (r FutureGetBlockTemplateResponse) Receive() (*btcjson.GetBlockTe... method GetBlockTemplateAsync (line 491) | func (c *Client) GetBlockTemplateAsync(req *btcjson.TemplateRequest) Fut... method GetBlockTemplate (line 497) | func (c *Client) GetBlockTemplate(req *btcjson.TemplateRequest) (*btcjso... FILE: rpcclient/net.go type AddNodeCommand (line 15) | type AddNodeCommand method String (line 32) | func (cmd AddNodeCommand) String() string { constant ANAdd (line 21) | ANAdd AddNodeCommand = "add" constant ANRemove (line 24) | ANRemove AddNodeCommand = "remove" constant ANOneTry (line 28) | ANOneTry AddNodeCommand = "onetry" type FutureAddNodeResult (line 38) | type FutureAddNodeResult method Receive (line 42) | func (r FutureAddNodeResult) Receive() error { method AddNodeAsync (line 52) | func (c *Client) AddNodeAsync(host string, command AddNodeCommand) Futur... method AddNode (line 62) | func (c *Client) AddNode(host string, command AddNodeCommand) error { type FutureNodeResult (line 68) | type FutureNodeResult method Receive (line 72) | func (r FutureNodeResult) Receive() error { method NodeAsync (line 82) | func (c *Client) NodeAsync(command btcjson.NodeSubCmd, host string, method Node (line 95) | func (c *Client) Node(command btcjson.NodeSubCmd, host string, type FutureGetAddedNodeInfoResult (line 102) | type FutureGetAddedNodeInfoResult method Receive (line 106) | func (r FutureGetAddedNodeInfoResult) Receive() ([]btcjson.GetAddedNod... method GetAddedNodeInfoAsync (line 127) | func (c *Client) GetAddedNodeInfoAsync(peer string) FutureGetAddedNodeIn... method GetAddedNodeInfo (line 136) | func (c *Client) GetAddedNodeInfo(peer string) ([]btcjson.GetAddedNodeIn... type FutureGetAddedNodeInfoNoDNSResult (line 142) | type FutureGetAddedNodeInfoNoDNSResult method Receive (line 146) | func (r FutureGetAddedNodeInfoNoDNSResult) Receive() ([]string, error) { method GetAddedNodeInfoNoDNSAsync (line 167) | func (c *Client) GetAddedNodeInfoNoDNSAsync(peer string) FutureGetAddedN... method GetAddedNodeInfoNoDNS (line 177) | func (c *Client) GetAddedNodeInfoNoDNS(peer string) ([]string, error) { type FutureGetConnectionCountResult (line 183) | type FutureGetConnectionCountResult method Receive (line 187) | func (r FutureGetConnectionCountResult) Receive() (int64, error) { method GetConnectionCountAsync (line 208) | func (c *Client) GetConnectionCountAsync() FutureGetConnectionCountResult { method GetConnectionCount (line 214) | func (c *Client) GetConnectionCount() (int64, error) { type FuturePingResult (line 220) | type FuturePingResult method Receive (line 224) | func (r FuturePingResult) Receive() error { method PingAsync (line 234) | func (c *Client) PingAsync() FuturePingResult { method Ping (line 243) | func (c *Client) Ping() error { type FutureGetNetworkInfoResult (line 249) | type FutureGetNetworkInfoResult method Receive (line 253) | func (r FutureGetNetworkInfoResult) Receive() (*btcjson.GetNetworkInfo... method GetNetworkInfoAsync (line 274) | func (c *Client) GetNetworkInfoAsync() FutureGetNetworkInfoResult { method GetNetworkInfo (line 280) | func (c *Client) GetNetworkInfo() (*btcjson.GetNetworkInfoResult, error) { type FutureGetNodeAddressesResult (line 286) | type FutureGetNodeAddressesResult method Receive (line 290) | func (r FutureGetNodeAddressesResult) Receive() ([]btcjson.GetNodeAddr... method GetNodeAddressesAsync (line 311) | func (c *Client) GetNodeAddressesAsync(count *int32) FutureGetNodeAddres... method GetNodeAddresses (line 317) | func (c *Client) GetNodeAddresses(count *int32) ([]btcjson.GetNodeAddres... type FutureGetPeerInfoResult (line 323) | type FutureGetPeerInfoResult method Receive (line 327) | func (r FutureGetPeerInfoResult) Receive() ([]btcjson.GetPeerInfoResul... method GetPeerInfoAsync (line 348) | func (c *Client) GetPeerInfoAsync() FutureGetPeerInfoResult { method GetPeerInfo (line 354) | func (c *Client) GetPeerInfo() ([]btcjson.GetPeerInfoResult, error) { type FutureGetNetTotalsResult (line 360) | type FutureGetNetTotalsResult method Receive (line 364) | func (r FutureGetNetTotalsResult) Receive() (*btcjson.GetNetTotalsResu... method GetNetTotalsAsync (line 385) | func (c *Client) GetNetTotalsAsync() FutureGetNetTotalsResult { method GetNetTotals (line 391) | func (c *Client) GetNetTotals() (*btcjson.GetNetTotalsResult, error) { FILE: rpcclient/notify.go type notificationState (line 34) | type notificationState struct method Copy (line 43) | func (s *notificationState) Copy() *notificationState { function newNotificationState (line 61) | func newNotificationState() *notificationState { function newNilFutureResult (line 72) | func newNilFutureResult() chan *Response { type NotificationHandlers (line 87) | type NotificationHandlers struct method handleNotification (line 213) | func (c *Client) handleNotification(ntfn *rawNotification) { type wrongNumParams (line 479) | type wrongNumParams method Error (line 482) | func (e wrongNumParams) Error() string { function parseChainNtfnParams (line 488) | func parseChainNtfnParams(params []json.RawMessage) (*chainhash.Hash, function parseFilteredBlockConnectedParams (line 533) | func parseFilteredBlockConnectedParams(params []json.RawMessage) (int32, function parseFilteredBlockDisconnectedParams (line 589) | func parseFilteredBlockDisconnectedParams(params []json.RawMessage) (int32, function parseHexParam (line 618) | func parseHexParam(param json.RawMessage) ([]byte, error) { function parseRelevantTxAcceptedParams (line 629) | func parseRelevantTxAcceptedParams(params []json.RawMessage) (transactio... function parseChainTxNtfnParams (line 640) | func parseChainTxNtfnParams(params []json.RawMessage) (*btcutil.Tx, function parseRescanProgressParams (line 683) | func parseRescanProgressParams(params []json.RawMessage) (*chainhash.Has... function parseTxAcceptedNtfnParams (line 720) | func parseTxAcceptedNtfnParams(params []json.RawMessage) (*chainhash.Hash, function parseTxAcceptedVerboseNtfnParams (line 758) | func parseTxAcceptedVerboseNtfnParams(params []json.RawMessage) (*btcjso... function parseBtcdConnectedNtfnParams (line 780) | func parseBtcdConnectedNtfnParams(params []json.RawMessage) (bool, error) { function parseAccountBalanceNtfnParams (line 798) | func parseAccountBalanceNtfnParams(params []json.RawMessage) (account st... function parseWalletLockStateNtfnParams (line 835) | func parseWalletLockStateNtfnParams(params []json.RawMessage) (account s... type FutureNotifyBlocksResult (line 859) | type FutureNotifyBlocksResult method Receive (line 863) | func (r FutureNotifyBlocksResult) Receive() error { method NotifyBlocksAsync (line 875) | func (c *Client) NotifyBlocksAsync() FutureNotifyBlocksResult { method NotifyBlocks (line 901) | func (c *Client) NotifyBlocks() error { type FutureNotifySpentResult (line 909) | type FutureNotifySpentResult method Receive (line 913) | func (r FutureNotifySpentResult) Receive() error { method notifySpentInternal (line 921) | func (c *Client) notifySpentInternal(outpoints []btcjson.OutPoint) Futur... function newOutPointFromWire (line 939) | func newOutPointFromWire(op *wire.OutPoint) btcjson.OutPoint { method NotifySpentAsync (line 955) | func (c *Client) NotifySpentAsync(outpoints []*wire.OutPoint) FutureNoti... method NotifySpent (line 987) | func (c *Client) NotifySpent(outpoints []*wire.OutPoint) error { type FutureNotifyNewTransactionsResult (line 993) | type FutureNotifyNewTransactionsResult method Receive (line 997) | func (r FutureNotifyNewTransactionsResult) Receive() error { method NotifyNewTransactionsAsync (line 1009) | func (c *Client) NotifyNewTransactionsAsync(verbose bool) FutureNotifyNe... method NotifyNewTransactions (line 1036) | func (c *Client) NotifyNewTransactions(verbose bool) error { type FutureNotifyReceivedResult (line 1044) | type FutureNotifyReceivedResult method Receive (line 1048) | func (r FutureNotifyReceivedResult) Receive() error { method notifyReceivedInternal (line 1056) | func (c *Client) notifyReceivedInternal(addresses []string) FutureNotify... method NotifyReceivedAsync (line 1082) | func (c *Client) NotifyReceivedAsync(addresses []btcutil.Address) Future... method NotifyReceived (line 1122) | func (c *Client) NotifyReceived(addresses []btcutil.Address) error { type FutureRescanResult (line 1130) | type FutureRescanResult method Receive (line 1134) | func (r FutureRescanResult) Receive() error { method RescanAsync (line 1154) | func (c *Client) RescanAsync(startBlock *chainhash.Hash, method Rescan (line 1219) | func (c *Client) Rescan(startBlock *chainhash.Hash, method RescanEndBlockAsync (line 1235) | func (c *Client) RescanEndBlockAsync(startBlock *chainhash.Hash, method RescanEndHeight (line 1297) | func (c *Client) RescanEndHeight(startBlock *chainhash.Hash, type FutureLoadTxFilterResult (line 1310) | type FutureLoadTxFilterResult method Receive (line 1317) | func (r FutureLoadTxFilterResult) Receive() error { method LoadTxFilterAsync (line 1330) | func (c *Client) LoadTxFilterAsync(reload bool, addresses []btcutil.Addr... method LoadTxFilter (line 1355) | func (c *Client) LoadTxFilter(reload bool, addresses []btcutil.Address, ... FILE: rpcclient/rawrequest.go type FutureRawResult (line 16) | type FutureRawResult method Receive (line 20) | func (r FutureRawResult) Receive() (json.RawMessage, error) { method RawRequestAsync (line 29) | func (c *Client) RawRequestAsync(method string, params []json.RawMessage... method RawRequest (line 76) | func (c *Client) RawRequest(method string, params []json.RawMessage) (js... FILE: rpcclient/rawtransactions.go constant defaultMaxFeeRate (line 22) | defaultMaxFeeRate btcjson.BTCPerkvB = 0.1 type SigHashType (line 27) | type SigHashType method String (line 64) | func (s SigHashType) String() string { constant SigHashAll (line 32) | SigHashAll SigHashType = "ALL" constant SigHashNone (line 37) | SigHashNone SigHashType = "NONE" constant SigHashSingle (line 42) | SigHashSingle SigHashType = "SINGLE" constant SigHashAllAnyoneCanPay (line 48) | SigHashAllAnyoneCanPay SigHashType = "ALL|ANYONECANPAY" constant SigHashNoneAnyoneCanPay (line 54) | SigHashNoneAnyoneCanPay SigHashType = "NONE|ANYONECANPAY" constant SigHashSingleAnyoneCanPay (line 60) | SigHashSingleAnyoneCanPay SigHashType = "SINGLE|ANYONECANPAY" type FutureGetRawTransactionResult (line 70) | type FutureGetRawTransactionResult method Receive (line 74) | func (r FutureGetRawTransactionResult) Receive() (*btcutil.Tx, error) { method GetRawTransactionAsync (line 106) | func (c *Client) GetRawTransactionAsync(txHash *chainhash.Hash) FutureGe... method GetRawTransaction (line 120) | func (c *Client) GetRawTransaction(txHash *chainhash.Hash) (*btcutil.Tx,... type FutureGetRawTransactionVerboseResult (line 127) | type FutureGetRawTransactionVerboseResult method Receive (line 131) | func (r FutureGetRawTransactionVerboseResult) Receive() (*btcjson.TxRa... method GetRawTransactionVerboseAsync (line 152) | func (c *Client) GetRawTransactionVerboseAsync(txHash *chainhash.Hash) F... method GetRawTransactionVerbose (line 166) | func (c *Client) GetRawTransactionVerbose(txHash *chainhash.Hash) (*btcj... type FutureDecodeRawTransactionResult (line 172) | type FutureDecodeRawTransactionResult method Receive (line 176) | func (r FutureDecodeRawTransactionResult) Receive() (*btcjson.TxRawRes... method DecodeRawTransactionAsync (line 197) | func (c *Client) DecodeRawTransactionAsync(serializedTx []byte) FutureDe... method DecodeRawTransaction (line 205) | func (c *Client) DecodeRawTransaction(serializedTx []byte) (*btcjson.TxR... type FutureFundRawTransactionResult (line 211) | type FutureFundRawTransactionResult method Receive (line 215) | func (r FutureFundRawTransactionResult) Receive() (*btcjson.FundRawTra... method FundRawTransactionAsync (line 234) | func (c *Client) FundRawTransactionAsync(tx *wire.MsgTx, opts btcjson.Fu... method FundRawTransaction (line 246) | func (c *Client) FundRawTransaction(tx *wire.MsgTx, opts btcjson.FundRaw... type FutureCreateRawTransactionResult (line 252) | type FutureCreateRawTransactionResult method Receive (line 257) | func (r FutureCreateRawTransactionResult) Receive() (*wire.MsgTx, erro... method CreateRawTransactionAsync (line 294) | func (c *Client) CreateRawTransactionAsync(inputs []btcjson.TransactionI... method CreateRawTransaction (line 308) | func (c *Client) CreateRawTransaction(inputs []btcjson.TransactionInput, type FutureSendRawTransactionResult (line 316) | type FutureSendRawTransactionResult method Receive (line 321) | func (r FutureSendRawTransactionResult) Receive() (*chainhash.Hash, er... method SendRawTransactionAsync (line 342) | func (c *Client) SendRawTransactionAsync(tx *wire.MsgTx, allowHighFees b... method SendRawTransaction (line 383) | func (c *Client) SendRawTransaction(tx *wire.MsgTx, allowHighFees bool) ... type FutureSignRawTransactionResult (line 390) | type FutureSignRawTransactionResult method Receive (line 394) | func (r FutureSignRawTransactionResult) Receive() (*wire.MsgTx, bool, ... method SignRawTransactionAsync (line 427) | func (c *Client) SignRawTransactionAsync(tx *wire.MsgTx) FutureSignRawTr... method SignRawTransaction (line 449) | func (c *Client) SignRawTransaction(tx *wire.MsgTx) (*wire.MsgTx, bool, ... method SignRawTransaction2Async (line 458) | func (c *Client) SignRawTransaction2Async(tx *wire.MsgTx, inputs []btcjs... method SignRawTransaction2 (line 483) | func (c *Client) SignRawTransaction2(tx *wire.MsgTx, inputs []btcjson.Ra... method SignRawTransaction3Async (line 492) | func (c *Client) SignRawTransaction3Async(tx *wire.MsgTx, method SignRawTransaction3 (line 528) | func (c *Client) SignRawTransaction3(tx *wire.MsgTx, method SignRawTransaction4Async (line 540) | func (c *Client) SignRawTransaction4Async(tx *wire.MsgTx, method SignRawTransaction4 (line 578) | func (c *Client) SignRawTransaction4(tx *wire.MsgTx, type FutureSignRawTransactionWithWalletResult (line 589) | type FutureSignRawTransactionWithWalletResult method Receive (line 593) | func (r FutureSignRawTransactionWithWalletResult) Receive() (*wire.Msg... method SignRawTransactionWithWalletAsync (line 626) | func (c *Client) SignRawTransactionWithWalletAsync(tx *wire.MsgTx) Futur... method SignRawTransactionWithWallet (line 648) | func (c *Client) SignRawTransactionWithWallet(tx *wire.MsgTx) (*wire.Msg... method SignRawTransactionWithWallet2Async (line 657) | func (c *Client) SignRawTransactionWithWallet2Async(tx *wire.MsgTx, method SignRawTransactionWithWallet2 (line 684) | func (c *Client) SignRawTransactionWithWallet2(tx *wire.MsgTx, method SignRawTransactionWithWallet3Async (line 695) | func (c *Client) SignRawTransactionWithWallet3Async(tx *wire.MsgTx, method SignRawTransactionWithWallet3 (line 723) | func (c *Client) SignRawTransactionWithWallet3(tx *wire.MsgTx, type FutureSearchRawTransactionsResult (line 731) | type FutureSearchRawTransactionsResult method Receive (line 735) | func (r FutureSearchRawTransactionsResult) Receive() ([]*wire.MsgTx, e... method SearchRawTransactionsAsync (line 774) | func (c *Client) SearchRawTransactionsAsync(address btcutil.Address, ski... method SearchRawTransactions (line 789) | func (c *Client) SearchRawTransactions(address btcutil.Address, skip, co... type FutureSearchRawTransactionsVerboseResult (line 796) | type FutureSearchRawTransactionsVerboseResult method Receive (line 800) | func (r FutureSearchRawTransactionsVerboseResult) Receive() ([]*btcjso... method SearchRawTransactionsVerboseAsync (line 821) | func (c *Client) SearchRawTransactionsVerboseAsync(address btcutil.Addre... method SearchRawTransactionsVerbose (line 842) | func (c *Client) SearchRawTransactionsVerbose(address btcutil.Address, s... type FutureDecodeScriptResult (line 851) | type FutureDecodeScriptResult method Receive (line 855) | func (r FutureDecodeScriptResult) Receive() (*btcjson.DecodeScriptResu... method DecodeScriptAsync (line 876) | func (c *Client) DecodeScriptAsync(serializedScript []byte) FutureDecode... method DecodeScript (line 883) | func (c *Client) DecodeScript(serializedScript []byte) (*btcjson.DecodeS... type FutureTestMempoolAcceptResult (line 889) | type FutureTestMempoolAcceptResult method Receive (line 893) | func (r FutureTestMempoolAcceptResult) Receive() ( method TestMempoolAcceptAsync (line 917) | func (c *Client) TestMempoolAcceptAsync(txns []*wire.MsgTx, method TestMempoolAccept (line 1012) | func (c *Client) TestMempoolAccept(txns []*wire.MsgTx, type FutureGetTxSpendingPrevOut (line 1020) | type FutureGetTxSpendingPrevOut method Receive (line 1024) | func (r FutureGetTxSpendingPrevOut) Receive() ( method GetTxSpendingPrevOutAsync (line 1048) | func (c *Client) GetTxSpendingPrevOutAsync( method GetTxSpendingPrevOut (line 1080) | func (c *Client) GetTxSpendingPrevOut(outpoints []wire.OutPoint) ( FILE: rpcclient/wallet.go type FutureGetTransactionResult (line 25) | type FutureGetTransactionResult method Receive (line 29) | func (r FutureGetTransactionResult) Receive() (*btcjson.GetTransaction... method GetTransactionAsync (line 50) | func (c *Client) GetTransactionAsync(txHash *chainhash.Hash) FutureGetTr... method GetTransaction (line 63) | func (c *Client) GetTransaction(txHash *chainhash.Hash) (*btcjson.GetTra... method GetTransactionWatchOnlyAsync (line 72) | func (c *Client) GetTransactionWatchOnlyAsync(txHash *chainhash.Hash, wa... method GetTransactionWatchOnly (line 85) | func (c *Client) GetTransactionWatchOnly(txHash *chainhash.Hash, watchOn... type FutureListTransactionsResult (line 92) | type FutureListTransactionsResult method Receive (line 96) | func (r FutureListTransactionsResult) Receive() ([]btcjson.ListTransac... method ListTransactionsAsync (line 117) | func (c *Client) ListTransactionsAsync(account string) FutureListTransac... method ListTransactions (line 126) | func (c *Client) ListTransactions(account string) ([]btcjson.ListTransac... method ListTransactionsCountAsync (line 135) | func (c *Client) ListTransactionsCountAsync(account string, count int) F... method ListTransactionsCount (line 145) | func (c *Client) ListTransactionsCount(account string, count int) ([]btc... method ListTransactionsCountFromAsync (line 154) | func (c *Client) ListTransactionsCountFromAsync(account string, count, f... method ListTransactionsCountFrom (line 163) | func (c *Client) ListTransactionsCountFrom(account string, count, from i... method ListTransactionsCountFromWatchOnlyAsync (line 172) | func (c *Client) ListTransactionsCountFromWatchOnlyAsync(account string,... method ListTransactionsCountFromWatchOnly (line 182) | func (c *Client) ListTransactionsCountFromWatchOnly(account string, coun... type FutureListUnspentResult (line 189) | type FutureListUnspentResult method Receive (line 196) | func (r FutureListUnspentResult) Receive() ([]btcjson.ListUnspentResul... method ListUnspentAsync (line 217) | func (c *Client) ListUnspentAsync() FutureListUnspentResult { method ListUnspentMinAsync (line 227) | func (c *Client) ListUnspentMinAsync(minConf int) FutureListUnspentResult { method ListUnspentMinMaxAsync (line 237) | func (c *Client) ListUnspentMinMaxAsync(minConf, maxConf int) FutureList... method ListUnspentMinMaxAddressesAsync (line 247) | func (c *Client) ListUnspentMinMaxAddressesAsync(minConf, maxConf int, a... method ListUnspent (line 260) | func (c *Client) ListUnspent() ([]btcjson.ListUnspentResult, error) { method ListUnspentMin (line 267) | func (c *Client) ListUnspentMin(minConf int) ([]btcjson.ListUnspentResul... method ListUnspentMinMax (line 274) | func (c *Client) ListUnspentMinMax(minConf, maxConf int) ([]btcjson.List... method ListUnspentMinMaxAddresses (line 281) | func (c *Client) ListUnspentMinMaxAddresses(minConf, maxConf int, addrs ... type FutureListSinceBlockResult (line 288) | type FutureListSinceBlockResult method Receive (line 293) | func (r FutureListSinceBlockResult) Receive() (*btcjson.ListSinceBlock... method ListSinceBlockAsync (line 314) | func (c *Client) ListSinceBlockAsync(blockHash *chainhash.Hash) FutureLi... method ListSinceBlock (line 330) | func (c *Client) ListSinceBlock(blockHash *chainhash.Hash) (*btcjson.Lis... method ListSinceBlockMinConfAsync (line 339) | func (c *Client) ListSinceBlockMinConfAsync(blockHash *chainhash.Hash, m... method ListSinceBlockMinConf (line 354) | func (c *Client) ListSinceBlockMinConf(blockHash *chainhash.Hash, minCon... method ListSinceBlockMinConfWatchOnlyAsync (line 363) | func (c *Client) ListSinceBlockMinConfWatchOnlyAsync(blockHash *chainhas... method ListSinceBlockMinConfWatchOnly (line 378) | func (c *Client) ListSinceBlockMinConfWatchOnly(blockHash *chainhash.Has... type FutureLockUnspentResult (line 388) | type FutureLockUnspentResult method Receive (line 392) | func (r FutureLockUnspentResult) Receive() error { method LockUnspentAsync (line 402) | func (c *Client) LockUnspentAsync(unlock bool, ops []*wire.OutPoint) Fut... method LockUnspent (line 431) | func (c *Client) LockUnspent(unlock bool, ops []*wire.OutPoint) error { type FutureListLockUnspentResult (line 437) | type FutureListLockUnspentResult method Receive (line 441) | func (r FutureListLockUnspentResult) Receive() ([]*wire.OutPoint, erro... method ListLockUnspentAsync (line 472) | func (c *Client) ListLockUnspentAsync() FutureListLockUnspentResult { method ListLockUnspent (line 480) | func (c *Client) ListLockUnspent() ([]*wire.OutPoint, error) { type FutureSetTxFeeResult (line 486) | type FutureSetTxFeeResult method Receive (line 491) | func (r FutureSetTxFeeResult) Receive() error { method SetTxFeeAsync (line 501) | func (c *Client) SetTxFeeAsync(fee btcutil.Amount) FutureSetTxFeeResult { method SetTxFee (line 508) | func (c *Client) SetTxFee(fee btcutil.Amount) error { type FutureSendToAddressResult (line 514) | type FutureSendToAddressResult method Receive (line 518) | func (r FutureSendToAddressResult) Receive() (*chainhash.Hash, error) { method SendToAddressAsync (line 539) | func (c *Client) SendToAddressAsync(address btcutil.Address, amount btcu... method SendToAddress (line 553) | func (c *Client) SendToAddress(address btcutil.Address, amount btcutil.A... method SendToAddressCommentAsync (line 562) | func (c *Client) SendToAddressCommentAsync(address btcutil.Address, method SendToAddressComment (line 584) | func (c *Client) SendToAddressComment(address btcutil.Address, amount bt... type FutureSendFromResult (line 592) | type FutureSendFromResult method Receive (line 597) | func (r FutureSendFromResult) Receive() (*chainhash.Hash, error) { method SendFromAsync (line 618) | func (c *Client) SendFromAsync(fromAccount string, toAddress btcutil.Add... method SendFrom (line 633) | func (c *Client) SendFrom(fromAccount string, toAddress btcutil.Address,... method SendFromMinConfAsync (line 642) | func (c *Client) SendFromMinConfAsync(fromAccount string, toAddress btcu... method SendFromMinConf (line 658) | func (c *Client) SendFromMinConf(fromAccount string, toAddress btcutil.A... method SendFromCommentAsync (line 668) | func (c *Client) SendFromCommentAsync(fromAccount string, method SendFromComment (line 689) | func (c *Client) SendFromComment(fromAccount string, toAddress btcutil.A... type FutureSendManyResult (line 700) | type FutureSendManyResult method Receive (line 705) | func (r FutureSendManyResult) Receive() (*chainhash.Hash, error) { method SendManyAsync (line 726) | func (c *Client) SendManyAsync(fromAccount string, amounts map[btcutil.A... method SendMany (line 743) | func (c *Client) SendMany(fromAccount string, amounts map[btcutil.Addres... method SendManyMinConfAsync (line 752) | func (c *Client) SendManyMinConfAsync(fromAccount string, method SendManyMinConf (line 774) | func (c *Client) SendManyMinConf(fromAccount string, method SendManyCommentAsync (line 786) | func (c *Client) SendManyCommentAsync(fromAccount string, method SendManyComment (line 809) | func (c *Client) SendManyComment(fromAccount string, type FutureAddMultisigAddressResult (line 823) | type FutureAddMultisigAddressResult struct method Receive (line 831) | func (r FutureAddMultisigAddressResult) Receive() (btcutil.Address, er... method AddMultisigAddressAsync (line 852) | func (c *Client) AddMultisigAddressAsync(requiredSigs int, addresses []b... method AddMultisigAddress (line 868) | func (c *Client) AddMultisigAddress(requiredSigs int, addresses []btcuti... type FutureCreateMultisigResult (line 874) | type FutureCreateMultisigResult method Receive (line 878) | func (r FutureCreateMultisigResult) Receive() (*btcjson.CreateMultiSig... method CreateMultisigAsync (line 899) | func (c *Client) CreateMultisigAsync(requiredSigs int, addresses []btcut... method CreateMultisig (line 912) | func (c *Client) CreateMultisig(requiredSigs int, addresses []btcutil.Ad... type FutureCreateNewAccountResult (line 918) | type FutureCreateNewAccountResult method Receive (line 922) | func (r FutureCreateNewAccountResult) Receive() error { method CreateNewAccountAsync (line 932) | func (c *Client) CreateNewAccountAsync(account string) FutureCreateNewAc... method CreateNewAccount (line 938) | func (c *Client) CreateNewAccount(account string) error { type FutureCreateWalletResult (line 944) | type FutureCreateWalletResult method Receive (line 948) | func (r FutureCreateWalletResult) Receive() (*btcjson.CreateWalletResu... type CreateWalletOpt (line 964) | type CreateWalletOpt function WithCreateWalletDisablePrivateKeys (line 969) | func WithCreateWalletDisablePrivateKeys() CreateWalletOpt { function WithCreateWalletBlank (line 976) | func WithCreateWalletBlank() CreateWalletOpt { function WithCreateWalletPassphrase (line 984) | func WithCreateWalletPassphrase(value string) CreateWalletOpt { function WithCreateWalletAvoidReuse (line 992) | func WithCreateWalletAvoidReuse() CreateWalletOpt { method CreateWalletAsync (line 1003) | func (c *Client) CreateWalletAsync(name string, opts ...CreateWalletOpt)... method CreateWallet (line 1023) | func (c *Client) CreateWallet(name string, opts ...CreateWalletOpt) (*bt... type FutureGetAddressInfoResult (line 1029) | type FutureGetAddressInfoResult method Receive (line 1033) | func (r FutureGetAddressInfoResult) Receive() (*btcjson.GetAddressInfo... method GetAddressInfoAsync (line 1052) | func (c *Client) GetAddressInfoAsync(address string) FutureGetAddressInf... method GetAddressInfo (line 1058) | func (c *Client) GetAddressInfo(address string) (*btcjson.GetAddressInfo... type FutureGetNewAddressResult (line 1064) | type FutureGetNewAddressResult struct method Receive (line 1071) | func (r FutureGetNewAddressResult) Receive() (btcutil.Address, error) { method GetNewAddressAsync (line 1092) | func (c *Client) GetNewAddressAsync(account string) FutureGetNewAddressR... method GetNewAddress (line 1103) | func (c *Client) GetNewAddress(account string) (btcutil.Address, error) { method GetNewAddressTypeAsync (line 1112) | func (c *Client) GetNewAddressTypeAsync(account, addrType string) Future... method GetNewAddressType (line 1123) | func (c *Client) GetNewAddressType(account, addrType string) (btcutil.Ad... type FutureGetRawChangeAddressResult (line 1129) | type FutureGetRawChangeAddressResult struct method Receive (line 1137) | func (r FutureGetRawChangeAddressResult) Receive() (btcutil.Address, e... method GetRawChangeAddressAsync (line 1158) | func (c *Client) GetRawChangeAddressAsync(account string) FutureGetRawCh... method GetRawChangeAddress (line 1170) | func (c *Client) GetRawChangeAddress(account string) (btcutil.Address, e... method GetRawChangeAddressTypeAsync (line 1179) | func (c *Client) GetRawChangeAddressTypeAsync(account, addrType string) ... method GetRawChangeAddressType (line 1191) | func (c *Client) GetRawChangeAddressType(account, addrType string) (btcu... type FutureAddWitnessAddressResult (line 1197) | type FutureAddWitnessAddressResult struct method Receive (line 1204) | func (r FutureAddWitnessAddressResult) Receive() (btcutil.Address, err... method AddWitnessAddressAsync (line 1225) | func (c *Client) AddWitnessAddressAsync(address string) FutureAddWitness... method AddWitnessAddress (line 1236) | func (c *Client) AddWitnessAddress(address string) (btcutil.Address, err... type FutureGetAccountAddressResult (line 1242) | type FutureGetAccountAddressResult struct method Receive (line 1249) | func (r FutureGetAccountAddressResult) Receive() (btcutil.Address, err... method GetAccountAddressAsync (line 1270) | func (c *Client) GetAccountAddressAsync(account string) FutureGetAccount... method GetAccountAddress (line 1281) | func (c *Client) GetAccountAddress(account string) (btcutil.Address, err... type FutureGetAccountResult (line 1287) | type FutureGetAccountResult method Receive (line 1291) | func (r FutureGetAccountResult) Receive() (string, error) { method GetAccountAsync (line 1312) | func (c *Client) GetAccountAsync(address btcutil.Address) FutureGetAccou... method GetAccount (line 1319) | func (c *Client) GetAccount(address btcutil.Address) (string, error) { type FutureSetAccountResult (line 1325) | type FutureSetAccountResult method Receive (line 1329) | func (r FutureSetAccountResult) Receive() error { method SetAccountAsync (line 1339) | func (c *Client) SetAccountAsync(address btcutil.Address, account string... method SetAccount (line 1346) | func (c *Client) SetAccount(address btcutil.Address, account string) err... type FutureGetAddressesByAccountResult (line 1352) | type FutureGetAddressesByAccountResult struct method Receive (line 1359) | func (r FutureGetAddressesByAccountResult) Receive() ([]btcutil.Addres... method GetAddressesByAccountAsync (line 1388) | func (c *Client) GetAddressesByAccountAsync(account string) FutureGetAdd... method GetAddressesByAccount (line 1399) | func (c *Client) GetAddressesByAccount(account string) ([]btcutil.Addres... type FutureMoveResult (line 1406) | type FutureMoveResult method Receive (line 1410) | func (r FutureMoveResult) Receive() (bool, error) { method MoveAsync (line 1431) | func (c *Client) MoveAsync(fromAccount, toAccount string, amount btcutil... method Move (line 1441) | func (c *Client) Move(fromAccount, toAccount string, amount btcutil.Amou... method MoveMinConfAsync (line 1450) | func (c *Client) MoveMinConfAsync(fromAccount, toAccount string, method MoveMinConf (line 1464) | func (c *Client) MoveMinConf(fromAccount, toAccount string, amount btcut... method MoveCommentAsync (line 1473) | func (c *Client) MoveCommentAsync(fromAccount, toAccount string, method MoveComment (line 1487) | func (c *Client) MoveComment(fromAccount, toAccount string, amount btcut... type FutureRenameAccountResult (line 1496) | type FutureRenameAccountResult method Receive (line 1500) | func (r FutureRenameAccountResult) Receive() error { method RenameAccountAsync (line 1510) | func (c *Client) RenameAccountAsync(oldAccount, newAccount string) Futur... method RenameAccount (line 1516) | func (c *Client) RenameAccount(oldAccount, newAccount string) error { type FutureValidateAddressResult (line 1522) | type FutureValidateAddressResult method Receive (line 1526) | func (r FutureValidateAddressResult) Receive() (*btcjson.ValidateAddre... method ValidateAddressAsync (line 1547) | func (c *Client) ValidateAddressAsync(address btcutil.Address) FutureVal... method ValidateAddress (line 1554) | func (c *Client) ValidateAddress(address btcutil.Address) (*btcjson.Vali... type FutureKeyPoolRefillResult (line 1560) | type FutureKeyPoolRefillResult method Receive (line 1564) | func (r FutureKeyPoolRefillResult) Receive() error { method KeyPoolRefillAsync (line 1574) | func (c *Client) KeyPoolRefillAsync() FutureKeyPoolRefillResult { method KeyPoolRefill (line 1582) | func (c *Client) KeyPoolRefill() error { method KeyPoolRefillSizeAsync (line 1591) | func (c *Client) KeyPoolRefillSizeAsync(newSize uint) FutureKeyPoolRefil... method KeyPoolRefillSize (line 1598) | func (c *Client) KeyPoolRefillSize(newSize uint) error { type FutureListAccountsResult (line 1609) | type FutureListAccountsResult method Receive (line 1613) | func (r FutureListAccountsResult) Receive() (map[string]btcutil.Amount... method ListAccountsAsync (line 1644) | func (c *Client) ListAccountsAsync() FutureListAccountsResult { method ListAccounts (line 1653) | func (c *Client) ListAccounts() (map[string]btcutil.Amount, error) { method ListAccountsMinConfAsync (line 1662) | func (c *Client) ListAccountsMinConfAsync(minConfirms int) FutureListAcc... method ListAccountsMinConf (line 1671) | func (c *Client) ListAccountsMinConf(minConfirms int) (map[string]btcuti... type FutureGetBalanceResult (line 1678) | type FutureGetBalanceResult method Receive (line 1682) | func (r FutureGetBalanceResult) Receive() (btcutil.Amount, error) { type FutureGetBalanceParseResult (line 1707) | type FutureGetBalanceParseResult method Receive (line 1711) | func (r FutureGetBalanceParseResult) Receive() (btcutil.Amount, error) { method GetBalanceAsync (line 1741) | func (c *Client) GetBalanceAsync(account string) FutureGetBalanceResult { method GetBalance (line 1751) | func (c *Client) GetBalance(account string) (btcutil.Amount, error) { method GetBalanceMinConfAsync (line 1760) | func (c *Client) GetBalanceMinConfAsync(account string, minConfirms int)... method GetBalanceMinConf (line 1770) | func (c *Client) GetBalanceMinConf(account string, minConfirms int) (btc... type FutureGetBalancesResult (line 1780) | type FutureGetBalancesResult method Receive (line 1784) | func (r FutureGetBalancesResult) Receive() (*btcjson.GetBalancesResult... method GetBalancesAsync (line 1805) | func (c *Client) GetBalancesAsync() FutureGetBalancesResult { method GetBalances (line 1811) | func (c *Client) GetBalances() (*btcjson.GetBalancesResult, error) { type FutureGetReceivedByAccountResult (line 1818) | type FutureGetReceivedByAccountResult method Receive (line 1822) | func (r FutureGetReceivedByAccountResult) Receive() (btcutil.Amount, e... method GetReceivedByAccountAsync (line 1848) | func (c *Client) GetReceivedByAccountAsync(account string) FutureGetRece... method GetReceivedByAccount (line 1858) | func (c *Client) GetReceivedByAccount(account string) (btcutil.Amount, e... method GetReceivedByAccountMinConfAsync (line 1867) | func (c *Client) GetReceivedByAccountMinConfAsync(account string, minCon... method GetReceivedByAccountMinConf (line 1877) | func (c *Client) GetReceivedByAccountMinConf(account string, minConfirms... type FutureGetUnconfirmedBalanceResult (line 1883) | type FutureGetUnconfirmedBalanceResult method Receive (line 1887) | func (r FutureGetUnconfirmedBalanceResult) Receive() (btcutil.Amount, ... method GetUnconfirmedBalanceAsync (line 1913) | func (c *Client) GetUnconfirmedBalanceAsync(account string) FutureGetUnc... method GetUnconfirmedBalance (line 1920) | func (c *Client) GetUnconfirmedBalance(account string) (btcutil.Amount, ... type FutureGetReceivedByAddressResult (line 1927) | type FutureGetReceivedByAddressResult method Receive (line 1931) | func (r FutureGetReceivedByAddressResult) Receive() (btcutil.Amount, e... method GetReceivedByAddressAsync (line 1957) | func (c *Client) GetReceivedByAddressAsync(address btcutil.Address) Futu... method GetReceivedByAddress (line 1969) | func (c *Client) GetReceivedByAddress(address btcutil.Address) (btcutil.... method GetReceivedByAddressMinConfAsync (line 1978) | func (c *Client) GetReceivedByAddressMinConfAsync(address btcutil.Addres... method GetReceivedByAddressMinConf (line 1988) | func (c *Client) GetReceivedByAddressMinConf(address btcutil.Address, mi... type FutureListReceivedByAccountResult (line 1996) | type FutureListReceivedByAccountResult method Receive (line 2000) | func (r FutureListReceivedByAccountResult) Receive() ([]btcjson.ListRe... method ListReceivedByAccountAsync (line 2021) | func (c *Client) ListReceivedByAccountAsync() FutureListReceivedByAccoun... method ListReceivedByAccount (line 2033) | func (c *Client) ListReceivedByAccount() ([]btcjson.ListReceivedByAccoun... method ListReceivedByAccountMinConfAsync (line 2042) | func (c *Client) ListReceivedByAccountMinConfAsync(minConfirms int) Futu... method ListReceivedByAccountMinConf (line 2054) | func (c *Client) ListReceivedByAccountMinConf(minConfirms int) ([]btcjso... method ListReceivedByAccountIncludeEmptyAsync (line 2063) | func (c *Client) ListReceivedByAccountIncludeEmptyAsync(minConfirms int,... method ListReceivedByAccountIncludeEmpty (line 2074) | func (c *Client) ListReceivedByAccountIncludeEmpty(minConfirms int, incl... type FutureListReceivedByAddressResult (line 2083) | type FutureListReceivedByAddressResult method Receive (line 2087) | func (r FutureListReceivedByAddressResult) Receive() ([]btcjson.ListRe... method ListReceivedByAddressAsync (line 2108) | func (c *Client) ListReceivedByAddressAsync() FutureListReceivedByAddres... method ListReceivedByAddress (line 2120) | func (c *Client) ListReceivedByAddress() ([]btcjson.ListReceivedByAddres... method ListReceivedByAddressMinConfAsync (line 2129) | func (c *Client) ListReceivedByAddressMinConfAsync(minConfirms int) Futu... method ListReceivedByAddressMinConf (line 2141) | func (c *Client) ListReceivedByAddressMinConf(minConfirms int) ([]btcjso... method ListReceivedByAddressIncludeEmptyAsync (line 2150) | func (c *Client) ListReceivedByAddressIncludeEmptyAsync(minConfirms int,... method ListReceivedByAddressIncludeEmpty (line 2161) | func (c *Client) ListReceivedByAddressIncludeEmpty(minConfirms int, incl... type FutureWalletLockResult (line 2172) | type FutureWalletLockResult method Receive (line 2176) | func (r FutureWalletLockResult) Receive() error { method WalletLockAsync (line 2186) | func (c *Client) WalletLockAsync() FutureWalletLockResult { method WalletLock (line 2196) | func (c *Client) WalletLock() error { method WalletPassphrase (line 2203) | func (c *Client) WalletPassphrase(passphrase string, timeoutSecs int64) ... type FutureWalletPassphraseChangeResult (line 2211) | type FutureWalletPassphraseChangeResult method Receive (line 2215) | func (r FutureWalletPassphraseChangeResult) Receive() error { method WalletPassphraseChangeAsync (line 2225) | func (c *Client) WalletPassphraseChangeAsync(old, new string) FutureWall... method WalletPassphraseChange (line 2232) | func (c *Client) WalletPassphraseChange(old, new string) error { type FutureSignMessageResult (line 2242) | type FutureSignMessageResult method Receive (line 2246) | func (r FutureSignMessageResult) Receive() (string, error) { method SignMessageAsync (line 2267) | func (c *Client) SignMessageAsync(address btcutil.Address, message strin... method SignMessage (line 2277) | func (c *Client) SignMessage(address btcutil.Address, message string) (s... type FutureVerifyMessageResult (line 2283) | type FutureVerifyMessageResult method Receive (line 2287) | func (r FutureVerifyMessageResult) Receive() (bool, error) { method VerifyMessageAsync (line 2308) | func (c *Client) VerifyMessageAsync(address btcutil.Address, signature, ... method VerifyMessage (line 2318) | func (c *Client) VerifyMessage(address btcutil.Address, signature, messa... type FutureDumpPrivKeyResult (line 2328) | type FutureDumpPrivKeyResult method Receive (line 2333) | func (r FutureDumpPrivKeyResult) Receive() (*btcutil.WIF, error) { method DumpPrivKeyAsync (line 2354) | func (c *Client) DumpPrivKeyAsync(address btcutil.Address) FutureDumpPri... method DumpPrivKey (line 2365) | func (c *Client) DumpPrivKey(address btcutil.Address) (*btcutil.WIF, err... type FutureImportAddressResult (line 2371) | type FutureImportAddressResult method Receive (line 2375) | func (r FutureImportAddressResult) Receive() error { method ImportAddressAsync (line 2385) | func (c *Client) ImportAddressAsync(address string) FutureImportAddressR... method ImportAddress (line 2391) | func (c *Client) ImportAddress(address string) error { method ImportAddressRescanAsync (line 2400) | func (c *Client) ImportAddressRescanAsync(address string, account string... method ImportAddressRescan (line 2407) | func (c *Client) ImportAddressRescan(address string, account string, res... type FutureImportMultiResult (line 2413) | type FutureImportMultiResult method Receive (line 2417) | func (r FutureImportMultiResult) Receive() (btcjson.ImportMultiResults... method ImportMultiAsync (line 2436) | func (c *Client) ImportMultiAsync(requests []btcjson.ImportMultiRequest,... method ImportMulti (line 2445) | func (c *Client) ImportMulti(requests []btcjson.ImportMultiRequest, opti... type FutureImportPrivKeyResult (line 2451) | type FutureImportPrivKeyResult method Receive (line 2456) | func (r FutureImportPrivKeyResult) Receive() error { method ImportPrivKeyAsync (line 2466) | func (c *Client) ImportPrivKeyAsync(privKeyWIF *btcutil.WIF) FutureImpor... method ImportPrivKey (line 2478) | func (c *Client) ImportPrivKey(privKeyWIF *btcutil.WIF) error { method ImportPrivKeyLabelAsync (line 2487) | func (c *Client) ImportPrivKeyLabelAsync(privKeyWIF *btcutil.WIF, label ... method ImportPrivKeyLabel (line 2499) | func (c *Client) ImportPrivKeyLabel(privKeyWIF *btcutil.WIF, label strin... method ImportPrivKeyRescanAsync (line 2508) | func (c *Client) ImportPrivKeyRescanAsync(privKeyWIF *btcutil.WIF, label... method ImportPrivKeyRescan (line 2521) | func (c *Client) ImportPrivKeyRescan(privKeyWIF *btcutil.WIF, label stri... type FutureImportPubKeyResult (line 2527) | type FutureImportPubKeyResult method Receive (line 2531) | func (r FutureImportPubKeyResult) Receive() error { method ImportPubKeyAsync (line 2541) | func (c *Client) ImportPubKeyAsync(pubKey string) FutureImportPubKeyResu... method ImportPubKey (line 2547) | func (c *Client) ImportPubKey(pubKey string) error { method ImportPubKeyRescanAsync (line 2556) | func (c *Client) ImportPubKeyRescanAsync(pubKey string, rescan bool) Fut... method ImportPubKeyRescan (line 2563) | func (c *Client) ImportPubKeyRescan(pubKey string, rescan bool) error { type FutureGetInfoResult (line 2576) | type FutureGetInfoResult method Receive (line 2580) | func (r FutureGetInfoResult) Receive() (*btcjson.InfoWalletResult, err... method GetInfoAsync (line 2601) | func (c *Client) GetInfoAsync() FutureGetInfoResult { method GetInfo (line 2609) | func (c *Client) GetInfo() (*btcjson.InfoWalletResult, error) { type FutureWalletCreateFundedPsbtResult (line 2615) | type FutureWalletCreateFundedPsbtResult method Receive (line 2620) | func (r FutureWalletCreateFundedPsbtResult) Receive() (*btcjson.Wallet... method WalletCreateFundedPsbtAsync (line 2641) | func (c *Client) WalletCreateFundedPsbtAsync( method WalletCreateFundedPsbt (line 2652) | func (c *Client) WalletCreateFundedPsbt( type FutureWalletProcessPsbtResult (line 2661) | type FutureWalletProcessPsbtResult method Receive (line 2666) | func (r FutureWalletProcessPsbtResult) Receive() (*btcjson.WalletProce... method WalletProcessPsbtAsync (line 2687) | func (c *Client) WalletProcessPsbtAsync( method WalletProcessPsbt (line 2696) | func (c *Client) WalletProcessPsbt( type FutureGetWalletInfoResult (line 2704) | type FutureGetWalletInfoResult method Receive (line 2708) | func (r FutureGetWalletInfoResult) Receive() (*btcjson.GetWalletInfoRe... method GetWalletInfoAsync (line 2727) | func (c *Client) GetWalletInfoAsync() FutureGetWalletInfoResult { method GetWalletInfo (line 2733) | func (c *Client) GetWalletInfo() (*btcjson.GetWalletInfoResult, error) { type FutureBackupWalletResult (line 2739) | type FutureBackupWalletResult method Receive (line 2742) | func (r FutureBackupWalletResult) Receive() error { method BackupWalletAsync (line 2752) | func (c *Client) BackupWalletAsync(destination string) FutureBackupWalle... method BackupWallet (line 2758) | func (c *Client) BackupWallet(destination string) error { type FutureDumpWalletResult (line 2764) | type FutureDumpWalletResult method Receive (line 2767) | func (r FutureDumpWalletResult) Receive() (*btcjson.DumpWalletResult, ... method DumpWalletAsync (line 2783) | func (c *Client) DumpWalletAsync(destination string) FutureDumpWalletRes... method DumpWallet (line 2788) | func (c *Client) DumpWallet(destination string) (*btcjson.DumpWalletResu... type FutureImportWalletResult (line 2794) | type FutureImportWalletResult method Receive (line 2797) | func (r FutureImportWalletResult) Receive() error { method ImportWalletAsync (line 2807) | func (c *Client) ImportWalletAsync(filename string) FutureImportWalletRe... method ImportWallet (line 2812) | func (c *Client) ImportWallet(filename string) error { type FutureUnloadWalletResult (line 2818) | type FutureUnloadWalletResult method Receive (line 2821) | func (r FutureUnloadWalletResult) Receive() error { method UnloadWalletAsync (line 2831) | func (c *Client) UnloadWalletAsync(walletName *string) FutureUnloadWalle... method UnloadWallet (line 2838) | func (c *Client) UnloadWallet(walletName *string) error { type FutureLoadWalletResult (line 2844) | type FutureLoadWalletResult method Receive (line 2847) | func (r FutureLoadWalletResult) Receive() (*btcjson.LoadWalletResult, ... method LoadWalletAsync (line 2862) | func (c *Client) LoadWalletAsync(walletName string) FutureLoadWalletResu... method LoadWallet (line 2867) | func (c *Client) LoadWallet(walletName string) (*btcjson.LoadWalletResul... FILE: rpcclient/zmq.go type FutureGetZmqNotificationsResult (line 11) | type FutureGetZmqNotificationsResult method Receive (line 15) | func (r FutureGetZmqNotificationsResult) Receive() (btcjson.GetZmqNoti... method GetZmqNotificationsAsync (line 32) | func (c *Client) GetZmqNotificationsAsync() FutureGetZmqNotificationsRes... method GetZmqNotifications (line 37) | func (c *Client) GetZmqNotifications() (btcjson.GetZmqNotificationResult... FILE: rpcserver.go constant jsonrpcSemverString (line 48) | jsonrpcSemverString = "1.3.0" constant jsonrpcSemverMajor (line 49) | jsonrpcSemverMajor = 1 constant jsonrpcSemverMinor (line 50) | jsonrpcSemverMinor = 3 constant jsonrpcSemverPatch (line 51) | jsonrpcSemverPatch = 0 constant rpcAuthTimeoutSeconds (line 58) | rpcAuthTimeoutSeconds = 10 constant uint256Size (line 62) | uint256Size = 32 constant gbtNonceRange (line 67) | gbtNonceRange = "00000000ffffffff" constant gbtRegenerateSeconds (line 73) | gbtRegenerateSeconds = 60 constant maxProtocolVersion (line 76) | maxProtocolVersion = 70002 constant defaultMaxFeeRate (line 80) | defaultMaxFeeRate = 0.1 type commandHandler (line 129) | type commandHandler function builderScript (line 301) | func builderScript(builder *txscript.ScriptBuilder) []byte { function internalRPCError (line 314) | func internalRPCError(errStr, context string) *btcjson.RPCError { function rpcDecodeHexError (line 325) | func rpcDecodeHexError(gotHex string) *btcjson.RPCError { function rpcNoTxInfoError (line 334) | func rpcNoTxInfoError(txHash *chainhash.Hash) *btcjson.RPCError { type gbtWorkState (line 342) | type gbtWorkState struct method notifyLongPollers (line 1443) | func (state *gbtWorkState) notifyLongPollers(latestHash *chainhash.Has... method NotifyBlockConnected (line 1490) | func (state *gbtWorkState) NotifyBlockConnected(blockHash *chainhash.H... method NotifyMempoolTx (line 1503) | func (state *gbtWorkState) NotifyMempoolTx(lastUpdated time.Time) { method templateUpdateChan (line 1529) | func (state *gbtWorkState) templateUpdateChan(prevHash *chainhash.Hash... method updateBlockTemplate (line 1562) | func (state *gbtWorkState) updateBlockTemplate(s *rpcServer, useCoinba... method blockTemplateResult (line 1690) | func (state *gbtWorkState) blockTemplateResult(useCoinbaseValue bool, ... function newGbtWorkState (line 355) | func newGbtWorkState(timeSource blockchain.MedianTimeSource) *gbtWorkSta... function handleUnimplemented (line 364) | func handleUnimplemented(s *rpcServer, cmd interface{}, closeChan <-chan... function handleAskWallet (line 371) | func handleAskWallet(s *rpcServer, cmd interface{}, closeChan <-chan str... function handleAddNode (line 376) | func handleAddNode(s *rpcServer, cmd interface{}, closeChan <-chan struc... function handleNode (line 407) | func handleNode(s *rpcServer, cmd interface{}, closeChan <-chan struct{}... function peerExists (line 503) | func peerExists(connMgr rpcserverConnManager, addr string, nodeID int32)... function messageToHex (line 514) | func messageToHex(msg wire.Message) (string, error) { function handleCreateRawTransaction (line 525) | func handleCreateRawTransaction(s *rpcServer, cmd interface{}, closeChan... function handleDebugLevel (line 630) | func handleDebugLevel(s *rpcServer, cmd interface{}, closeChan <-chan st... function createVinList (line 652) | func createVinList(mtx *wire.MsgTx) []btcjson.Vin { function createVoutList (line 688) | func createVoutList(mtx *wire.MsgTx, chainParams *chaincfg.Params, filte... function createTxRawResult (line 747) | func createTxRawResult(chainParams *chaincfg.Params, mtx *wire.MsgTx, function handleDecodeRawTransaction (line 781) | func handleDecodeRawTransaction(s *rpcServer, cmd interface{}, closeChan... function handleDecodeScript (line 814) | func handleDecodeScript(s *rpcServer, cmd interface{}, closeChan <-chan ... function handleEstimateFee (line 869) | func handleEstimateFee(s *rpcServer, cmd interface{}, closeChan <-chan s... function handleGenerate (line 891) | func handleGenerate(s *rpcServer, cmd interface{}, closeChan <-chan stru... function handleGetAddedNodeInfo (line 945) | func handleGetAddedNodeInfo(s *rpcServer, cmd interface{}, closeChan <-c... function handleGetBestBlock (line 1035) | func handleGetBestBlock(s *rpcServer, cmd interface{}, closeChan <-chan ... function handleGetBestBlockHash (line 1048) | func handleGetBestBlockHash(s *rpcServer, cmd interface{}, closeChan <-c... function getDifficultyRatio (line 1055) | func getDifficultyRatio(bits uint32, params *chaincfg.Params) float64 { function handleGetBlock (line 1074) | func handleGetBlock(s *rpcServer, cmd interface{}, closeChan <-chan stru... function softForkStatus (line 1176) | func softForkStatus(state blockchain.ThresholdState) (string, error) { function handleGetBlockChainInfo (line 1194) | func handleGetBlockChainInfo(s *rpcServer, cmd interface{}, closeChan <-... function handleGetBlockCount (line 1323) | func handleGetBlockCount(s *rpcServer, cmd interface{}, closeChan <-chan... function handleGetBlockHash (line 1329) | func handleGetBlockHash(s *rpcServer, cmd interface{}, closeChan <-chan ... function handleGetBlockHeader (line 1343) | func handleGetBlockHeader(s *rpcServer, cmd interface{}, closeChan <-cha... function encodeTemplateID (line 1412) | func encodeTemplateID(prevHash *chainhash.Hash, lastGenerated time.Time)... function decodeTemplateID (line 1421) | func decodeTemplateID(templateID string) (*chainhash.Hash, int64, error) { function handleGetBlockTemplateLongPoll (line 1841) | func handleGetBlockTemplateLongPoll(s *rpcServer, longPollID string, use... function handleGetBlockTemplateRequest (line 1934) | func handleGetBlockTemplateRequest(s *rpcServer, request *btcjson.Templa... function chainErrToGBTErrString (line 2016) | func chainErrToGBTErrString(err error) string { function handleGetBlockTemplateProposal (line 2120) | func handleGetBlockTemplateProposal(s *rpcServer, request *btcjson.Templ... function handleGetBlockTemplate (line 2180) | func handleGetBlockTemplate(s *rpcServer, cmd interface{}, closeChan <-c... function handleGetChainTips (line 2204) | func handleGetChainTips(s *rpcServer, cmd interface{}, closeChan <-chan ... function handleGetCFilter (line 2226) | func handleGetCFilter(s *rpcServer, cmd interface{}, closeChan <-chan st... function handleGetCFilterHeader (line 2255) | func handleGetCFilterHeader(s *rpcServer, cmd interface{}, closeChan <-c... function handleGetConnectionCount (line 2286) | func handleGetConnectionCount(s *rpcServer, cmd interface{}, closeChan <... function handleGetCurrentNet (line 2291) | func handleGetCurrentNet(s *rpcServer, cmd interface{}, closeChan <-chan... function handleGetDifficulty (line 2296) | func handleGetDifficulty(s *rpcServer, cmd interface{}, closeChan <-chan... function handleGetGenerate (line 2302) | func handleGetGenerate(s *rpcServer, cmd interface{}, closeChan <-chan s... function handleGetHashesPerSec (line 2307) | func handleGetHashesPerSec(s *rpcServer, cmd interface{}, closeChan <-ch... function handleGetHeaders (line 2315) | func handleGetHeaders(s *rpcServer, cmd interface{}, closeChan <-chan st... function handleGetInfo (line 2354) | func handleGetInfo(s *rpcServer, cmd interface{}, closeChan <-chan struc... function handleGetMempoolInfo (line 2372) | func handleGetMempoolInfo(s *rpcServer, cmd interface{}, closeChan <-cha... function handleGetMiningInfo (line 2390) | func handleGetMiningInfo(s *rpcServer, cmd interface{}, closeChan <-chan... function handleGetNetTotals (line 2425) | func handleGetNetTotals(s *rpcServer, cmd interface{}, closeChan <-chan ... function handleGetNetworkHashPS (line 2436) | func handleGetNetworkHashPS(s *rpcServer, cmd interface{}, closeChan <-c... function handleGetNodeAddresses (line 2530) | func handleGetNodeAddresses(s *rpcServer, cmd interface{}, closeChan <-c... function handleGetPeerInfo (line 2564) | func handleGetPeerInfo(s *rpcServer, cmd interface{}, closeChan <-chan s... function handleGetRawMempool (line 2604) | func handleGetRawMempool(s *rpcServer, cmd interface{}, closeChan <-chan... function handleGetRawTransaction (line 2624) | func handleGetRawTransaction(s *rpcServer, cmd interface{}, closeChan <-... function handleGetTxOut (line 2743) | func handleGetTxOut(s *rpcServer, cmd interface{}, closeChan <-chan stru... function handleInvalidateBlock (line 2859) | func handleInvalidateBlock(s *rpcServer, cmd interface{}, closeChan <-ch... function handleHelp (line 2876) | func handleHelp(s *rpcServer, cmd interface{}, closeChan <-chan struct{}... function handlePing (line 2915) | func handlePing(s *rpcServer, cmd interface{}, closeChan <-chan struct{}... type retrievedTx (line 2934) | type retrievedTx struct function fetchInputTxos (line 2943) | func fetchInputTxos(s *rpcServer, tx *wire.MsgTx) (map[wire.OutPoint]wir... function createVinListPrevOut (line 3008) | func createVinListPrevOut(s *rpcServer, mtx *wire.MsgTx, chainParams *ch... function fetchMempoolTxnsForAddress (line 3130) | func fetchMempoolTxnsForAddress(s *rpcServer, addr btcutil.Address, numT... function handleReconsiderBlock (line 3149) | func handleReconsiderBlock(s *rpcServer, cmd interface{}, closeChan <-ch... function handleSearchRawTransactions (line 3166) | func handleSearchRawTransactions(s *rpcServer, cmd interface{}, closeCha... function handleSendRawTransaction (line 3430) | func handleSendRawTransaction(s *rpcServer, cmd interface{}, closeChan <... function handleSetGenerate (line 3532) | func handleSetGenerate(s *rpcServer, cmd interface{}, closeChan <-chan s... constant messageSignatureHeader (line 3569) | messageSignatureHeader = "Bitcoin Signed Message:\n" function handleSignMessageWithPrivKey (line 3572) | func handleSignMessageWithPrivKey(s *rpcServer, cmd interface{}, closeCh... function handleStop (line 3607) | func handleStop(s *rpcServer, cmd interface{}, closeChan <-chan struct{}... function handleSubmitBlock (line 3616) | func handleSubmitBlock(s *rpcServer, cmd interface{}, closeChan <-chan s... function handleUptime (line 3649) | func handleUptime(s *rpcServer, cmd interface{}, closeChan <-chan struct... function handleValidateAddress (line 3654) | func handleValidateAddress(s *rpcServer, cmd interface{}, closeChan <-ch... function verifyChain (line 3701) | func verifyChain(s *rpcServer, level, depth int32) error { function handleVerifyChain (line 3737) | func handleVerifyChain(s *rpcServer, cmd interface{}, closeChan <-chan s... function handleVerifyMessage (line 3753) | func handleVerifyMessage(s *rpcServer, cmd interface{}, closeChan <-chan... function handleVersion (line 3818) | func handleVersion(s *rpcServer, cmd interface{}, closeChan <-chan struc... function handleTestMempoolAccept (line 3831) | func handleTestMempoolAccept(s *rpcServer, cmd interface{}, function handleGetTxSpendingPrevOut (line 3923) | func handleGetTxSpendingPrevOut(s *rpcServer, cmd interface{}, function validateFeeRate (line 3967) | func validateFeeRate(feeSats btcutil.Amount, txSize int64, type rpcServer (line 3993) | type rpcServer struct method httpStatusLine (line 4013) | func (s *rpcServer) httpStatusLine(req *http.Request, code int) string { method writeHTTPResponseHeaders (line 4050) | func (s *rpcServer) writeHTTPResponseHeaders(req *http.Request, header... method Stop (line 4066) | func (s *rpcServer) Stop() error { method RequestedProcessShutdown (line 4090) | func (s *rpcServer) RequestedProcessShutdown() <-chan struct{} { method NotifyNewTransactions (line 4097) | func (s *rpcServer) NotifyNewTransactions(txns []*mempool.TxDesc) { method limitConnections (line 4112) | func (s *rpcServer) limitConnections(w http.ResponseWriter, remoteAddr... method incrementClients (line 4129) | func (s *rpcServer) incrementClients() { method decrementClients (line 4138) | func (s *rpcServer) decrementClients() { method checkAuth (line 4153) | func (s *rpcServer) checkAuth(r *http.Request, require bool) (bool, bo... method standardCmdResult (line 4200) | func (s *rpcServer) standardCmdResult(cmd *parsedRPCCmd, closeChan <-c... method processRequest (line 4272) | func (s *rpcServer) processRequest(request *btcjson.Request, isAdmin b... method jsonRPCRead (line 4335) | func (s *rpcServer) jsonRPCRead(w http.ResponseWriter, r *http.Request... method Start (line 4581) | func (s *rpcServer) Start() { method handleBlockchainNotification (line 4868) | func (s *rpcServer) handleBlockchainNotification(notification *blockch... type parsedRPCCmd (line 4188) | type parsedRPCCmd struct function parseCmd (line 4225) | func parseCmd(request *btcjson.Request) *parsedRPCCmd { function createMarshalledReply (line 4257) | func createMarshalledReply(rpcVersion btcjson.RPCVersion, id interface{}... function jsonAuthFail (line 4575) | func jsonAuthFail(w http.ResponseWriter) { function genCertPair (line 4654) | func genCertPair(certFile, keyFile string) error { type rpcserverPeer (line 4681) | type rpcserverPeer interface type rpcserverConnManager (line 4703) | type rpcserverConnManager interface type rpcserverSyncManager (line 4767) | type rpcserverSyncManager interface type rpcserverConfig (line 4791) | type rpcserverConfig struct function newRPCServer (line 4841) | func newRPCServer(config *rpcserverConfig) (*rpcServer, error) { function init (line 4904) | func init() { FILE: rpcserver_test.go function TestHandleTestMempoolAcceptFailDecode (line 18) | func TestHandleTestMempoolAcceptFailDecode(t *testing.T) { function decodeTxHex (line 100) | func decodeTxHex(t *testing.T, txHex string) *btcutil.Tx { function TestHandleTestMempoolAcceptMixedResults (line 112) | func TestHandleTestMempoolAcceptMixedResults(t *testing.T) { function TestValidateFeeRate (line 203) | func TestValidateFeeRate(t *testing.T) { function TestHandleTestMempoolAcceptFees (line 293) | func TestHandleTestMempoolAcceptFees(t *testing.T) { function TestGetTxSpendingPrevOut (line 418) | func TestGetTxSpendingPrevOut(t *testing.T) { FILE: rpcserverhelp.go type helpCacher (line 834) | type helpCacher struct method rpcMethodHelp (line 843) | func (c *helpCacher) rpcMethodHelp(method string) (string, error) { method rpcUsage (line 871) | func (c *helpCacher) rpcUsage(includeWebsockets bool) (string, error) { function newHelpCacher (line 908) | func newHelpCacher() *helpCacher { FILE: rpcserverhelp_test.go function TestHelp (line 12) | func TestHelp(t *testing.T) { FILE: rpcwebsocket.go constant websocketSendBufferSize (line 41) | websocketSendBufferSize = 50 type semaphore (line 44) | type semaphore method acquire (line 50) | func (s semaphore) acquire() { s <- struct{}{} } method release (line 51) | func (s semaphore) release() { <-s } function makeSemaphore (line 46) | func makeSemaphore(n int) semaphore { type wsCommandHandler (line 59) | type wsCommandHandler method WebsocketHandler (line 86) | func (s *rpcServer) WebsocketHandler(conn *websocket.Conn, remoteAddr st... type wsNotificationManager (line 127) | type wsNotificationManager struct method queueHandler (line 197) | func (m *wsNotificationManager) queueHandler() { method NotifyBlockConnected (line 205) | func (m *wsNotificationManager) NotifyBlockConnected(block *btcutil.Bl... method NotifyBlockDisconnected (line 218) | func (m *wsNotificationManager) NotifyBlockDisconnected(block *btcutil... method NotifyMempoolTx (line 233) | func (m *wsNotificationManager) NotifyMempoolTx(tx *btcutil.Tx, isNew ... method notificationHandler (line 481) | func (m *wsNotificationManager) notificationHandler() { method NumClients (line 608) | func (m *wsNotificationManager) NumClients() (n int) { method RegisterBlockUpdates (line 618) | func (m *wsNotificationManager) RegisterBlockUpdates(wsc *wsClient) { method UnregisterBlockUpdates (line 624) | func (m *wsNotificationManager) UnregisterBlockUpdates(wsc *wsClient) { method subscribedClients (line 633) | func (m *wsNotificationManager) subscribedClients(tx *btcutil.Tx, method notifyBlockConnected (line 692) | func (*wsNotificationManager) notifyBlockConnected(clients map[chan st... method notifyBlockDisconnected (line 712) | func (*wsNotificationManager) notifyBlockDisconnected(clients map[chan... method notifyFilteredBlockConnected (line 735) | func (m *wsNotificationManager) notifyFilteredBlockConnected(clients m... method notifyFilteredBlockDisconnected (line 781) | func (*wsNotificationManager) notifyFilteredBlockDisconnected(clients ... method RegisterNewMempoolTxsUpdates (line 812) | func (m *wsNotificationManager) RegisterNewMempoolTxsUpdates(wsc *wsCl... method UnregisterNewMempoolTxsUpdates (line 818) | func (m *wsNotificationManager) UnregisterNewMempoolTxsUpdates(wsc *ws... method notifyForNewTx (line 824) | func (m *wsNotificationManager) notifyForNewTx(clients map[chan struct... method RegisterSpentRequests (line 875) | func (m *wsNotificationManager) RegisterSpentRequests(wsc *wsClient, o... method addSpentRequests (line 885) | func (m *wsNotificationManager) addSpentRequests(opMap map[wire.OutPoi... method UnregisterSpentRequest (line 923) | func (m *wsNotificationManager) UnregisterSpentRequest(wsc *wsClient, ... method removeSpentRequest (line 934) | func (*wsNotificationManager) removeSpentRequest(ops map[wire.OutPoint... method notifyForTxOuts (line 990) | func (m *wsNotificationManager) notifyForTxOuts(ops map[wire.OutPoint]... method notifyRelevantTxAccepted (line 1043) | func (m *wsNotificationManager) notifyRelevantTxAccepted(tx *btcutil.Tx, method notifyForTx (line 1064) | func (m *wsNotificationManager) notifyForTx(ops map[wire.OutPoint]map[... method notifyForTxIns (line 1079) | func (m *wsNotificationManager) notifyForTxIns(ops map[wire.OutPoint]m... method RegisterTxOutAddressRequests (line 1116) | func (m *wsNotificationManager) RegisterTxOutAddressRequests(wsc *wsCl... method addAddrRequests (line 1126) | func (*wsNotificationManager) addAddrRequests(addrMap map[string]map[c... method UnregisterTxOutAddressRequest (line 1147) | func (m *wsNotificationManager) UnregisterTxOutAddressRequest(wsc *wsC... method removeAddrRequest (line 1157) | func (*wsNotificationManager) removeAddrRequest(addrs map[string]map[c... method AddClient (line 1180) | func (m *wsNotificationManager) AddClient(wsc *wsClient) { method RemoveClient (line 1186) | func (m *wsNotificationManager) RemoveClient(wsc *wsClient) { method Start (line 1195) | func (m *wsNotificationManager) Start() { method WaitForShutdown (line 1203) | func (m *wsNotificationManager) WaitForShutdown() { method Shutdown (line 1209) | func (m *wsNotificationManager) Shutdown() { function queueHandler (line 151) | func queueHandler(in <-chan interface{}, out chan<- interface{}, quit <-... type wsClientFilter (line 253) | type wsClientFilter struct method addAddress (line 299) | func (f *wsClientFilter) addAddress(a btcutil.Address) { method addAddressStr (line 330) | func (f *wsClientFilter) addAddressStr(s string, params *chaincfg.Para... method existsAddress (line 345) | func (f *wsClientFilter) existsAddress(a btcutil.Address) bool { method removeAddress (line 383) | func (f *wsClientFilter) removeAddress(a btcutil.Address) { method removeAddressStr (line 414) | func (f *wsClientFilter) removeAddressStr(s string, params *chaincfg.P... method addUnspentOutPoint (line 426) | func (f *wsClientFilter) addUnspentOutPoint(op *wire.OutPoint) { method existsUnspentOutPoint (line 434) | func (f *wsClientFilter) existsUnspentOutPoint(op *wire.OutPoint) bool { method removeUnspentOutPoint (line 443) | func (f *wsClientFilter) removeUnspentOutPoint(op *wire.OutPoint) { function newWSClientFilter (line 275) | func newWSClientFilter(addresses []string, unspentOutPoints []wire.OutPo... type notificationBlockConnected (line 448) | type notificationBlockConnected type notificationBlockDisconnected (line 449) | type notificationBlockDisconnected type notificationTxAcceptedByMempool (line 450) | type notificationTxAcceptedByMempool struct type notificationRegisterClient (line 456) | type notificationRegisterClient type notificationUnregisterClient (line 457) | type notificationUnregisterClient type notificationRegisterBlocks (line 458) | type notificationRegisterBlocks type notificationUnregisterBlocks (line 459) | type notificationUnregisterBlocks type notificationRegisterNewMempoolTxs (line 460) | type notificationRegisterNewMempoolTxs type notificationUnregisterNewMempoolTxs (line 461) | type notificationUnregisterNewMempoolTxs type notificationRegisterSpent (line 462) | type notificationRegisterSpent struct type notificationUnregisterSpent (line 466) | type notificationUnregisterSpent struct type notificationRegisterAddr (line 470) | type notificationRegisterAddr struct type notificationUnregisterAddr (line 474) | type notificationUnregisterAddr struct function txHexString (line 957) | func txHexString(tx *wire.MsgTx) string { function blockDetails (line 966) | func blockDetails(block *btcutil.Block, txIndex int) *btcjson.BlockDetai... function newRedeemingTxNotification (line 980) | func newRedeemingTxNotification(txHex string, index int, block *btcutil.... function newWsNotificationManager (line 1215) | func newWsNotificationManager(server *rpcServer) *wsNotificationManager { type wsResponse (line 1227) | type wsResponse struct type wsClient (line 1247) | type wsClient struct method inHandler (line 1305) | func (c *wsClient) inHandler() { method serviceRequest (line 1766) | func (c *wsClient) serviceRequest(r *parsedRPCCmd) { method notificationQueueHandler (line 1795) | func (c *wsClient) notificationQueueHandler() { method outHandler (line 1866) | func (c *wsClient) outHandler() { method SendMessage (line 1910) | func (c *wsClient) SendMessage(marshalledJSON []byte, doneChan chan bo... method QueueNotification (line 1935) | func (c *wsClient) QueueNotification(marshalledJSON []byte) error { method Disconnected (line 1946) | func (c *wsClient) Disconnected() bool { method Disconnect (line 1955) | func (c *wsClient) Disconnect() { method Start (line 1971) | func (c *wsClient) Start() { method WaitForShutdown (line 1983) | func (c *wsClient) WaitForShutdown() { function newWebsocketClient (line 1993) | func newWebsocketClient(server *rpcServer, conn *websocket.Conn, function handleWebsocketHelp (line 2019) | func handleWebsocketHelp(wsc *wsClient, icmd interface{}) (interface{}, ... function handleLoadTxFilter (line 2069) | func handleLoadTxFilter(wsc *wsClient, icmd interface{}) (interface{}, e... function handleNotifyBlocks (line 2112) | func handleNotifyBlocks(wsc *wsClient, icmd interface{}) (interface{}, e... function handleSession (line 2119) | func handleSession(wsc *wsClient, icmd interface{}) (interface{}, error) { function handleStopNotifyBlocks (line 2125) | func handleStopNotifyBlocks(wsc *wsClient, icmd interface{}) (interface{... function handleNotifySpent (line 2132) | func handleNotifySpent(wsc *wsClient, icmd interface{}) (interface{}, er... function handleNotifyNewTransactions (line 2149) | func handleNotifyNewTransactions(wsc *wsClient, icmd interface{}) (inter... function handleStopNotifyNewTransactions (line 2162) | func handleStopNotifyNewTransactions(wsc *wsClient, icmd interface{}) (i... function handleNotifyReceived (line 2169) | func handleNotifyReceived(wsc *wsClient, icmd interface{}) (interface{},... function handleStopNotifySpent (line 2188) | func handleStopNotifySpent(wsc *wsClient, icmd interface{}) (interface{}... function handleStopNotifyReceived (line 2208) | func handleStopNotifyReceived(wsc *wsClient, icmd interface{}) (interfac... function checkAddressValidity (line 2232) | func checkAddressValidity(addrs []string, params *chaincfg.Params) error { function deserializeOutpoints (line 2247) | func deserializeOutpoints(serializedOuts []btcjson.OutPoint) ([]*wire.Ou... type rescanKeys (line 2261) | type rescanKeys struct method unspentSlice (line 2269) | func (r *rescanKeys) unspentSlice() []*wire.OutPoint { function rescanBlock (line 2287) | func rescanBlock(wsc *wsClient, lookups *rescanKeys, blk *btcutil.Block) { function rescanBlockFilter (line 2433) | func rescanBlockFilter(filter *wsClientFilter, block *btcutil.Block, par... function handleRescanBlocks (line 2495) | func handleRescanBlocks(wsc *wsClient, icmd interface{}) (interface{}, e... function recoverFromReorg (line 2563) | func recoverFromReorg(chain *blockchain.BlockChain, minBlock, maxBlock i... function descendantBlock (line 2596) | func descendantBlock(prevHash *chainhash.Hash, curBlock *btcutil.Block) ... function scanBlockChunks (line 2610) | func scanBlockChunks(wsc *wsClient, cmd *btcjson.RescanCmd, lookups *res... function handleRescan (line 2808) | func handleRescan(wsc *wsClient, icmd interface{}) (interface{}, error) { function init (line 2935) | func init() { FILE: server.go constant defaultServices (line 47) | defaultServices = wire.SFNodeNetwork | wire.SFNodeNetworkLimited | constant defaultRequiredServices (line 52) | defaultRequiredServices = wire.SFNodeNetwork constant defaultTargetOutbound (line 55) | defaultTargetOutbound = 8 constant connectionRetryInterval (line 60) | connectionRetryInterval = time.Second * 5 type onionAddr (line 77) | type onionAddr struct method String (line 84) | func (oa *onionAddr) String() string { method Network (line 91) | func (oa *onionAddr) Network() string { type simpleAddr (line 99) | type simpleAddr struct method String (line 106) | func (a simpleAddr) String() string { method Network (line 113) | func (a simpleAddr) Network() string { type broadcastMsg (line 122) | type broadcastMsg struct type broadcastInventoryAdd (line 129) | type broadcastInventoryAdd type broadcastInventoryDel (line 133) | type broadcastInventoryDel type relayMsg (line 137) | type relayMsg struct type updatePeerHeightsMsg (line 148) | type updatePeerHeightsMsg struct type peerState (line 156) | type peerState struct method Count (line 165) | func (ps *peerState) Count() int { method forAllOutboundPeers (line 172) | func (ps *peerState) forAllOutboundPeers(closure func(sp *serverPeer)) { method forAllPeers (line 183) | func (ps *peerState) forAllPeers(closure func(sp *serverPeer)) { type cfHeaderKV (line 192) | type cfHeaderKV struct type server (line 199) | type server struct method pushInventory (line 790) | func (s *server) pushInventory(sp *serverPeer, iv *wire.InvVect, method AddRebroadcastInventory (line 1537) | func (s *server) AddRebroadcastInventory(iv *wire.InvVect, data interf... method RemoveRebroadcastInventory (line 1548) | func (s *server) RemoveRebroadcastInventory(iv *wire.InvVect) { method relayTransactions (line 1559) | func (s *server) relayTransactions(txns []*mempool.TxDesc) { method AnnounceNewTransactions (line 1570) | func (s *server) AnnounceNewTransactions(txns []*mempool.TxDesc) { method TransactionConfirmed (line 1584) | func (s *server) TransactionConfirmed(tx *btcutil.Tx) { method pushTxMsg (line 1596) | func (s *server) pushTxMsg(sp *serverPeer, hash *chainhash.Hash, method pushBlockMsg (line 1620) | func (s *server) pushBlockMsg(sp *serverPeer, hash *chainhash.Hash, method pushMerkleBlockMsg (line 1683) | func (s *server) pushMerkleBlockMsg(sp *serverPeer, hash *chainhash.Hash, method handleUpdatePeerHeights (line 1737) | func (s *server) handleUpdatePeerHeights(state *peerState, umsg update... method handleAddPeerMsg (line 1765) | func (s *server) handleAddPeerMsg(state *peerState, sp *serverPeer) bo... method handleDonePeerMsg (line 1872) | func (s *server) handleDonePeerMsg(state *peerState, sp *serverPeer) { method handleBanPeerMsg (line 1916) | func (s *server) handleBanPeerMsg(state *peerState, sp *serverPeer) { method handleRelayInvMsg (line 1930) | func (s *server) handleRelayInvMsg(state *peerState, msg relayMsg) { method handleBroadcastMsg (line 1996) | func (s *server) handleBroadcastMsg(state *peerState, bmsg *broadcastM... method handleQuery (line 2047) | func (s *server) handleQuery(state *peerState, querymsg interface{}) { method inboundPeerConnected (line 2229) | func (s *server) inboundPeerConnected(conn net.Conn) { method outboundPeerConnected (line 2242) | func (s *server) outboundPeerConnected(c *connmgr.ConnReq, conn net.Co... method peerDoneHandler (line 2281) | func (s *server) peerDoneHandler(sp *serverPeer) { method peerHandler (line 2315) | func (s *server) peerHandler() { method AddPeer (line 2413) | func (s *server) AddPeer(sp *serverPeer) { method BanPeer (line 2418) | func (s *server) BanPeer(sp *serverPeer) { method RelayInventory (line 2424) | func (s *server) RelayInventory(invVect *wire.InvVect, data interface{... method BroadcastMessage (line 2430) | func (s *server) BroadcastMessage(msg wire.Message, exclPeers ...*serv... method ConnectedCount (line 2438) | func (s *server) ConnectedCount() int32 { method OutboundGroupCount (line 2448) | func (s *server) OutboundGroupCount(key string) int { method AddBytesSent (line 2456) | func (s *server) AddBytesSent(bytesSent uint64) { method AddBytesReceived (line 2462) | func (s *server) AddBytesReceived(bytesReceived uint64) { method NetTotals (line 2468) | func (s *server) NetTotals() (uint64, uint64) { method UpdatePeerHeights (line 2477) | func (s *server) UpdatePeerHeights(latestBlkHash *chainhash.Hash, late... method rebroadcastHandler (line 2488) | func (s *server) rebroadcastHandler() { method Start (line 2542) | func (s *server) Start() { method Stop (line 2582) | func (s *server) Stop() error { method WaitForShutdown (line 2613) | func (s *server) WaitForShutdown() { method ScheduleShutdown (line 2620) | func (s *server) ScheduleShutdown(duration time.Duration) { method upnpUpdateThread (line 2701) | func (s *server) upnpUpdateThread() { type serverPeer (line 263) | type serverPeer struct method newestBlock (line 303) | func (sp *serverPeer) newestBlock() (*chainhash.Hash, int32, error) { method addKnownAddresses (line 310) | func (sp *serverPeer) addKnownAddresses(addresses []*wire.NetAddressV2) { method addressKnown (line 319) | func (sp *serverPeer) addressKnown(na *wire.NetAddressV2) bool { method setDisableRelayTx (line 328) | func (sp *serverPeer) setDisableRelayTx(disable bool) { method relayTxDisabled (line 337) | func (sp *serverPeer) relayTxDisabled() bool { method pushAddrMsg (line 347) | func (sp *serverPeer) pushAddrMsg(addresses []*wire.NetAddressV2) { method addBanScore (line 419) | func (sp *serverPeer) addBanScore(persistent, transient uint32, reason... method ShouldReconnectV1 (line 464) | func (sp *serverPeer) ShouldReconnectV1() bool { method OnVersion (line 471) | func (sp *serverPeer) OnVersion(_ *peer.Peer, msg *wire.MsgVersion) *w... method OnVerAck (line 540) | func (sp *serverPeer) OnVerAck(_ *peer.Peer, _ *wire.MsgVerAck) { method OnMemPool (line 548) | func (sp *serverPeer) OnMemPool(_ *peer.Peer, msg *wire.MsgMemPool) { method OnTx (line 598) | func (sp *serverPeer) OnTx(_ *peer.Peer, msg *wire.MsgTx) { method OnBlock (line 623) | func (sp *serverPeer) OnBlock(_ *peer.Peer, msg *wire.MsgBlock, buf []... method OnInv (line 651) | func (sp *serverPeer) OnInv(_ *peer.Peer, msg *wire.MsgInv) { method OnHeaders (line 686) | func (sp *serverPeer) OnHeaders(_ *peer.Peer, msg *wire.MsgHeaders) { method OnGetData (line 692) | func (sp *serverPeer) OnGetData(_ *peer.Peer, msg *wire.MsgGetData) { method OnGetBlocks (line 831) | func (sp *serverPeer) OnGetBlocks(_ *peer.Peer, msg *wire.MsgGetBlocks) { method OnGetHeaders (line 870) | func (sp *serverPeer) OnGetHeaders(_ *peer.Peer, msg *wire.MsgGetHeade... method OnGetCFilters (line 898) | func (sp *serverPeer) OnGetCFilters(_ *peer.Peer, msg *wire.MsgGetCFil... method OnGetCFHeaders (line 954) | func (sp *serverPeer) OnGetCFHeaders(_ *peer.Peer, msg *wire.MsgGetCFH... method OnGetCFCheckpt (line 1071) | func (sp *serverPeer) OnGetCFCheckpt(_ *peer.Peer, msg *wire.MsgGetCFC... method enforceNodeBloomFlag (line 1225) | func (sp *serverPeer) enforceNodeBloomFlag(cmd string) bool { method OnFeeFilter (line 1260) | func (sp *serverPeer) OnFeeFilter(_ *peer.Peer, msg *wire.MsgFeeFilter) { method OnFilterAdd (line 1276) | func (sp *serverPeer) OnFilterAdd(_ *peer.Peer, msg *wire.MsgFilterAdd) { method OnFilterClear (line 1297) | func (sp *serverPeer) OnFilterClear(_ *peer.Peer, msg *wire.MsgFilterC... method OnFilterLoad (line 1319) | func (sp *serverPeer) OnFilterLoad(_ *peer.Peer, msg *wire.MsgFilterLo... method OnGetAddr (line 1334) | func (sp *serverPeer) OnGetAddr(_ *peer.Peer, msg *wire.MsgGetAddr) { method OnAddr (line 1369) | func (sp *serverPeer) OnAddr(_ *peer.Peer, msg *wire.MsgAddr) { method OnAddrV2 (line 1426) | func (sp *serverPeer) OnAddrV2(_ *peer.Peer, msg *wire.MsgAddrV2) { method OnRead (line 1465) | func (sp *serverPeer) OnRead(_ *peer.Peer, bytesRead int, msg wire.Mes... method OnWrite (line 1471) | func (sp *serverPeer) OnWrite(_ *peer.Peer, bytesWritten int, msg wire... method OnNotFound (line 1476) | func (sp *serverPeer) OnNotFound(p *peer.Peer, msg *wire.MsgNotFound) { method HasUndesiredUserAgent (line 3443) | func (sp *serverPeer) HasUndesiredUserAgent(blacklistedAgents, function newServerPeer (line 289) | func newServerPeer(s *server, isPersistent bool) *serverPeer { function hasServices (line 457) | func hasServices(advertised, desired wire.ServiceFlag) bool { function randomUint16Number (line 1520) | func randomUint16Number(max uint16) uint16 { type getConnCountMsg (line 2012) | type getConnCountMsg struct type getPeersMsg (line 2016) | type getPeersMsg struct type getOutboundGroup (line 2020) | type getOutboundGroup struct type getAddedNodesMsg (line 2025) | type getAddedNodesMsg struct type disconnectNodeMsg (line 2029) | type disconnectNodeMsg struct type connectNodeMsg (line 2034) | type connectNodeMsg struct type removeNodeMsg (line 2040) | type removeNodeMsg struct function disconnectPeer (line 2164) | func disconnectPeer(peerList map[int32]*serverPeer, compareFunc func(*se... function newPeerConfig (line 2182) | func newPeerConfig(sp *serverPeer) *peer.Config { function parseListeners (line 2661) | func parseListeners(addrs []string) ([]net.Addr, error) { function setupRPCListeners (line 2758) | func setupRPCListeners() ([]net.Listener, error) { function newServer (line 2807) | func newServer(listenAddrs, agentBlacklist, agentWhitelist []string, function initListeners (line 3164) | func initListeners(amgr *addrmgr.AddrManager, listenAddrs []string, serv... function addrStringToNetAddr (line 3243) | func addrStringToNetAddr(addr string) (net.Addr, error) { function addLocalAddress (line 3289) | func addLocalAddress(addrMgr *addrmgr.AddrManager, addr string, services... function dynamicTickDuration (line 3339) | func dynamicTickDuration(remaining time.Duration) time.Duration { function isWhitelisted (line 3359) | func isWhitelisted(addr net.Addr) bool { type checkpointSorter (line 3385) | type checkpointSorter method Len (line 3389) | func (s checkpointSorter) Len() int { method Swap (line 3395) | func (s checkpointSorter) Swap(i, j int) { method Less (line 3401) | func (s checkpointSorter) Less(i, j int) bool { function mergeCheckpoints (line 3410) | func mergeCheckpoints(defaultCheckpoints, additional []chaincfg.Checkpoi... FILE: service_windows.go constant svcName (line 20) | svcName = "btcdsvc" constant svcDisplayName (line 25) | svcDisplayName = "Btcd Service" constant svcDesc (line 28) | svcDesc = "Downloads and stays synchronized with the bitcoin block " + function logServiceStartOfDay (line 37) | func logServiceStartOfDay(srvr *server) { type btcdService (line 49) | type btcdService struct method Execute (line 55) | func (s *btcdService) Execute(args []string, r <-chan svc.ChangeReques... function installService (line 116) | func installService() error { function removeService (line 166) | func removeService() error { function startService (line 186) | func startService() error { function controlService (line 211) | func controlService(c svc.Cmd, to svc.State) error { function performServiceCommand (line 251) | func performServiceCommand(command string) error { function serviceMain (line 277) | func serviceMain() (bool, error) { function init (line 320) | func init() { FILE: signal.go function interruptListener (line 23) | func interruptListener() <-chan struct{} { function interruptRequested (line 63) | func interruptRequested(interrupted <-chan struct{}) bool { FILE: signalsigterm.go function init (line 15) | func init() { FILE: txscript/bench_test.go function init (line 26) | func init() { function BenchmarkCalcSigHash (line 42) | func BenchmarkCalcSigHash(b *testing.B) { function BenchmarkCalcWitnessSigHash (line 57) | func BenchmarkCalcWitnessSigHash(b *testing.B) { function genComplexScript (line 79) | func genComplexScript() ([]byte, error) { function BenchmarkScriptParsing (line 95) | func BenchmarkScriptParsing(b *testing.B) { function BenchmarkDisasmString (line 119) | func BenchmarkDisasmString(b *testing.B) { function BenchmarkIsPubKeyScript (line 137) | func BenchmarkIsPubKeyScript(b *testing.B) { function BenchmarkIsPubKeyHashScript (line 152) | func BenchmarkIsPubKeyHashScript(b *testing.B) { function BenchmarkIsPayToScriptHash (line 167) | func BenchmarkIsPayToScriptHash(b *testing.B) { function BenchmarkIsMultisigScriptLarge (line 182) | func BenchmarkIsMultisigScriptLarge(b *testing.B) { function BenchmarkIsMultisigScript (line 203) | func BenchmarkIsMultisigScript(b *testing.B) { function BenchmarkIsMultisigSigScriptLarge (line 227) | func BenchmarkIsMultisigSigScriptLarge(b *testing.B) { function BenchmarkIsMultisigSigScript (line 246) | func BenchmarkIsMultisigSigScript(b *testing.B) { function BenchmarkIsPushOnlyScript (line 275) | func BenchmarkIsPushOnlyScript(b *testing.B) { function BenchmarkIsWitnessPubKeyHash (line 290) | func BenchmarkIsWitnessPubKeyHash(b *testing.B) { function BenchmarkIsWitnessScriptHash (line 305) | func BenchmarkIsWitnessScriptHash(b *testing.B) { function BenchmarkIsNullDataScript (line 320) | func BenchmarkIsNullDataScript(b *testing.B) { function BenchmarkIsUnspendable (line 335) | func BenchmarkIsUnspendable(b *testing.B) { function BenchmarkGetSigOpCount (line 349) | func BenchmarkGetSigOpCount(b *testing.B) { function BenchmarkGetPreciseSigOpCount (line 365) | func BenchmarkGetPreciseSigOpCount(b *testing.B) { function BenchmarkGetWitnessSigOpCountP2WKH (line 390) | func BenchmarkGetWitnessSigOpCountP2WKH(b *testing.B) { function BenchmarkGetWitnessSigOpCountNested (line 410) | func BenchmarkGetWitnessSigOpCountNested(b *testing.B) { function BenchmarkGetScriptClass (line 431) | func BenchmarkGetScriptClass(b *testing.B) { function BenchmarkPushedData (line 446) | func BenchmarkPushedData(b *testing.B) { function BenchmarkExtractAtomicSwapDataPushesLarge (line 464) | func BenchmarkExtractAtomicSwapDataPushesLarge(b *testing.B) { function BenchmarkExtractAtomicSwapDataPushes (line 483) | func BenchmarkExtractAtomicSwapDataPushes(b *testing.B) { function BenchmarkExtractPkScriptAddrsLarge (line 505) | func BenchmarkExtractPkScriptAddrsLarge(b *testing.B) { function BenchmarkExtractPkScriptAddrs (line 524) | func BenchmarkExtractPkScriptAddrs(b *testing.B) { FILE: txscript/consensus.go constant LockTimeThreshold (line 12) | LockTimeThreshold = 5e8 FILE: txscript/engine.go type ScriptFlags (line 22) | type ScriptFlags constant ScriptBip16 (line 27) | ScriptBip16 ScriptFlags = 1 << iota constant ScriptStrictMultiSig (line 31) | ScriptStrictMultiSig constant ScriptDiscourageUpgradableNops (line 39) | ScriptDiscourageUpgradableNops constant ScriptVerifyCheckLockTimeVerify (line 44) | ScriptVerifyCheckLockTimeVerify constant ScriptVerifyCheckSequenceVerify (line 49) | ScriptVerifyCheckSequenceVerify constant ScriptVerifyCleanStack (line 56) | ScriptVerifyCleanStack constant ScriptVerifyDERSignatures (line 60) | ScriptVerifyDERSignatures constant ScriptVerifyLowS (line 65) | ScriptVerifyLowS constant ScriptVerifyMinimalData (line 69) | ScriptVerifyMinimalData constant ScriptVerifyNullFail (line 73) | ScriptVerifyNullFail constant ScriptVerifySigPushOnly (line 77) | ScriptVerifySigPushOnly constant ScriptVerifyStrictEncoding (line 81) | ScriptVerifyStrictEncoding constant ScriptVerifyWitness (line 85) | ScriptVerifyWitness constant ScriptVerifyDiscourageUpgradeableWitnessProgram (line 89) | ScriptVerifyDiscourageUpgradeableWitnessProgram constant ScriptVerifyMinimalIf (line 93) | ScriptVerifyMinimalIf constant ScriptVerifyWitnessPubKeyType (line 98) | ScriptVerifyWitnessPubKeyType constant ScriptVerifyTaproot (line 102) | ScriptVerifyTaproot constant ScriptVerifyDiscourageUpgradeableTaprootVersion (line 107) | ScriptVerifyDiscourageUpgradeableTaprootVersion constant ScriptVerifyDiscourageOpSuccess (line 112) | ScriptVerifyDiscourageOpSuccess constant ScriptVerifyDiscourageUpgradeablePubkeyType (line 116) | ScriptVerifyDiscourageUpgradeablePubkeyType constant ScriptVerifyConstScriptCode (line 120) | ScriptVerifyConstScriptCode constant MaxStackSize (line 126) | MaxStackSize = 1000 constant MaxScriptSize (line 129) | MaxScriptSize = 10000 constant payToWitnessPubKeyHashDataSize (line 133) | payToWitnessPubKeyHashDataSize = 20 constant payToWitnessScriptHashDataSize (line 137) | payToWitnessScriptHashDataSize = 32 constant payToTaprootDataSize (line 142) | payToTaprootDataSize = 32 constant BaseSegwitWitnessVersion (line 148) | BaseSegwitWitnessVersion = 0 constant TaprootWitnessVersion (line 152) | TaprootWitnessVersion = 1 type taprootExecutionCtx (line 161) | type taprootExecutionCtx struct method tallysigOp (line 181) | func (t *taprootExecutionCtx) tallysigOp() error { constant sigOpsDelta (line 176) | sigOpsDelta = 50 function newTaprootExecutionCtx (line 193) | func newTaprootExecutionCtx(inputWitnessSize int32) *taprootExecutionCtx { type Engine (line 201) | type Engine struct method hasFlag (line 322) | func (vm *Engine) hasFlag(flag ScriptFlags) bool { method isBranchExecuting (line 330) | func (vm *Engine) isBranchExecuting() bool { method executeOpcode (line 460) | func (vm *Engine) executeOpcode(op *opcode, data []byte) error { method checkValidPC (line 509) | func (vm *Engine) checkValidPC() error { method isWitnessVersionActive (line 521) | func (vm *Engine) isWitnessVersionActive(version uint) bool { method verifyWitnessProgram (line 527) | func (vm *Engine) verifyWitnessProgram(witness wire.TxWitness) error { method DisasmPC (line 810) | func (vm *Engine) DisasmPC() (string, error) { method DisasmScript (line 853) | func (vm *Engine) DisasmScript(idx int) (string, error) { method CheckErrorCondition (line 876) | func (vm *Engine) CheckErrorCondition(finalScript bool) error { method Step (line 939) | func (vm *Engine) Step() (done bool, err error) { method Execute (line 1070) | func (vm *Engine) Execute() (err error) { method subScript (line 1152) | func (vm *Engine) subScript() []byte { method checkHashTypeEncoding (line 1158) | func (vm *Engine) checkHashTypeEncoding(hashType SigHashType) error { method checkPubKeyEncoding (line 1194) | func (vm *Engine) checkPubKeyEncoding(pubKey []byte) error { method checkSignatureEncoding (line 1221) | func (vm *Engine) checkSignatureEncoding(sig []byte) error { method GetStack (line 1440) | func (vm *Engine) GetStack() [][]byte { method SetStack (line 1446) | func (vm *Engine) SetStack(data [][]byte) { method GetAltStack (line 1452) | func (vm *Engine) GetAltStack() [][]byte { method SetAltStack (line 1458) | func (vm *Engine) SetAltStack(data [][]byte) { type StepInfo (line 303) | type StepInfo struct function isOpcodeDisabled (line 340) | func isOpcodeDisabled(opcode byte) bool { function isOpcodeAlwaysIllegal (line 380) | func isOpcodeAlwaysIllegal(opcode byte) bool { function isOpcodeConditional (line 393) | func isOpcodeConditional(opcode byte) bool { function checkMinimalDataPush (line 413) | func checkMinimalDataPush(op *opcode, data []byte) error { function copyStack (line 1058) | func copyStack(stk [][]byte) [][]byte { function isStrictPubKeyEncoding (line 1173) | func isStrictPubKeyEncoding(pubKey []byte) bool { function getStack (line 1418) | func getStack(stack *stack) [][]byte { function setStack (line 1429) | func setStack(stack *stack, data [][]byte) { function NewEngine (line 1465) | func NewEngine(scriptPubKey []byte, tx *wire.MsgTx, txIdx int, flags Scr... function NewDebugEngine (line 1638) | func NewDebugEngine(scriptPubKey []byte, tx *wire.MsgTx, txIdx int, FILE: txscript/engine_debug_test.go function TestDebugEngine (line 18) | func TestDebugEngine(t *testing.T) { FILE: txscript/engine_test.go function TestBadPC (line 17) | func TestBadPC(t *testing.T) { function TestCheckErrorCondition (line 83) | func TestCheckErrorCondition(t *testing.T) { function TestInvalidFlagCombinations (line 151) | func TestInvalidFlagCombinations(t *testing.T) { function TestCheckPubKeyEncoding (line 201) | func TestCheckPubKeyEncoding(t *testing.T) { function TestCheckSignatureEncoding (line 261) | func TestCheckSignatureEncoding(t *testing.T) { FILE: txscript/error.go type ErrorCode (line 13) | type ErrorCode method String (line 510) | func (e ErrorCode) String() string { constant ErrInternal (line 20) | ErrInternal ErrorCode = iota constant ErrInvalidFlags (line 28) | ErrInvalidFlags constant ErrInvalidIndex (line 32) | ErrInvalidIndex constant ErrUnsupportedAddress (line 36) | ErrUnsupportedAddress constant ErrNotMultisigScript (line 40) | ErrNotMultisigScript constant ErrTooManyRequiredSigs (line 45) | ErrTooManyRequiredSigs constant ErrTooMuchNullData (line 49) | ErrTooMuchNullData constant ErrUnsupportedScriptVersion (line 53) | ErrUnsupportedScriptVersion constant ErrEarlyReturn (line 60) | ErrEarlyReturn constant ErrEmptyStack (line 64) | ErrEmptyStack constant ErrEvalFalse (line 68) | ErrEvalFalse constant ErrScriptUnfinished (line 72) | ErrScriptUnfinished constant ErrInvalidProgramCounter (line 78) | ErrInvalidProgramCounter constant ErrScriptTooBig (line 85) | ErrScriptTooBig constant ErrElementTooBig (line 89) | ErrElementTooBig constant ErrTooManyOperations (line 93) | ErrTooManyOperations constant ErrStackOverflow (line 97) | ErrStackOverflow constant ErrInvalidPubKeyCount (line 102) | ErrInvalidPubKeyCount constant ErrInvalidSignatureCount (line 107) | ErrInvalidSignatureCount constant ErrNumberTooBig (line 115) | ErrNumberTooBig constant ErrVerify (line 123) | ErrVerify constant ErrEqualVerify (line 127) | ErrEqualVerify constant ErrNumEqualVerify (line 132) | ErrNumEqualVerify constant ErrCheckSigVerify (line 137) | ErrCheckSigVerify constant ErrCheckMultiSigVerify (line 142) | ErrCheckMultiSigVerify constant ErrDisabledOpcode (line 150) | ErrDisabledOpcode constant ErrReservedOpcode (line 154) | ErrReservedOpcode constant ErrMalformedPush (line 158) | ErrMalformedPush constant ErrInvalidStackOperation (line 162) | ErrInvalidStackOperation constant ErrUnbalancedConditional (line 168) | ErrUnbalancedConditional constant ErrMinimalData (line 177) | ErrMinimalData constant ErrInvalidSigHashType (line 181) | ErrInvalidSigHashType constant ErrSigTooShort (line 185) | ErrSigTooShort constant ErrSigTooLong (line 189) | ErrSigTooLong constant ErrSigInvalidSeqID (line 194) | ErrSigInvalidSeqID constant ErrSigInvalidDataLen (line 199) | ErrSigInvalidDataLen constant ErrSigMissingSTypeID (line 204) | ErrSigMissingSTypeID constant ErrSigMissingSLen (line 208) | ErrSigMissingSLen constant ErrSigInvalidSLen (line 213) | ErrSigInvalidSLen constant ErrSigInvalidRIntID (line 218) | ErrSigInvalidRIntID constant ErrSigZeroRLen (line 222) | ErrSigZeroRLen constant ErrSigNegativeR (line 226) | ErrSigNegativeR constant ErrSigTooMuchRPadding (line 230) | ErrSigTooMuchRPadding constant ErrSigInvalidSIntID (line 235) | ErrSigInvalidSIntID constant ErrSigZeroSLen (line 239) | ErrSigZeroSLen constant ErrSigNegativeS (line 243) | ErrSigNegativeS constant ErrSigTooMuchSPadding (line 247) | ErrSigTooMuchSPadding constant ErrSigHighS (line 252) | ErrSigHighS constant ErrNotPushOnly (line 258) | ErrNotPushOnly constant ErrSigNullDummy (line 263) | ErrSigNullDummy constant ErrPubKeyType (line 267) | ErrPubKeyType constant ErrCleanStack (line 272) | ErrCleanStack constant ErrNullFail (line 277) | ErrNullFail constant ErrWitnessMalleated (line 281) | ErrWitnessMalleated constant ErrWitnessMalleatedP2SH (line 286) | ErrWitnessMalleatedP2SH constant ErrDiscourageUpgradableNOPs (line 295) | ErrDiscourageUpgradableNOPs constant ErrNegativeLockTime (line 299) | ErrNegativeLockTime constant ErrUnsatisfiedLockTime (line 304) | ErrUnsatisfiedLockTime constant ErrMinimalIf (line 309) | ErrMinimalIf constant ErrDiscourageUpgradableWitnessProgram (line 315) | ErrDiscourageUpgradableWitnessProgram constant ErrWitnessProgramEmpty (line 323) | ErrWitnessProgramEmpty constant ErrWitnessProgramMismatch (line 329) | ErrWitnessProgramMismatch constant ErrWitnessProgramWrongLength (line 334) | ErrWitnessProgramWrongLength constant ErrWitnessUnexpected (line 339) | ErrWitnessUnexpected constant ErrWitnessPubKeyType (line 344) | ErrWitnessPubKeyType constant ErrDiscourageOpSuccess (line 353) | ErrDiscourageOpSuccess constant ErrDiscourageUpgradeableTaprootVersion (line 358) | ErrDiscourageUpgradeableTaprootVersion constant ErrTapscriptCheckMultisig (line 363) | ErrTapscriptCheckMultisig constant ErrDiscourageUpgradeablePubKeyType (line 368) | ErrDiscourageUpgradeablePubKeyType constant ErrTaprootSigInvalid (line 372) | ErrTaprootSigInvalid constant ErrTaprootMerkleProofInvalid (line 376) | ErrTaprootMerkleProofInvalid constant ErrTaprootOutputKeyParityMismatch (line 381) | ErrTaprootOutputKeyParityMismatch constant ErrControlBlockTooSmall (line 385) | ErrControlBlockTooSmall constant ErrControlBlockTooLarge (line 389) | ErrControlBlockTooLarge constant ErrControlBlockInvalidLength (line 393) | ErrControlBlockInvalidLength constant ErrWitnessHasNoAnnex (line 397) | ErrWitnessHasNoAnnex constant ErrInvalidTaprootSigLen (line 401) | ErrInvalidTaprootSigLen constant ErrTaprootPubkeyIsEmpty (line 405) | ErrTaprootPubkeyIsEmpty constant ErrTaprootMaxSigOps (line 409) | ErrTaprootMaxSigOps constant ErrNonConstScriptCode (line 413) | ErrNonConstScriptCode constant ErrCodeSeparator (line 417) | ErrCodeSeparator constant numErrorCodes (line 421) | numErrorCodes type Error (line 528) | type Error struct method Error (line 534) | func (e Error) Error() string { function scriptError (line 539) | func scriptError(c ErrorCode, desc string) Error { function IsErrorCode (line 545) | func IsErrorCode(err error, c ErrorCode) bool { FILE: txscript/error_test.go function TestErrorCodeStringer (line 13) | func TestErrorCodeStringer(t *testing.T) { function TestError (line 122) | func TestError(t *testing.T) { FILE: txscript/example_test.go function ExamplePayToAddrScript (line 23) | func ExamplePayToAddrScript() { function ExampleExtractPkScriptAddrs (line 57) | func ExampleExtractPkScriptAddrs() { function ExampleSignTxOutput (line 84) | func ExampleSignTxOutput() { function ExampleScriptTokenizer (line 187) | func ExampleScriptTokenizer() { FILE: txscript/hashcache.go function calcHashPrevOuts (line 24) | func calcHashPrevOuts(tx *wire.MsgTx) chainhash.Hash { function calcHashSequence (line 47) | func calcHashSequence(tx *wire.MsgTx) chainhash.Hash { function calcHashOutputs (line 63) | func calcHashOutputs(tx *wire.MsgTx) chainhash.Hash { type PrevOutputFetcher (line 75) | type PrevOutputFetcher interface type CannedPrevOutputFetcher (line 84) | type CannedPrevOutputFetcher struct method FetchPrevOutput (line 102) | func (c *CannedPrevOutputFetcher) FetchPrevOutput(wire.OutPoint) *wire... function NewCannedPrevOutputFetcher (line 91) | func NewCannedPrevOutputFetcher(script []byte, amt int64) *CannedPrevOut... type MultiPrevOutFetcher (line 115) | type MultiPrevOutFetcher struct method FetchPrevOutput (line 135) | func (m *MultiPrevOutFetcher) FetchPrevOutput(op wire.OutPoint) *wire.... method AddPrevOut (line 140) | func (m *MultiPrevOutFetcher) AddPrevOut(op wire.OutPoint, txOut *wire... method Merge (line 145) | func (m *MultiPrevOutFetcher) Merge(other *MultiPrevOutFetcher) { function NewMultiPrevOutFetcher (line 121) | func NewMultiPrevOutFetcher(prevOuts map[wire.OutPoint]*wire.TxOut) *Mul... function calcHashInputAmounts (line 156) | func calcHashInputAmounts(tx *wire.MsgTx, inputFetcher PrevOutputFetcher... function calcHashInputScripts (line 170) | func calcHashInputScripts(tx *wire.MsgTx, inputFetcher PrevOutputFetcher... type SegwitSigHashMidstate (line 183) | type SegwitSigHashMidstate struct type TaprootSigHashMidState (line 191) | type TaprootSigHashMidState struct type TxSigHashes (line 203) | type TxSigHashes struct function NewTxSigHashes (line 211) | func NewTxSigHashes(tx *wire.MsgTx, type HashCache (line 301) | type HashCache struct method AddSigHashes (line 317) | func (h *HashCache) AddSigHashes(tx *wire.MsgTx, method ContainsHashes (line 327) | func (h *HashCache) ContainsHashes(txid *chainhash.Hash) bool { method GetSigHashes (line 339) | func (h *HashCache) GetSigHashes(txid *chainhash.Hash) (*TxSigHashes, ... method PurgeSigHashes (line 349) | func (h *HashCache) PurgeSigHashes(txid *chainhash.Hash) { function NewHashCache (line 309) | func NewHashCache(maxSize uint) *HashCache { FILE: txscript/hashcache_test.go function init (line 16) | func init() { function genTestTx (line 21) | func genTestTx() (*wire.MsgTx, *MultiPrevOutFetcher, error) { function TestHashCacheAddContainsHashes (line 66) | func TestHashCacheAddContainsHashes(t *testing.T) { function TestHashCacheAddGet (line 123) | func TestHashCacheAddGet(t *testing.T) { function TestHashCachePurge (line 156) | func TestHashCachePurge(t *testing.T) { FILE: txscript/log.go function init (line 17) | func init() { function DisableLog (line 23) | func DisableLog() { function UseLogger (line 28) | func UseLogger(logger btclog.Logger) { type logClosure (line 35) | type logClosure method String (line 37) | func (c logClosure) String() string { function newLogClosure (line 41) | func newLogClosure(c func() string) logClosure { FILE: txscript/opcode.go type opcode (line 29) | type opcode struct constant OP_0 (line 40) | OP_0 = 0x00 constant OP_FALSE (line 41) | OP_FALSE = 0x00 constant OP_DATA_1 (line 42) | OP_DATA_1 = 0x01 constant OP_DATA_2 (line 43) | OP_DATA_2 = 0x02 constant OP_DATA_3 (line 44) | OP_DATA_3 = 0x03 constant OP_DATA_4 (line 45) | OP_DATA_4 = 0x04 constant OP_DATA_5 (line 46) | OP_DATA_5 = 0x05 constant OP_DATA_6 (line 47) | OP_DATA_6 = 0x06 constant OP_DATA_7 (line 48) | OP_DATA_7 = 0x07 constant OP_DATA_8 (line 49) | OP_DATA_8 = 0x08 constant OP_DATA_9 (line 50) | OP_DATA_9 = 0x09 constant OP_DATA_10 (line 51) | OP_DATA_10 = 0x0a constant OP_DATA_11 (line 52) | OP_DATA_11 = 0x0b constant OP_DATA_12 (line 53) | OP_DATA_12 = 0x0c constant OP_DATA_13 (line 54) | OP_DATA_13 = 0x0d constant OP_DATA_14 (line 55) | OP_DATA_14 = 0x0e constant OP_DATA_15 (line 56) | OP_DATA_15 = 0x0f constant OP_DATA_16 (line 57) | OP_DATA_16 = 0x10 constant OP_DATA_17 (line 58) | OP_DATA_17 = 0x11 constant OP_DATA_18 (line 59) | OP_DATA_18 = 0x12 constant OP_DATA_19 (line 60) | OP_DATA_19 = 0x13 constant OP_DATA_20 (line 61) | OP_DATA_20 = 0x14 constant OP_DATA_21 (line 62) | OP_DATA_21 = 0x15 constant OP_DATA_22 (line 63) | OP_DATA_22 = 0x16 constant OP_DATA_23 (line 64) | OP_DATA_23 = 0x17 constant OP_DATA_24 (line 65) | OP_DATA_24 = 0x18 constant OP_DATA_25 (line 66) | OP_DATA_25 = 0x19 constant OP_DATA_26 (line 67) | OP_DATA_26 = 0x1a constant OP_DATA_27 (line 68) | OP_DATA_27 = 0x1b constant OP_DATA_28 (line 69) | OP_DATA_28 = 0x1c constant OP_DATA_29 (line 70) | OP_DATA_29 = 0x1d constant OP_DATA_30 (line 71) | OP_DATA_30 = 0x1e constant OP_DATA_31 (line 72) | OP_DATA_31 = 0x1f constant OP_DATA_32 (line 73) | OP_DATA_32 = 0x20 constant OP_DATA_33 (line 74) | OP_DATA_33 = 0x21 constant OP_DATA_34 (line 75) | OP_DATA_34 = 0x22 constant OP_DATA_35 (line 76) | OP_DATA_35 = 0x23 constant OP_DATA_36 (line 77) | OP_DATA_36 = 0x24 constant OP_DATA_37 (line 78) | OP_DATA_37 = 0x25 constant OP_DATA_38 (line 79) | OP_DATA_38 = 0x26 constant OP_DATA_39 (line 80) | OP_DATA_39 = 0x27 constant OP_DATA_40 (line 81) | OP_DATA_40 = 0x28 constant OP_DATA_41 (line 82) | OP_DATA_41 = 0x29 constant OP_DATA_42 (line 83) | OP_DATA_42 = 0x2a constant OP_DATA_43 (line 84) | OP_DATA_43 = 0x2b constant OP_DATA_44 (line 85) | OP_DATA_44 = 0x2c constant OP_DATA_45 (line 86) | OP_DATA_45 = 0x2d constant OP_DATA_46 (line 87) | OP_DATA_46 = 0x2e constant OP_DATA_47 (line 88) | OP_DATA_47 = 0x2f constant OP_DATA_48 (line 89) | OP_DATA_48 = 0x30 constant OP_DATA_49 (line 90) | OP_DATA_49 = 0x31 constant OP_DATA_50 (line 91) | OP_DATA_50 = 0x32 constant OP_DATA_51 (line 92) | OP_DATA_51 = 0x33 constant OP_DATA_52 (line 93) | OP_DATA_52 = 0x34 constant OP_DATA_53 (line 94) | OP_DATA_53 = 0x35 constant OP_DATA_54 (line 95) | OP_DATA_54 = 0x36 constant OP_DATA_55 (line 96) | OP_DATA_55 = 0x37 constant OP_DATA_56 (line 97) | OP_DATA_56 = 0x38 constant OP_DATA_57 (line 98) | OP_DATA_57 = 0x39 constant OP_DATA_58 (line 99) | OP_DATA_58 = 0x3a constant OP_DATA_59 (line 100) | OP_DATA_59 = 0x3b constant OP_DATA_60 (line 101) | OP_DATA_60 = 0x3c constant OP_DATA_61 (line 102) | OP_DATA_61 = 0x3d constant OP_DATA_62 (line 103) | OP_DATA_62 = 0x3e constant OP_DATA_63 (line 104) | OP_DATA_63 = 0x3f constant OP_DATA_64 (line 105) | OP_DATA_64 = 0x40 constant OP_DATA_65 (line 106) | OP_DATA_65 = 0x41 constant OP_DATA_66 (line 107) | OP_DATA_66 = 0x42 constant OP_DATA_67 (line 108) | OP_DATA_67 = 0x43 constant OP_DATA_68 (line 109) | OP_DATA_68 = 0x44 constant OP_DATA_69 (line 110) | OP_DATA_69 = 0x45 constant OP_DATA_70 (line 111) | OP_DATA_70 = 0x46 constant OP_DATA_71 (line 112) | OP_DATA_71 = 0x47 constant OP_DATA_72 (line 113) | OP_DATA_72 = 0x48 constant OP_DATA_73 (line 114) | OP_DATA_73 = 0x49 constant OP_DATA_74 (line 115) | OP_DATA_74 = 0x4a constant OP_DATA_75 (line 116) | OP_DATA_75 = 0x4b constant OP_PUSHDATA1 (line 117) | OP_PUSHDATA1 = 0x4c constant OP_PUSHDATA2 (line 118) | OP_PUSHDATA2 = 0x4d constant OP_PUSHDATA4 (line 119) | OP_PUSHDATA4 = 0x4e constant OP_1NEGATE (line 120) | OP_1NEGATE = 0x4f constant OP_RESERVED (line 121) | OP_RESERVED = 0x50 constant OP_1 (line 122) | OP_1 = 0x51 constant OP_TRUE (line 123) | OP_TRUE = 0x51 constant OP_2 (line 124) | OP_2 = 0x52 constant OP_3 (line 125) | OP_3 = 0x53 constant OP_4 (line 126) | OP_4 = 0x54 constant OP_5 (line 127) | OP_5 = 0x55 constant OP_6 (line 128) | OP_6 = 0x56 constant OP_7 (line 129) | OP_7 = 0x57 constant OP_8 (line 130) | OP_8 = 0x58 constant OP_9 (line 131) | OP_9 = 0x59 constant OP_10 (line 132) | OP_10 = 0x5a constant OP_11 (line 133) | OP_11 = 0x5b constant OP_12 (line 134) | OP_12 = 0x5c constant OP_13 (line 135) | OP_13 = 0x5d constant OP_14 (line 136) | OP_14 = 0x5e constant OP_15 (line 137) | OP_15 = 0x5f constant OP_16 (line 138) | OP_16 = 0x60 constant OP_NOP (line 139) | OP_NOP = 0x61 constant OP_VER (line 140) | OP_VER = 0x62 constant OP_IF (line 141) | OP_IF = 0x63 constant OP_NOTIF (line 142) | OP_NOTIF = 0x64 constant OP_VERIF (line 143) | OP_VERIF = 0x65 constant OP_VERNOTIF (line 144) | OP_VERNOTIF = 0x66 constant OP_ELSE (line 145) | OP_ELSE = 0x67 constant OP_ENDIF (line 146) | OP_ENDIF = 0x68 constant OP_VERIFY (line 147) | OP_VERIFY = 0x69 constant OP_RETURN (line 148) | OP_RETURN = 0x6a constant OP_TOALTSTACK (line 149) | OP_TOALTSTACK = 0x6b constant OP_FROMALTSTACK (line 150) | OP_FROMALTSTACK = 0x6c constant OP_2DROP (line 151) | OP_2DROP = 0x6d constant OP_2DUP (line 152) | OP_2DUP = 0x6e constant OP_3DUP (line 153) | OP_3DUP = 0x6f constant OP_2OVER (line 154) | OP_2OVER = 0x70 constant OP_2ROT (line 155) | OP_2ROT = 0x71 constant OP_2SWAP (line 156) | OP_2SWAP = 0x72 constant OP_IFDUP (line 157) | OP_IFDUP = 0x73 constant OP_DEPTH (line 158) | OP_DEPTH = 0x74 constant OP_DROP (line 159) | OP_DROP = 0x75 constant OP_DUP (line 160) | OP_DUP = 0x76 constant OP_NIP (line 161) | OP_NIP = 0x77 constant OP_OVER (line 162) | OP_OVER = 0x78 constant OP_PICK (line 163) | OP_PICK = 0x79 constant OP_ROLL (line 164) | OP_ROLL = 0x7a constant OP_ROT (line 165) | OP_ROT = 0x7b constant OP_SWAP (line 166) | OP_SWAP = 0x7c constant OP_TUCK (line 167) | OP_TUCK = 0x7d constant OP_CAT (line 168) | OP_CAT = 0x7e constant OP_SUBSTR (line 169) | OP_SUBSTR = 0x7f constant OP_LEFT (line 170) | OP_LEFT = 0x80 constant OP_RIGHT (line 171) | OP_RIGHT = 0x81 constant OP_SIZE (line 172) | OP_SIZE = 0x82 constant OP_INVERT (line 173) | OP_INVERT = 0x83 constant OP_AND (line 174) | OP_AND = 0x84 constant OP_OR (line 175) | OP_OR = 0x85 constant OP_XOR (line 176) | OP_XOR = 0x86 constant OP_EQUAL (line 177) | OP_EQUAL = 0x87 constant OP_EQUALVERIFY (line 178) | OP_EQUALVERIFY = 0x88 constant OP_RESERVED1 (line 179) | OP_RESERVED1 = 0x89 constant OP_RESERVED2 (line 180) | OP_RESERVED2 = 0x8a constant OP_1ADD (line 181) | OP_1ADD = 0x8b constant OP_1SUB (line 182) | OP_1SUB = 0x8c constant OP_2MUL (line 183) | OP_2MUL = 0x8d constant OP_2DIV (line 184) | OP_2DIV = 0x8e constant OP_NEGATE (line 185) | OP_NEGATE = 0x8f constant OP_ABS (line 186) | OP_ABS = 0x90 constant OP_NOT (line 187) | OP_NOT = 0x91 constant OP_0NOTEQUAL (line 188) | OP_0NOTEQUAL = 0x92 constant OP_ADD (line 189) | OP_ADD = 0x93 constant OP_SUB (line 190) | OP_SUB = 0x94 constant OP_MUL (line 191) | OP_MUL = 0x95 constant OP_DIV (line 192) | OP_DIV = 0x96 constant OP_MOD (line 193) | OP_MOD = 0x97 constant OP_LSHIFT (line 194) | OP_LSHIFT = 0x98 constant OP_RSHIFT (line 195) | OP_RSHIFT = 0x99 constant OP_BOOLAND (line 196) | OP_BOOLAND = 0x9a constant OP_BOOLOR (line 197) | OP_BOOLOR = 0x9b constant OP_NUMEQUAL (line 198) | OP_NUMEQUAL = 0x9c constant OP_NUMEQUALVERIFY (line 199) | OP_NUMEQUALVERIFY = 0x9d constant OP_NUMNOTEQUAL (line 200) | OP_NUMNOTEQUAL = 0x9e constant OP_LESSTHAN (line 201) | OP_LESSTHAN = 0x9f constant OP_GREATERTHAN (line 202) | OP_GREATERTHAN = 0xa0 constant OP_LESSTHANOREQUAL (line 203) | OP_LESSTHANOREQUAL = 0xa1 constant OP_GREATERTHANOREQUAL (line 204) | OP_GREATERTHANOREQUAL = 0xa2 constant OP_MIN (line 205) | OP_MIN = 0xa3 constant OP_MAX (line 206) | OP_MAX = 0xa4 constant OP_WITHIN (line 207) | OP_WITHIN = 0xa5 constant OP_RIPEMD160 (line 208) | OP_RIPEMD160 = 0xa6 constant OP_SHA1 (line 209) | OP_SHA1 = 0xa7 constant OP_SHA256 (line 210) | OP_SHA256 = 0xa8 constant OP_HASH160 (line 211) | OP_HASH160 = 0xa9 constant OP_HASH256 (line 212) | OP_HASH256 = 0xaa constant OP_CODESEPARATOR (line 213) | OP_CODESEPARATOR = 0xab constant OP_CHECKSIG (line 214) | OP_CHECKSIG = 0xac constant OP_CHECKSIGVERIFY (line 215) | OP_CHECKSIGVERIFY = 0xad constant OP_CHECKMULTISIG (line 216) | OP_CHECKMULTISIG = 0xae constant OP_CHECKMULTISIGVERIFY (line 217) | OP_CHECKMULTISIGVERIFY = 0xaf constant OP_NOP1 (line 218) | OP_NOP1 = 0xb0 constant OP_NOP2 (line 219) | OP_NOP2 = 0xb1 constant OP_CHECKLOCKTIMEVERIFY (line 220) | OP_CHECKLOCKTIMEVERIFY = 0xb1 constant OP_NOP3 (line 221) | OP_NOP3 = 0xb2 constant OP_CHECKSEQUENCEVERIFY (line 222) | OP_CHECKSEQUENCEVERIFY = 0xb2 constant OP_NOP4 (line 223) | OP_NOP4 = 0xb3 constant OP_NOP5 (line 224) | OP_NOP5 = 0xb4 constant OP_NOP6 (line 225) | OP_NOP6 = 0xb5 constant OP_NOP7 (line 226) | OP_NOP7 = 0xb6 constant OP_NOP8 (line 227) | OP_NOP8 = 0xb7 constant OP_NOP9 (line 228) | OP_NOP9 = 0xb8 constant OP_NOP10 (line 229) | OP_NOP10 = 0xb9 constant OP_CHECKSIGADD (line 230) | OP_CHECKSIGADD = 0xba constant OP_UNKNOWN187 (line 231) | OP_UNKNOWN187 = 0xbb constant OP_UNKNOWN188 (line 232) | OP_UNKNOWN188 = 0xbc constant OP_UNKNOWN189 (line 233) | OP_UNKNOWN189 = 0xbd constant OP_UNKNOWN190 (line 234) | OP_UNKNOWN190 = 0xbe constant OP_UNKNOWN191 (line 235) | OP_UNKNOWN191 = 0xbf constant OP_UNKNOWN192 (line 236) | OP_UNKNOWN192 = 0xc0 constant OP_UNKNOWN193 (line 237) | OP_UNKNOWN193 = 0xc1 constant OP_UNKNOWN194 (line 238) | OP_UNKNOWN194 = 0xc2 constant OP_UNKNOWN195 (line 239) | OP_UNKNOWN195 = 0xc3 constant OP_UNKNOWN196 (line 240) | OP_UNKNOWN196 = 0xc4 constant OP_UNKNOWN197 (line 241) | OP_UNKNOWN197 = 0xc5 constant OP_UNKNOWN198 (line 242) | OP_UNKNOWN198 = 0xc6 constant OP_UNKNOWN199 (line 243) | OP_UNKNOWN199 = 0xc7 constant OP_UNKNOWN200 (line 244) | OP_UNKNOWN200 = 0xc8 constant OP_UNKNOWN201 (line 245) | OP_UNKNOWN201 = 0xc9 constant OP_UNKNOWN202 (line 246) | OP_UNKNOWN202 = 0xca constant OP_UNKNOWN203 (line 247) | OP_UNKNOWN203 = 0xcb constant OP_UNKNOWN204 (line 248) | OP_UNKNOWN204 = 0xcc constant OP_UNKNOWN205 (line 249) | OP_UNKNOWN205 = 0xcd constant OP_UNKNOWN206 (line 250) | OP_UNKNOWN206 = 0xce constant OP_UNKNOWN207 (line 251) | OP_UNKNOWN207 = 0xcf constant OP_UNKNOWN208 (line 252) | OP_UNKNOWN208 = 0xd0 constant OP_UNKNOWN209 (line 253) | OP_UNKNOWN209 = 0xd1 constant OP_UNKNOWN210 (line 254) | OP_UNKNOWN210 = 0xd2 constant OP_UNKNOWN211 (line 255) | OP_UNKNOWN211 = 0xd3 constant OP_UNKNOWN212 (line 256) | OP_UNKNOWN212 = 0xd4 constant OP_UNKNOWN213 (line 257) | OP_UNKNOWN213 = 0xd5 constant OP_UNKNOWN214 (line 258) | OP_UNKNOWN214 = 0xd6 constant OP_UNKNOWN215 (line 259) | OP_UNKNOWN215 = 0xd7 constant OP_UNKNOWN216 (line 260) | OP_UNKNOWN216 = 0xd8 constant OP_UNKNOWN217 (line 261) | OP_UNKNOWN217 = 0xd9 constant OP_UNKNOWN218 (line 262) | OP_UNKNOWN218 = 0xda constant OP_UNKNOWN219 (line 263) | OP_UNKNOWN219 = 0xdb constant OP_UNKNOWN220 (line 264) | OP_UNKNOWN220 = 0xdc constant OP_UNKNOWN221 (line 265) | OP_UNKNOWN221 = 0xdd constant OP_UNKNOWN222 (line 266) | OP_UNKNOWN222 = 0xde constant OP_UNKNOWN223 (line 267) | OP_UNKNOWN223 = 0xdf constant OP_UNKNOWN224 (line 268) | OP_UNKNOWN224 = 0xe0 constant OP_UNKNOWN225 (line 269) | OP_UNKNOWN225 = 0xe1 constant OP_UNKNOWN226 (line 270) | OP_UNKNOWN226 = 0xe2 constant OP_UNKNOWN227 (line 271) | OP_UNKNOWN227 = 0xe3 constant OP_UNKNOWN228 (line 272) | OP_UNKNOWN228 = 0xe4 constant OP_UNKNOWN229 (line 273) | OP_UNKNOWN229 = 0xe5 constant OP_UNKNOWN230 (line 274) | OP_UNKNOWN230 = 0xe6 constant OP_UNKNOWN231 (line 275) | OP_UNKNOWN231 = 0xe7 constant OP_UNKNOWN232 (line 276) | OP_UNKNOWN232 = 0xe8 constant OP_UNKNOWN233 (line 277) | OP_UNKNOWN233 = 0xe9 constant OP_UNKNOWN234 (line 278) | OP_UNKNOWN234 = 0xea constant OP_UNKNOWN235 (line 279) | OP_UNKNOWN235 = 0xeb constant OP_UNKNOWN236 (line 280) | OP_UNKNOWN236 = 0xec constant OP_UNKNOWN237 (line 281) | OP_UNKNOWN237 = 0xed constant OP_UNKNOWN238 (line 282) | OP_UNKNOWN238 = 0xee constant OP_UNKNOWN239 (line 283) | OP_UNKNOWN239 = 0xef constant OP_UNKNOWN240 (line 284) | OP_UNKNOWN240 = 0xf0 constant OP_UNKNOWN241 (line 285) | OP_UNKNOWN241 = 0xf1 constant OP_UNKNOWN242 (line 286) | OP_UNKNOWN242 = 0xf2 constant OP_UNKNOWN243 (line 287) | OP_UNKNOWN243 = 0xf3 constant OP_UNKNOWN244 (line 288) | OP_UNKNOWN244 = 0xf4 constant OP_UNKNOWN245 (line 289) | OP_UNKNOWN245 = 0xf5 constant OP_UNKNOWN246 (line 290) | OP_UNKNOWN246 = 0xf6 constant OP_UNKNOWN247 (line 291) | OP_UNKNOWN247 = 0xf7 constant OP_UNKNOWN248 (line 292) | OP_UNKNOWN248 = 0xf8 constant OP_UNKNOWN249 (line 293) | OP_UNKNOWN249 = 0xf9 constant OP_SMALLINTEGER (line 294) | OP_SMALLINTEGER = 0xfa constant OP_PUBKEYS (line 295) | OP_PUBKEYS = 0xfb constant OP_UNKNOWN252 (line 296) | OP_UNKNOWN252 = 0xfc constant OP_PUBKEYHASH (line 297) | OP_PUBKEYHASH = 0xfd constant OP_PUBKEY (line 298) | OP_PUBKEY = 0xfe constant OP_INVALIDOPCODE (line 299) | OP_INVALIDOPCODE = 0xff constant OpCondFalse (line 304) | OpCondFalse = 0 constant OpCondTrue (line 305) | OpCondTrue = 1 constant OpCondSkip (line 306) | OpCondSkip = 2 function disasmOpcode (line 716) | func disasmOpcode(buf *strings.Builder, op *opcode, data []byte, compact... function opcodeDisabled (line 767) | func opcodeDisabled(op *opcode, data []byte, vm *Engine) error { function opcodeReserved (line 774) | func opcodeReserved(op *opcode, data []byte, vm *Engine) error { function opcodeInvalid (line 781) | func opcodeInvalid(op *opcode, data []byte, vm *Engine) error { function opcodeFalse (line 789) | func opcodeFalse(op *opcode, data []byte, vm *Engine) error { function opcodePushData (line 796) | func opcodePushData(op *opcode, data []byte, vm *Engine) error { function opcode1Negate (line 802) | func opcode1Negate(op *opcode, data []byte, vm *Engine) error { function opcodeN (line 810) | func opcodeN(op *opcode, data []byte, vm *Engine) error { function opcodeNop (line 820) | func opcodeNop(op *opcode, data []byte, vm *Engine) error { function popIfBool (line 840) | func popIfBool(vm *Engine) (bool, error) { function opcodeIf (line 902) | func opcodeIf(op *opcode, data []byte, vm *Engine) error { function opcodeNotIf (line 936) | func opcodeNotIf(op *opcode, data []byte, vm *Engine) error { function opcodeElse (line 959) | func opcodeElse(op *opcode, data []byte, vm *Engine) error { function opcodeEndif (line 985) | func opcodeEndif(op *opcode, data []byte, vm *Engine) error { function abstractVerify (line 1001) | func abstractVerify(op *opcode, vm *Engine, c ErrorCode) error { function opcodeVerify (line 1016) | func opcodeVerify(op *opcode, data []byte, vm *Engine) error { function opcodeReturn (line 1022) | func opcodeReturn(op *opcode, data []byte, vm *Engine) error { function verifyLockTime (line 1027) | func verifyLockTime(txLockTime, threshold, lockTime int64) error { function opcodeCheckLockTimeVerify (line 1052) | func opcodeCheckLockTimeVerify(op *opcode, data []byte, vm *Engine) error { function opcodeCheckSequenceVerify (line 1126) | func opcodeCheckSequenceVerify(op *opcode, data []byte, vm *Engine) error { function opcodeToAltStack (line 1203) | func opcodeToAltStack(op *opcode, data []byte, vm *Engine) error { function opcodeFromAltStack (line 1218) | func opcodeFromAltStack(op *opcode, data []byte, vm *Engine) error { function opcode2Drop (line 1231) | func opcode2Drop(op *opcode, data []byte, vm *Engine) error { function opcode2Dup (line 1238) | func opcode2Dup(op *opcode, data []byte, vm *Engine) error { function opcode3Dup (line 1245) | func opcode3Dup(op *opcode, data []byte, vm *Engine) error { function opcode2Over (line 1252) | func opcode2Over(op *opcode, data []byte, vm *Engine) error { function opcode2Rot (line 1259) | func opcode2Rot(op *opcode, data []byte, vm *Engine) error { function opcode2Swap (line 1267) | func opcode2Swap(op *opcode, data []byte, vm *Engine) error { function opcodeIfDup (line 1275) | func opcodeIfDup(op *opcode, data []byte, vm *Engine) error { function opcodeDepth (line 1295) | func opcodeDepth(op *opcode, data []byte, vm *Engine) error { function opcodeDrop (line 1303) | func opcodeDrop(op *opcode, data []byte, vm *Engine) error { function opcodeDup (line 1310) | func opcodeDup(op *opcode, data []byte, vm *Engine) error { function opcodeNip (line 1317) | func opcodeNip(op *opcode, data []byte, vm *Engine) error { function opcodeOver (line 1324) | func opcodeOver(op *opcode, data []byte, vm *Engine) error { function opcodePick (line 1334) | func opcodePick(op *opcode, data []byte, vm *Engine) error { function opcodeRoll (line 1349) | func opcodeRoll(op *opcode, data []byte, vm *Engine) error { function opcodeRot (line 1361) | func opcodeRot(op *opcode, data []byte, vm *Engine) error { function opcodeSwap (line 1368) | func opcodeSwap(op *opcode, data []byte, vm *Engine) error { function opcodeTuck (line 1376) | func opcodeTuck(op *opcode, data []byte, vm *Engine) error { function opcodeSize (line 1384) | func opcodeSize(op *opcode, data []byte, vm *Engine) error { function opcodeEqual (line 1398) | func opcodeEqual(op *opcode, data []byte, vm *Engine) error { function opcodeEqualVerify (line 1419) | func opcodeEqualVerify(op *opcode, data []byte, vm *Engine) error { function opcode1Add (line 1431) | func opcode1Add(op *opcode, data []byte, vm *Engine) error { function opcode1Sub (line 1445) | func opcode1Sub(op *opcode, data []byte, vm *Engine) error { function opcodeNegate (line 1459) | func opcodeNegate(op *opcode, data []byte, vm *Engine) error { function opcodeAbs (line 1473) | func opcodeAbs(op *opcode, data []byte, vm *Engine) error { function opcodeNot (line 1498) | func opcodeNot(op *opcode, data []byte, vm *Engine) error { function opcode0NotEqual (line 1518) | func opcode0NotEqual(op *opcode, data []byte, vm *Engine) error { function opcodeAdd (line 1535) | func opcodeAdd(op *opcode, data []byte, vm *Engine) error { function opcodeSub (line 1555) | func opcodeSub(op *opcode, data []byte, vm *Engine) error { function opcodeBoolAnd (line 1577) | func opcodeBoolAnd(op *opcode, data []byte, vm *Engine) error { function opcodeBoolOr (line 1604) | func opcodeBoolOr(op *opcode, data []byte, vm *Engine) error { function opcodeNumEqual (line 1629) | func opcodeNumEqual(op *opcode, data []byte, vm *Engine) error { function opcodeNumEqualVerify (line 1657) | func opcodeNumEqualVerify(op *opcode, data []byte, vm *Engine) error { function opcodeNumNotEqual (line 1670) | func opcodeNumNotEqual(op *opcode, data []byte, vm *Engine) error { function opcodeLessThan (line 1695) | func opcodeLessThan(op *opcode, data []byte, vm *Engine) error { function opcodeGreaterThan (line 1720) | func opcodeGreaterThan(op *opcode, data []byte, vm *Engine) error { function opcodeLessThanOrEqual (line 1744) | func opcodeLessThanOrEqual(op *opcode, data []byte, vm *Engine) error { function opcodeGreaterThanOrEqual (line 1768) | func opcodeGreaterThanOrEqual(op *opcode, data []byte, vm *Engine) error { function opcodeMin (line 1792) | func opcodeMin(op *opcode, data []byte, vm *Engine) error { function opcodeMax (line 1816) | func opcodeMax(op *opcode, data []byte, vm *Engine) error { function opcodeWithin (line 1844) | func opcodeWithin(op *opcode, data []byte, vm *Engine) error { function calcHash (line 1869) | func calcHash(buf []byte, hasher hash.Hash) []byte { function opcodeRipemd160 (line 1878) | func opcodeRipemd160(op *opcode, data []byte, vm *Engine) error { function opcodeSha1 (line 1892) | func opcodeSha1(op *opcode, data []byte, vm *Engine) error { function opcodeSha256 (line 1907) | func opcodeSha256(op *opcode, data []byte, vm *Engine) error { function opcodeHash160 (line 1922) | func opcodeHash160(op *opcode, data []byte, vm *Engine) error { function opcodeHash256 (line 1937) | func opcodeHash256(op *opcode, data []byte, vm *Engine) error { function opcodeCodeSeparator (line 1951) | func opcodeCodeSeparator(op *opcode, data []byte, vm *Engine) error { function opcodeCheckSig (line 1981) | func opcodeCheckSig(op *opcode, data []byte, vm *Engine) error { function opcodeCheckSigVerify (line 2109) | func opcodeCheckSigVerify(op *opcode, data []byte, vm *Engine) error { function opcodeCheckSigAdd (line 2126) | func opcodeCheckSigAdd(op *opcode, data []byte, vm *Engine) error { type parsedSigInfo (line 2200) | type parsedSigInfo struct function opcodeCheckMultiSig (line 2225) | func opcodeCheckMultiSig(op *opcode, data []byte, vm *Engine) error { function opcodeCheckMultiSigVerify (line 2465) | func opcodeCheckMultiSigVerify(op *opcode, data []byte, vm *Engine) error { function init (line 2477) | func init() { FILE: txscript/opcode_test.go function TestOpcodeDisabled (line 18) | func TestOpcodeDisabled(t *testing.T) { function TestOpcodeDisasm (line 38) | func TestOpcodeDisasm(t *testing.T) { FILE: txscript/pkscript.go constant minPubKeyHashSigScriptLen (line 24) | minPubKeyHashSigScriptLen = 1 + ecdsa.MinSigLen + 1 + 1 + 33 constant maxPubKeyHashSigScriptLen (line 33) | maxPubKeyHashSigScriptLen = 1 + 72 + 1 + 1 + 33 constant compressedPubKeyLen (line 37) | compressedPubKeyLen = 33 constant pubKeyHashLen (line 40) | pubKeyHashLen = 25 constant witnessV0PubKeyHashLen (line 43) | witnessV0PubKeyHashLen = 22 constant scriptHashLen (line 46) | scriptHashLen = 23 constant witnessV0ScriptHashLen (line 49) | witnessV0ScriptHashLen = 34 constant witnessV1TaprootLen (line 52) | witnessV1TaprootLen = 34 constant maxLen (line 55) | maxLen = witnessV0ScriptHashLen type PkScript (line 66) | type PkScript struct method Class (line 114) | func (s PkScript) Class() ScriptClass { method Script (line 119) | func (s PkScript) Script() []byte { method Address (line 152) | func (s PkScript) Address(chainParams *chaincfg.Params) (btcutil.Addre... method String (line 162) | func (s PkScript) String() string { function ParsePkScript (line 81) | func ParsePkScript(pkScript []byte) (PkScript, error) { function isSupportedScriptType (line 103) | func isSupportedScriptType(class ScriptClass) bool { function ComputePkScript (line 171) | func ComputePkScript(sigScript []byte, witness wire.TxWitness) (PkScript... function computeNonWitnessPkScript (line 184) | func computeNonWitnessPkScript(sigScript []byte) (PkScript, error) { function computeWitnessPkScript (line 243) | func computeWitnessPkScript(witness wire.TxWitness) (PkScript, error) { function hash160 (line 278) | func hash160(data []byte) []byte { function ripemd160h (line 284) | func ripemd160h(data []byte) []byte { FILE: txscript/pkscript_test.go function TestParsePkScript (line 12) | func TestParsePkScript(t *testing.T) { function TestComputePkScript (line 191) | func TestComputePkScript(t *testing.T) { FILE: txscript/reference_test.go function scriptTestName (line 27) | func scriptTestName(test []interface{}) (string, error) { function parseHex (line 55) | func parseHex(tok string) ([]byte, error) { function parseWitnessStack (line 64) | func parseWitnessStack(elements []interface{}) ([][]byte, error) { function parseShortForm (line 93) | func parseShortForm(script string) ([]byte, error) { function parseScriptFlags (line 155) | func parseScriptFlags(flagStr string) (ScriptFlags, error) { function parseExpectedResult (line 211) | func parseExpectedResult(expected string) ([]ErrorCode, error) { function createSpendingTx (line 302) | func createSpendingTx(witness [][]byte, sigScript, pkScript []byte, type scriptWithInputVal (line 328) | type scriptWithInputVal struct function testScripts (line 336) | func testScripts(t *testing.T, tests [][]interface{}, useSigCache bool) { function TestScripts (line 494) | func TestScripts(t *testing.T) { function testVecF64ToUint32 (line 519) | func testVecF64ToUint32(f float64) uint32 { function TestTxInvalidTests (line 525) | func TestTxInvalidTests(t *testing.T) { function TestTxValidTests (line 683) | func TestTxValidTests(t *testing.T) { function TestCalcSignatureHash (line 840) | func TestCalcSignatureHash(t *testing.T) { type inputWitness (line 896) | type inputWitness struct type taprootJsonTest (line 901) | type taprootJsonTest struct function executeTaprootRefTest (line 914) | func executeTaprootRefTest(t *testing.T, testCase taprootJsonTest) { function TestTaprootReferenceTests (line 1034) | func TestTaprootReferenceTests(t *testing.T) { FILE: txscript/script.go constant TaprootAnnexTag (line 28) | TaprootAnnexTag = 0x50 constant TaprootLeafMask (line 33) | TaprootLeafMask = 0xfe constant MaxOpsPerScript (line 38) | MaxOpsPerScript = 201 constant MaxPubKeysPerMultiSig (line 39) | MaxPubKeysPerMultiSig = 20 constant MaxScriptElementSize (line 40) | MaxScriptElementSize = 520 function IsSmallInt (line 49) | func IsSmallInt(op byte) bool { function IsPayToPubKey (line 55) | func IsPayToPubKey(script []byte) bool { function IsPayToPubKeyHash (line 61) | func IsPayToPubKeyHash(script []byte) bool { function IsPayToScriptHash (line 73) | func IsPayToScriptHash(script []byte) bool { function IsPayToWitnessScriptHash (line 79) | func IsPayToWitnessScriptHash(script []byte) bool { function IsPayToWitnessPubKeyHash (line 85) | func IsPayToWitnessPubKeyHash(script []byte) bool { function IsPayToTaproot (line 91) | func IsPayToTaproot(script []byte) bool { function IsWitnessProgram (line 99) | func IsWitnessProgram(script []byte) bool { function IsNullData (line 105) | func IsNullData(script []byte) bool { function ExtractWitnessProgramInfo (line 112) | func ExtractWitnessProgramInfo(script []byte) (int, []byte, error) { function IsPushOnlyScript (line 133) | func IsPushOnlyScript(script []byte) bool { function DisasmString (line 157) | func DisasmString(script []byte) (string, error) { function removeOpcodeRaw (line 187) | func removeOpcodeRaw(script []byte, opcode byte) []byte { function isCanonicalPush (line 223) | func isCanonicalPush(opcode byte, data []byte) bool { function removeOpcodeByData (line 258) | func removeOpcodeByData(script []byte, dataToRemove []byte) ([]byte, boo... function removeOpcodeCanonical (line 286) | func removeOpcodeCanonical(t *ScriptTokenizer, script, dataToRemove []byte, function AsSmallInt (line 315) | func AsSmallInt(op byte) int { function countSigOpsV0 (line 334) | func countSigOpsV0(script []byte, precise bool) int { function GetSigOpCount (line 386) | func GetSigOpCount(script []byte) int { function finalOpcodeData (line 392) | func finalOpcodeData(scriptVersion uint16, script []byte) []byte { function GetPreciseSigOpCount (line 422) | func GetPreciseSigOpCount(scriptSig, scriptPubKey []byte, _ bool) int { function GetWitnessSigOpCount (line 460) | func GetWitnessSigOpCount(sigScript, pkScript []byte, witness wire.TxWit... function getWitnessSigOps (line 483) | func getWitnessSigOps(pkScript []byte, witness wire.TxWitness) int { function checkScriptParses (line 514) | func checkScriptParses(scriptVersion uint16, script []byte) error { function IsUnspendable (line 529) | func IsUnspendable(pkScript []byte) bool { function ScriptHasOpSuccess (line 547) | func ScriptHasOpSuccess(witnessScript []byte) bool { FILE: txscript/script_test.go function TestPushedData (line 17) | func TestPushedData(t *testing.T) { function TestHasCanonicalPush (line 77) | func TestHasCanonicalPush(t *testing.T) { function TestGetPreciseSigOps (line 123) | func TestGetPreciseSigOps(t *testing.T) { function TestGetWitnessSigOpCount (line 174) | func TestGetWitnessSigOpCount(t *testing.T) { function TestRemoveOpcodes (line 263) | func TestRemoveOpcodes(t *testing.T) { function TestRemoveOpcodeByData (line 344) | func TestRemoveOpcodeByData(t *testing.T) { function TestIsPayToScriptHash (line 505) | func TestIsPayToScriptHash(t *testing.T) { function TestIsPayToWitnessScriptHash (line 521) | func TestIsPayToWitnessScriptHash(t *testing.T) { function TestIsPayToWitnessPubKeyHash (line 537) | func TestIsPayToWitnessPubKeyHash(t *testing.T) { function TestHasCanonicalPushes (line 554) | func TestHasCanonicalPushes(t *testing.T) { function TestIsPushOnlyScript (line 598) | func TestIsPushOnlyScript(t *testing.T) { function TestIsUnspendable (line 620) | func TestIsUnspendable(t *testing.T) { FILE: txscript/scriptbuilder.go constant defaultScriptAlloc (line 20) | defaultScriptAlloc = 500 type scriptBuilderConfig (line 25) | type scriptBuilderConfig struct function defaultScriptBuilderConfig (line 33) | func defaultScriptBuilderConfig() *scriptBuilderConfig { type ScriptBuilderOpt (line 41) | type ScriptBuilderOpt function WithScriptAllocSize (line 45) | func WithScriptAllocSize(size int) ScriptBuilderOpt { type ErrScriptNotCanonical (line 53) | type ErrScriptNotCanonical method Error (line 56) | func (e ErrScriptNotCanonical) Error() string { type ScriptBuilder (line 81) | type ScriptBuilder struct method AddOp (line 89) | func (b *ScriptBuilder) AddOp(opcode byte) *ScriptBuilder { method AddOps (line 110) | func (b *ScriptBuilder) AddOps(opcodes []byte) *ScriptBuilder { method addData (line 159) | func (b *ScriptBuilder) addData(data []byte) *ScriptBuilder { method AddFullData (line 209) | func (b *ScriptBuilder) AddFullData(data []byte) *ScriptBuilder { method AddData (line 224) | func (b *ScriptBuilder) AddData(data []byte) *ScriptBuilder { method AddInt64 (line 257) | func (b *ScriptBuilder) AddInt64(val int64) *ScriptBuilder { method Reset (line 286) | func (b *ScriptBuilder) Reset() *ScriptBuilder { method Script (line 295) | func (b *ScriptBuilder) Script() ([]byte, error) { function canonicalDataSize (line 130) | func canonicalDataSize(data []byte) int { function NewScriptBuilder (line 301) | func NewScriptBuilder(opts ...ScriptBuilderOpt) *ScriptBuilder { FILE: txscript/scriptbuilder_test.go function TestScriptBuilderAlloc (line 16) | func TestScriptBuilderAlloc(t *testing.T) { function TestScriptBuilderAddOp (line 44) | func TestScriptBuilderAddOp(t *testing.T) { function TestScriptBuilderAddInt64 (line 113) | func TestScriptBuilderAddInt64(t *testing.T) { function TestScriptBuilderAddData (line 182) | func TestScriptBuilderAddData(t *testing.T) { function TestExceedMaxScriptSize (line 319) | func TestExceedMaxScriptSize(t *testing.T) { function TestErroredScript (line 371) | func TestErroredScript(t *testing.T) { FILE: txscript/scriptnum.go constant maxInt32 (line 12) | maxInt32 = 1<<31 - 1 constant minInt32 (line 13) | minInt32 = -1 << 31 constant maxScriptNumLen (line 17) | maxScriptNumLen = 4 constant cltvMaxScriptNumLen (line 29) | cltvMaxScriptNumLen = 5 type scriptNum (line 58) | type scriptNum method Bytes (line 105) | func (n scriptNum) Bytes() []byte { method Int32 (line 160) | func (n scriptNum) Int32() int32 { function checkMinimalDataEncoding (line 62) | func checkMinimalDataEncoding(v []byte) error { function MakeScriptNum (line 198) | func MakeScriptNum(v []byte, requireMinimal bool, scriptNumLen int) (scr... FILE: txscript/scriptnum_test.go function hexToBytes (line 17) | func hexToBytes(s string) []byte { function TestScriptNumBytes (line 27) | func TestScriptNumBytes(t *testing.T) { function TestMakeScriptNum (line 91) | func TestMakeScriptNum(t *testing.T) { function TestScriptNumInt32 (line 216) | func TestScriptNumInt32(t *testing.T) { FILE: txscript/sigcache.go type sigCacheEntry (line 20) | type sigCacheEntry struct type SigCache (line 38) | type SigCache struct method Exists (line 61) | func (s *SigCache) Exists(sigHash chainhash.Hash, sig []byte, pubKey [... method Add (line 76) | func (s *SigCache) Add(sigHash chainhash.Hash, sig []byte, pubKey []by... function NewSigCache (line 49) | func NewSigCache(maxEntries uint) *SigCache { FILE: txscript/sigcache_test.go function genRandomSig (line 19) | func genRandomSig() (*chainhash.Hash, *ecdsa.Signature, *btcec.PublicKey... function TestSigCacheAddExists (line 37) | func TestSigCacheAddExists(t *testing.T) { function TestSigCacheAddEvictEntry (line 60) | func TestSigCacheAddEvictEntry(t *testing.T) { function TestSigCacheAddMaxEntriesZeroOrNegative (line 118) | func TestSigCacheAddMaxEntriesZeroOrNegative(t *testing.T) { FILE: txscript/sighash.go type SigHashType (line 21) | type SigHashType constant SigHashDefault (line 25) | SigHashDefault SigHashType = 0x00 constant SigHashOld (line 26) | SigHashOld SigHashType = 0x0 constant SigHashAll (line 27) | SigHashAll SigHashType = 0x1 constant SigHashNone (line 28) | SigHashNone SigHashType = 0x2 constant SigHashSingle (line 29) | SigHashSingle SigHashType = 0x3 constant SigHashAnyOneCanPay (line 30) | SigHashAnyOneCanPay SigHashType = 0x80 constant sigHashMask (line 34) | sigHashMask = 0x1f constant blankCodeSepValue (line 40) | blankCodeSepValue = math.MaxUint32 function shallowCopyTx (line 47) | func shallowCopyTx(tx *wire.MsgTx) wire.MsgTx { function CalcSignatureHash (line 78) | func CalcSignatureHash(script []byte, hashType SigHashType, tx *wire.Msg... function calcSignatureHash (line 89) | func calcSignatureHash(sigScript []byte, hashType SigHashType, tx *wire.... function calcWitnessSignatureHashRaw (line 197) | func calcWitnessSignatureHashRaw(subScript []byte, sigHashes *TxSigHashes, function CalcWitnessSigHash (line 313) | func CalcWitnessSigHash(script []byte, sigHashes *TxSigHashes, hType Sig... type sigHashExtFlag (line 327) | type sigHashExtFlag constant baseSigHashExtFlag (line 333) | baseSigHashExtFlag sigHashExtFlag = 0 constant tapscriptSighashExtFlag (line 339) | tapscriptSighashExtFlag sigHashExtFlag = 1 type taprootSigHashOptions (line 344) | type taprootSigHashOptions struct method writeDigestExtensions (line 369) | func (t *taprootSigHashOptions) writeDigestExtensions(w io.Writer) err... function defaultTaprootSighashOptions (line 396) | func defaultTaprootSighashOptions() *taprootSigHashOptions { type TaprootSigHashOption (line 402) | type TaprootSigHashOption function WithAnnex (line 407) | func WithAnnex(annex []byte) TaprootSigHashOption { function WithBaseTapscriptVersion (line 421) | func WithBaseTapscriptVersion(codeSepPos uint32, function isValidTaprootSigHash (line 434) | func isValidTaprootSigHash(hashType SigHashType) bool { function calcTaprootSignatureHashRaw (line 448) | func calcTaprootSignatureHashRaw(sigHashes *TxSigHashes, hType SigHashType, function CalcTaprootSignatureHash (line 611) | func CalcTaprootSignatureHash(sigHashes *TxSigHashes, hType SigHashType, function CalcTapscriptSignaturehash (line 628) | func CalcTapscriptSignaturehash(sigHashes *TxSigHashes, hType SigHashType, FILE: txscript/sign.go function RawTxInWitnessSignature (line 23) | func RawTxInWitnessSignature(tx *wire.MsgTx, sigHashes *TxSigHashes, idx... function WitnessSignature (line 43) | func WitnessSignature(tx *wire.MsgTx, sigHashes *TxSigHashes, idx int, a... function RawTxInTaprootSignature (line 70) | func RawTxInTaprootSignature(tx *wire.MsgTx, sigHashes *TxSigHashes, idx... function TaprootWitnessSignature (line 114) | func TaprootWitnessSignature(tx *wire.MsgTx, sigHashes *TxSigHashes, idx... function RawTxInTapscriptSignature (line 143) | func RawTxInTapscriptSignature(tx *wire.MsgTx, sigHashes *TxSigHashes, i... function RawTxInSignature (line 177) | func RawTxInSignature(tx *wire.MsgTx, idx int, subScript []byte, function SignatureScript (line 197) | func SignatureScript(tx *wire.MsgTx, idx int, subscript []byte, hashType... function p2pkSignatureScript (line 214) | func p2pkSignatureScript(tx *wire.MsgTx, idx int, subScript []byte, hash... function signMultiSig (line 227) | func signMultiSig(tx *wire.MsgTx, idx int, subScript []byte, hashType Si... function sign (line 256) | func sign(chainParams *chaincfg.Params, tx *wire.MsgTx, idx int, function mergeMultiSig (line 325) | func mergeMultiSig(tx *wire.MsgTx, idx int, addresses []btcutil.Address, function mergeScripts (line 447) | func mergeScripts(chainParams *chaincfg.Params, tx *wire.MsgTx, idx int, type KeyDB (line 514) | type KeyDB interface type KeyClosure (line 519) | type KeyClosure method GetKey (line 522) | func (kc KeyClosure) GetKey(address btcutil.Address) (*btcec.PrivateKe... type ScriptDB (line 528) | type ScriptDB interface type ScriptClosure (line 533) | type ScriptClosure method GetScript (line 536) | func (sc ScriptClosure) GetScript(address btcutil.Address) ([]byte, er... function SignTxOutput (line 551) | func SignTxOutput(chainParams *chaincfg.Params, tx *wire.MsgTx, idx int, FILE: txscript/sign_test.go type addressToKey (line 21) | type addressToKey struct function mkGetKey (line 26) | func mkGetKey(keys map[string]addressToKey) KeyDB { function mkGetScript (line 43) | func mkGetScript(scripts map[string][]byte) ScriptDB { function checkScripts (line 58) | func checkScripts(msg string, tx *wire.MsgTx, idx int, inputAmt int64, s... function signAndCheck (line 76) | func signAndCheck(msg string, tx *wire.MsgTx, idx int, inputAmt int64, p... function TestSignTxOutput (line 89) | func TestSignTxOutput(t *testing.T) { type tstInput (line 1365) | type tstInput struct type tstSigScript (line 1372) | type tstSigScript struct constant coinbaseVal (line 1413) | coinbaseVal = 2500000000 constant fee (line 1414) | fee = 5000000 function TestSignatureScript (line 1615) | func TestSignatureScript(t *testing.T) { function TestRawTxInTaprootSignature (line 1700) | func TestRawTxInTaprootSignature(t *testing.T) { function TestRawTxInTapscriptSignature (line 1787) | func TestRawTxInTapscriptSignature(t *testing.T) { FILE: txscript/sigvalidate.go type signatureVerifier (line 22) | type signatureVerifier interface type verifyResult (line 28) | type verifyResult struct type baseSigVerifier (line 35) | type baseSigVerifier struct method verifySig (line 137) | func (b *baseSigVerifier) verifySig(sigHash []byte) bool { method Verify (line 159) | func (b *baseSigVerifier) Verify() verifyResult { function parseBaseSigAndPubkey (line 55) | func parseBaseSigAndPubkey(pkBytes, fullSigBytes []byte, function newBaseSigVerifier (line 110) | func newBaseSigVerifier(pkBytes, fullSigBytes []byte, type baseSegwitSigVerifier (line 181) | type baseSegwitSigVerifier struct method Verify (line 203) | func (s *baseSegwitSigVerifier) Verify() verifyResult { function newBaseSegwitSigVerifier (line 186) | func newBaseSegwitSigVerifier(pkBytes, fullSigBytes []byte, type taprootSigVerifier (line 233) | type taprootSigVerifier struct method verifySig (line 342) | func (t *taprootSigVerifier) verifySig(sigHash []byte) bool { method Verify (line 373) | func (t *taprootSigVerifier) Verify() verifyResult { function parseTaprootSigAndPubKey (line 257) | func parseTaprootSigAndPubKey(pkBytes, rawSig []byte, function newTaprootSigVerifier (line 313) | func newTaprootSigVerifier(pkBytes []byte, fullSigBytes []byte, type baseTapscriptSigVerifier (line 401) | type baseTapscriptSigVerifier struct method Verify (line 458) | func (b *baseTapscriptSigVerifier) Verify() verifyResult { function newBaseTapscriptSigVerifier (line 410) | func newBaseTapscriptSigVerifier(pkBytes, rawSig []byte, FILE: txscript/stack.go function asBool (line 13) | func asBool(t []byte) bool { function fromBool (line 27) | func fromBool(v bool) []byte { type stack (line 38) | type stack struct method Depth (line 44) | func (s *stack) Depth() int32 { method PushByteArray (line 51) | func (s *stack) PushByteArray(so []byte) { method PushInt (line 59) | func (s *stack) PushInt(val scriptNum) { method PushBool (line 67) | func (s *stack) PushBool(val bool) { method PopByteArray (line 74) | func (s *stack) PopByteArray() ([]byte, error) { method PopInt (line 83) | func (s *stack) PopInt() (scriptNum, error) { method PopBool (line 96) | func (s *stack) PopBool() (bool, error) { method PeekByteArray (line 106) | func (s *stack) PeekByteArray(idx int32) ([]byte, error) { method PeekInt (line 120) | func (s *stack) PeekInt(idx int32) (scriptNum, error) { method PeekBool (line 130) | func (s *stack) PeekBool(idx int32) (bool, error) { method nipN (line 146) | func (s *stack) nipN(idx int32) ([]byte, error) { method NipN (line 175) | func (s *stack) NipN(idx int32) error { method Tuck (line 184) | func (s *stack) Tuck() error { method DropN (line 205) | func (s *stack) DropN(n int32) error { method DupN (line 225) | func (s *stack) DupN(n int32) error { method RotN (line 248) | func (s *stack) RotN(n int32) error { method SwapN (line 273) | func (s *stack) SwapN(n int32) error { method OverN (line 297) | func (s *stack) OverN(n int32) error { method PickN (line 323) | func (s *stack) PickN(n int32) error { method RollN (line 339) | func (s *stack) RollN(n int32) error { method String (line 351) | func (s *stack) String() string { FILE: txscript/stack_test.go function tstCheckScriptError (line 18) | func tstCheckScriptError(gotErr, wantErr error) error { function TestStack (line 48) | func TestStack(t *testing.T) { FILE: txscript/standard.go constant MaxDataCarrierSize (line 18) | MaxDataCarrierSize = 80 constant StandardVerifyFlags (line 30) | StandardVerifyFlags = ScriptBip16 | type ScriptClass (line 54) | type ScriptClass method String (line 88) | func (t ScriptClass) String() string { constant NonStandardTy (line 58) | NonStandardTy ScriptClass = iota constant PubKeyTy (line 59) | PubKeyTy constant PubKeyHashTy (line 60) | PubKeyHashTy constant WitnessV0PubKeyHashTy (line 61) | WitnessV0PubKeyHashTy constant ScriptHashTy (line 62) | ScriptHashTy constant WitnessV0ScriptHashTy (line 63) | WitnessV0ScriptHashTy constant MultiSigTy (line 64) | MultiSigTy constant NullDataTy (line 65) | NullDataTy constant WitnessV1TaprootTy (line 66) | WitnessV1TaprootTy constant WitnessUnknownTy (line 67) | WitnessUnknownTy function extractCompressedPubKey (line 98) | func extractCompressedPubKey(script []byte) []byte { function extractUncompressedPubKey (line 117) | func extractUncompressedPubKey(script []byte) []byte { function extractPubKey (line 139) | func extractPubKey(script []byte) []byte { function isPubKeyScript (line 149) | func isPubKeyScript(script []byte) bool { function extractPubKeyHash (line 155) | func extractPubKeyHash(script []byte) []byte { function isPubKeyHashScript (line 173) | func isPubKeyHashScript(script []byte) bool { function extractScriptHash (line 183) | func extractScriptHash(script []byte) []byte { function isScriptHashScript (line 199) | func isScriptHashScript(script []byte) bool { type multiSigDetails (line 204) | type multiSigDetails struct function extractMultisigScriptDetails (line 223) | func extractMultisigScriptDetails(scriptVersion uint16, script []byte, e... function isMultisigScript (line 298) | func isMultisigScript(scriptVersion uint16, script []byte) bool { function IsMultisigScript (line 313) | func IsMultisigScript(script []byte) (bool, error) { function IsMultisigSigScript (line 330) | func IsMultisigSigScript(script []byte) bool { function extractWitnessPubKeyHash (line 356) | func extractWitnessPubKeyHash(script []byte) []byte { function isWitnessPubKeyHashScript (line 371) | func isWitnessPubKeyHashScript(script []byte) bool { function extractWitnessV0ScriptHash (line 378) | func extractWitnessV0ScriptHash(script []byte) []byte { function extractWitnessV1KeyBytes (line 393) | func extractWitnessV1KeyBytes(script []byte) []byte { function isWitnessScriptHashScript (line 408) | func isWitnessScriptHashScript(script []byte) bool { function extractWitnessProgramInfo (line 415) | func extractWitnessProgramInfo(script []byte) (int, []byte, bool) { function isWitnessProgramScript (line 460) | func isWitnessProgramScript(script []byte) bool { function isWitnessTaprootScript (line 467) | func isWitnessTaprootScript(script []byte) bool { function isAnnexedWitness (line 473) | func isAnnexedWitness(witness wire.TxWitness) bool { function extractAnnex (line 484) | func extractAnnex(witness [][]byte) ([]byte, error) { function isNullDataScript (line 498) | func isNullDataScript(scriptVersion uint16, script []byte) bool { function typeOfScript (line 531) | func typeOfScript(scriptVersion uint16, script []byte) ScriptClass { function GetScriptClass (line 563) | func GetScriptClass(script []byte) ScriptClass { function NewScriptClass (line 580) | func NewScriptClass(name string) (*ScriptClass, error) { function expectedInputs (line 600) | func expectedInputs(script []byte, class ScriptClass) int { type ScriptInfo (line 642) | type ScriptInfo struct function CalcScriptInfo (line 669) | func CalcScriptInfo(sigScript, pkScript []byte, witness wire.TxWitness, function CalcMultiSigStats (line 779) | func CalcMultiSigStats(script []byte) (int, int, error) { function payToPubKeyHashScript (line 795) | func payToPubKeyHashScript(pubKeyHash []byte) ([]byte, error) { function payToWitnessPubKeyHashScript (line 803) | func payToWitnessPubKeyHashScript(pubKeyHash []byte) ([]byte, error) { function payToScriptHashScript (line 809) | func payToScriptHashScript(scriptHash []byte) ([]byte, error) { function payToWitnessScriptHashScript (line 816) | func payToWitnessScriptHashScript(scriptHash []byte) ([]byte, error) { function payToWitnessTaprootScript (line 822) | func payToWitnessTaprootScript(rawKey []byte) ([]byte, error) { function payToPubKeyScript (line 828) | func payToPubKeyScript(serializedPubKey []byte) ([]byte, error) { function PayToAddrScript (line 835) | func PayToAddrScript(addr btcutil.Address) ([]byte, error) { function NullDataScript (line 888) | func NullDataScript(data []byte) ([]byte, error) { function MultiSigScript (line 902) | func MultiSigScript(pubkeys []*btcutil.AddressPubKey, nrequired int) ([]... function PushedData (line 922) | func PushedData(script []byte) ([][]byte, error) { function pubKeyHashToAddrs (line 943) | func pubKeyHashToAddrs(hash []byte, params *chaincfg.Params) []btcutil.A... function scriptHashToAddrs (line 956) | func scriptHashToAddrs(hash []byte, params *chaincfg.Params) []btcutil.A... function ExtractPkScriptAddrs (line 970) | func ExtractPkScriptAddrs(pkScript []byte, type AtomicSwapDataPushes (line 1046) | type AtomicSwapDataPushes struct function ExtractAtomicSwapDataPushes (line 1069) | func ExtractAtomicSwapDataPushes(version uint16, pkScript []byte) (*Atom... FILE: txscript/standard_test.go function mustParseShortForm (line 23) | func mustParseShortForm(script string) []byte { function newAddressPubKey (line 37) | func newAddressPubKey(serializedPubKey []byte) btcutil.Address { function newAddressPubKeyHash (line 51) | func newAddressPubKeyHash(pkHash []byte) btcutil.Address { function newAddressScriptHash (line 64) | func newAddressScriptHash(scriptHash []byte) btcutil.Address { function newAddressTaproot (line 78) | func newAddressTaproot(scriptHash []byte) btcutil.Address { function TestExtractPkScriptAddrs (line 90) | func TestExtractPkScriptAddrs(t *testing.T) { function TestCalcScriptInfo (line 400) | func TestCalcScriptInfo(t *testing.T) { type bogusAddress (line 592) | type bogusAddress struct method EncodeAddress (line 596) | func (b *bogusAddress) EncodeAddress() string { method ScriptAddress (line 602) | func (b *bogusAddress) ScriptAddress() []byte { method IsForNet (line 607) | func (b *bogusAddress) IsForNet(chainParams *chaincfg.Params) bool { method String (line 613) | func (b *bogusAddress) String() string { function TestPayToAddrScript (line 619) | func TestPayToAddrScript(t *testing.T) { function TestMultiSigScript (line 782) | func TestMultiSigScript(t *testing.T) { function TestCalcMultiSigStats (line 889) | func TestCalcMultiSigStats(t *testing.T) { function TestScriptClass (line 1114) | func TestScriptClass(t *testing.T) { function TestStringifyClass (line 1130) | func TestStringifyClass(t *testing.T) { function TestNullDataScript (line 1195) | func TestNullDataScript(t *testing.T) { function TestNewScriptClass (line 1281) | func TestNewScriptClass(t *testing.T) { FILE: txscript/taproot.go type TapscriptLeafVersion (line 23) | type TapscriptLeafVersion constant BaseLeafVersion (line 28) | BaseLeafVersion TapscriptLeafVersion = 0xc0 constant ControlBlockBaseSize (line 35) | ControlBlockBaseSize = 33 constant ControlBlockNodeSize (line 39) | ControlBlockNodeSize = 32 constant ControlBlockMaxNodeCount (line 44) | ControlBlockMaxNodeCount = 128 constant ControlBlockMaxSize (line 49) | ControlBlockMaxSize = ControlBlockBaseSize + (ControlBlockNodeSize * function VerifyTaprootKeySpend (line 60) | func VerifyTaprootKeySpend(witnessProgram []byte, rawSig []byte, tx *wir... type ControlBlock (line 101) | type ControlBlock struct method ToBytes (line 121) | func (c *ControlBlock) ToBytes() ([]byte, error) { method RootHash (line 154) | func (c *ControlBlock) RootHash(revealedScript []byte) []byte { function ParseControlBlock (line 183) | func ParseControlBlock(ctrlBlock []byte) (*ControlBlock, error) { function ComputeTaprootOutputKey (line 244) | func ComputeTaprootOutputKey(pubKey *btcec.PublicKey, function ComputeTaprootKeyNoScript (line 287) | func ComputeTaprootKeyNoScript(internalKey *btcec.PublicKey) *btcec.Publ... function TweakTaprootPrivKey (line 299) | func TweakTaprootPrivKey(privKey btcec.PrivateKey, function VerifyTaprootLeafCommitment (line 336) | func VerifyTaprootLeafCommitment(controlBlock *ControlBlock, type TapNode (line 380) | type TapNode interface type TapLeaf (line 395) | type TapLeaf struct method Left (line 406) | func (t TapLeaf) Left() TapNode { method Right (line 412) | func (t TapLeaf) Right() TapNode { method TapHash (line 437) | func (t TapLeaf) TapHash() chainhash.Hash { function NewBaseTapLeaf (line 418) | func NewBaseTapLeaf(script []byte) TapLeaf { function NewTapLeaf (line 427) | func NewTapLeaf(leafVersion TapscriptLeafVersion, script []byte) TapLeaf { type TapBranch (line 454) | type TapBranch struct method Left (line 473) | func (t TapBranch) Left() TapNode { method Right (line 478) | func (t TapBranch) Right() TapNode { method TapHash (line 485) | func (t TapBranch) TapHash() chainhash.Hash { function NewTapBranch (line 463) | func NewTapBranch(l, r TapNode) TapBranch { function tapBranchHash (line 493) | func tapBranchHash(l, r []byte) chainhash.Hash { type TapscriptProof (line 505) | type TapscriptProof struct method ToControlBlock (line 521) | func (t *TapscriptProof) ToControlBlock(internalKey *btcec.PublicKey) ... type IndexedTapScriptTree (line 550) | type IndexedTapScriptTree struct function NewIndexedTapScriptTree (line 570) | func NewIndexedTapScriptTree(numLeaves int) *IndexedTapScriptTree { function hashTapNodes (line 582) | func hashTapNodes(left, right TapNode) (*chainhash.Hash, *chainhash.Hash... function leafDescendants (line 607) | func leafDescendants(node TapNode) []TapNode { function AssembleTaprootScriptTree (line 626) | func AssembleTaprootScriptTree(leaves ...TapLeaf) *IndexedTapScriptTree { function PayToTaprootScript (line 782) | func PayToTaprootScript(taprootKey *btcec.PublicKey) ([]byte, error) { FILE: txscript/taproot_test.go function TestControlBlockParsing (line 51) | func TestControlBlockParsing(t *testing.T) { function TestTaprootScriptSpendTweak (line 171) | func TestTaprootScriptSpendTweak(t *testing.T) { function TestTaprootTweakNoMutation (line 209) | func TestTaprootTweakNoMutation(t *testing.T) { function TestTaprootConstructKeyPath (line 244) | func TestTaprootConstructKeyPath(t *testing.T) { function derivePath (line 271) | func derivePath(key *hdkeychain.ExtendedKey, path []uint32) ( function TestTapscriptCommitmentVerification (line 290) | func TestTapscriptCommitmentVerification(t *testing.T) { FILE: txscript/template.go type ScriptTemplateOption (line 14) | type ScriptTemplateOption type templateConfig (line 17) | type templateConfig struct function WithScriptTemplateParams (line 24) | func WithScriptTemplateParams(params map[string]interface{}) ScriptTempl... function WithCustomTemplateFunc (line 33) | func WithCustomTemplateFunc(name string, fn interface{}) ScriptTemplateO... function ScriptTemplate (line 55) | func ScriptTemplate(scriptTmpl string, opts ...ScriptTemplateOption) ([]... function looksLikeInt (line 90) | func looksLikeInt(s string) bool { function processScript (line 109) | func processScript(script string) ([]byte, error) { function rangeIter (line 178) | func rangeIter(start, end int) []int { function hexEncode (line 191) | func hexEncode(data []byte) string { function hexStr (line 197) | func hexStr(data []byte) string { function hexDecode (line 202) | func hexDecode(s string) ([]byte, error) { function ExampleScriptTemplate (line 207) | func ExampleScriptTemplate() { FILE: txscript/template_test.go function TestScriptTemplateLooksLikeInt (line 10) | func TestScriptTemplateLooksLikeInt(t *testing.T) { function TestScriptTemplate (line 43) | func TestScriptTemplate(t *testing.T) { function TestScriptTemplateOptions (line 226) | func TestScriptTemplateOptions(t *testing.T) { function TestScriptTemplateHelperFunctions (line 273) | func TestScriptTemplateHelperFunctions(t *testing.T) { FILE: txscript/tokenizer.go function init (line 15) | func init() { type ScriptTokenizer (line 31) | type ScriptTokenizer struct method Done (line 43) | func (t *ScriptTokenizer) Done() bool { method Next (line 63) | func (t *ScriptTokenizer) Next() bool { method Script (line 152) | func (t *ScriptTokenizer) Script() []byte { method ByteIndex (line 158) | func (t *ScriptTokenizer) ByteIndex() int32 { method OpcodePosition (line 168) | func (t *ScriptTokenizer) OpcodePosition() int32 { method Opcode (line 173) | func (t *ScriptTokenizer) Opcode() byte { method Data (line 179) | func (t *ScriptTokenizer) Data() []byte { method Err (line 185) | func (t *ScriptTokenizer) Err() error { function MakeScriptTokenizer (line 194) | func MakeScriptTokenizer(scriptVersion uint16, script []byte) ScriptToke... FILE: txscript/tokenizer_test.go function TestScriptTokenizer (line 15) | func TestScriptTokenizer(t *testing.T) { function TestScriptTokenizerUnsupportedVersion (line 253) | func TestScriptTokenizerUnsupportedVersion(t *testing.T) { FILE: upgrade.go function dirEmpty (line 14) | func dirEmpty(dirPath string) (bool, error) { function oldBtcdHomeDir (line 34) | func oldBtcdHomeDir() string { function upgradeDBPathNet (line 54) | func upgradeDBPathNet(oldDbPath, netName string) error { function upgradeDBPaths (line 93) | func upgradeDBPaths() error { function upgradeDataPaths (line 109) | func upgradeDataPaths() error { function doUpgrades (line 169) | func doUpgrades() error { FILE: upnp.go type NAT (line 51) | type NAT interface type upnpNAT (line 62) | type upnpNAT struct method GetExternalAddress (line 337) | func (n *upnpNAT) GetExternalAddress() (addr net.IP, err error) { method AddPortMapping (line 359) | func (n *upnpNAT) AddPortMapping(protocol string, externalPort, intern... method DeletePortMapping (line 387) | func (n *upnpNAT) DeletePortMapping(protocol string, externalPort, int... function Discover (line 69) | func Discover() (nat NAT, err error) { type service (line 144) | type service struct type deviceList (line 152) | type deviceList struct type serviceList (line 160) | type serviceList struct type device (line 168) | type device struct type specVersion (line 178) | type specVersion struct type root (line 187) | type root struct function getChildDevice (line 195) | func getChildDevice(d *device, deviceType string) *device { function getChildService (line 206) | func getChildService(d *device, serviceType string) *service { function getOurIP (line 216) | func getOurIP() (ip string, err error) { function getServiceURL (line 226) | func getServiceURL(rootURL string) (url string, err error) { function combineURL (line 266) | func combineURL(rootURL, subURL string) string { type soapBody (line 276) | type soapBody struct type soapEnvelope (line 283) | type soapEnvelope struct function soapRequest (line 291) | func soapRequest(url, function, message string) (replyXML []byte, err er... type getExternalIPAddressResponse (line 330) | type getExternalIPAddressResponse struct FILE: v2transport/chacha.go constant rekeyInterval (line 15) | rekeyInterval = 224 constant keySize (line 18) | keySize = 32 type FSChaCha20Poly1305 (line 23) | type FSChaCha20Poly1305 struct method Encrypt (line 47) | func (f *FSChaCha20Poly1305) Encrypt(aad, plaintext []byte) ([]byte, e... method Decrypt (line 53) | func (f *FSChaCha20Poly1305) Decrypt(aad, ciphertext []byte) ([]byte, ... method crypt (line 60) | func (f *FSChaCha20Poly1305) crypt(aad, text []byte, function NewFSChaCha20Poly1305 (line 30) | func NewFSChaCha20Poly1305(initialKey []byte) (*FSChaCha20Poly1305, erro... type FSChaCha20 (line 118) | type FSChaCha20 struct method Crypt (line 145) | func (f *FSChaCha20) Crypt(text []byte) ([]byte, error) { function NewFSChaCha20 (line 125) | func NewFSChaCha20(initialKey []byte) (*FSChaCha20, error) { FILE: v2transport/log.go constant Subsystem (line 11) | Subsystem = "V2TR" function init (line 19) | func init() { function DisableLog (line 25) | func DisableLog() { function UseLogger (line 30) | func UseLogger(logger btclog.Logger) { FILE: v2transport/transport.go type packetBit (line 19) | type packetBit constant ignoreBitPos (line 24) | ignoreBitPos packetBit = 7 type BitcoinNet (line 32) | type BitcoinNet constant garbageSize (line 37) | garbageSize = 16 constant MaxGarbageLen (line 41) | MaxGarbageLen = 4095 constant maxContentLen (line 49) | maxContentLen = 1<<24 - 1 constant lengthFieldLen (line 53) | lengthFieldLen = 3 constant headerLen (line 57) | headerLen = 1 constant chachapoly1305Expansion (line 62) | chachapoly1305Expansion = 16 type Peer (line 111) | type Peer struct method createV2Ciphers (line 187) | func (p *Peer) createV2Ciphers(ecdhSecret []byte, initiating bool, method InitiateV2Handshake (line 356) | func (p *Peer) InitiateV2Handshake(garbageLen int) error { method RespondV2Handshake (line 385) | func (p *Peer) RespondV2Handshake(garbageLen int, net BitcoinNet) error { method generateKeyAndGarbage (line 453) | func (p *Peer) generateKeyAndGarbage(garbageLen int) ([]byte, error) { method CompleteHandshake (line 501) | func (p *Peer) CompleteHandshake(initiating bool, decoyContentLens []int, method V2EncPacket (line 714) | func (p *Peer) V2EncPacket(contents []byte, aad []byte, ignore bool) (... method V2ReceivePacket (line 791) | func (p *Peer) V2ReceivePacket(aad []byte) ([]byte, error) { method ReceivedPrefix (line 876) | func (p *Peer) ReceivedPrefix() []byte { method ShouldDowngradeToV1 (line 883) | func (p *Peer) ShouldDowngradeToV1() bool { method UseReadWriter (line 888) | func (p *Peer) UseReadWriter(rw io.ReadWriter) { method Send (line 894) | func (p *Peer) Send(data []byte) (int, error) { method Receive (line 906) | func (p *Peer) Receive(numBytes int) ([]byte, int, error) { function NewPeer (line 172) | func NewPeer() *Peer { function createV1Prefix (line 483) | func createV1Prefix(net BitcoinNet) []byte { FILE: v2transport/transport_test.go function setHex (line 13) | func setHex(hexString string) *btcec.FieldVal { constant mainNet (line 26) | mainNet = 0xd9b4bef9 function TestPacketEncodingVectors (line 29) | func TestPacketEncodingVectors(t *testing.T) { FILE: version.go constant semanticAlphabet (line 14) | semanticAlphabet = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnop... constant appMajor (line 19) | appMajor uint = 0 constant appMinor (line 20) | appMinor uint = 25 constant appPatch (line 21) | appPatch uint = 0 constant appPreRelease (line 25) | appPreRelease = "beta" function version (line 35) | func version() string { function normalizeVerString (line 64) | func normalizeVerString(str string) string { FILE: wire/bench_test.go function BenchmarkWriteVarInt1 (line 65) | func BenchmarkWriteVarInt1(b *testing.B) { function BenchmarkWriteVarInt3 (line 75) | func BenchmarkWriteVarInt3(b *testing.B) { function BenchmarkWriteVarInt5 (line 85) | func BenchmarkWriteVarInt5(b *testing.B) { function BenchmarkWriteVarInt9 (line 95) | func BenchmarkWriteVarInt9(b *testing.B) { function BenchmarkReadVarInt1 (line 105) | func BenchmarkReadVarInt1(b *testing.B) { function BenchmarkReadVarInt3 (line 118) | func BenchmarkReadVarInt3(b *testing.B) { function BenchmarkReadVarInt5 (line 131) | func BenchmarkReadVarInt5(b *testing.B) { function BenchmarkReadVarInt9 (line 144) | func BenchmarkReadVarInt9(b *testing.B) { function BenchmarkWriteVarIntBuf1 (line 157) | func BenchmarkWriteVarIntBuf1(b *testing.B) { function BenchmarkWriteVarIntBuf3 (line 169) | func BenchmarkWriteVarIntBuf3(b *testing.B) { function BenchmarkWriteVarIntBuf5 (line 181) | func BenchmarkWriteVarIntBuf5(b *testing.B) { function BenchmarkWriteVarIntBuf9 (line 193) | func BenchmarkWriteVarIntBuf9(b *testing.B) { function BenchmarkReadVarIntBuf1 (line 205) | func BenchmarkReadVarIntBuf1(b *testing.B) { function BenchmarkReadVarIntBuf3 (line 220) | func BenchmarkReadVarIntBuf3(b *testing.B) { function BenchmarkReadVarIntBuf5 (line 235) | func BenchmarkReadVarIntBuf5(b *testing.B) { function BenchmarkReadVarIntBuf9 (line 250) | func BenchmarkReadVarIntBuf9(b *testing.B) { function BenchmarkReadVarStr4 (line 265) | func BenchmarkReadVarStr4(b *testing.B) { function BenchmarkReadVarStr10 (line 278) | func BenchmarkReadVarStr10(b *testing.B) { function BenchmarkWriteVarStr4 (line 291) | func BenchmarkWriteVarStr4(b *testing.B) { function BenchmarkWriteVarStr10 (line 301) | func BenchmarkWriteVarStr10(b *testing.B) { function BenchmarkReadVarStrBuf4 (line 311) | func BenchmarkReadVarStrBuf4(b *testing.B) { function BenchmarkReadVarStrBuf10 (line 326) | func BenchmarkReadVarStrBuf10(b *testing.B) { function BenchmarkWriteVarStrBuf4 (line 341) | func BenchmarkWriteVarStrBuf4(b *testing.B) { function BenchmarkWriteVarStrBuf10 (line 353) | func BenchmarkWriteVarStrBuf10(b *testing.B) { function BenchmarkReadOutPoint (line 365) | func BenchmarkReadOutPoint(b *testing.B) { function BenchmarkWriteOutPoint (line 387) | func BenchmarkWriteOutPoint(b *testing.B) { function BenchmarkWriteOutPointBuf (line 401) | func BenchmarkWriteOutPointBuf(b *testing.B) { function BenchmarkReadTxOut (line 417) | func BenchmarkReadTxOut(b *testing.B) { function BenchmarkReadTxOutBuf (line 445) | func BenchmarkReadTxOutBuf(b *testing.B) { function BenchmarkWriteTxOut (line 478) | func BenchmarkWriteTxOut(b *testing.B) { function BenchmarkWriteTxOutBuf (line 489) | func BenchmarkWriteTxOutBuf(b *testing.B) { function BenchmarkReadTxIn (line 502) | func BenchmarkReadTxIn(b *testing.B) { function BenchmarkWriteTxIn (line 530) | func BenchmarkWriteTxIn(b *testing.B) { function BenchmarkDeserializeTxSmall (line 543) | func BenchmarkDeserializeTxSmall(b *testing.B) { function BenchmarkDeserializeTxLarge (line 585) | func BenchmarkDeserializeTxLarge(b *testing.B) { function BenchmarkDeserializeBlock (line 610) | func BenchmarkDeserializeBlock(b *testing.B) { function BenchmarkSerializeBlock (line 629) | func BenchmarkSerializeBlock(b *testing.B) { function BenchmarkSerializeTx (line 653) | func BenchmarkSerializeTx(b *testing.B) { function BenchmarkSerializeTxSmall (line 665) | func BenchmarkSerializeTxSmall(b *testing.B) { function BenchmarkSerializeTxLarge (line 707) | func BenchmarkSerializeTxLarge(b *testing.B) { function BenchmarkReadBlockHeader (line 733) | func BenchmarkReadBlockHeader(b *testing.B) { function BenchmarkReadBlockHeaderBuf (line 761) | func BenchmarkReadBlockHeaderBuf(b *testing.B) { function BenchmarkWriteBlockHeader (line 791) | func BenchmarkWriteBlockHeader(b *testing.B) { function BenchmarkWriteBlockHeaderBuf (line 802) | func BenchmarkWriteBlockHeaderBuf(b *testing.B) { function BenchmarkDecodeGetHeaders (line 815) | func BenchmarkDecodeGetHeaders(b *testing.B) { function BenchmarkDecodeHeaders (line 847) | func BenchmarkDecodeHeaders(b *testing.B) { function BenchmarkDecodeGetBlocks (line 879) | func BenchmarkDecodeGetBlocks(b *testing.B) { function BenchmarkDecodeAddr (line 911) | func BenchmarkDecodeAddr(b *testing.B) { function BenchmarkDecodeInv (line 940) | func BenchmarkDecodeInv(b *testing.B) { function BenchmarkDecodeNotFound (line 973) | func BenchmarkDecodeNotFound(b *testing.B) { function BenchmarkDecodeMerkleBlock (line 1005) | func BenchmarkDecodeMerkleBlock(b *testing.B) { function BenchmarkTxHash (line 1045) | func BenchmarkTxHash(b *testing.B) { function BenchmarkDoubleHashB (line 1055) | func BenchmarkDoubleHashB(b *testing.B) { function BenchmarkDoubleHashH (line 1073) | func BenchmarkDoubleHashH(b *testing.B) { FILE: wire/blockheader.go constant MaxBlockHeaderPayload (line 17) | MaxBlockHeaderPayload = 16 + (chainhash.HashSize * 2) type BlockHeader (line 21) | type BlockHeader struct method BlockHash (line 47) | func (h *BlockHeader) BlockHash() chainhash.Hash { method BtcDecode (line 57) | func (h *BlockHeader) BtcDecode(r io.Reader, pver uint32, enc MessageE... method BtcEncode (line 65) | func (h *BlockHeader) BtcEncode(w io.Writer, pver uint32, enc MessageE... method Deserialize (line 72) | func (h *BlockHeader) Deserialize(r io.Reader) error { method Serialize (line 82) | func (h *BlockHeader) Serialize(w io.Writer) error { constant blockHeaderLen (line 44) | blockHeaderLen = 80 function NewBlockHeader (line 92) | func NewBlockHeader(version int32, prevHash, merkleRootHash *chainhash.H... function readBlockHeader (line 112) | func readBlockHeader(r io.Reader, pver uint32, bh *BlockHeader) error { function readBlockHeaderBuf (line 128) | func readBlockHeaderBuf(r io.Reader, pver uint32, bh *BlockHeader, function writeBlockHeader (line 167) | func writeBlockHeader(w io.Writer, pver uint32, bh *BlockHeader) error { function writeBlockHeaderBuf (line 183) | func writeBlockHeaderBuf(w io.Writer, pver uint32, bh *BlockHeader, FILE: wire/blockheader_test.go function TestBlockHeader (line 17) | func TestBlockHeader(t *testing.T) { function TestBlockHeaderWire (line 50) | func TestBlockHeaderWire(t *testing.T) { function TestBlockHeaderSerialize (line 190) | func TestBlockHeaderSerialize(t *testing.T) { FILE: wire/common.go constant MaxVarIntPayload (line 20) | MaxVarIntPayload = 9 constant binaryFreeListMaxItems (line 24) | binaryFreeListMaxItems = 1024 type binaryFreeList (line 48) | type binaryFreeList method Borrow (line 52) | func (l binaryFreeList) Borrow() []byte { method Return (line 64) | func (l binaryFreeList) Return(buf []byte) { method Uint8 (line 74) | func (l binaryFreeList) Uint8(r io.Reader) (uint8, error) { method Uint16 (line 89) | func (l binaryFreeList) Uint16(r io.Reader, byteOrder binary.ByteOrder... method Uint32 (line 104) | func (l binaryFreeList) Uint32(r io.Reader, byteOrder binary.ByteOrder... method Uint64 (line 119) | func (l binaryFreeList) Uint64(r io.Reader, byteOrder binary.ByteOrder... method PutUint8 (line 133) | func (l binaryFreeList) PutUint8(w io.Writer, val uint8) error { method PutUint16 (line 146) | func (l binaryFreeList) PutUint16(w io.Writer, byteOrder binary.ByteOr... method PutUint32 (line 159) | func (l binaryFreeList) PutUint32(w io.Writer, byteOrder binary.ByteOr... method PutUint64 (line 172) | func (l binaryFreeList) PutUint64(w io.Writer, byteOrder binary.ByteOr... type uint32Time (line 194) | type uint32Time type int64Time (line 199) | type int64Time function readElement (line 203) | func readElement(r io.Reader, element interface{}) error { function readElements (line 348) | func readElements(r io.Reader, elements ...interface{}) error { function writeElement (line 359) | func writeElement(w io.Writer, element interface{}) error { function writeElements (line 477) | func writeElements(w io.Writer, elements ...interface{}) error { function ReadVarInt (line 488) | func ReadVarInt(r io.Reader, pver uint32) (uint64, error) { function ReadVarIntBuf (line 500) | func ReadVarIntBuf(r io.Reader, pver uint32, buf []byte) (uint64, error) { function WriteVarInt (line 559) | func WriteVarInt(w io.Writer, pver uint32, val uint64) error { function WriteVarIntBuf (line 571) | func WriteVarIntBuf(w io.Writer, pver uint32, val uint64, buf []byte) er... function VarIntSerializeSize (line 604) | func VarIntSerializeSize(val uint64) int { function ReadVarString (line 631) | func ReadVarString(r io.Reader, pver uint32) (string, error) { function readVarStringBuf (line 651) | func readVarStringBuf(r io.Reader, pver uint32, buf []byte) (string, err... function WriteVarString (line 677) | func WriteVarString(w io.Writer, pver uint32, str string) error { function writeVarStringBuf (line 694) | func writeVarStringBuf(w io.Writer, pver uint32, str string, buf []byte)... function ReadVarBytes (line 711) | func ReadVarBytes(r io.Reader, pver uint32, maxAllowed uint32, function ReadVarBytesBuf (line 730) | func ReadVarBytesBuf(r io.Reader, pver uint32, buf []byte, maxAllowed ui... function WriteVarBytes (line 757) | func WriteVarBytes(w io.Writer, pver uint32, bytes []byte) error { function WriteVarBytesBuf (line 770) | func WriteVarBytesBuf(w io.Writer, pver uint32, bytes, buf []byte) error { function randomUint64 (line 785) | func randomUint64(r io.Reader) (uint64, error) { function RandomUint64 (line 794) | func RandomUint64() (uint64, error) { FILE: wire/common_test.go type fakeRandReader (line 39) | type fakeRandReader struct method Read (line 46) | func (r *fakeRandReader) Read(p []byte) (int, error) { function TestElementWire (line 57) | func TestElementWire(t *testing.T) { function TestElementWireErrors (line 179) | func TestElementWireErrors(t *testing.T) { function TestVarIntWire (line 246) | func TestVarIntWire(t *testing.T) { function TestVarIntWireErrors (line 314) | func TestVarIntWireErrors(t *testing.T) { function TestVarIntNonCanonical (line 359) | func TestVarIntNonCanonical(t *testing.T) { function TestVarIntSerializeSize (line 414) | func TestVarIntSerializeSize(t *testing.T) { function TestVarStringWire (line 449) | func TestVarStringWire(t *testing.T) { function TestVarStringWireErrors (line 502) | func TestVarStringWireErrors(t *testing.T) { function TestVarStringOverflowErrors (line 551) | func TestVarStringOverflowErrors(t *testing.T) { function TestVarBytesWire (line 580) | func TestVarBytesWire(t *testing.T) { function TestVarBytesWireErrors (line 633) | func TestVarBytesWireErrors(t *testing.T) { function TestVarBytesOverflowErrors (line 683) | func TestVarBytesOverflowErrors(t *testing.T) { function TestRandomUint64 (line 718) | func TestRandomUint64(t *testing.T) { function TestRandomUint64Errors (line 748) | func TestRandomUint64Errors(t *testing.T) { FILE: wire/error.go type MessageError (line 18) | type MessageError struct method Error (line 24) | func (e *MessageError) Error() string { function messageError (line 32) | func messageError(f string, desc string) *MessageError { FILE: wire/fakemessage_test.go type fakeMessage (line 11) | type fakeMessage struct method BtcDecode (line 20) | func (msg *fakeMessage) BtcDecode(r io.Reader, pver uint32, enc Messag... method BtcEncode (line 27) | func (msg *fakeMessage) BtcEncode(w io.Writer, pver uint32, enc Messag... method Command (line 42) | func (msg *fakeMessage) Command() string { method MaxPayloadLength (line 49) | func (msg *fakeMessage) MaxPayloadLength(pver uint32) uint32 { FILE: wire/fixedIO_test.go type fixedWriter (line 14) | type fixedWriter struct method Write (line 24) | func (w *fixedWriter) Write(p []byte) (n int, err error) { method Bytes (line 35) | func (w *fixedWriter) Bytes() []byte { function newFixedWriter (line 41) | func newFixedWriter(max int) io.Writer { type fixedReader (line 49) | type fixedReader struct method Read (line 60) | func (fr *fixedReader) Read(p []byte) (n int, err error) { function newFixedReader (line 68) | func newFixedReader(max int, buf []byte) io.Reader { FILE: wire/invvect.go constant MaxInvPerMsg (line 17) | MaxInvPerMsg = 50000 constant maxInvVectPayload (line 20) | maxInvVectPayload = 4 + chainhash.HashSize constant InvWitnessFlag (line 24) | InvWitnessFlag = 1 << 30 type InvType (line 28) | type InvType method String (line 53) | func (invtype InvType) String() string { constant InvTypeError (line 32) | InvTypeError InvType = 0 constant InvTypeTx (line 33) | InvTypeTx InvType = 1 constant InvTypeBlock (line 34) | InvTypeBlock InvType = 2 constant InvTypeFilteredBlock (line 35) | InvTypeFilteredBlock InvType = 3 constant InvTypeWitnessBlock (line 36) | InvTypeWitnessBlock InvType = InvTypeBlock | InvWitnessFlag constant InvTypeWitnessTx (line 37) | InvTypeWitnessTx InvType = InvTypeTx | InvWitnessFlag constant InvTypeFilteredWitnessBlock (line 38) | InvTypeFilteredWitnessBlock InvType = InvTypeFilteredBlock | InvWitnessFlag type InvVect (line 64) | type InvVect struct function NewInvVect (line 70) | func NewInvVect(typ InvType, hash *chainhash.Hash) *InvVect { function readInvVectBuf (line 85) | func readInvVectBuf(r io.Reader, pver uint32, iv *InvVect, buf []byte) e... function writeInvVectBuf (line 102) | func writeInvVectBuf(w io.Writer, pver uint32, iv *InvVect, buf []byte) ... FILE: wire/invvect_test.go function TestInvTypeStringer (line 17) | func TestInvTypeStringer(t *testing.T) { function TestInvVect (line 41) | func TestInvVect(t *testing.T) { function TestInvVectWire (line 60) | func TestInvVectWire(t *testing.T) { FILE: wire/message.go constant MessageHeaderSize (line 19) | MessageHeaderSize = 24 constant CommandSize (line 23) | CommandSize = 12 constant MaxMessagePayload (line 27) | MaxMessagePayload = (1024 * 1024 * 4) constant CmdVersion (line 31) | CmdVersion = "version" constant CmdVerAck (line 32) | CmdVerAck = "verack" constant CmdGetAddr (line 33) | CmdGetAddr = "getaddr" constant CmdAddr (line 34) | CmdAddr = "addr" constant CmdAddrV2 (line 35) | CmdAddrV2 = "addrv2" constant CmdGetBlocks (line 36) | CmdGetBlocks = "getblocks" constant CmdInv (line 37) | CmdInv = "inv" constant CmdGetData (line 38) | CmdGetData = "getdata" constant CmdNotFound (line 39) | CmdNotFound = "notfound" constant CmdBlock (line 40) | CmdBlock = "block" constant CmdTx (line 41) | CmdTx = "tx" constant CmdGetHeaders (line 42) | CmdGetHeaders = "getheaders" constant CmdHeaders (line 43) | CmdHeaders = "headers" constant CmdPing (line 44) | CmdPing = "ping" constant CmdPong (line 45) | CmdPong = "pong" constant CmdMemPool (line 46) | CmdMemPool = "mempool" constant CmdFilterAdd (line 47) | CmdFilterAdd = "filteradd" constant CmdFilterClear (line 48) | CmdFilterClear = "filterclear" constant CmdFilterLoad (line 49) | CmdFilterLoad = "filterload" constant CmdMerkleBlock (line 50) | CmdMerkleBlock = "merkleblock" constant CmdReject (line 51) | CmdReject = "reject" constant CmdSendHeaders (line 52) | CmdSendHeaders = "sendheaders" constant CmdFeeFilter (line 53) | CmdFeeFilter = "feefilter" constant CmdGetCFilters (line 54) | CmdGetCFilters = "getcfilters" constant CmdGetCFHeaders (line 55) | CmdGetCFHeaders = "getcfheaders" constant CmdGetCFCheckpt (line 56) | CmdGetCFCheckpt = "getcfcheckpt" constant CmdCFilter (line 57) | CmdCFilter = "cfilter" constant CmdCFHeaders (line 58) | CmdCFHeaders = "cfheaders" constant CmdCFCheckpt (line 59) | CmdCFCheckpt = "cfcheckpt" constant CmdSendAddrV2 (line 60) | CmdSendAddrV2 = "sendaddrv2" constant CmdWTxIdRelay (line 61) | CmdWTxIdRelay = "wtxidrelay" type MessageEncoding (line 121) | type MessageEncoding constant BaseEncoding (line 126) | BaseEncoding MessageEncoding = 1 << iota constant WitnessEncoding (line 131) | WitnessEncoding type Message (line 149) | type Message interface function makeEmptyMessage (line 158) | func makeEmptyMessage(command string) (Message, error) { type messageHeader (line 258) | type messageHeader struct function readMessageHeader (line 266) | func readMessageHeader(r io.Reader) (int, *messageHeader, error) { function readPartialHeader (line 293) | func readPartialHeader(prefix []byte, r io.Reader) (int, *messageHeader, function discardInput (line 320) | func discardInput(r io.Reader, n uint32) { function WriteMessageN (line 339) | func WriteMessageN(w io.Writer, msg Message, pver uint32, btcnet Bitcoin... function WriteMessage (line 348) | func WriteMessage(w io.Writer, msg Message, pver uint32, btcnet BitcoinN... function WriteV2MessageN (line 355) | func WriteV2MessageN(w io.Writer, msg Message, pver uint32, function WriteMessageWithEncodingN (line 432) | func WriteMessageWithEncodingN(w io.Writer, msg Message, pver uint32, function ReadV2MessageN (line 505) | func ReadV2MessageN(plaintext []byte, pver uint32, enc MessageEncoding) ( function ReadMessageWithEncodingN (line 560) | func ReadMessageWithEncodingN(r io.Reader, pver uint32, btcnet BitcoinNet, function ReadPartialMessageWithEncodingN (line 579) | func ReadPartialMessageWithEncodingN(r io.Reader, pver uint32, function readMessageWithEncodingNInternal (line 598) | func readMessageWithEncodingNInternal(r io.Reader, pver uint32, function ReadMessageN (line 680) | func ReadMessageN(r io.Reader, pver uint32, btcnet BitcoinNet) (int, Mes... function ReadMessage (line 690) | func ReadMessage(r io.Reader, pver uint32, btcnet BitcoinNet) (Message, ... FILE: wire/message_test.go function makeHeader (line 22) | func makeHeader(btcnet BitcoinNet, command string, function TestMessage (line 37) | func TestMessage(t *testing.T) { function TestReadMessageWireErrors (line 181) | func TestReadMessageWireErrors(t *testing.T) { function TestWriteMessageWireErrors (line 383) | func TestWriteMessageWireErrors(t *testing.T) { FILE: wire/msgaddr.go constant MaxAddrPerMsg (line 14) | MaxAddrPerMsg = 1000 type MsgAddr (line 26) | type MsgAddr struct method AddAddress (line 31) | func (msg *MsgAddr) AddAddress(na *NetAddress) error { method AddAddresses (line 43) | func (msg *MsgAddr) AddAddresses(netAddrs ...*NetAddress) error { method ClearAddresses (line 54) | func (msg *MsgAddr) ClearAddresses() { method BtcDecode (line 60) | func (msg *MsgAddr) BtcDecode(r io.Reader, pver uint32, enc MessageEnc... method BtcEncode (line 88) | func (msg *MsgAddr) BtcEncode(w io.Writer, pver uint32, enc MessageEnc... method Command (line 121) | func (msg *MsgAddr) Command() string { method MaxPayloadLength (line 127) | func (msg *MsgAddr) MaxPayloadLength(pver uint32) uint32 { function NewMsgAddr (line 139) | func NewMsgAddr() *MsgAddr { FILE: wire/msgaddr_test.go function TestAddr (line 19) | func TestAddr(t *testing.T) { function TestAddrWire (line 102) | func TestAddrWire(t *testing.T) { function TestAddrWireErrors (line 209) | func TestAddrWireErrors(t *testing.T) { FILE: wire/msgaddrv2.go constant MaxV2AddrPerMsg (line 10) | MaxV2AddrPerMsg = 1000 type MsgAddrV2 (line 16) | type MsgAddrV2 struct method BtcDecode (line 21) | func (m *MsgAddrV2) BtcDecode(r io.Reader, pver uint32, method BtcEncode (line 59) | func (m *MsgAddrV2) BtcEncode(w io.Writer, pver uint32, method Command (line 85) | func (m *MsgAddrV2) Command() string { method MaxPayloadLength (line 90) | func (m *MsgAddrV2) MaxPayloadLength(pver uint32) uint32 { function NewMsgAddrV2 (line 98) | func NewMsgAddrV2() *MsgAddrV2 { FILE: wire/msgaddrv2_test.go function TestAddrV2Decode (line 12) | func TestAddrV2Decode(t *testing.T) { FILE: wire/msgblock.go constant defaultTransactionAlloc (line 20) | defaultTransactionAlloc = 2048 constant MaxBlocksPerMsg (line 23) | MaxBlocksPerMsg = 500 constant MaxBlockPayload (line 27) | MaxBlockPayload = 4000000 constant maxTxPerBlock (line 31) | maxTxPerBlock = (MaxBlockPayload / minTxPayload) + 1 type TxLoc (line 35) | type TxLoc struct type MsgBlock (line 43) | type MsgBlock struct method Copy (line 49) | func (msg *MsgBlock) Copy() *MsgBlock { method AddTransaction (line 63) | func (msg *MsgBlock) AddTransaction(tx *MsgTx) error { method ClearTransactions (line 70) | func (msg *MsgBlock) ClearTransactions() { method BtcDecode (line 78) | func (msg *MsgBlock) BtcDecode(r io.Reader, pver uint32, enc MessageEn... method Deserialize (line 126) | func (msg *MsgBlock) Deserialize(r io.Reader) error { method DeserializeNoWitness (line 141) | func (msg *MsgBlock) DeserializeNoWitness(r io.Reader) error { method DeserializeTxLoc (line 149) | func (msg *MsgBlock) DeserializeTxLoc(r *bytes.Buffer) ([]TxLoc, error) { method BtcEncode (line 202) | func (msg *MsgBlock) BtcEncode(w io.Writer, pver uint32, enc MessageEn... method Serialize (line 235) | func (msg *MsgBlock) Serialize(w io.Writer) error { method SerializeNoWitness (line 251) | func (msg *MsgBlock) SerializeNoWitness(w io.Writer) error { method SerializeSize (line 257) | func (msg *MsgBlock) SerializeSize() int { method SerializeSizeStripped (line 271) | func (msg *MsgBlock) SerializeSizeStripped() int { method Command (line 285) | func (msg *MsgBlock) Command() string { method MaxPayloadLength (line 291) | func (msg *MsgBlock) MaxPayloadLength(pver uint32) uint32 { method BlockHash (line 299) | func (msg *MsgBlock) BlockHash() chainhash.Hash { method TxHashes (line 304) | func (msg *MsgBlock) TxHashes() ([]chainhash.Hash, error) { function NewMsgBlock (line 314) | func NewMsgBlock(blockHeader *BlockHeader) *MsgBlock { FILE: wire/msgblock_test.go function TestBlock (line 19) | func TestBlock(t *testing.T) { function TestBlockTxHashes (line 72) | func TestBlockTxHashes(t *testing.T) { function TestBlockHash (line 93) | func TestBlockHash(t *testing.T) { function TestBlockWire (line 111) | func TestBlockWire(t *testing.T) { function TestBlockWireErrors (line 205) | func TestBlockWireErrors(t *testing.T) { function TestBlockSerialize (line 262) | func TestBlockSerialize(t *testing.T) { function TestBlockSerializeErrors (line 330) | func TestBlockSerializeErrors(t *testing.T) { function TestBlockOverflowErrors (line 392) | func TestBlockOverflowErrors(t *testing.T) { function TestBlockSerializeSize (line 459) | func TestBlockSerializeSize(t *testing.T) { FILE: wire/msgcfcheckpt.go constant CFCheckptInterval (line 18) | CFCheckptInterval = 1000 constant maxCFHeadersLen (line 22) | maxCFHeadersLen = 100000 constant maxCFCheckptPayload (line 29) | maxCFCheckptPayload = 1 + 32 + 5 + (maxCFHeadersLen * 32) type MsgCFCheckpt (line 41) | type MsgCFCheckpt struct method AddCFHeader (line 48) | func (msg *MsgCFCheckpt) AddCFHeader(header *chainhash.Hash) error { method BtcDecode (line 61) | func (msg *MsgCFCheckpt) BtcDecode(r io.Reader, pver uint32, _ Message... method BtcEncode (line 112) | func (msg *MsgCFCheckpt) BtcEncode(w io.Writer, pver uint32, _ Message... method Deserialize (line 153) | func (msg *MsgCFCheckpt) Deserialize(r io.Reader) error { method Command (line 162) | func (msg *MsgCFCheckpt) Command() string { method MaxPayloadLength (line 168) | func (msg *MsgCFCheckpt) MaxPayloadLength(pver uint32) uint32 { function NewMsgCFCheckpt (line 177) | func NewMsgCFCheckpt(filterType FilterType, stopHash *chainhash.Hash, FILE: wire/msgcfcheckpt_bench_test.go function BenchmarkMsgCFCheckptDecode (line 18) | func BenchmarkMsgCFCheckptDecode(b *testing.B) { function BenchmarkMsgCFCheckptEncode (line 62) | func BenchmarkMsgCFCheckptEncode(b *testing.B) { function BenchmarkMsgCFCheckptDecodeEmpty (line 97) | func BenchmarkMsgCFCheckptDecodeEmpty(b *testing.B) { FILE: wire/msgcfheaders.go constant MaxCFHeaderPayload (line 17) | MaxCFHeaderPayload = chainhash.HashSize constant MaxCFHeadersPerMsg (line 21) | MaxCFHeadersPerMsg = 2000 type MsgCFHeaders (line 29) | type MsgCFHeaders struct method AddCFHash (line 37) | func (msg *MsgCFHeaders) AddCFHash(hash *chainhash.Hash) error { method BtcDecode (line 50) | func (msg *MsgCFHeaders) BtcDecode(r io.Reader, pver uint32, _ Message... method BtcEncode (line 101) | func (msg *MsgCFHeaders) BtcEncode(w io.Writer, pver uint32, _ Message... method Deserialize (line 153) | func (msg *MsgCFHeaders) Deserialize(r io.Reader) error { method Command (line 162) | func (msg *MsgCFHeaders) Command() string { method MaxPayloadLength (line 168) | func (msg *MsgCFHeaders) MaxPayloadLength(pver uint32) uint32 { function NewMsgCFHeaders (line 177) | func NewMsgCFHeaders() *MsgCFHeaders { FILE: wire/msgcfilter.go type FilterType (line 15) | type FilterType constant GCSFilterRegular (line 19) | GCSFilterRegular FilterType = iota constant MaxCFilterDataSize (line 25) | MaxCFilterDataSize = 256 * 1024 type MsgCFilter (line 31) | type MsgCFilter struct method BtcDecode (line 39) | func (msg *MsgCFilter) BtcDecode(r io.Reader, pver uint32, _ MessageEn... method BtcEncode (line 63) | func (msg *MsgCFilter) BtcEncode(w io.Writer, pver uint32, _ MessageEn... method Deserialize (line 96) | func (msg *MsgCFilter) Deserialize(r io.Reader) error { method Command (line 105) | func (msg *MsgCFilter) Command() string { method MaxPayloadLength (line 111) | func (msg *MsgCFilter) MaxPayloadLength(pver uint32) uint32 { function NewMsgCFilter (line 118) | func NewMsgCFilter(filterType FilterType, blockHash *chainhash.Hash, FILE: wire/msgfeefilter.go type MsgFeeFilter (line 18) | type MsgFeeFilter struct method BtcDecode (line 24) | func (msg *MsgFeeFilter) BtcDecode(r io.Reader, pver uint32, enc Messa... method BtcEncode (line 36) | func (msg *MsgFeeFilter) BtcEncode(w io.Writer, pver uint32, enc Messa... method Command (line 48) | func (msg *MsgFeeFilter) Command() string { method MaxPayloadLength (line 54) | func (msg *MsgFeeFilter) MaxPayloadLength(pver uint32) uint32 { function NewMsgFeeFilter (line 60) | func NewMsgFeeFilter(minfee int64) *MsgFeeFilter { FILE: wire/msgfeefilter_test.go function TestFeeFilterLatest (line 18) | func TestFeeFilterLatest(t *testing.T) { function TestFeeFilterWire (line 66) | func TestFeeFilterWire(t *testing.T) { function TestFeeFilterWireErrors (line 123) | func TestFeeFilterWireErrors(t *testing.T) { FILE: wire/msgfilteradd.go constant MaxFilterAddDataSize (line 16) | MaxFilterAddDataSize = 520 type MsgFilterAdd (line 24) | type MsgFilterAdd struct method BtcDecode (line 30) | func (msg *MsgFilterAdd) BtcDecode(r io.Reader, pver uint32, enc Messa... method BtcEncode (line 45) | func (msg *MsgFilterAdd) BtcEncode(w io.Writer, pver uint32, enc Messa... method Command (line 64) | func (msg *MsgFilterAdd) Command() string { method MaxPayloadLength (line 70) | func (msg *MsgFilterAdd) MaxPayloadLength(pver uint32) uint32 { function NewMsgFilterAdd (line 77) | func NewMsgFilterAdd(data []byte) *MsgFilterAdd { FILE: wire/msgfilteradd_test.go function TestFilterAddLatest (line 16) | func TestFilterAddLatest(t *testing.T) { function TestFilterAddCrossProtocol (line 56) | func TestFilterAddCrossProtocol(t *testing.T) { function TestFilterAddMaxDataSize (line 87) | func TestFilterAddMaxDataSize(t *testing.T) { function TestFilterAddWireErrors (line 110) | func TestFilterAddWireErrors(t *testing.T) { FILE: wire/msgfilterclear.go type MsgFilterClear (line 17) | type MsgFilterClear struct method BtcDecode (line 21) | func (msg *MsgFilterClear) BtcDecode(r io.Reader, pver uint32, enc Mes... method BtcEncode (line 33) | func (msg *MsgFilterClear) BtcEncode(w io.Writer, pver uint32, enc Mes... method Command (line 45) | func (msg *MsgFilterClear) Command() string { method MaxPayloadLength (line 51) | func (msg *MsgFilterClear) MaxPayloadLength(pver uint32) uint32 { function NewMsgFilterClear (line 57) | func NewMsgFilterClear() *MsgFilterClear { FILE: wire/msgfilterclear_test.go function TestFilterClearLatest (line 17) | func TestFilterClearLatest(t *testing.T) { function TestFilterClearCrossProtocol (line 41) | func TestFilterClearCrossProtocol(t *testing.T) { function TestFilterClearWire (line 62) | func TestFilterClearWire(t *testing.T) { function TestFilterClearWireErrors (line 134) | func TestFilterClearWireErrors(t *testing.T) { FILE: wire/msgfilterload.go type BloomUpdateType (line 13) | type BloomUpdateType constant BloomUpdateNone (line 18) | BloomUpdateNone BloomUpdateType = 0 constant BloomUpdateAll (line 23) | BloomUpdateAll BloomUpdateType = 1 constant BloomUpdateP2PubkeyOnly (line 29) | BloomUpdateP2PubkeyOnly BloomUpdateType = 2 constant MaxFilterLoadHashFuncs (line 35) | MaxFilterLoadHashFuncs = 50 constant MaxFilterLoadFilterSize (line 38) | MaxFilterLoadFilterSize = 36000 type MsgFilterLoad (line 45) | type MsgFilterLoad struct method BtcDecode (line 54) | func (msg *MsgFilterLoad) BtcDecode(r io.Reader, pver uint32, enc Mess... method BtcEncode (line 84) | func (msg *MsgFilterLoad) BtcEncode(w io.Writer, pver uint32, enc Mess... method Command (line 114) | func (msg *MsgFilterLoad) Command() string { method MaxPayloadLength (line 120) | func (msg *MsgFilterLoad) MaxPayloadLength(pver uint32) uint32 { function NewMsgFilterLoad (line 129) | func NewMsgFilterLoad(filter []byte, hashFuncs uint32, tweak uint32, fla... FILE: wire/msgfilterload_test.go function TestFilterLoadLatest (line 16) | func TestFilterLoadLatest(t *testing.T) { function TestFilterLoadCrossProtocol (line 56) | func TestFilterLoadCrossProtocol(t *testing.T) { function TestFilterLoadMaxFilterSize (line 78) | func TestFilterLoadMaxFilterSize(t *testing.T) { function TestFilterLoadMaxHashFuncsSize (line 100) | func TestFilterLoadMaxHashFuncsSize(t *testing.T) { function TestFilterLoadWireErrors (line 130) | func TestFilterLoadWireErrors(t *testing.T) { FILE: wire/msggetaddr.go type MsgGetAddr (line 17) | type MsgGetAddr struct method BtcDecode (line 21) | func (msg *MsgGetAddr) BtcDecode(r io.Reader, pver uint32, enc Message... method BtcEncode (line 27) | func (msg *MsgGetAddr) BtcEncode(w io.Writer, pver uint32, enc Message... method Command (line 33) | func (msg *MsgGetAddr) Command() string { method MaxPayloadLength (line 39) | func (msg *MsgGetAddr) MaxPayloadLength(pver uint32) uint32 { function NewMsgGetAddr (line 45) | func NewMsgGetAddr() *MsgGetAddr { FILE: wire/msggetaddr_test.go function TestGetAddr (line 16) | func TestGetAddr(t *testing.T) { function TestGetAddrWire (line 40) | func TestGetAddrWire(t *testing.T) { FILE: wire/msggetblocks.go constant MaxBlockLocatorsPerMsg (line 16) | MaxBlockLocatorsPerMsg = 500 type MsgGetBlocks (line 33) | type MsgGetBlocks struct method AddBlockLocatorHash (line 40) | func (msg *MsgGetBlocks) AddBlockLocatorHash(hash *chainhash.Hash) err... method BtcDecode (line 53) | func (msg *MsgGetBlocks) BtcDecode(r io.Reader, pver uint32, enc Messa... method BtcEncode (line 93) | func (msg *MsgGetBlocks) BtcEncode(w io.Writer, pver uint32, enc Messa... method Command (line 127) | func (msg *MsgGetBlocks) Command() string { method MaxPayloadLength (line 133) | func (msg *MsgGetBlocks) MaxPayloadLength(pver uint32) uint32 { function NewMsgGetBlocks (line 142) | func NewMsgGetBlocks(hashStop *chainhash.Hash) *MsgGetBlocks { FILE: wire/msggetblocks_test.go function TestGetBlocks (line 18) | func TestGetBlocks(t *testing.T) { function TestGetBlocksWire (line 85) | func TestGetBlocksWire(t *testing.T) { function TestGetBlocksWireErrors (line 275) | func TestGetBlocksWireErrors(t *testing.T) { FILE: wire/msggetcfcheckpt.go type MsgGetCFCheckpt (line 16) | type MsgGetCFCheckpt struct method BtcDecode (line 23) | func (msg *MsgGetCFCheckpt) BtcDecode(r io.Reader, pver uint32, _ Mess... method BtcEncode (line 38) | func (msg *MsgGetCFCheckpt) BtcEncode(w io.Writer, pver uint32, _ Mess... method Command (line 53) | func (msg *MsgGetCFCheckpt) Command() string { method MaxPayloadLength (line 59) | func (msg *MsgGetCFCheckpt) MaxPayloadLength(pver uint32) uint32 { function NewMsgGetCFCheckpt (line 67) | func NewMsgGetCFCheckpt(filterType FilterType, stopHash *chainhash.Hash)... FILE: wire/msggetcfheaders.go type MsgGetCFHeaders (line 16) | type MsgGetCFHeaders struct method BtcDecode (line 24) | func (msg *MsgGetCFHeaders) BtcDecode(r io.Reader, pver uint32, _ Mess... method BtcEncode (line 44) | func (msg *MsgGetCFHeaders) BtcEncode(w io.Writer, pver uint32, _ Mess... method Command (line 64) | func (msg *MsgGetCFHeaders) Command() string { method MaxPayloadLength (line 70) | func (msg *MsgGetCFHeaders) MaxPayloadLength(pver uint32) uint32 { function NewMsgGetCFHeaders (line 78) | func NewMsgGetCFHeaders(filterType FilterType, startHeight uint32, FILE: wire/msggetcfilters.go constant MaxGetCFiltersReqRange (line 15) | MaxGetCFiltersReqRange = 1000 type MsgGetCFilters (line 20) | type MsgGetCFilters struct method BtcDecode (line 28) | func (msg *MsgGetCFilters) BtcDecode(r io.Reader, pver uint32, _ Messa... method BtcEncode (line 48) | func (msg *MsgGetCFilters) BtcEncode(w io.Writer, pver uint32, _ Messa... method Command (line 68) | func (msg *MsgGetCFilters) Command() string { method MaxPayloadLength (line 74) | func (msg *MsgGetCFilters) MaxPayloadLength(pver uint32) uint32 { function NewMsgGetCFilters (line 82) | func NewMsgGetCFilters(filterType FilterType, startHeight uint32, FILE: wire/msggetdata.go type MsgGetData (line 22) | type MsgGetData struct method AddInvVect (line 27) | func (msg *MsgGetData) AddInvVect(iv *InvVect) error { method BtcDecode (line 40) | func (msg *MsgGetData) BtcDecode(r io.Reader, pver uint32, enc Message... method BtcEncode (line 73) | func (msg *MsgGetData) BtcEncode(w io.Writer, pver uint32, enc Message... method Command (line 101) | func (msg *MsgGetData) Command() string { method MaxPayloadLength (line 107) | func (msg *MsgGetData) MaxPayloadLength(pver uint32) uint32 { function NewMsgGetData (line 114) | func NewMsgGetData() *MsgGetData { function NewMsgGetDataSizeHint (line 130) | func NewMsgGetDataSizeHint(sizeHint uint) *MsgGetData { FILE: wire/msggetdata_test.go function TestGetData (line 18) | func TestGetData(t *testing.T) { function TestGetDataWire (line 73) | func TestGetDataWire(t *testing.T) { function TestGetDataWireErrors (line 246) | func TestGetDataWireErrors(t *testing.T) { FILE: wire/msggetheaders.go type MsgGetHeaders (line 30) | type MsgGetHeaders struct method AddBlockLocatorHash (line 37) | func (msg *MsgGetHeaders) AddBlockLocatorHash(hash *chainhash.Hash) er... method BtcDecode (line 50) | func (msg *MsgGetHeaders) BtcDecode(r io.Reader, pver uint32, enc Mess... method BtcEncode (line 90) | func (msg *MsgGetHeaders) BtcEncode(w io.Writer, pver uint32, enc Mess... method Command (line 125) | func (msg *MsgGetHeaders) Command() string { method MaxPayloadLength (line 131) | func (msg *MsgGetHeaders) MaxPayloadLength(pver uint32) uint32 { function NewMsgGetHeaders (line 140) | func NewMsgGetHeaders() *MsgGetHeaders { FILE: wire/msggetheaders_test.go function TestGetHeaders (line 18) | func TestGetHeaders(t *testing.T) { function TestGetHeadersWire (line 72) | func TestGetHeadersWire(t *testing.T) { function TestGetHeadersWireErrors (line 265) | func TestGetHeadersWireErrors(t *testing.T) { FILE: wire/msgheaders.go constant MaxBlockHeadersPerMsg (line 14) | MaxBlockHeadersPerMsg = 2000 type MsgHeaders (line 21) | type MsgHeaders struct method AddBlockHeader (line 26) | func (msg *MsgHeaders) AddBlockHeader(bh *BlockHeader) error { method BtcDecode (line 39) | func (msg *MsgHeaders) BtcDecode(r io.Reader, pver uint32, enc Message... method BtcEncode (line 85) | func (msg *MsgHeaders) BtcEncode(w io.Writer, pver uint32, enc Message... method Command (line 123) | func (msg *MsgHeaders) Command() string { method MaxPayloadLength (line 129) | func (msg *MsgHeaders) MaxPayloadLength(pver uint32) uint32 { function NewMsgHeaders (line 138) | func NewMsgHeaders() *MsgHeaders { FILE: wire/msgheaders_test.go function TestHeaders (line 17) | func TestHeaders(t *testing.T) { function TestHeadersWire (line 62) | func TestHeadersWire(t *testing.T) { function TestHeadersWireErrors (line 227) | func TestHeadersWireErrors(t *testing.T) { FILE: wire/msginv.go constant defaultInvListAlloc (line 19) | defaultInvListAlloc = 1000 type MsgInv (line 30) | type MsgInv struct method AddInvVect (line 35) | func (msg *MsgInv) AddInvVect(iv *InvVect) error { method BtcDecode (line 48) | func (msg *MsgInv) BtcDecode(r io.Reader, pver uint32, enc MessageEnco... method BtcEncode (line 81) | func (msg *MsgInv) BtcEncode(w io.Writer, pver uint32, enc MessageEnco... method Command (line 109) | func (msg *MsgInv) Command() string { method MaxPayloadLength (line 115) | func (msg *MsgInv) MaxPayloadLength(pver uint32) uint32 { function NewMsgInv (line 122) | func NewMsgInv() *MsgInv { function NewMsgInvSizeHint (line 138) | func NewMsgInvSizeHint(sizeHint uint) *MsgInv { FILE: wire/msginv_test.go function TestInv (line 18) | func TestInv(t *testing.T) { function TestInvWire (line 73) | func TestInvWire(t *testing.T) { function TestInvWireErrors (line 246) | func TestInvWireErrors(t *testing.T) { FILE: wire/msgmempool.go type MsgMemPool (line 18) | type MsgMemPool struct method BtcDecode (line 22) | func (msg *MsgMemPool) BtcDecode(r io.Reader, pver uint32, enc Message... method BtcEncode (line 34) | func (msg *MsgMemPool) BtcEncode(w io.Writer, pver uint32, enc Message... method Command (line 46) | func (msg *MsgMemPool) Command() string { method MaxPayloadLength (line 52) | func (msg *MsgMemPool) MaxPayloadLength(pver uint32) uint32 { function NewMsgMemPool (line 58) | func NewMsgMemPool() *MsgMemPool { FILE: wire/msgmempool_test.go function TestMemPool (line 12) | func TestMemPool(t *testing.T) { FILE: wire/msgmerkleblock.go constant maxFlagsPerMerkleBlock (line 18) | maxFlagsPerMerkleBlock = maxTxPerBlock / 8 type MsgMerkleBlock (line 24) | type MsgMerkleBlock struct method AddTxHash (line 32) | func (msg *MsgMerkleBlock) AddTxHash(hash *chainhash.Hash) error { method BtcDecode (line 45) | func (msg *MsgMerkleBlock) BtcDecode(r io.Reader, pver uint32, enc Mes... method BtcEncode (line 96) | func (msg *MsgMerkleBlock) BtcEncode(w io.Writer, pver uint32, enc Mes... method Command (line 147) | func (msg *MsgMerkleBlock) Command() string { method MaxPayloadLength (line 153) | func (msg *MsgMerkleBlock) MaxPayloadLength(pver uint32) uint32 { function NewMsgMerkleBlock (line 159) | func NewMsgMerkleBlock(bh *BlockHeader) *MsgMerkleBlock { FILE: wire/msgmerkleblock_test.go function TestMerkleBlock (line 20) | func TestMerkleBlock(t *testing.T) { function TestMerkleBlockCrossProtocol (line 115) | func TestMerkleBlockCrossProtocol(t *testing.T) { function TestMerkleBlockWire (line 144) | func TestMerkleBlockWire(t *testing.T) { function TestMerkleBlockWireErrors (line 198) | func TestMerkleBlockWireErrors(t *testing.T) { function TestMerkleBlockOverflowErrors (line 324) | func TestMerkleBlockOverflowErrors(t *testing.T) { FILE: wire/msgnotfound.go type MsgNotFound (line 19) | type MsgNotFound struct method AddInvVect (line 24) | func (msg *MsgNotFound) AddInvVect(iv *InvVect) error { method BtcDecode (line 37) | func (msg *MsgNotFound) BtcDecode(r io.Reader, pver uint32, enc Messag... method BtcEncode (line 70) | func (msg *MsgNotFound) BtcEncode(w io.Writer, pver uint32, enc Messag... method Command (line 98) | func (msg *MsgNotFound) Command() string { method MaxPayloadLength (line 104) | func (msg *MsgNotFound) MaxPayloadLength(pver uint32) uint32 { function NewMsgNotFound (line 112) | func NewMsgNotFound() *MsgNotFound { FILE: wire/msgnotfound_test.go function TestNotFound (line 18) | func TestNotFound(t *testing.T) { function TestNotFoundWire (line 64) | func TestNotFoundWire(t *testing.T) { function TestNotFoundWireErrors (line 237) | func TestNotFoundWireErrors(t *testing.T) { FILE: wire/msgping.go type MsgPing (line 22) | type MsgPing struct method BtcDecode (line 30) | func (msg *MsgPing) BtcDecode(r io.Reader, pver uint32, enc MessageEnc... method BtcEncode (line 47) | func (msg *MsgPing) BtcEncode(w io.Writer, pver uint32, enc MessageEnc... method Command (line 63) | func (msg *MsgPing) Command() string { method MaxPayloadLength (line 69) | func (msg *MsgPing) MaxPayloadLength(pver uint32) uint32 { function NewMsgPing (line 84) | func NewMsgPing(nonce uint64) *MsgPing { FILE: wire/msgping_test.go function TestPing (line 17) | func TestPing(t *testing.T) { function TestPingBIP0031 (line 50) | func TestPingBIP0031(t *testing.T) { function TestPingCrossProtocol (line 97) | func TestPingCrossProtocol(t *testing.T) { function TestPingWire (line 131) | func TestPingWire(t *testing.T) { function TestPingWireErrors (line 200) | func TestPingWireErrors(t *testing.T) { FILE: wire/msgpong.go type MsgPong (line 17) | type MsgPong struct method BtcDecode (line 25) | func (msg *MsgPong) BtcDecode(r io.Reader, pver uint32, enc MessageEnc... method BtcEncode (line 45) | func (msg *MsgPong) BtcEncode(w io.Writer, pver uint32, enc MessageEnc... method Command (line 59) | func (msg *MsgPong) Command() string { method MaxPayloadLength (line 65) | func (msg *MsgPong) MaxPayloadLength(pver uint32) uint32 { function NewMsgPong (line 80) | func NewMsgPong(nonce uint64) *MsgPong { FILE: wire/msgpong_test.go function TestPongLatest (line 17) | func TestPongLatest(t *testing.T) { function TestPongBIP0031 (line 69) | func TestPongBIP0031(t *testing.T) { function TestPongCrossProtocol (line 115) | func TestPongCrossProtocol(t *testing.T) { function TestPongWire (line 149) | func TestPongWire(t *testing.T) { function TestPongWireErrors (line 209) | func TestPongWireErrors(t *testing.T) { FILE: wire/msgreject.go type RejectCode (line 16) | type RejectCode method String (line 43) | func (code RejectCode) String() string { constant RejectMalformed (line 20) | RejectMalformed RejectCode = 0x01 constant RejectInvalid (line 21) | RejectInvalid RejectCode = 0x10 constant RejectObsolete (line 22) | RejectObsolete RejectCode = 0x11 constant RejectDuplicate (line 23) | RejectDuplicate RejectCode = 0x12 constant RejectNonstandard (line 24) | RejectNonstandard RejectCode = 0x40 constant RejectDust (line 25) | RejectDust RejectCode = 0x41 constant RejectInsufficientFee (line 26) | RejectInsufficientFee RejectCode = 0x42 constant RejectCheckpoint (line 27) | RejectCheckpoint RejectCode = 0x43 type MsgReject (line 55) | type MsgReject struct method BtcDecode (line 76) | func (msg *MsgReject) BtcDecode(r io.Reader, pver uint32, enc MessageE... method BtcEncode (line 121) | func (msg *MsgReject) BtcEncode(w io.Writer, pver uint32, enc MessageE... method Command (line 164) | func (msg *MsgReject) Command() string { method MaxPayloadLength (line 170) | func (msg *MsgReject) MaxPayloadLength(pver uint32) uint32 { function NewMsgReject (line 186) | func NewMsgReject(command string, code RejectCode, reason string) *MsgRe... FILE: wire/msgreject_test.go function TestRejectCodeStringer (line 17) | func TestRejectCodeStringer(t *testing.T) { function TestRejectLatest (line 46) | func TestRejectLatest(t *testing.T) { function TestRejectBeforeAdded (line 124) | func TestRejectBeforeAdded(t *testing.T) { function TestRejectCrossProtocol (line 184) | func TestRejectCrossProtocol(t *testing.T) { function TestRejectWire (line 228) | func TestRejectWire(t *testing.T) { function TestRejectWireErrors (line 308) | func TestRejectWireErrors(t *testing.T) { FILE: wire/msgsendaddrv2.go type MsgSendAddrV2 (line 13) | type MsgSendAddrV2 struct method BtcDecode (line 17) | func (msg *MsgSendAddrV2) BtcDecode(r io.Reader, pver uint32, enc Mess... method BtcEncode (line 29) | func (msg *MsgSendAddrV2) BtcEncode(w io.Writer, pver uint32, enc Mess... method Command (line 41) | func (msg *MsgSendAddrV2) Command() string { method MaxPayloadLength (line 47) | func (msg *MsgSendAddrV2) MaxPayloadLength(pver uint32) uint32 { function NewMsgSendAddrV2 (line 53) | func NewMsgSendAddrV2() *MsgSendAddrV2 { FILE: wire/msgsendaddrv2_test.go function TestSendAddrV2 (line 17) | func TestSendAddrV2(t *testing.T) { function TestSendAddrV2BIP0130 (line 76) | func TestSendAddrV2BIP0130(t *testing.T) { function TestSendAddrV2CrossProtocol (line 102) | func TestSendAddrV2CrossProtocol(t *testing.T) { function TestSendAddrV2Wire (line 125) | func TestSendAddrV2Wire(t *testing.T) { FILE: wire/msgsendheaders.go type MsgSendHeaders (line 18) | type MsgSendHeaders struct method BtcDecode (line 22) | func (msg *MsgSendHeaders) BtcDecode(r io.Reader, pver uint32, enc Mes... method BtcEncode (line 34) | func (msg *MsgSendHeaders) BtcEncode(w io.Writer, pver uint32, enc Mes... method Command (line 46) | func (msg *MsgSendHeaders) Command() string { method MaxPayloadLength (line 52) | func (msg *MsgSendHeaders) MaxPayloadLength(pver uint32) uint32 { function NewMsgSendHeaders (line 58) | func NewMsgSendHeaders() *MsgSendHeaders { FILE: wire/msgsendheaders_test.go function TestSendHeaders (line 17) | func TestSendHeaders(t *testing.T) { function TestSendHeadersBIP0130 (line 76) | func TestSendHeadersBIP0130(t *testing.T) { function TestSendHeadersCrossProtocol (line 102) | func TestSendHeadersCrossProtocol(t *testing.T) { function TestSendHeadersWire (line 125) | func TestSendHeadersWire(t *testing.T) { FILE: wire/msgtx.go constant TxVersion (line 20) | TxVersion = 1 constant MaxTxInSequenceNum (line 24) | MaxTxInSequenceNum uint32 = 0xffffffff constant MaxPrevOutIndex (line 28) | MaxPrevOutIndex uint32 = 0xffffffff constant SequenceLockTimeDisabled (line 33) | SequenceLockTimeDisabled = 1 << 31 constant SequenceLockTimeIsSeconds (line 38) | SequenceLockTimeIsSeconds = 1 << 22 constant SequenceLockTimeMask (line 42) | SequenceLockTimeMask = 0x0000ffff constant SequenceLockTimeGranularity (line 49) | SequenceLockTimeGranularity = 9 constant defaultTxInOutAlloc (line 56) | defaultTxInOutAlloc = 15 constant minTxInPayload (line 61) | minTxInPayload = 9 + chainhash.HashSize constant maxTxInPerMessage (line 65) | maxTxInPerMessage = (MaxMessagePayload / minTxInPayload) + 1 constant MinTxOutPayload (line 69) | MinTxOutPayload = 9 constant maxTxOutPerMessage (line 73) | maxTxOutPerMessage = (MaxMessagePayload / MinTxOutPayload) + 1 constant minTxPayload (line 82) | minTxPayload = 10 constant freeListMaxScriptSize (line 90) | freeListMaxScriptSize = 512 constant freeListMaxItems (line 97) | freeListMaxItems = 125 constant maxWitnessItemsPerInput (line 107) | maxWitnessItemsPerInput = 4_000_000 constant maxWitnessItemSize (line 112) | maxWitnessItemSize = 4_000_000 constant TxFlagMarker (line 140) | TxFlagMarker = 0x00 constant WitnessFlag (line 155) | WitnessFlag TxFlag = 0x01 constant scriptSlabSize (line 158) | scriptSlabSize = 1 << 22 type scriptSlab (line 160) | type scriptSlab type scriptFreeList (line 170) | type scriptFreeList method Borrow (line 179) | func (c scriptFreeList) Borrow() *scriptSlab { method Return (line 194) | func (c scriptFreeList) Return(buf *scriptSlab) { type OutPoint (line 211) | type OutPoint struct method String (line 254) | func (o OutPoint) String() string { function NewOutPoint (line 218) | func NewOutPoint(hash *chainhash.Hash, index uint32) *OutPoint { function NewOutPointFromString (line 227) | func NewOutPointFromString(outpoint string) (*OutPoint, error) { type TxIn (line 269) | type TxIn struct method SerializeSize (line 278) | func (t *TxIn) SerializeSize() int { function NewTxIn (line 289) | func NewTxIn(prevOut *OutPoint, signatureScript []byte, witness [][]byte... type TxWitness (line 300) | type TxWitness method SerializeSize (line 304) | func (t TxWitness) SerializeSize() int { method ToHexStrings (line 320) | func (t TxWitness) ToHexStrings() []string { type TxOut (line 336) | type TxOut struct method SerializeSize (line 343) | func (t *TxOut) SerializeSize() int { function NewTxOut (line 351) | func NewTxOut(value int64, pkScript []byte) *TxOut { type MsgTx (line 364) | type MsgTx struct method AddTxIn (line 372) | func (msg *MsgTx) AddTxIn(ti *TxIn) { method AddTxOut (line 377) | func (msg *MsgTx) AddTxOut(to *TxOut) { method TxHash (line 382) | func (msg *MsgTx) TxHash() chainhash.Hash { method TxID (line 387) | func (msg *MsgTx) TxID() string { method WitnessHash (line 396) | func (msg *MsgTx) WitnessHash() chainhash.Hash { method Copy (line 406) | func (msg *MsgTx) Copy() *MsgTx { method BtcDecode (line 483) | func (msg *MsgTx) BtcDecode(r io.Reader, pver uint32, enc MessageEncod... method btcDecode (line 494) | func (msg *MsgTx) btcDecode(r io.Reader, pver uint32, enc MessageEncod... method Deserialize (line 710) | func (msg *MsgTx) Deserialize(r io.Reader) error { method DeserializeNoWitness (line 721) | func (msg *MsgTx) DeserializeNoWitness(r io.Reader) error { method BtcEncode (line 729) | func (msg *MsgTx) BtcEncode(w io.Writer, pver uint32, enc MessageEncod... method btcEncode (line 737) | func (msg *MsgTx) btcEncode(w io.Writer, pver uint32, enc MessageEncod... method HasWitness (line 805) | func (msg *MsgTx) HasWitness() bool { method Serialize (line 825) | func (msg *MsgTx) Serialize(w io.Writer) error { method SerializeNoWitness (line 840) | func (msg *MsgTx) SerializeNoWitness(w io.Writer) error { method baseSize (line 846) | func (msg *MsgTx) baseSize() int { method SerializeSize (line 865) | func (msg *MsgTx) SerializeSize() int { method SerializeSizeStripped (line 884) | func (msg *MsgTx) SerializeSizeStripped() int { method Command (line 890) | func (msg *MsgTx) Command() string { method MaxPayloadLength (line 896) | func (msg *MsgTx) MaxPayloadLength(pver uint32) uint32 { method PkScriptLocs (line 904) | func (msg *MsgTx) PkScriptLocs() []int { function NewMsgTx (line 949) | func NewMsgTx(version int32) *MsgTx { function readOutPointBuf (line 964) | func readOutPointBuf(r io.Reader, pver uint32, version int32, op *OutPoint, function WriteOutPoint (line 982) | func WriteOutPoint(w io.Writer, pver uint32, version int32, op *OutPoint... function writeOutPointBuf (line 998) | func writeOutPointBuf(w io.Writer, pver uint32, version int32, op *OutPo... function readScriptBuf (line 1024) | func readScriptBuf(r io.Reader, pver uint32, buf, s []byte, function readTxInBuf (line 1066) | func readTxInBuf(r io.Reader, pver uint32, version int32, ti *TxIn, function writeTxInBuf (line 1094) | func writeTxInBuf(w io.Writer, pver uint32, version int32, ti *TxIn, function ReadTxOut (line 1115) | func ReadTxOut(r io.Reader, pver uint32, version int32, to *TxOut) error { function readTxOutBuf (line 1129) | func readTxOutBuf(r io.Reader, pver uint32, version int32, to *TxOut, function WriteTxOut (line 1149) | func WriteTxOut(w io.Writer, pver uint32, version int32, to *TxOut) error { function WriteTxOutBuf (line 1164) | func WriteTxOutBuf(w io.Writer, pver uint32, version int32, to *TxOut, function writeTxWitnessBuf (line 1180) | func writeTxWitnessBuf(w io.Writer, pver uint32, version int32, wit [][]... FILE: wire/msgtx_test.go function TestTx (line 21) | func TestTx(t *testing.T) { function TestTxHash (line 140) | func TestTxHash(t *testing.T) { function TestWTxSha (line 189) | func TestWTxSha(t *testing.T) { function TestTxWire (line 266) | func TestTxWire(t *testing.T) { function TestTxWireErrors (line 407) | func TestTxWireErrors(t *testing.T) { function TestTxSerialize (line 472) | func TestTxSerialize(t *testing.T) { function TestTxSerializeErrors (line 572) | func TestTxSerializeErrors(t *testing.T) { function TestTxOverflowErrors (line 633) | func TestTxOverflowErrors(t *testing.T) { function TestTxSerializeSizeStripped (line 728) | func TestTxSerializeSizeStripped(t *testing.T) { function TestTxID (line 762) | func TestTxID(t *testing.T) { function TestTxWitnessSize (line 790) | func TestTxWitnessSize(t *testing.T) { function TestTxOutPointFromString (line 813) | func TestTxOutPointFromString(t *testing.T) { function TestTxSuperfluousWitnessRecord (line 892) | func TestTxSuperfluousWitnessRecord(t *testing.T) { function TestTxWitnessOverflowPanic (line 1174) | func TestTxWitnessOverflowPanic(t *testing.T) { FILE: wire/msgverack.go type MsgVerAck (line 16) | type MsgVerAck struct method BtcDecode (line 20) | func (msg *MsgVerAck) BtcDecode(r io.Reader, pver uint32, enc MessageE... method BtcEncode (line 26) | func (msg *MsgVerAck) BtcEncode(w io.Writer, pver uint32, enc MessageE... method Command (line 32) | func (msg *MsgVerAck) Command() string { method MaxPayloadLength (line 38) | func (msg *MsgVerAck) MaxPayloadLength(pver uint32) uint32 { function NewMsgVerAck (line 44) | func NewMsgVerAck() *MsgVerAck { FILE: wire/msgverack_test.go function TestVerAck (line 16) | func TestVerAck(t *testing.T) { function TestVerAckWire (line 39) | func TestVerAckWire(t *testing.T) { FILE: wire/msgversion.go constant MaxUserAgentLen (line 17) | MaxUserAgentLen = 256 constant DefaultUserAgent (line 20) | DefaultUserAgent = "/btcwire:0.5.0/" type MsgVersion (line 29) | type MsgVersion struct method HasService (line 62) | func (msg *MsgVersion) HasService(service ServiceFlag) bool { method AddService (line 68) | func (msg *MsgVersion) AddService(service ServiceFlag) { method BtcDecode (line 79) | func (msg *MsgVersion) BtcDecode(r io.Reader, pver uint32, enc Message... method BtcEncode (line 152) | func (msg *MsgVersion) BtcEncode(w io.Writer, pver uint32, enc Message... method Command (line 203) | func (msg *MsgVersion) Command() string { method MaxPayloadLength (line 209) | func (msg *MsgVersion) MaxPayloadLength(pver uint32) uint32 { method AddUserAgent (line 254) | func (msg *MsgVersion) AddUserAgent(name string, version string, function NewMsgVersion (line 223) | func NewMsgVersion(me *NetAddress, you *NetAddress, nonce uint64, function validateUserAgent (line 242) | func validateUserAgent(userAgent string) error { FILE: wire/msgversion_test.go function TestVersion (line 20) | func TestVersion(t *testing.T) { function TestVersionWire (line 131) | func TestVersionWire(t *testing.T) { function TestVersionWireErrors (line 247) | func TestVersionWireErrors(t *testing.T) { function TestVersionOptionalFields (line 369) | func TestVersionOptionalFields(t *testing.T) { FILE: wire/msgwtxidrelay.go type MsgWTxIdRelay (line 17) | type MsgWTxIdRelay struct method BtcDecode (line 21) | func (msg *MsgWTxIdRelay) BtcDecode(r io.Reader, pver uint32, enc Mess... method BtcEncode (line 33) | func (msg *MsgWTxIdRelay) BtcEncode(w io.Writer, pver uint32, enc Mess... method Command (line 45) | func (msg *MsgWTxIdRelay) Command() string { method MaxPayloadLength (line 51) | func (msg *MsgWTxIdRelay) MaxPayloadLength(pver uint32) uint32 { function NewMsgWTxIdRelay (line 57) | func NewMsgWTxIdRelay() *MsgWTxIdRelay { FILE: wire/msgwtxidrelay_test.go function TestWTxIdRelay (line 17) | func TestWTxIdRelay(t *testing.T) { function TestWTxIdRelayBIP0130 (line 76) | func TestWTxIdRelayBIP0130(t *testing.T) { function TestWTxIdRelayCrossProtocol (line 102) | func TestWTxIdRelayCrossProtocol(t *testing.T) { function TestWTxIdRelayWire (line 125) | func TestWTxIdRelayWire(t *testing.T) { FILE: wire/netaddress.go function maxNetAddressPayload (line 15) | func maxNetAddressPayload(pver uint32) uint32 { type NetAddress (line 30) | type NetAddress struct method HasService (line 49) | func (na *NetAddress) HasService(service ServiceFlag) bool { method AddService (line 55) | func (na *NetAddress) AddService(service ServiceFlag) { function NewNetAddressIPPort (line 61) | func NewNetAddressIPPort(ip net.IP, port uint16, services ServiceFlag) *... function NewNetAddressTimestamp (line 68) | func NewNetAddressTimestamp( function NewNetAddress (line 83) | func NewNetAddress(addr *net.TCPAddr, services ServiceFlag) *NetAddress { function readNetAddress (line 90) | func readNetAddress(r io.Reader, pver uint32, na *NetAddress, ts bool) e... function readNetAddressBuf (line 107) | func readNetAddressBuf(r io.Reader, pver uint32, na *NetAddress, ts bool, function writeNetAddress (line 154) | func writeNetAddress(w io.Writer, pver uint32, na *NetAddress, ts bool) ... function writeNetAddressBuf (line 171) | func writeNetAddressBuf(w io.Writer, pver uint32, na *NetAddress, ts boo... FILE: wire/netaddress_test.go function TestNetAddress (line 19) | func TestNetAddress(t *testing.T) { function TestNetAddressWire (line 76) | func TestNetAddressWire(t *testing.T) { function TestNetAddressWireErrors (line 205) | func TestNetAddressWireErrors(t *testing.T) { FILE: wire/netaddressv2.go constant maxAddrV2Size (line 19) | maxAddrV2Size = 512 function maxNetAddressV2Payload (line 41) | func maxNetAddressV2Payload() uint32 { function isOnionCatTor (line 65) | func isOnionCatTor(ip net.IP) bool { function isIPv4Mapped (line 79) | func isIPv4Mapped(addr []byte) bool { type NetAddressV2 (line 87) | type NetAddressV2 struct method HasService (line 110) | func (na *NetAddressV2) HasService(service ServiceFlag) bool { method AddService (line 115) | func (na *NetAddressV2) AddService(service ServiceFlag) { method ToLegacy (line 123) | func (na *NetAddressV2) ToLegacy() *NetAddress { method IsTorV3 (line 146) | func (na *NetAddressV2) IsTorV3() bool { method TorV3Key (line 153) | func (na *NetAddressV2) TorV3Key() byte { function NetAddressV2FromBytes (line 165) | func NetAddressV2FromBytes(timestamp time.Time, services ServiceFlag, function writeNetAddressV2 (line 209) | func writeNetAddressV2(w io.Writer, pver uint32, na *NetAddressV2) error { function readNetAddressV2 (line 262) | func readNetAddressV2(r io.Reader, pver uint32, na *NetAddressV2) error { type networkID (line 433) | type networkID constant ipv4 (line 437) | ipv4 networkID = iota + 1 constant ipv6 (line 440) | ipv6 constant torv2 (line 443) | torv2 constant torv3 (line 446) | torv3 constant i2p (line 449) | i2p constant cjdns (line 452) | cjdns constant ipv4Size (line 457) | ipv4Size = 4 constant ipv6Size (line 460) | ipv6Size = 16 constant torv2Size (line 463) | torv2Size = 10 constant TorV3Size (line 466) | TorV3Size = 32 constant i2pSize (line 469) | i2pSize = 32 constant cjdnsSize (line 472) | cjdnsSize = 16 constant TorV2EncodedSize (line 478) | TorV2EncodedSize = 22 constant TorV3EncodedSize (line 482) | TorV3EncodedSize = 62 function isKnownNetworkID (line 487) | func isKnownNetworkID(netID uint8) bool { type ipv4Addr (line 491) | type ipv4Addr struct method String (line 497) | func (a *ipv4Addr) String() string { method Network (line 502) | func (a *ipv4Addr) Network() string { type ipv6Addr (line 510) | type ipv6Addr struct method String (line 516) | func (a *ipv6Addr) String() string { method Network (line 521) | func (a *ipv6Addr) Network() string { type torv2Addr (line 529) | type torv2Addr struct method String (line 535) | func (a *torv2Addr) String() string { method Network (line 541) | func (a *torv2Addr) Network() string { method onionCatEncoding (line 546) | func (a *torv2Addr) onionCatEncoding() net.IP { type torv3Addr (line 555) | type torv3Addr struct method String (line 561) | func (a *torv3Addr) String() string { method Network (line 589) | func (a *torv3Addr) Network() string { type i2pAddr (line 597) | type i2pAddr struct type cjdnsAddr (line 602) | type cjdnsAddr struct FILE: wire/netaddressv2_test.go function TestIsIPv4Mapped (line 12) | func TestIsIPv4Mapped(t *testing.T) { function TestNetAddressV2FromBytes (line 75) | func TestNetAddressV2FromBytes(t *testing.T) { function TestReadNetAddressV2 (line 167) | func TestReadNetAddressV2(t *testing.T) { FILE: wire/protocol.go constant ProtocolVersion (line 16) | ProtocolVersion uint32 = 70016 constant MultipleAddressVersion (line 20) | MultipleAddressVersion uint32 = 209 constant NetAddressTimeVersion (line 24) | NetAddressTimeVersion uint32 = 31402 constant BIP0031Version (line 28) | BIP0031Version uint32 = 60000 constant BIP0035Version (line 32) | BIP0035Version uint32 = 60002 constant BIP0037Version (line 37) | BIP0037Version uint32 = 70001 constant RejectVersion (line 41) | RejectVersion uint32 = 70002 constant BIP0111Version (line 45) | BIP0111Version uint32 = 70011 constant SendHeadersVersion (line 49) | SendHeadersVersion uint32 = 70012 constant FeeFilterVersion (line 53) | FeeFilterVersion uint32 = 70013 constant AddrV2Version (line 60) | AddrV2Version uint32 = 70016 constant NodeNetworkLimitedBlockThreshold (line 66) | NodeNetworkLimitedBlockThreshold = 288 type ServiceFlag (line 70) | type ServiceFlag method HasFlag (line 142) | func (f ServiceFlag) HasFlag(s ServiceFlag) bool { method String (line 147) | func (f ServiceFlag) String() string { constant SFNodeNetwork (line 74) | SFNodeNetwork ServiceFlag = 1 << iota constant SFNodeGetUTXO (line 78) | SFNodeGetUTXO constant SFNodeBloom (line 82) | SFNodeBloom constant SFNodeWitness (line 86) | SFNodeWitness constant SFNodeXthin (line 89) | SFNodeXthin constant SFNodeBit5 (line 93) | SFNodeBit5 constant SFNodeCF (line 97) | SFNodeCF constant SFNode2X (line 101) | SFNode2X constant SFNodeNetworkLimited (line 105) | SFNodeNetworkLimited = 1 << 10 constant SFNodeP2PV2 (line 109) | SFNodeP2PV2 = 1 << 11 type BitcoinNet (line 172) | type BitcoinNet method String (line 211) | func (n BitcoinNet) String() string { constant MainNet (line 180) | MainNet BitcoinNet = 0xd9b4bef9 constant TestNet (line 183) | TestNet BitcoinNet = 0xdab5bffa constant TestNet3 (line 186) | TestNet3 BitcoinNet = 0x0709110b constant TestNet4 (line 189) | TestNet4 BitcoinNet = 0x283f161c constant SigNet (line 193) | SigNet BitcoinNet = 0x40CF030A constant SimNet (line 196) | SimNet BitcoinNet = 0x12141c16 FILE: wire/protocol_test.go function TestServiceFlagStringer (line 14) | func TestServiceFlagStringer(t *testing.T) { function TestBitcoinNetStringer (line 44) | func TestBitcoinNetStringer(t *testing.T) { function TestHasFlag (line 69) | func TestHasFlag(t *testing.T) {