fabric: github.com/hyperledger/fabric/core/ledger/kvledger/txmgmt/storageutil Index | Files

package storageutil

import "github.com/hyperledger/fabric/core/ledger/kvledger/txmgmt/storageutil"


Package Files


func DeserializeMetadata Uses

func DeserializeMetadata(metadataBytes []byte) (map[string][]byte, error)

DeserializeMetadata deserializes metadata bytes from statedb

func SerializeMetadata Uses

func SerializeMetadata(metadataEntries []*kvrwset.KVMetadataEntry) ([]byte, error)

SerializeMetadata serializes metadata entries for storing in statedb

func SerializeMetadataByMap Uses

func SerializeMetadataByMap(metadataMap map[string][]byte) ([]byte, error)

SerializeMetadataByMap takes the metadata entries in the form of a map and serializes the metadata for storing in statedb

Package storageutil imports 3 packages (graph) and is imported by 2 packages. Updated 2019-11-20. Refresh now. Tools for package owners.