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

Method Protected

types/transaction.go:112–114  ·  view source on GitHub ↗

Protected returns whether the transaction is protected from replay protection.

()

Source from the content-addressed store, hash-verified

110
111// Protected returns whether the transaction is protected from replay protection.
112func (tx *Transaction) Protected() bool {
113 return isProtectedV(tx.data.V)
114}
115
116func isProtectedV(V *big.Int) bool {
117 if V.BitLen() <= 8 {

Callers 7

SenderMethod · 0.45
TestEIP155ChainIdFunction · 0.45
newRPCTransactionFunction · 0.45
GetTransactionReceiptMethod · 0.45
PendingTransactionsMethod · 0.45
ResendMethod · 0.45

Calls 1

isProtectedVFunction · 0.85

Tested by 1

TestEIP155ChainIdFunction · 0.36