Closed woodser closed 5 years ago
Feedback from hyc_symas:
"You use uint for block height in several places. Should be ulong.
In many places where you use long, should be ulong.
You use long for nonce, should be uint.
Amount: BigInteger should be ulong.
difficulty and cumulative_difficulty should be same type.
A lot of hex values that you define as string probably should be dimensioned. Most of these are hex encoding of 256 bit hashes, so they should always be of exactly 32 bytes or 64 hex characters."
Spec updated.
This issue documents the task of collecting peer review on this library's API specification and updating it accordingly.