Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/CPChain/chain
/ Type
Method
Type
types/transaction.go:254–256 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
252
}
253
254
func
(tx *Transaction) Type() uint64 {
255
return
tx.data.Type
256
}
257
258
// CheckType checks the transaction's type.
259
func
(tx *Transaction) CheckType(t uint64) bool {
Callers
15
TestTxSetType
Function · 0.95
validateTx
Method · 0.80
ApplyTransaction
Function · 0.80
indirect
Function · 0.80
set
Function · 0.80
requireAssignable
Function · 0.80
mapAbiToStructFields
Function · 0.80
sliceTypeCheck
Function · 0.80
typeCheck
Function · 0.80
unpackTuple
Method · 0.80
parseTopics
Function · 0.80
newRPCTransaction
Function · 0.80
Calls
no outgoing calls
Tested by
1
TestTxSetType
Function · 0.76