diff options
author | Luke-Jr <luke_github1@dashjr.org> | 2016-04-29 04:54:56 +0000 |
---|---|---|
committer | Luke-Jr <luke_github1@dashjr.org> | 2016-04-29 04:54:56 +0000 |
commit | 7b30c3d63e295ab67068bc73f58933458acfd0bd (patch) | |
tree | c0e3ee15c671bdf52b70cbe35111c528d4ce1ac8 | |
parent | 6015939b3be21ae7bc7bba0f20668660818b612c (diff) | |
parent | dde47fc973b015c6cc91a0ed28fb3aca57add5e6 (diff) | |
download | bips-7b30c3d63e295ab67068bc73f58933458acfd0bd.tar.xz |
Merge pull request #380 from achow101/master
Update BIP 144 'havewitness' to service bit
-rw-r--r-- | bip-0144.mediawiki | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/bip-0144.mediawiki b/bip-0144.mediawiki index 2da222c..f2c8857 100644 --- a/bip-0144.mediawiki +++ b/bip-0144.mediawiki @@ -86,9 +86,10 @@ Currently, the only witness objects type supported are script witnesses which co * '''Rationale for the 0x01 flag byte in between''': this will allow us to easily add more extra non-committed data to transactions (like txouts being spent, ...). It can be interpreted as a bitvector. === Handshake === -A new message 'havewitness' is sent after receiving 'verack' to -indicate that a node can provide witness if requested (similar to -'sendheaders') (Note: it might be better to signal this with a services bit in the version message) +A node will signal that it can provide witnesses using the following service bit + + NODE_WITNESS = (1 << 3) + === Hashes === Transaction hashes used in the transaction merkle tree and txin outpoints are always computed using the old non-witness |