interop

command module
v1.5.15 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 24, 2023 License: Apache-2.0 Imports: 34 Imported by: 0

README

Weaver Fabric Interop Chaincode

Documentation

Overview

accesscontrolcc contains all the code related to the AccessControlPolicy struct, including CRUD operations and any related verification functions

certificateUtils contains a bunch of helper functions for dealing with certificates

decoders contains all of our custom decoders to converting json `[]byte`s into structs. We are using customs decoders for this since the default Unmarshal function doesn't error when the json `[]byte` contains unknown fields

There is a function for each struct because unfortulately Go doesn't have generics

handleExternalRequest contains the chaincode function to process an interop request coming from a remote network

helper contains miscelaneous helper functions used throughout the code

manage_assets is a chaincode that contains all the code related to asset management operations (e.g., Lock, Unlock, Claim) and any related utility functions

membershipcc contains all the code related to the Membership struct, including CRUD operations and any related verification functions

verficationpolicycc contains all the code related to the VerificiatonPolicy struct, including CRUD operations and any related verification functions

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL