Documentation ¶
Index ¶
Constants ¶
View Source
const ( PrivacyGroupResident = "RESIDENT" PrivacyGroupLegacy = "LEGACY" PrivacyGroupPantheon = "PANTHEON" )
Variables ¶
View Source
var ( ErrPrivateTxManagerNotinUse = errors.New("private transaction manager is not in use") ErrPrivateTxManagerNotReady = errors.New("private transaction manager is not ready") ErrPrivateTxManagerNotSupported = errors.New("private transaction manager does not support this operation") ErrPrivateTxManagerDoesNotSupportPrivacyEnhancements = errors.New("private transaction manager does not support privacy enhancements") ErrPrivateTxManagerDoesNotSupportMandatoryRecipients = errors.New("private transaction manager does not support mandatory recipients") )
Functions ¶
This section is empty.
Types ¶
type ExtraMetaDataRLP ¶
type ExtraMetaDataRLP ExtraMetadata
type ExtraMetadata ¶
type ExtraMetadata struct { // Hashes of affected Contracts ACHashes common.EncryptedPayloadHashes // Root Hash of a Merkle Trie containing all affected contract account in state objects ACMerkleRoot common.Hash // Privacy flag for contract: standardPrivate, partyProtection, psv PrivacyFlag PrivacyFlagType // Contract participants that are managed by the corresponding Tessera. // Being used in Multi Tenancy ManagedParties []string // The sender of the transaction Sender string // Recipients that are mandated to be included MandatoryRecipients []string }
Additional information for the private transaction that Private Transaction Manager carries
type FeatureSet ¶
type FeatureSet struct {
// contains filtered or unexported fields
}
func NewFeatureSet ¶
func NewFeatureSet(features ...PrivateTransactionManagerFeature) *FeatureSet
func (*FeatureSet) HasFeature ¶
func (p *FeatureSet) HasFeature(feature PrivateTransactionManagerFeature) bool
type PrivacyFlagType ¶
type PrivacyFlagType uint64
const ( PrivacyFlagStandardPrivate PrivacyFlagType = iota PrivacyFlagPartyProtection PrivacyFlagMandatoryRecipients PrivacyFlagStateValidation )
func (PrivacyFlagType) Has ¶
func (f PrivacyFlagType) Has(other PrivacyFlagType) bool
func (PrivacyFlagType) HasAll ¶
func (f PrivacyFlagType) HasAll(others ...PrivacyFlagType) bool
func (PrivacyFlagType) IsNotStandardPrivate ¶
func (f PrivacyFlagType) IsNotStandardPrivate() bool
func (PrivacyFlagType) IsStandardPrivate ¶
func (f PrivacyFlagType) IsStandardPrivate() bool
func (PrivacyFlagType) Validate ¶
func (f PrivacyFlagType) Validate() error
type PrivacyGroup ¶
type PrivateTransactionManagerFeature ¶
type PrivateTransactionManagerFeature uint64
const ( None PrivateTransactionManagerFeature = iota // 0 PrivacyEnhancements PrivateTransactionManagerFeature = 1 << PrivateTransactionManagerFeature(iota-1) // 1 MultiTenancy PrivateTransactionManagerFeature = 1 << PrivateTransactionManagerFeature(iota-1) // 2 MultiplePrivateStates PrivateTransactionManagerFeature = 1 << PrivateTransactionManagerFeature(iota-1) // 4 MandatoryRecipients PrivateTransactionManagerFeature = 1 << PrivateTransactionManagerFeature(iota-1) // 8 )
type QuorumPayloadExtra ¶
type QuorumPayloadExtra struct { Payload string ExtraMetaData *ExtraMetadata IsSender bool }
Directories ¶
Path | Synopsis |
---|---|
Package qlightptm is a generated GoMock package.
|
Package qlightptm is a generated GoMock package. |
Click to show internal directories.
Click to hide internal directories.