|
|
@ -1243,6 +1243,13 @@ void Main::on_blocks_currentItemChanged() |
|
|
|
s << "<br/>Log Bloom: <b>" << info.logBloom << "</b>"; |
|
|
|
s << "<br/>Transactions: <b>" << block[1].itemCount() << "</b> @<b>" << info.transactionsRoot << "</b>"; |
|
|
|
s << "<br/>Uncles: <b>" << block[2].itemCount() << "</b> @<b>" << info.sha3Uncles << "</b>"; |
|
|
|
for (auto u: block[2]) |
|
|
|
{ |
|
|
|
BlockInfo uncle = BlockInfo::fromHeader(u.data()); |
|
|
|
s << "<br/><span style=\"margin-left: 2em\"> </span>Hash: <b>" << uncle.hash << "</b>"; |
|
|
|
s << "<br/><span style=\"margin-left: 2em\"> </span>Parent: <b>" << uncle.parentHash << "</b>"; |
|
|
|
s << "<br/><span style=\"margin-left: 2em\"> </span>Number: <b>" << uncle.number << "</b>"; |
|
|
|
} |
|
|
|
if (info.parentHash) |
|
|
|
s << "<br/>Pre: <b>" << BlockInfo(ethereum()->blockChain().block(info.parentHash)).stateRoot << "</b>"; |
|
|
|
else |
|
|
|