MCPcopy Create free account
hub / github.com/CPChain/chain / IsBasic

Method IsBasic

types/transaction.go:274–276  ·  view source on GitHub ↗

IsBasic checks if the tx is a basic tx.

()

Source from the content-addressed store, hash-verified

272
273// IsBasic checks if the tx is a basic tx.
274func (tx *Transaction) IsBasic() bool {
275 return tx.CheckType(BasicTx)
276}
277
278// SetPrivate sets the tx as private.
279func (tx *Transaction) SetPrivate() {

Callers 1

ApplyTransactionFunction · 0.80

Calls 1

CheckTypeMethod · 0.95

Tested by

no test coverage detected