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.07:58
I wrote up a script machine documentation article for the wiki a while back, perhaps helpful? https://github.com/libbitcoin/libbitcoin/wiki/Script-Machine
(edited)