You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Stratum tries to parse the rules field to find the segwit support, but lbcd only appends segwit to rules if the blocktemplate includes any segwit transactions.
The "segwit" of the rules field is optional when there's no SegWit transactions (inputs) in the template.
The default_witness_commit field is optional when there's no SegWit transactions (inputs) in the template.
lbcd does correctly implement the above behaviors - populate both fields when SwgWit inputs are included in the template, and omit both of the fields otherwise. However, the default_witness_commit returned is raw commitment instead of the witness script. (see issue #20)
This poses 2 questions:
How come lbrycrd always populates SegWit fields in getblocktemplate response?
Does Stratum mandate the presence of SegWit fields?
This might need changes on either
Stratum
orlbcd
side, such as magic number, coin symbols, etc.The text was updated successfully, but these errors were encountered: