Files
bitcoin/src
Mark Friedenbach a1d3c6fb9d Add rules--presently disabled--for using GetMedianTimePast as endpoint for lock-time calculations
The lock-time code currently uses CBlock::nTime as the cutoff point for time based locked transactions. This has the unfortunate outcome of creating a perverse incentive for miners to lie about the time of a block in order to collect more fees by including transactions that by wall clock determination have not yet matured. By using CBlockIndex::GetMedianTimePast from the prior block instead, the self-interested miner no longer gains from generating blocks with fraudulent timestamps. Users can compensate for this change by simply adding an hour (3600 seconds) to their time-based lock times.

If enforced, this would be a soft-fork change. This commit only adds the functionality on an unexecuted code path, without changing the behaviour of Bitcoin Core.
2015-10-23 21:33:31 +01:00
..
2015-03-06 15:54:53 +01:00
2015-10-09 15:31:04 +02:00
2015-04-22 14:03:10 -07:00
2015-10-23 13:35:06 +02:00
2015-04-24 16:11:23 +02:00
2015-05-02 15:23:59 +00:00
2015-05-02 15:23:59 +00:00
2015-05-01 11:21:27 +00:00
2015-05-06 11:38:39 +02:00
2015-05-06 11:38:39 +02:00
2015-05-01 11:21:27 +00:00
2015-10-09 18:18:16 +02:00
2015-10-23 10:02:53 +02:00
2015-05-06 18:37:49 +02:00
2015-05-06 18:37:49 +02:00
2015-03-22 15:18:55 -04:00
2015-07-15 10:24:49 +02:00
2015-05-11 17:56:48 -07:00
2015-05-01 11:21:27 +00:00
2015-10-23 10:02:53 +02:00
2015-05-14 12:50:42 -04:00
2015-10-23 10:02:53 +02:00
2015-05-26 08:59:13 +02:00
2015-04-30 16:37:18 +02:00
2015-04-17 13:26:47 +02:00
2015-04-17 13:26:47 +02:00
2015-05-06 16:50:05 +02:00
2015-05-16 17:59:23 -04:00
2015-05-14 01:02:01 -04:00
2015-05-11 17:58:14 -07:00
2015-09-23 14:12:55 +02:00
2015-05-14 12:50:42 -04:00