Package org.starcoin.types
Class BlockMetadata.Builder
- java.lang.Object
-
- org.starcoin.types.BlockMetadata.Builder
-
- Enclosing class:
- BlockMetadata
public static final class BlockMetadata.Builder extends Object
-
-
Field Summary
Fields Modifier and Type Field Description AccountAddressauthorOptional<AuthenticationKey>author_auth_keyChainIdchain_idLongnumberLongparent_gas_usedHashValueparent_hashList<HashValue>parents_hashLongtimestampLonguncles
-
Constructor Summary
Constructors Constructor Description Builder()
-
-
-
Field Detail
-
parent_hash
public HashValue parent_hash
-
timestamp
public Long timestamp
-
author
public AccountAddress author
-
author_auth_key
public Optional<AuthenticationKey> author_auth_key
-
uncles
public Long uncles
-
number
public Long number
-
chain_id
public ChainId chain_id
-
parent_gas_used
public Long parent_gas_used
-
-
Method Detail
-
build
public BlockMetadata build()
-
-