Peter Todd
665bdd3bc9
Fix off-by-one errors in use of IsFinalTx()
...
Previously CreateNewBlock() didn't take into account the fact that
IsFinalTx() without any arguments tests if the transaction is considered
final in the *current* block, when both those functions really needed to
know if the transaction would be final in the *next* block.
Additionally the UI had a similar misunderstanding.
Also adds some basic tests to check that CreateNewBlock() is in fact
mining nLockTime-using transactions correctly.
Thanks to Wladimir J. van der Laan for rebase.
2014-01-26 21:50:15 -05:00
..
2014-01-18 14:32:29 +01:00
2014-01-23 14:05:43 +01:00
2014-01-26 21:50:15 -05:00
2014-01-26 21:50:15 -05:00
2013-09-18 07:07:41 -04:00
2014-01-23 16:05:01 +01:00
2014-01-23 16:05:01 +01:00
2014-01-14 11:19:52 +01:00
2014-01-14 11:19:52 +01:00
2013-12-20 16:07:33 +01:00
2014-01-03 14:01:39 +01:00
2014-01-18 21:52:46 +02:00
2014-01-14 17:11:38 +01:00
2014-01-23 16:05:01 +01:00
2014-01-23 16:05:01 +01:00
2014-01-23 16:05:01 +01:00
2013-12-20 16:07:33 +01:00
2013-12-04 12:46:13 +01:00
2013-12-04 12:46:13 +01:00
2014-01-23 16:05:01 +01:00
2014-01-26 21:50:15 -05:00
2014-01-06 15:09:26 +01:00
2014-01-23 16:05:00 +01:00
2014-01-18 21:10:56 +00:00
2014-01-26 21:50:15 -05:00
2014-01-23 16:05:01 +01:00
2014-01-11 18:17:09 +01:00
2014-01-23 16:05:01 +01:00
2014-01-23 16:05:01 +01:00
2014-01-23 16:05:01 +01:00
2013-12-13 16:06:32 +01:00
2014-01-23 16:05:01 +01:00
2013-12-29 03:14:06 -08:00
2014-01-23 16:05:01 +01:00
2013-12-13 16:03:57 +01:00
2014-01-23 16:05:01 +01:00
2014-01-17 16:55:20 +01:00
2014-01-11 18:17:09 +01:00
2014-01-23 16:05:01 +01:00
2014-01-17 16:55:20 +01:00
2014-01-17 16:55:20 +01:00
2013-11-10 09:36:28 -06:00
2014-01-23 16:05:01 +01:00
2013-12-19 09:46:11 +01:00
2014-01-23 16:05:00 +01:00
2014-01-23 16:05:01 +01:00
2013-12-23 09:53:30 +01:00
2013-12-25 11:07:21 +01:00
2014-01-23 16:05:01 +01:00
2014-01-23 16:05:00 +01:00
2014-01-23 16:05:01 +01:00
2014-01-19 18:21:54 +01:00
2014-01-23 16:05:01 +01:00
2014-01-19 18:21:54 +01:00