fabric: github.com/hyperledger/fabric/token/tms Index | Files | Directories

package tms

import "github.com/hyperledger/fabric/token/tms"

Index

Package Files

transactiondata.go

type TransactionData Uses

type TransactionData struct {
    Tx  *token.TokenTransaction
    // The fabric transaction ID
    TxID string
}

TransactionData struct contains the token transaction, and the Fabric transaction ID. The TokenTransaction is created by the prover peer, but the transaction ID is only created later by the client (using the TokenTransaction and a nonce). At validation and commit time, both the TokenTransaction, and the transaction ID are needed by the committing peer. Storing them together in a single struct facilitates the handling of them.

Directories

PathSynopsis
manager
plain

Package tms imports 1 packages (graph) and is imported by 1 packages. Updated 2019-01-16. Refresh now. Tools for package owners.