Show / Hide Table of Contents

    Class CandidateDeltaBroadcast

    Inheritance
    System.Object
    CandidateDeltaBroadcast
    Implements
    Google.Protobuf.IMessage<CandidateDeltaBroadcast>
    Google.Protobuf.IMessage
    System.IEquatable<CandidateDeltaBroadcast>
    Google.Protobuf.IDeepCloneable<CandidateDeltaBroadcast>
    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.Wire
    Assembly: Catalyst.Protocol.dll
    Syntax
    public sealed class CandidateDeltaBroadcast : IMessage<CandidateDeltaBroadcast>, IMessage, IEquatable<CandidateDeltaBroadcast>, IDeepCloneable<CandidateDeltaBroadcast>

    Constructors

    | Improve this Doc View Source

    CandidateDeltaBroadcast()

    Declaration
    public CandidateDeltaBroadcast()
    | Improve this Doc View Source

    CandidateDeltaBroadcast(CandidateDeltaBroadcast)

    Declaration
    public CandidateDeltaBroadcast(CandidateDeltaBroadcast other)
    Parameters
    Type Name Description
    CandidateDeltaBroadcast other

    Fields

    | Improve this Doc View Source

    HashFieldNumber

    Field number for the "hash" field.

    Declaration
    public const int HashFieldNumber = 1
    Field Value
    Type Description
    System.Int32
    | Improve this Doc View Source

    PreviousDeltaDfsHashFieldNumber

    Field number for the "previous_delta_dfs_hash" field.

    Declaration
    public const int PreviousDeltaDfsHashFieldNumber = 3
    Field Value
    Type Description
    System.Int32
    | Improve this Doc View Source

    ProducerIdFieldNumber

    Field number for the "producer_id" field.

    Declaration
    public const int ProducerIdFieldNumber = 2
    Field Value
    Type Description
    System.Int32

    Properties

    | Improve this Doc View Source

    Descriptor

    Declaration
    public static MessageDescriptor Descriptor { get; }
    Property Value
    Type Description
    Google.Protobuf.Reflection.MessageDescriptor
    | Improve this Doc View Source

    Hash

    The hash computed for the current delta produced by ProducerId. This is meant to be used when voting for most popular hashes.

    Declaration
    public ByteString Hash { get; set; }
    Property Value
    Type Description
    Google.Protobuf.ByteString
    | Improve this Doc View Source

    Parser

    Declaration
    public static MessageParser<CandidateDeltaBroadcast> Parser { get; }
    Property Value
    Type Description
    Google.Protobuf.MessageParser<CandidateDeltaBroadcast>
    | Improve this Doc View Source

    PreviousDeltaDfsHash

    The DFS address for the content of the delta preceding this candidate.

    Declaration
    public ByteString PreviousDeltaDfsHash { get; set; }
    Property Value
    Type Description
    Google.Protobuf.ByteString
    | Improve this Doc View Source

    ProducerId

    Identifier of the producer of the candidate.

    Declaration
    public PeerId ProducerId { get; set; }
    Property Value
    Type Description
    PeerId

    Methods

    | Improve this Doc View Source

    CalculateSize()

    Declaration
    public int CalculateSize()
    Returns
    Type Description
    System.Int32
    | Improve this Doc View Source

    Clone()

    Declaration
    public CandidateDeltaBroadcast Clone()
    Returns
    Type Description
    CandidateDeltaBroadcast
    | Improve this Doc View Source

    Equals(CandidateDeltaBroadcast)

    Declaration
    public bool Equals(CandidateDeltaBroadcast other)
    Parameters
    Type Name Description
    CandidateDeltaBroadcast other
    Returns
    Type Description
    System.Boolean
    | Improve this Doc View Source

    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
    | Improve this Doc View Source

    MergeFrom(CandidateDeltaBroadcast)

    Declaration
    public void MergeFrom(CandidateDeltaBroadcast other)
    Parameters
    Type Name Description
    CandidateDeltaBroadcast other
    | Improve this Doc View Source

    MergeFrom(CodedInputStream)

    Declaration
    public void MergeFrom(CodedInputStream input)
    Parameters
    Type Name Description
    Google.Protobuf.CodedInputStream input
    | Improve this Doc View Source

    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 Source

    IMessage.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>
    • Improve this Doc
    • View Source
    Back to top Copyright © 2019 Catalyst Network