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
Poking around with the debugger at CreateNewBlock. It seems that the nValue of all the CTxOuts taken from tx.vin and tx.vout are set to 0. For a quick check you can run the current tx's GetValueOut and it will report 0. I had to recompile with O0 in order to verify this. I recommend taking a look, as this would lead to a lot of weird behavior, like the transaction fee not being set properly. CCoinsViewCache is relaying that the txin does have coins, so I suspect the issue isn't far away. Although when accessing a given txin's previous output's vout, the nValue is also empty (src/miner/miner.cpp L418-L422)
The text was updated successfully, but these errors were encountered:
neilc1
changed the title
nValue in vin[n] and vout[n] only holding 0 when at CreateNewBlock
nValue of CTxOut only holding 0 when at CreateNewBlock
Jun 25, 2017
Poking around with the debugger at CreateNewBlock. It seems that the nValue of all the CTxOuts taken from tx.vin and tx.vout are set to 0. For a quick check you can run the current tx's GetValueOut and it will report 0. I had to recompile with O0 in order to verify this. I recommend taking a look, as this would lead to a lot of weird behavior, like the transaction fee not being set properly. CCoinsViewCache is relaying that the txin does have coins, so I suspect the issue isn't far away. Although when accessing a given txin's previous output's vout, the nValue is also empty (src/miner/miner.cpp L418-L422)
The text was updated successfully, but these errors were encountered: