Skip to content
This repository has been archived by the owner on Sep 3, 2018. It is now read-only.

Update properties in models to use correct types #19

Closed
ghost opened this issue Sep 26, 2017 · 1 comment
Closed

Update properties in models to use correct types #19

ghost opened this issue Sep 26, 2017 · 1 comment

Comments

@ghost
Copy link

ghost commented Sep 26, 2017

ArkModel

  1. Change UnconfirmedBalance & Balance to BigInteger instead of string in ArkAccount

ArkBlock

  1. Change PreviousBlock to int instead of string
  2. Add reward as BigInteger
  3. Add Confirmations as int
  4. Add TotalForged as BigInteger

ArkPeer

  1. Add Errors as int

DelegateVoters

  1. Change Balance to BigInteger instead of string

PeerHeader

  1. Change PreviousBlock to int instead of string
@ghost
Copy link
Author

ghost commented Sep 26, 2017

Keeping PreviousBlock as string (larger than int64) and changing BigInt to long. The BigInt values can never be larger than Int64.MaxValue.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant