Skip to content

Conversation

@alexlyp
Copy link
Member

@alexlyp alexlyp commented Feb 24, 2016

If version = 0 then use testnet params, and the same for version = 1 for mainnet.

Also check for blocks 0 and 1. Block 0 should show no reward and block 1 should show the total premine value (100000 for testnet, 1680000 for mainnet)

@cjepson
Copy link

cjepson commented Feb 24, 2016

ntACK, bit of a hack but should work fine for explorer purposes.

@alexlyp
Copy link
Member Author

alexlyp commented Feb 25, 2016

Yah agree about the hack. I plan on adding a true params area to avoid the magic numbers. Will most likely begin on that PR next week.

@jcvernaleo
Copy link
Member

Looks good to me. OK after you squash and give one combined commit message.

If version = 0 then use testnet params, and for version = 1 use
mainnet.

Then check for blocks 0 and 1.

Block 0 should show no reward.
Block 1 should show the total premine value (100000 for testnet, 1680000 for
mainnet)
@alexlyp alexlyp force-pushed the ayp_fixblock01rewards branch from 5bc6fe2 to 6d50513 Compare February 25, 2016 13:03
@jcvernaleo
Copy link
Member

OK

@jcvernaleo jcvernaleo merged commit 6d50513 into decred:master Feb 25, 2016
@alexlyp alexlyp deleted the ayp_fixblock01rewards branch September 15, 2016 17:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants