MCPcopy Create free account
hub / github.com/devaccuracy/ledgerforge / setTransactionMetadata

Function setTransactionMetadata

transaction.go:2023–2053  ·  view source on GitHub ↗

setTransactionMetadata initializes and sets the required metadata for a transaction. calculates the transaction hash, and sets the precise amount based on the transaction's precision. Parameters: - transaction *model.Transaction: The transaction for which to set metadata.

(transaction *model.Transaction)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Calls 3

ApplyPrecisionFunction · 0.92
GenerateUUIDWithSuffixFunction · 0.92
HashTxnMethod · 0.80