MCPcopy Create free account
hub / github.com/DNAProject/DNA / VerifyTransactionWithLedger

Function VerifyTransactionWithLedger

core/validation/transaction_validator.go:54–57  ·  view source on GitHub ↗
(tx *types.Transaction, ledger *ledger.Ledger)

Source from the content-addressed store, hash-verified

52}
53
54func VerifyTransactionWithLedger(tx *types.Transaction, ledger *ledger.Ledger) ontErrors.ErrCode {
55 //TODO: replay check
56 return ontErrors.ErrNoError
57}
58
59func checkTransactionSignatures(tx *types.Transaction) error {
60 hash := tx.Hash()

Callers 1

VerifyBlockFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected