Class BlockChallengeBroadcast
Inheritance
System.Object
BlockChallengeBroadcast
Implements
Google.Protobuf.IMessage
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Assembly: Catalyst.Protocol.dll
Syntax
public sealed class BlockChallengeBroadcast : IMessage<BlockChallengeBroadcast>, IMessage, IEquatable<BlockChallengeBroadcast>, IDeepCloneable<BlockChallengeBroadcast>
Constructors
|
Improve this Doc
View Source
BlockChallengeBroadcast()
Declaration
public BlockChallengeBroadcast()
|
Improve this Doc
View Source
BlockChallengeBroadcast(BlockChallengeBroadcast)
Declaration
public BlockChallengeBroadcast(BlockChallengeBroadcast other)
Parameters
Fields
|
Improve this Doc
View Source
AnswerFieldNumber
Field number for the "answer" field.
Declaration
public const int AnswerFieldNumber = 2
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
ChallengedByFieldNumber
Field number for the "challenged_by" field.
Declaration
public const int ChallengedByFieldNumber = 4
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
ChallengedPeerFieldNumber
Field number for the "challenged_peer" field.
Declaration
public const int ChallengedPeerFieldNumber = 3
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
OriginalChallengeFieldNumber
Field number for the "original_challenge" field.
Declaration
public const int OriginalChallengeFieldNumber = 1
Field Value
Type |
Description |
System.Int32 |
|
Properties
|
Improve this Doc
View Source
Answer
Declaration
public string Answer { get; set; }
Property Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
ChallengedBy
Declaration
public PeerId ChallengedBy { get; set; }
Property Value
|
Improve this Doc
View Source
ChallengedPeer
Declaration
public PeerId ChallengedPeer { get; set; }
Property Value
|
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
OriginalChallenge
Declaration
public BlockChallengeRequest OriginalChallenge { get; set; }
Property Value
|
Improve this Doc
View Source
Parser
Declaration
public static MessageParser<BlockChallengeBroadcast> Parser { get; }
Property Value
Methods
|
Improve this Doc
View Source
CalculateSize()
Declaration
public int CalculateSize()
Returns
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
Clone()
Declaration
public BlockChallengeBroadcast Clone()
Returns
|
Improve this Doc
View Source
Equals(BlockChallengeBroadcast)
Declaration
public bool Equals(BlockChallengeBroadcast other)
Parameters
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
MergeFrom(BlockChallengeBroadcast)
Declaration
public void MergeFrom(BlockChallengeBroadcast other)
Parameters
|
Improve this Doc
View Source
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>