IBlock
, IBlockBalance
, IBlockLink
, IBlockPrevious
public class SendBlock extends Block implements IBlockPrevious, IBlockLink, IBlockBalance
send
block, and the associated data.Modifier | Constructor | Description |
---|---|---|
protected |
SendBlock(com.google.gson.JsonObject jsonRepresentation,
String hash,
String signature,
WorkSolution work,
String previousBlockHash,
NanoAccount destinationAccount,
BigInteger balance) |
|
|
SendBlock(String signature,
WorkSolution work,
String previousBlockHash,
NanoAccount destinationAccount,
BigInteger balance) |
Deprecated.
|
Modifier and Type | Method | Description |
---|---|---|
protected byte[][] |
generateHashables() |
|
BigInteger |
getBalance() |
|
NanoAccount |
getDestinationAccount() |
|
NanoAccount |
getLinkAsAccount() |
|
String |
getLinkData() |
|
String |
getPreviousBlockHash() |
calculateHashBytes, equals, getHash, getHashBytes, getJsonObject, getSignature, getType, getWorkSolution, hashCode, parse, parse, toJsonString, toString
@Deprecated public SendBlock(String signature, WorkSolution work, String previousBlockHash, NanoAccount destinationAccount, BigInteger balance)
protected SendBlock(com.google.gson.JsonObject jsonRepresentation, String hash, String signature, WorkSolution work, String previousBlockHash, NanoAccount destinationAccount, BigInteger balance)
public final String getPreviousBlockHash()
getPreviousBlockHash
in interface IBlockPrevious
public final NanoAccount getDestinationAccount()
public final BigInteger getBalance()
getBalance
in interface IBlockBalance
public final String getLinkData()
getLinkData
in interface IBlockLink
public final NanoAccount getLinkAsAccount()
getLinkAsAccount
in interface IBlockLink
protected byte[][] generateHashables()
generateHashables
in class Block
Copyright © 2020. All rights reserved.