aspectron / dagviz

0 stars 0 forks source link

Block page > Header area > Related blocks #48

Open ey51 opened 4 years ago

ey51 commented 4 years ago

@n15a wrote:

So just discussed with Anton. We dont touch the current structure. In the place of Parent Block Hashes , we can put something like Related Block Hashed and on the right side of each hash indicate whether is Parent, Merged or both. This is perfect.

I think what you guys suggest is perfect. This way the same hash is not repeated. In practice, it's like a table of related blocks

block hash                                                         merged?   parent?   selected parent?
00002e1b937359f91fb516495097322087f0cd23b4d78aef85e02ab2d9f46e14   v         v         v               
000072e7f95409ada50955626e3cb7400f331c2d0c74368fbead2710ab62246e   v         v                         
000007bb1c62f8de6160dc7a9062cb3e90859f73b5314ec2660709484c25039e   v                     
ey51 commented 4 years ago

The Block Hashes show indication of P(arent), M(erged) image

Merged blocks includes all Parent blocks, which include the one Selected Parent, i.e.: Merged ∋ Parent ∋ Selected Parent

So it would make more sense to show it in this order: M, P, SP

SP is the one Parent that is a Chain Block.

And it would be nice to have tooltips for M, P and SP to: M: https://docs.kas.pa/kaspa/glossary#merged-block P: https://docs.kas.pa/kaspa/glossary#previous-blocks-parents SP: https://docs.kas.pa/kaspa/glossary#selected-parent-of-a-block