Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/blkchain/blkchain
/ functions
Functions
167 in github.com/blkchain/blkchain
⨍
Functions
167
◇
Types & classes
38
↓ 1 callers
Function
setChildrenHeight
Recursively (from lowest height) assign height. Return the satisfied height from the given parentHashes (assuming all is well, there should only be on
btcnode/btcnode.go:252
↓ 1 callers
Function
setTableStorageParams
The approach we are taking here is to disable autovacuum during the first import, then enabling it at the end and let it run. Because of hint bits, th
db/postgres.go:1216
↓ 1 callers
Method
sigOpCount
()
tx.go:43
↓ 1 callers
Function
txFromMsgTx
(mtx *wire.MsgTx)
btcnode/btcnode.go:171
↓ 1 callers
Function
warmupCache
(db *sql.DB, cache *txIdCache, blocks int)
db/postgres.go:1699
Method
BaseSize
()
tx.go:175
Method
BaseSize
()
tx_in.go:78
Method
BinRead
(r io.Reader)
witness.go:13
Method
BinRead
(r io.Reader)
tx_out.go:14
Method
BinRead
(r io.Reader)
tx_out.go:36
Method
BinRead
(r io.Reader)
tx.go:69
Method
BinRead
(r io.Reader)
tx.go:164
Method
BinRead
(r io.Reader)
tx_in.go:33
Method
BinRead
(r io.Reader)
tx_in.go:61
Method
BinRead
(r io.Reader)
block.go:35
Method
BinRead
(r io.Reader)
coredb/utxo.go:21
Method
BinRead
Note that the OutPoint is not read here
coredb/utxo.go:44
Method
BinRead
(r io.Reader)
coredb/leveldb.go:47
Method
BinRead
(r io.Reader)
coredb/leveldb.go:108
Method
BinWrite
(w io.Writer)
witness.go:25
Method
BinWrite
(w io.Writer)
tx_out.go:24
Method
BinWrite
(w io.Writer)
tx_out.go:47
Method
BinWrite
(w io.Writer)
tx.go:118
Method
BinWrite
(w io.Writer)
tx_in.go:46
Method
BinWrite
(w io.Writer)
tx_in.go:72
Method
BinWrite
(w io.Writer)
coredb/utxo.go:33
Method
BlockHeader
()
coredb/leveldb.go:124
Method
Close
()
coredb/leveldb.go:140
Method
Close
()
btcnode/btcnode.go:342
Method
Count
()
coredb/leveldb.go:132
Method
Count
()
btcnode/btcnode.go:35
Method
CurrentHeight
()
coredb/leveldb.go:136
Method
CurrentHeight
()
btcnode/btcnode.go:39
Method
GetUTXO
TODO unused
coredb/leveldb.go:258
Method
IsUTXO
(hash blkchain.Uint256, n uint32)
coredb/leveldb.go:237
Method
MarshalJSON
TODO This may be wrong, do we want this here?
uint256.go:22
Function
NewChainStateIterator
TODO unused
coredb/leveldb.go:248
Function
NewExplorer
(cfg Config)
db/explore.go:18
Method
Next
()
coredb/leveldb.go:90
Method
Next
()
btcnode/btcnode.go:43
Method
ReadBlock
()
coredb/leveldb.go:144
Method
ReadBlock
()
btcnode/btcnode.go:66
Method
Scan
sql.Scanner so that pq can scan these values from postgres
uint256.go:27
Method
SelectAddrTotalReceived
(addr []byte, limit int)
db/explore.go:233
Method
SelectBlockByHashJson
(hash blkchain.Uint256)
db/explore.go:57
Method
SelectBlocksJson
(height, limit int)
db/explore.go:30
Method
SelectHashType
(hash blkchain.Uint256)
db/explore.go:143
Method
SelectMaxHeight
()
db/explore.go:45
Method
SelectTxByHashJson
(hash blkchain.Uint256)
db/explore.go:97
Method
SelectTxsByAddrJson
(addr []byte, startTxId int, limit int)
db/explore.go:154
Method
SelectTxsJson
(blockHash blkchain.Uint256, startN, limit int)
db/explore.go:72
Function
SetRLimit
(required uint64)
rlimit/rlimit_other.go:11
Method
Size
()
witness.go:7
Method
Size
()
witness.go:31
Method
Size
()
block_header.go:22
Method
Size
()
tx_out.go:53
Method
Size
()
tx.go:183
Method
Size
()
tx_in.go:86
Function
Uint256FromString
(from string)
uint256.go:49
Method
VirtualSize
()
tx.go:199
Method
VirtualSize
()
block.go:31
Method
Weight
()
tx.go:191
Method
Weight
()
block.go:27
Function
init
()
btcnode/log.go:20
Function
main
()
cmd/import/import.go:20
Method
sigOpCount
()
tx_in.go:28
Function
waitForAutovacuum
TODO: Presently unused
db/postgres.go:1753
← previous
101–167 of 167, ranked by callers