public class Block
extends java.lang.Object
Blockchain.getBlock(int).| Modifier and Type | Field and Description |
|---|---|
byte[] |
hash
The hash of this block.
|
long |
index
The block height (counted from 0).
|
byte[] |
merkleRoot
The merkle root of this block.
|
byte[] |
nextConsensus
The consensus contract for the next block, i.e.
|
byte[] |
prevHash
The hash of the preceding block.
|
long |
timestamp
The time at which this block was generated.
|
int |
transactionsCount
The number of transactions in this block.
|
int |
version
This block's version number.
|
public final byte[] hash
public final int version
public final byte[] prevHash
public final byte[] merkleRoot
public final long timestamp
public final long index
public final byte[] nextConsensus
public final int transactionsCount