public class Hash256 extends Hash<Hash256>
| 限定符和类型 | 类和说明 |
|---|---|
static class |
Hash256.Hash256Map<Value> |
static class |
Hash256.Translator |
Hash.HashTranslator<T extends Hash>| 限定符和类型 | 字段和说明 |
|---|---|
static Hash256Field |
AccountHash |
static Hash256Field |
AccountTxnID |
static Hash256Field |
Amendment |
static BigInteger |
bookBaseSize |
static Hash256Field |
BookDirectory |
static Hash256Field |
CurTxHash |
static Hash256Field |
FutureTxHash |
static Hash256Field |
hash |
static Hash256Field |
index |
static Hash256Field |
InvoiceID |
static Hash256Field |
LedgerHash |
static Hash256Field |
LedgerIndex |
static Hash256Field |
Nickname |
static Hash256Field |
ParentHash |
static Hash256Field |
PreviousTxnID |
static Hash256Field |
RootIndex |
static Hash256Field |
TicketID |
static Hash256Field |
TransactionHash |
static Hash256.Translator |
translate |
static Hash256Field |
TxCheckHash |
static Hash256Field |
WalletLocator |
static Hash256 |
ZERO_256 |
| 构造器和说明 |
|---|
Hash256(byte[] bytes)
Hash256.
|
| 限定符和类型 | 方法和说明 |
|---|---|
int |
divergenceDepth(Hash256 other)
divergenceDepth
|
int |
divergenceDepth(int i,
Hash256 other)
divergenceDepth
|
static Hash256 |
fromHex(String s)
Transfer from HexString to hash256.
|
static Hash256Field |
hash256Field(Field f)
hash256Field
|
boolean |
isNonZero()
Judge if is nonzero value.
|
boolean |
isZero()
Judge if is Zero.
|
int |
nibblet(int depth)
nibblet
|
static Hash256 |
prefixedHalfSha512(Prefix prefix,
byte[] blob)
prefixedHalfSha512
|
static Hash256 |
signingHash(byte[] blob)
Get signing hash.
|
byte[] |
toBytes() |
void |
toBytesSink(BytesSink to) |
String |
toHex() |
Object |
toJSON() |
Type |
type() |
public static final BigInteger bookBaseSize
public static final Hash256 ZERO_256
public static Hash256.Translator translate
public static Hash256Field LedgerHash
public static Hash256Field ParentHash
public static Hash256Field TransactionHash
public static Hash256Field AccountHash
public static Hash256Field PreviousTxnID
public static Hash256Field AccountTxnID
public static Hash256Field LedgerIndex
public static Hash256Field WalletLocator
public static Hash256Field RootIndex
public static Hash256Field BookDirectory
public static Hash256Field InvoiceID
public static Hash256Field Nickname
public static Hash256Field Amendment
public static Hash256Field TicketID
public static Hash256Field TxCheckHash
public static Hash256Field CurTxHash
public static Hash256Field FutureTxHash
public static Hash256Field hash
public static Hash256Field index
public int divergenceDepth(Hash256 other)
other - Other hash.public int divergenceDepth(int i,
Hash256 other)
i - index.other - Other hash.public Object toJSON()
public byte[] toBytes()
public String toHex()
public void toBytesSink(BytesSink to)
public Type type()
public boolean isZero()
public boolean isNonZero()
public static Hash256 fromHex(String s)
s - HexString.public static Hash256 signingHash(byte[] blob)
blob - hash blob.public static Hash256 prefixedHalfSha512(Prefix prefix, byte[] blob)
prefix - prefix.blob - blob.public int nibblet(int depth)
depth - depth.public static Hash256Field hash256Field(Field f)
f - field.Copyright © 2021. All rights reserved.