Branch: refs/heads/master
Home: https://github.com/btcsuite/btcd
Commit: ae00fff14ac58b189daa90b74029a1477249f258
https://github.com/btcsuite/btcd/commit/ae00fff14ac58b189daa90b74029a1477249f258
Author: David Hill <[email protected]>
Date: 2016-02-05 (Fri, 05 Feb 2016)
Changed paths:
M wire/doc.go
M wire/message.go
A wire/msgsendheaders.go
A wire/msgsendheaders_test.go
M wire/msgversion.go
M wire/protocol.go
Log Message:
-----------
wire: Implement sendheaders command (BIP0130)
This implements the wire protocol encoding portion of a new
sendheaders message as described by BIP0130. It purpose is to request
that a peer sends header commands instead of inv commands when
announcing new blocks. This includes a protocol version bump to 70012
and a wire version bump to 0.4.0.
Note that this does not implement logic to handle the command in btcd,
rather it only makes the command available at the wire protocol level.
A future commit which honors the command and therefore provides full
BIP0130 support is still required.