lbryio / lbcd

An alternative full node implementation of LBRY's blockchain written in Go (golang)
https://lbry.com/
ISC License
39 stars 26 forks source link

`getblocktemplate` returns raw commitment instead of witness script. #20

Closed roylee17 closed 2 years ago

roylee17 commented 2 years ago

The witness script has leading op codes in front of the 32 bytes of raw commitment.

OP_RETURN PUSH_DATA36 COMMITMENT_HEADER <COMMITMENT> or (in hex view) `6a 24 aa21a9ed