Bitcoin full node and query server

Oct 17, 2018

View in context in the libbitcoin Slack #general mirror.

M
Mlmikael13:23
The P2WSH pubkey script, the hash it contains, is it a single- or dual-iteration SHA256 of the witness program (which is stored in the spending input's witness data)? Could you give me some reference to where LibBitcoin validates or generates such a hash in the pubkey script?
James C.08:03
The actual script run of the witness-extracted P2PKH script happens here: https://github.com/libbitcoin/libbitcoin/blob/master/src/machine/interpreter.cpp#L29
(edited)