submitblock reject blocks due to missing witness in coinbase. #83

Closed
opened 2022-08-12 19:31:56 +02:00 by roylee17 · 0 comments
roylee17 commented 2022-08-12 19:31:56 +02:00 (Migrated from github.com)

This only happens if the blocks contain any segwit transactions.

2022-08-06 17:47:34.657 [INF] RPCS: Rejected block efdddd30ac5679011ce90efe74a382f1865ef2211a941ba08de8c2a922545126 via submitblock: the coinbase transaction has 0 items in its witness stack when only one is allowed. Height: 1204880
2022-08-06 17:48:00.351 [INF] RPCS: Rejected block eae65b6c2e2ff032452b3d4d05713b774d47096599fada63f5a7d5b69a6aaf46 via submitblock: the coinbase transaction has 0 items in its witness stack when only one is allowed. Height: 1204880

lbcd checks the presence of witness_commitment in the coinbase.TxOut, and asserts the dummy witness (32 bytes of 0s) must also presented in the coinbase.TxIn[0].

This only happens if the blocks contain any segwit transactions. ``` 2022-08-06 17:47:34.657 [INF] RPCS: Rejected block efdddd30ac5679011ce90efe74a382f1865ef2211a941ba08de8c2a922545126 via submitblock: the coinbase transaction has 0 items in its witness stack when only one is allowed. Height: 1204880 2022-08-06 17:48:00.351 [INF] RPCS: Rejected block eae65b6c2e2ff032452b3d4d05713b774d47096599fada63f5a7d5b69a6aaf46 via submitblock: the coinbase transaction has 0 items in its witness stack when only one is allowed. Height: 1204880 ``` **lbcd** checks the presence of witness_commitment in the `coinbase.TxOut`, and asserts the dummy witness (32 bytes of 0s) must also presented in the coinbase.TxIn[0].
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: LBRYCommunity/lbcd#83
No description provided.