BlockHeader class
Block Header
Every block contains a blockHeader. This is probably not something you will personally use, but it's here if you need it.
Constructors
-
BlockHeader({required int versionBytesNum, required List<
int> prevBlockHashBuf, required List<int> merkleRootBuf, required int time, required int bits, required int nonce}) - BlockHeader.fromBr(Br br)
-
factory
-
BlockHeader.fromBuffer(List<
int> buf) -
factory
- BlockHeader.fromHex(String str)
-
factory
- BlockHeader.fromJSON(Map json)
-
factory
Properties
- bits ↔ int
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
-
merkleRootBuf
↔ List<
int> -
getter/setter pair
- nonce ↔ int
-
getter/setter pair
-
prevBlockHashBuf
↔ List<
int> -
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- time ↔ int
-
getter/setter pair
- versionBytesNum ↔ int
-
getter/setter pair
Methods
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited