Skip to content

Commit 5d5ef3a

Browse files
committed
Merge pull request #7129
49fb8e8 Documentation updates for BIP 130 (Pieter Wuille) 50262d8 Allow block announcements with headers (Suhas Daftuar)
2 parents c894fbb + 49fb8e8 commit 5d5ef3a

File tree

10 files changed

+791
-14
lines changed

10 files changed

+791
-14
lines changed

doc/bips.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,4 @@ BIPs that are implemented by Bitcoin Core (up-to-date up to **v0.12.0**):
1818
* [`BIP 66`](https://github.com/bitcoin/bips/blob/master/bip-0066.mediawiki): The strict DER rules and associated version 3 blocks have been implemented since **v0.10.0** ([PR #5713](https://github.com/bitcoin/bitcoin/pull/5713)).
1919
* [`BIP 70`](https://github.com/bitcoin/bips/blob/master/bip-0070.mediawiki) [`71`](https://github.com/bitcoin/bips/blob/master/bip-0071.mediawiki) [`72`](https://github.com/bitcoin/bips/blob/master/bip-0072.mediawiki): Payment Protocol support has been available in Bitcoin Core GUI since **v0.9.0** ([PR #5216](https://github.com/bitcoin/bitcoin/pull/5216)).
2020
* [`BIP 111`](https://github.com/bitcoin/bips/blob/master/bip-0111.mediawiki): `NODE_BLOOM` service bit added, but only enforced for peer versions `>=70011` as of **v0.12.0** ([PR #6579](https://github.com/bitcoin/bitcoin/pull/6579)).
21+
* [`BIP 130`](https://github.com/bitcoin/bips/blob/master/bip-0130.mediawiki): direct headers announcement is negotiated with peer versions `>=70012` as of **v0.12.0** ([PR 6494](https://github.com/bitcoin/bitcoin/pull/6494)).

doc/release-notes.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,15 @@ Libsecp256k1 has undergone very extensive testing and validation.
206206

207207
A side effect of this change is that libconsensus no longer depends on OpenSSL.
208208

209+
Direct headers announcement (BIP 130)
210+
-------------------------------------
211+
212+
Between compatible peers, BIP 130 direct headers announcement is used. This
213+
means that blocks are advertized by announcing their headers directly, instead
214+
of just announcing the hash. In a reorganization, all new headers are sent,
215+
instead of just the new tip. This can often prevent an extra roundtrip before
216+
the actual block is downloaded.
217+
209218
0.12.0 Change log
210219
=================
211220

qa/pull-tester/rpc-tests.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@
9191
'p2p-fullblocktest.py',
9292
'blockchain.py',
9393
'disablewallet.py',
94+
'sendheaders.py',
9495
]
9596
testScriptsExt = [
9697
'bip65-cltv.py',

0 commit comments

Comments
 (0)