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 |
---|---|---|
ConfidentialEntry | other |
Fields
| Improve this Doc View SourceBaseFieldNumber
Field number for the "base" field.
Declaration
public const int BaseFieldNumber = 1
Field Value
Type | Description |
---|---|
System.Int32 |
PedersenCommitmentFieldNumber
Field number for the "pedersen_commitment" field.
Declaration
public const int PedersenCommitmentFieldNumber = 2
Field Value
Type | Description |
---|---|
System.Int32 |
RangeProofFieldNumber
Field number for the "range_proof" field.
Declaration
public const int RangeProofFieldNumber = 3
Field Value
Type | Description |
---|---|
System.Int32 |
Properties
| Improve this Doc View SourceBase
Declaration
public BaseEntry Base { get; set; }
Property Value
Type | Description |
---|---|
BaseEntry |
Descriptor
Declaration
public static MessageDescriptor Descriptor { get; }
Property Value
Type | Description |
---|---|
Google.Protobuf.Reflection.MessageDescriptor |
Parser
Declaration
public static MessageParser<ConfidentialEntry> Parser { get; }
Property Value
Type | Description |
---|---|
Google.Protobuf.MessageParser<ConfidentialEntry> |
PedersenCommitment
32 bytes
Declaration
public ByteString PedersenCommitment { get; set; }
Property Value
Type | Description |
---|---|
Google.Protobuf.ByteString |
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.Protobuf.ByteString |
Methods
| Improve this Doc View SourceCalculateSize()
Declaration
public int CalculateSize()
Returns
Type | Description |
---|---|
System.Int32 |
Clone()
Declaration
public ConfidentialEntry Clone()
Returns
Type | Description |
---|---|
ConfidentialEntry |
Equals(ConfidentialEntry)
Declaration
public bool Equals(ConfidentialEntry other)
Parameters
Type | Name | Description |
---|---|---|
ConfidentialEntry | other |
Returns
Type | Description |
---|---|
System.Boolean |
Equals(Object)
Declaration
public override bool Equals(object other)
Parameters
Type | Name | Description |
---|---|---|
System.Object | other |
Returns
Type | Description |
---|---|
System.Boolean |
Overrides
System.Object.Equals(System.Object)
|
Improve this Doc
View Source
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 |
Overrides
System.Object.GetHashCode()
|
Improve this Doc
View Source
IsValid()
Declaration
public bool IsValid()
Returns
Type | Description |
---|---|
System.Boolean |
MergeFrom(ConfidentialEntry)
Declaration
public void MergeFrom(ConfidentialEntry other)
Parameters
Type | Name | Description |
---|---|---|
ConfidentialEntry | other |
MergeFrom(CodedInputStream)
Declaration
public void MergeFrom(CodedInputStream input)
Parameters
Type | Name | Description |
---|---|---|
Google.Protobuf.CodedInputStream | input |
ToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String |
Overrides
System.Object.ToString()
|
Improve this Doc
View Source
WriteTo(CodedOutputStream)
Declaration
public void WriteTo(CodedOutputStream output)
Parameters
Type | Name | Description |
---|---|---|
Google.Protobuf.CodedOutputStream | output |
Explicit Interface Implementations
| Improve this Doc View SourceIMessage.Descriptor
Declaration
MessageDescriptor IMessage.Descriptor { get; }
Returns
Type | Description |
---|---|
Google.Protobuf.Reflection.MessageDescriptor |
Implements
Google.Protobuf.IMessage<T>
Google.Protobuf.IMessage
System.IEquatable<T>
Google.Protobuf.IDeepCloneable<T>