xyz.stratalab.node.models

Members list

Type members

Classlikes

final case class Block(header: BlockHeader, body: BlockBody, unknownFields: UnknownFieldSet) extends GeneratedMessage, Updatable[Block]

Captures the header and all transactions in a block

Captures the header and all transactions in a block

Value parameters

body

The block's body

header

The block's header

Attributes

Companion
object
Supertypes
trait Updatable[Block]
trait GeneratedMessage
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object Block extends GeneratedMessageCompanion[Block]

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
trait GeneratedMessageCompanion[Block]
trait Serializable
class Object
trait Matchable
class Any
Show all
Self type
Block.type
final case class BlockBody(transactionIds: Seq[TransactionId], rewardTransactionId: Option[TransactionId], unknownFields: UnknownFieldSet) extends GeneratedMessage, Updatable[BlockBody]

Captures the ordering of transaction IDs within a block

Captures the ordering of transaction IDs within a block

Value parameters

rewardTransactionId

An optional Transaction ID that represents the reward transaction for this block.

transactionIds

A list of Transaction IDs included in this block

Attributes

Companion
object
Supertypes
trait Updatable[BlockBody]
trait GeneratedMessage
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object BlockBody extends GeneratedMessageCompanion[BlockBody]

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
trait GeneratedMessageCompanion[BlockBody]
trait Serializable
class Object
trait Matchable
class Any
Show all
Self type
BlockBody.type
object BlockBodyValidator extends Validator[BlockBody]

Attributes

Supertypes
trait Validator[BlockBody]
trait Serializable
class Object
trait Matchable
class Any
Self type
object BlockProto extends GeneratedFileObject

Attributes

Supertypes
class GeneratedFileObject
class Object
trait Matchable
class Any
Self type
BlockProto.type
object BlockValidator extends Validator[Block]

Attributes

Supertypes
trait Validator[Block]
trait Serializable
class Object
trait Matchable
class Any
Self type
final case class CurrentKnownHostsReq(maxCount: Int, unknownFields: UnknownFieldSet) extends GeneratedMessage, Updatable[CurrentKnownHostsReq]

Request type for CurrentKnownHosts

Request type for CurrentKnownHosts

Attributes

Companion
object
Supertypes
trait Updatable[CurrentKnownHostsReq]
trait GeneratedMessage
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object CurrentKnownHostsReq extends GeneratedMessageCompanion[CurrentKnownHostsReq]

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
trait GeneratedMessageCompanion[CurrentKnownHostsReq]
trait Serializable
class Object
trait Matchable
class Any
Show all
Self type

Attributes

Supertypes
trait Validator[CurrentKnownHostsReq]
trait Serializable
class Object
trait Matchable
class Any
Self type
final case class CurrentKnownHostsRes(hotHosts: Seq[KnownHost], warmHosts: Seq[KnownHost], coldHosts: Seq[KnownHost], unknownFields: UnknownFieldSet) extends GeneratedMessage, Updatable[CurrentKnownHostsRes]

Response type for CurrentKnownHosts

Response type for CurrentKnownHosts

Attributes

Companion
object
Supertypes
trait Updatable[CurrentKnownHostsRes]
trait GeneratedMessage
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object CurrentKnownHostsRes extends GeneratedMessageCompanion[CurrentKnownHostsRes]

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
trait GeneratedMessageCompanion[CurrentKnownHostsRes]
trait Serializable
class Object
trait Matchable
class Any
Show all
Self type

Attributes

Supertypes
trait Validator[CurrentKnownHostsRes]
trait Serializable
class Object
trait Matchable
class Any
Self type
final case class FullBlock(header: BlockHeader, fullBody: FullBlockBody, unknownFields: UnknownFieldSet) extends GeneratedMessage, Updatable[FullBlock]

Captures the header and all transactions in a block

Captures the header and all transactions in a block

Value parameters

fullBody

The block's full body

header

The block's header

Attributes

Companion
object
Supertypes
trait Updatable[FullBlock]
trait GeneratedMessage
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object FullBlock extends GeneratedMessageCompanion[FullBlock]

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
trait GeneratedMessageCompanion[FullBlock]
trait Serializable
class Object
trait Matchable
class Any
Show all
Self type
FullBlock.type
final case class FullBlockBody(transactions: Seq[IoTransaction], rewardTransaction: Option[IoTransaction], unknownFields: UnknownFieldSet) extends GeneratedMessage, Updatable[FullBlockBody]

Captures the ordering of transactions (not just IDs) within a block

Captures the ordering of transactions (not just IDs) within a block

Value parameters

rewardTransaction

An optional Transaction that represents the reward transaction for this block.

transactions

A list of Transactions included in this block

Attributes

Companion
object
Supertypes
trait Updatable[FullBlockBody]
trait GeneratedMessage
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object FullBlockBody extends GeneratedMessageCompanion[FullBlockBody]

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
trait GeneratedMessageCompanion[FullBlockBody]
trait Serializable
class Object
trait Matchable
class Any
Show all
Self type
object FullBlockBodyValidator extends Validator[FullBlockBody]

Attributes

Supertypes
trait Validator[FullBlockBody]
trait Serializable
class Object
trait Matchable
class Any
Self type
object FullBlockValidator extends Validator[FullBlock]

Attributes

Supertypes
trait Validator[FullBlock]
trait Serializable
class Object
trait Matchable
class Any
Self type
final case class KnownHost(id: ByteString, host: String, port: Int, unknownFields: UnknownFieldSet) extends GeneratedMessage, Updatable[KnownHost]

Attributes

Companion
object
Supertypes
trait Updatable[KnownHost]
trait GeneratedMessage
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object KnownHost extends GeneratedMessageCompanion[KnownHost]

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
trait GeneratedMessageCompanion[KnownHost]
trait Serializable
class Object
trait Matchable
class Any
Show all
Self type
KnownHost.type
object KnownHostValidator extends Validator[KnownHost]

Attributes

Supertypes
trait Validator[KnownHost]
trait Serializable
class Object
trait Matchable
class Any
Self type
object P2PProto extends GeneratedFileObject

Attributes

Supertypes
class GeneratedFileObject
class Object
trait Matchable
class Any
Self type
P2PProto.type
final case class PingMessage(ping: String, unknownFields: UnknownFieldSet) extends GeneratedMessage, Updatable[PingMessage]

Attributes

Companion
object
Supertypes
trait Updatable[PingMessage]
trait GeneratedMessage
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object PingMessage extends GeneratedMessageCompanion[PingMessage]

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
trait GeneratedMessageCompanion[PingMessage]
trait Serializable
class Object
trait Matchable
class Any
Show all
Self type
object PingMessageValidator extends Validator[PingMessage]

Attributes

Supertypes
trait Validator[PingMessage]
trait Serializable
class Object
trait Matchable
class Any
Self type
final case class PongMessage(pong: String, unknownFields: UnknownFieldSet) extends GeneratedMessage, Updatable[PongMessage]

Attributes

Companion
object
Supertypes
trait Updatable[PongMessage]
trait GeneratedMessage
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object PongMessage extends GeneratedMessageCompanion[PongMessage]

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
trait GeneratedMessageCompanion[PongMessage]
trait Serializable
class Object
trait Matchable
class Any
Show all
Self type
object PongMessageValidator extends Validator[PongMessage]

Attributes

Supertypes
trait Validator[PongMessage]
trait Serializable
class Object
trait Matchable
class Any
Self type