mirror of
https://github.com/bitcoin/bips.git
synced 2025-03-04 11:08:05 +01:00
Emphasize code simplification over performance optimization
This commit is contained in:
parent
836d2dc91e
commit
0fc3fe20ca
1 changed files with 3 additions and 3 deletions
|
@ -3,14 +3,14 @@ BIP: ?
|
|||
Title: Buried deployments
|
||||
Author: Suhas Daftuar <sdaftuar@chaincode.com>
|
||||
Status: Draft
|
||||
Type: Standards Track
|
||||
Type: Informational
|
||||
Created: 2016-11-08
|
||||
</pre>
|
||||
|
||||
|
||||
==Abstract==
|
||||
|
||||
Prior soft forks (BIP 34, BIP 65, and BIP 66) were activated via miner signaling in block version numbers. Now that the chain has long since passed the blocks at which those consensus rules have triggered, we can (as a simplification and optimization) replace the trigger mechanism by caching the block heights at which those consensus rules became enforced.
|
||||
Prior soft forks (BIP 34, BIP 65, and BIP 66) were activated via miner signaling in block version numbers. Now that the chain has long since passed the blocks at which those consensus rules have triggered, we can (as a simplification) replace the trigger mechanism by caching the block heights at which those consensus rules became enforced.
|
||||
|
||||
==Motivation==
|
||||
|
||||
|
@ -24,7 +24,7 @@ Note that this trigger mechanism is dependent on the chain history. To validate
|
|||
|
||||
In addition, this mechanism for code deployments have been deprecated in favor of BIP 9 deployments, which offer several advantages (please see [https://github.com/bitcoin/bips/blob/master/bip-0009.mediawiki BIP 9]).
|
||||
|
||||
Thus we propose elimination of the logic implementing these kinds of deployments, by replacing the test which governs enforcement of BIP 34, BIP 65, and BIP 66 with simple height checks, which we choose to be the block height triggering the 95% activation rule on mainnet for each of those deployments. This simplification of the consensus rules would reduce the technical debt associated with deployment of those consensus changes and simultaneously provide a performance optimization.
|
||||
Thus we propose elimination of the logic implementing these kinds of deployments, by replacing the test which governs enforcement of BIP 34, BIP 65, and BIP 66 with simple height checks, which we choose to be the block height triggering the 95% activation rule on mainnet for each of those deployments. This simplification of the consensus rules would reduce the technical debt associated with deployment of those consensus changes.
|
||||
|
||||
==Considerations==
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue