Class ConfidentialEntry
Inheritance
System.Object
ConfidentialEntry
Implements
Google.Protobuf.IMessage <ConfidentialEntry >
Google.Protobuf.IMessage
System.IEquatable <ConfidentialEntry >
Google.Protobuf.IDeepCloneable <ConfidentialEntry >
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Catalyst.Protocol.Transaction
Assembly: Catalyst.Protocol.dll
Syntax
public sealed class ConfidentialEntry : IMessage<ConfidentialEntry>, IMessage, IEquatable<ConfidentialEntry>, IDeepCloneable<ConfidentialEntry>
Constructors
| Improve this Doc View SourceConfidentialEntry()
Declaration
public ConfidentialEntry()
ConfidentialEntry(ConfidentialEntry)
Declaration
public ConfidentialEntry(ConfidentialEntry other)
Parameters
Type | Name | Description |
---|---|---|
Confidential |
other |
Fields
| Improve this Doc View SourceBaseFieldNumber
Field number for the "base" field.
Declaration
public const int BaseFieldNumber = 1
Field Value
Type | Description |
---|---|
System. |
PedersenCommitmentFieldNumber
Field number for the "pedersen_commitment" field.
Declaration
public const int PedersenCommitmentFieldNumber = 2
Field Value
Type | Description |
---|---|
System. |
RangeProofFieldNumber
Field number for the "range_proof" field.
Declaration
public const int RangeProofFieldNumber = 3
Field Value
Type | Description |
---|---|
System. |
Properties
| Improve this Doc View SourceBase
Declaration
public BaseEntry Base { get; set; }
Property Value
Type | Description |
---|---|
Base |
Descriptor
Declaration
public static MessageDescriptor Descriptor { get; }
Property Value
Type | Description |
---|---|
Google. |
Parser
Declaration
public static MessageParser<ConfidentialEntry> Parser { get; }
Property Value
Type | Description |
---|---|
Google. |
PedersenCommitment
32 bytes
Declaration
public ByteString PedersenCommitment { get; set; }
Property Value
Type | Description |
---|---|
Google. |
RangeProof
* BulletProof-based range proof. See https://eprint.iacr.org/2017/1066.pdf for references to equations below. Total byte size is (9+2k)32, where k = log_2(nm), m is number of aggregates in proof, (2^n)-1 is upper range of values.
Declaration
public ByteString RangeProof { get; set; }
Property Value
Type | Description |
---|---|
Google. |
Methods
| Improve this Doc View SourceCalculateSize()
Declaration
public int CalculateSize()
Returns
Type | Description |
---|---|
System. |
Clone()
Declaration
public ConfidentialEntry Clone()
Returns
Type | Description |
---|---|
Confidential |
Equals(ConfidentialEntry)
Declaration
public bool Equals(ConfidentialEntry other)
Parameters
Type | Name | Description |
---|---|---|
Confidential |
other |
Returns
Type | Description |
---|---|
System. |
Equals(Object)
Declaration
public override bool Equals(object other)
Parameters
Type | Name | Description |
---|---|---|
System. |
other |
Returns
Type | Description |
---|---|
System. |
Overrides
System.Object.Equals(System.Object)
|
Improve this Doc
View Source
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System. |
Overrides
System.Object.GetHashCode()
|
Improve this Doc
View Source
IsValid()
Declaration
public bool IsValid()
Returns
Type | Description |
---|---|
System. |
MergeFrom(ConfidentialEntry)
Declaration
public void MergeFrom(ConfidentialEntry other)
Parameters
Type | Name | Description |
---|---|---|
Confidential |
other |
MergeFrom(CodedInputStream)
Declaration
public void MergeFrom(CodedInputStream input)
Parameters
Type | Name | Description |
---|---|---|
Google. |
input |
ToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System. |
Overrides
System.Object.ToString()
|
Improve this Doc
View Source
WriteTo(CodedOutputStream)
Declaration
public void WriteTo(CodedOutputStream output)
Parameters
Type | Name | Description |
---|---|---|
Google. |
output |
Explicit Interface Implementations
| Improve this Doc View SourceIMessage.Descriptor
Declaration
MessageDescriptor IMessage.Descriptor { get; }
Returns
Type | Description |
---|---|
Google. |
Implements
Google.Protobuf.IMessage<T>
Google.Protobuf.IMessage
System.IEquatable<T>
Google.Protobuf.IDeepCloneable<T>