summaryrefslogtreecommitdiff
path: root/bip-0144.mediawiki
diff options
context:
space:
mode:
authorLuke-Jr <luke_github1@dashjr.org>2016-10-05 12:38:47 +0000
committerGitHub <noreply@github.com>2016-10-05 12:38:47 +0000
commited5661dbec67bf8b02f6aea74011b5e5f84c3c1f (patch)
treef2b0bb1a19fdaf9a815a7247577263fc00d27ff8 /bip-0144.mediawiki
parentb3e579c9355d895288b6fcda15ffaaf3358d0c2d (diff)
parent9fc3cf52c6d0dcb58b806c7a1f727083b7e49607 (diff)
downloadbips-ed5661dbec67bf8b02f6aea74011b5e5f84c3c1f.tar.xz
Merge pull request #457 from laanwj/2016_10_bip144_add_constants
bip-0144: Add enum values for MSG_WITNESS_{BLOCK,TX}, MSG_FILTERED_WITNESS_BLOCK
Diffstat (limited to 'bip-0144.mediawiki')
-rw-r--r--bip-0144.mediawiki4
1 files changed, 2 insertions, 2 deletions
diff --git a/bip-0144.mediawiki b/bip-0144.mediawiki
index f2c8857..456da18 100644
--- a/bip-0144.mediawiki
+++ b/bip-0144.mediawiki
@@ -103,9 +103,9 @@ and therefore, they have witness hash equal to normal hash.)
<img src=bip-0144/witnesstx.png></img>
=== Relay ===
-New inv types MSG_WITNESS_TX and MSG_WITNESS_BLOCK are added, only
+New inv types MSG_WITNESS_TX (0x40000001, or (1<<30)+MSG_TX) and MSG_WITNESS_BLOCK (0x40000002, or (1<<30)+MSG_BLOCK) are added, only
for use in getdata. Inventory messages themselves still use just MSG_TX and MSG_BLOCK,
-similar to MSG_FILTERED_BLOCK.
+similar to MSG_FILTERED_BLOCK. A further inv type MSG_FILTERED_WITNESS_BLOCK (0x40000003, or (1<<30)+MSG_FILTERED_BLOCK) is reserved for future use.
* '''Rationale for not advertizing witnessness in invs''': we don't always use invs anymore (with 'sendheaders' BIP 130), plus it's not useful: implicitly, every transaction and block have a witness, old ones just have empty ones.