public static class Header.HeaderExtended extends Header
A Block
header with an additional author
field that indicates the block author
Header.HeaderExtended, Header.HeaderValue
Constructor and Description |
---|
HeaderExtended(Header header,
java.util.List<AccountId> sessionValidators) |
Modifier and Type | Method and Description |
---|---|
AccountId |
getAuthor()
Convenience method, returns the author for the block
|
java.lang.Object |
toJson()
Creates the JSON representation
|
getBlockNumber, getDigest, getExtrinsicsRoot, getHash, getNumber, getParentHash, getStateRoot
builder, eq, getEncodedLength, getField, isEmpty, toArray, toHex, toString, toU8a, with
clear, containsValue, entrySet, forEach, get, getOrDefault, keySet, removeEldestEntry, replaceAll, values
clone, compute, computeIfAbsent, computeIfPresent, containsKey, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, size
finalize, getClass, notify, notifyAll, wait, wait, wait
getConstructorCodec, toU8a