Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/CPChain/chain
/ Transactions
Method
Transactions
types/block.go:417–417 ·
view source on GitHub ↗
TODO: copies
()
Source
from the content-addressed store, hash-verified
415
// TODO: copies
416
417
func
(b *Block) Transactions() Transactions {
return
b.transactions }
418
419
func
(b *Block) Transaction(hash common.Hash) *Transaction {
420
for
_, transaction :=
range
b.transactions {
Callers
15
TestBlockEncoding
Function · 0.95
reset
Method · 0.80
recoverFromBlocks
Method · 0.80
ValidateBody
Method · 0.80
Process
Method · 0.80
SetReceiptsData
Function · 0.80
insertChain
Method · 0.80
countTransactions
Function · 0.80
reorg
Method · 0.80
benchmarkLargeNumberOfValueToNonexisting
Function · 0.80
WriteTxLookupEntries
Function · 0.80
TestBodyStorage
Function · 0.80
Calls
no outgoing calls
Tested by
11
TestBlockEncoding
Function · 0.76
benchmarkLargeNumberOfValueToNonexisting
Function · 0.64
TestBodyStorage
Function · 0.64
TestBlockStorage
Function · 0.64
TestClient_BlockByNumber
Function · 0.64
TestGetBlockBodies
Function · 0.64
makeBodyFetcher
Method · 0.64
TestEmptyBlockShortCircuit
Function · 0.64
validateReceiptsByManyPeers
Function · 0.64
TestGetBalanceAtMiddleBlock
Function · 0.64
RequestBodies
Method · 0.64