Skip to content

Conversation

rnicoll
Copy link
Contributor

@rnicoll rnicoll commented Aug 4, 2015

This updated various time-based constants to more closely reflect values appropriate to Dogecoin:

  • Number of blocks to look back for BIP 66 enforcement is doubled on main net (to about a day and a half's worth, vs 5 days on Bitcoin), and raised to 1,000 on testnet (bringing it up to the same quantity
    as Bitcoin testnet).
  • BIP 66 enforcement cut-offs are scaled up appropriate.
  • Minimum number of blocks and blockchain size are increased for pruning. In comparison to Bitcoin this uses 24 hours as a minimum, rather than 48, although given blocks are rarely full this likely reflects a lot longer in reality.

This updated various time-based constants to more closely reflect values
appropriate to Dogecoin:

* Number of blocks to look back for BIP 66 enforcement is doubled on
main net (to about a day and a half's worth, vs 5 days on Bitcoin),
and raised to 1,000 on testnet (bringing it up to the same quantity
as Bitcoin testnet).
* BIP 66 enforcement cut-offs are scaled up appropriate.
* Minimum number of blocks and blockchain size are increased for
pruning. In comparison to Bitcoin this uses 24 hours as a minimum,
rather than 48, although given blocks are rarely full this likely
reflects a lot longer in reality.
@langerhans
Copy link
Member

utACK, the numbers sound sensible.

langerhans added a commit that referenced this pull request Aug 6, 2015
@langerhans langerhans merged commit daa8f84 into dogecoin:1.10-dev Aug 6, 2015
@rnicoll rnicoll deleted the 1.10-constants branch August 6, 2015 18:32
patricklodder added a commit to patricklodder/dogecoin that referenced this pull request Aug 10, 2015
Backport of dogecoin#1225 to 1.8.x, sets:
- majority window to 2000 blocks on mainnet, 1000 on testnet
- enforcement triggers to 1500 on mainnet, 501 on testnet
- reject triggers to 1900 on mainnet, 750 on testnet
patricklodder added a commit to patricklodder/dogecoin that referenced this pull request Sep 9, 2015
Backport of dogecoin#1225 to 1.8.x, sets:
- majority window to 2000 blocks on mainnet, 1000 on testnet
- enforcement triggers to 1500 on mainnet, 501 on testnet
- reject triggers to 1900 on mainnet, 750 on testnet
rnicoll pushed a commit to rnicoll/dogecoin that referenced this pull request Oct 18, 2015
Backport of dogecoin#1225 to 1.8.x, sets:
- majority window to 2000 blocks on mainnet, 1000 on testnet
- enforcement triggers to 1500 on mainnet, 501 on testnet
- reject triggers to 1900 on mainnet, 750 on testnet
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.

2 participants