getblocktemplate: (block rewards are missing) #96

Closed
opened 2022-09-26 03:37:16 +02:00 by roylee17 · 0 comments
roylee17 commented 2022-09-26 03:37:16 +02:00 (Migrated from github.com)

DxPool reported that blocks mined using lbcd are missing block rewards

https://explorer.lbry.com/tx/60c09509a9382d2a2314f7fe1f697e07d2aa9af657a291dd351782a0933ca272

The pool software might be using coinbasevalue to construct the coinbase transaction, but the lbcd does not return .coinbasevaklue when the "capabilities": ["coinbasetxn"], is specified.

# lbrycrd
lbcctl --notls -s 18.221.146.233 getblocktemplate '{"rules": ["segwit"]}' | jq .coinbasevalue
23026191340

# lbrycrd
lbcctl --notls -s 18.221.146.233 getblocktemplate '{"capabilities": ["coinbasetxn"],"rules": ["segwit"]}' | jq .coinbasevalue
23025543745

# lbcd
lbcctl getblocktemplate '{"rules": ["segwit"]}' | jq .coinbasevalue
23018485170

# lbcd
lbcctl  getblocktemplate '{"capabilities": ["coinbasetxn"],"rules": ["segwit"]}' | jq .coinbasevalue
null
DxPool reported that blocks mined using lbcd are missing block rewards https://explorer.lbry.com/tx/60c09509a9382d2a2314f7fe1f697e07d2aa9af657a291dd351782a0933ca272 The pool software might be using `coinbasevalue` to construct the coinbase transaction, but the lbcd does not return .coinbasevaklue when the `"capabilities": ["coinbasetxn"],` is specified. ``` # lbrycrd lbcctl --notls -s 18.221.146.233 getblocktemplate '{"rules": ["segwit"]}' | jq .coinbasevalue 23026191340 # lbrycrd lbcctl --notls -s 18.221.146.233 getblocktemplate '{"capabilities": ["coinbasetxn"],"rules": ["segwit"]}' | jq .coinbasevalue 23025543745 # lbcd lbcctl getblocktemplate '{"rules": ["segwit"]}' | jq .coinbasevalue 23018485170 # lbcd lbcctl getblocktemplate '{"capabilities": ["coinbasetxn"],"rules": ["segwit"]}' | jq .coinbasevalue null ```
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#96
No description provided.