Matt Corallo
9eb67f5000
Ensure we meet the BIP 152 old-relay-types response requirements
...
In order to do this, we must call ActivateBestChain prior to
responding getdata requests for blocks which we announced using
compact blocks.
For getheaders responses we dont need code changes, but do note
that we must reset the bestHeaderSent so that the SendMessages call
re-announces the header in question.
While we could do something smarter for getblocks, calling
ActivateBestChain is simple and more obviously correct, instead of
doing something more similar to getheaders.
See-also the BIP clarifications at
https://github.com/bitcoin/bips/pull/486
2017-01-05 10:32:07 -05:00
..
2017-01-04 12:23:10 +01:00
2016-12-31 11:01:21 -07:00
2016-12-31 11:01:21 -07:00
2016-12-31 11:01:21 -07:00
2016-12-01 16:14:45 -08:00
2017-01-04 12:33:56 +01:00
2017-01-04 12:23:10 +01:00
2017-01-04 16:41:29 +01:00
2017-01-04 12:23:10 +01:00
2016-12-31 11:01:21 -07:00
2016-12-12 11:08:47 -08:00
2016-12-31 11:01:21 -07:00
2017-01-04 11:56:17 -08:00
2016-09-30 19:58:11 +02:00
2017-01-04 12:47:56 +01:00
2016-12-31 11:01:21 -07:00
2016-12-31 11:01:21 -07:00
2016-12-31 11:01:21 -07:00
2016-12-31 11:01:21 -07:00
2016-12-31 11:01:21 -07:00
2016-12-31 11:01:21 -07:00
2016-12-31 11:01:21 -07:00
2016-12-31 11:01:21 -07:00
2016-12-31 11:01:21 -07:00
2016-12-31 11:01:21 -07:00
2016-04-14 20:56:33 +02:00
2015-12-14 02:11:10 +00:00
2016-12-31 11:01:21 -07:00
2016-12-31 11:01:21 -07:00
2016-12-31 11:01:21 -07:00
2016-12-21 18:18:28 -08:00
2016-12-21 18:18:28 -08:00
2016-12-31 11:01:21 -07:00
2016-12-31 11:01:21 -07:00
2016-12-31 11:01:21 -07:00
2016-12-31 11:01:21 -07:00
2016-12-31 11:01:21 -07:00
2016-12-31 11:01:21 -07:00
2015-12-13 18:08:39 +01:00
2015-12-13 18:08:39 +01:00
2016-01-25 16:14:14 +01:00
2016-12-31 11:01:21 -07:00
2016-12-31 11:01:21 -07:00
2015-12-13 18:08:39 +01:00
2016-12-31 11:01:21 -07:00
2016-12-31 11:01:21 -07:00
2017-01-04 11:56:17 -08:00
2017-01-04 11:56:17 -08:00
2016-12-31 11:01:21 -07:00
2016-12-31 11:01:21 -07:00
2016-12-31 11:01:21 -07:00
2016-12-31 11:01:21 -07:00
2016-12-31 11:01:21 -07:00
2016-12-31 11:01:21 -07:00
2016-12-14 16:02:05 -05:00
2016-12-31 11:01:21 -07:00
2016-12-31 11:01:21 -07:00
2016-12-31 11:01:21 -07:00
2016-12-31 11:01:21 -07:00
2016-12-31 11:01:21 -07:00
2016-12-31 11:01:21 -07:00
2016-12-31 11:01:21 -07:00
2016-07-27 16:27:07 -07:00
2017-01-04 13:00:12 +01:00
2016-12-31 11:01:21 -07:00
2016-12-31 11:01:21 -07:00
2016-12-31 11:01:21 -07:00
2016-12-31 11:01:21 -07:00
2015-12-13 18:08:39 +01:00
2016-12-31 11:01:21 -07:00
2017-01-03 17:53:09 -05:00
2016-11-22 12:20:57 +01:00
2016-09-29 17:27:28 +02:00
2017-01-04 12:12:43 +01:00
2016-12-17 12:27:00 +09:00
2016-12-27 19:16:17 +01:00
2016-12-31 11:01:21 -07:00
2016-12-31 11:01:21 -07:00
2016-12-31 11:01:21 -07:00
2016-12-31 11:01:21 -07:00
2016-12-31 11:01:21 -07:00
2017-01-05 10:32:07 -05:00
2017-01-05 10:32:07 -05:00
2017-01-04 12:21:53 +01:00
2017-01-04 12:21:53 +01:00
2016-12-31 11:01:21 -07:00
2016-12-31 11:01:21 -07:00
2017-01-04 12:21:53 +01:00
2017-01-04 12:21:53 +01:00
2016-11-25 12:09:58 -05:00
2016-12-31 11:01:21 -07:00
2016-01-05 21:01:39 +01:00
2016-12-31 11:01:21 -07:00
2016-12-31 11:01:21 -07:00
2016-12-31 11:01:21 -07:00
2016-12-31 11:01:21 -07:00
2016-12-31 11:01:21 -07:00
2016-12-31 11:01:21 -07:00
2016-12-31 11:01:21 -07:00
2016-12-31 11:01:21 -07:00
2016-12-31 11:01:21 -07:00
2016-12-31 11:01:21 -07:00
2016-12-31 11:01:21 -07:00
2016-12-31 11:01:21 -07:00
2016-12-31 11:01:21 -07:00
2016-12-31 11:01:21 -07:00
2016-12-31 11:01:21 -07:00
2016-12-31 11:01:21 -07:00
2017-01-03 17:53:09 -05:00
2017-01-03 17:53:09 -05:00
2016-01-05 21:01:39 +01:00
2016-12-31 11:01:21 -07:00
2016-12-31 11:01:21 -07:00
2016-06-27 18:17:27 +02:00
2016-12-31 11:01:21 -07:00
2016-12-31 11:01:21 -07:00
2016-12-31 11:01:21 -07:00
2017-01-04 12:33:56 +01:00
2017-01-04 12:23:10 +01:00
2016-09-26 01:11:27 +02:00
2016-12-31 11:01:21 -07:00
2016-12-31 11:01:21 -07:00
2016-12-31 11:01:21 -07:00
2016-12-31 11:01:21 -07:00
2016-12-31 11:01:21 -07:00
2016-12-31 11:01:21 -07:00
2015-12-13 18:08:39 +01:00
2015-12-13 18:08:39 +01:00
2016-12-31 11:01:21 -07:00
2016-12-31 11:01:21 -07:00
2016-12-31 11:01:21 -07:00
2015-12-13 18:08:39 +01:00
2017-01-05 10:32:07 -05:00
2017-01-04 15:56:08 -05:00
2017-01-05 10:32:07 -05:00
2017-01-05 10:32:07 -05:00
2016-12-31 11:01:21 -07:00
2016-10-19 09:08:39 -04:00
2016-10-19 09:08:39 -04:00
2016-12-03 07:17:34 +00:00
2016-12-03 07:17:34 +00:00