Package org.starcoin.types.event
Class NewBlockEvent
java.lang.Object
org.starcoin.types.event.NewBlockEvent
public final class NewBlockEvent extends Object
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classNewBlockEvent.Builder -
Field Summary
-
Constructor Summary
Constructors Constructor Description NewBlockEvent(Long number, AccountAddress author, Long timestamp, Long uncles) -
Method Summary
Modifier and Type Method Description static NewBlockEventbcsDeserialize(byte[] input)byte[]bcsSerialize()static NewBlockEventdeserialize(Deserializer deserializer)booleanequals(Object obj)inthashCode()voidserialize(Serializer serializer)
-
Field Details
-
number
-
author
-
timestamp
-
uncles
-
-
Constructor Details
-
NewBlockEvent
-
-
Method Details
-
deserialize
- Throws:
DeserializationError
-
bcsDeserialize
- Throws:
DeserializationError
-
serialize
- Throws:
SerializationError
-
bcsSerialize
- Throws:
SerializationError
-
equals
-
hashCode
public int hashCode()
-