Show / Hide Table of Contents

Class BlockExceedingTransactionsException

The exception that is thrown when a Block<T> has too many Transactions (i.e., more than the number specified by GetMaxTransactionsPerBlock(Int64)).

Inheritance
Object
InvalidBlockException
BlockExceedingTransactionsException
Implements
ISerializable
Namespace: Libplanet.Blocks
Assembly: Libplanet.dll
Syntax
public class BlockExceedingTransactionsException : InvalidBlockException, ISerializable

Constructors

| Improve this Doc View Source

BlockExceedingTransactionsException(SerializationInfo, StreamingContext)

Declaration
public BlockExceedingTransactionsException(SerializationInfo info, StreamingContext context)
Parameters
Type Name Description
SerializationInfo info
StreamingContext context
| Improve this Doc View Source

BlockExceedingTransactionsException(Int32, Int32, String)

Declaration
public BlockExceedingTransactionsException(int actualTransactions, int maxTransactionsPerBlock, string message)
Parameters
Type Name Description
Int32 actualTransactions
Int32 maxTransactionsPerBlock
String message

Properties

| Improve this Doc View Source

ActualTransactions

The actual number of transactions in the block.

Declaration
public int ActualTransactions { get; set; }
Property Value
Type Description
Int32
| Improve this Doc View Source

MaxTransactionsPerBlock

The maximum allowed number of transactions per block.

Declaration
public int MaxTransactionsPerBlock { get; set; }
Property Value
Type Description
Int32
See Also
GetMaxTransactionsPerBlock(Int64)

Methods

| Improve this Doc View Source

GetObjectData(SerializationInfo, StreamingContext)

Declaration
public override void GetObjectData(SerializationInfo info, StreamingContext context)
Parameters
Type Name Description
SerializationInfo info
StreamingContext context

Implements

ISerializable
  • Improve this Doc
  • View Source
In This Article
Back to top Copyright © 2018–2021 Planetarium