mirror of https://github.com/GOSTSec/gostexplr
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
692 B
31 lines
692 B
![]()
7 years ago
|
extends layout
|
||
|
|
||
|
block content
|
||
|
h3 Block
|
||
|
|
||
|
table
|
||
![]()
7 years ago
|
each key in Object.keys(block)
|
||
![]()
7 years ago
|
if (key === 'nextblockhash')
|
||
|
tr
|
||
|
td.capitalize #{key}
|
||
|
td
|
||
![]()
7 years ago
|
a(href=`/block/${block.nextblockhash}/`) #{block.nextblockhash}
|
||
![]()
7 years ago
|
-continue
|
||
|
if (key === 'previousblockhash')
|
||
|
tr
|
||
|
td.capitalize #{key}
|
||
|
td
|
||
![]()
7 years ago
|
a(href=`/block/${block.previousblockhash}/`) #{block.previousblockhash}
|
||
![]()
7 years ago
|
-continue
|
||
![]()
7 years ago
|
if (key === 'Transactions')
|
||
|
-continue
|
||
|
tr
|
||
|
td.capitalize #{key}
|
||
|
td #{block[key]}
|
||
|
|
||
|
h3 Transactions
|
||
|
each tx in block.Transactions
|
||
|
div
|
||
![]()
7 years ago
|
a(href=`/transaction/${tx.txid}/`) #{tx.txid}
|
||
![]()
7 years ago
|
|