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)).
Implements
ISerializable
Namespace: Libplanet.Blocks
Assembly: Libplanet.dll
Syntax
public class BlockExceedingTransactionsException : InvalidBlockException, ISerializable
Constructors
| Improve this Doc View SourceBlockExceedingTransactionsException(SerializationInfo, StreamingContext)
Declaration
public BlockExceedingTransactionsException(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
SerializationInfo | info | |
StreamingContext | context |
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 SourceActualTransactions
The actual number of transactions in the block.
Declaration
public int ActualTransactions { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
MaxTransactionsPerBlock
The maximum allowed number of transactions per block.
Declaration
public int MaxTransactionsPerBlock { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
See Also
Methods
| Improve this Doc View SourceGetObjectData(SerializationInfo, StreamingContext)
Declaration
public override void GetObjectData(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
SerializationInfo | info | |
StreamingContext | context |
Implements
ISerializable