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

package token

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

Index

Package Files

identity.go

type Identity Uses

type Identity interface {
    Serialize() ([]byte, error)
}

Identity refers to the creator of a tx;

type SigningIdentity Uses

type SigningIdentity interface {
    Identity //extends Identity

    Sign(msg []byte) ([]byte, error)

    GetPublicVersion() Identity
}

SigningIdentity defines the functions necessary to sign an array of bytes; it is needed to sign the commands transmitted to the prover peer service.

Directories

PathSynopsis
client
client/mockCode generated by counterfeiter.
identity
identity/mockCode generated by counterfeiter.
ledger
ledger/mockCode generated by counterfeiter.
server
server/mockCode generated by counterfeiter.
tms
tms/manager
tms/plain
transaction
transaction/mockCode generated by counterfeiter.

Package token is imported by 2 packages. Updated 2018-12-13. Refresh now. Tools for package owners.