Rename bank height to block_height and expose method (#6199)

* Rename bank bank_height to block_height

* Expose block_height method
This commit is contained in:
Justin Starry
2019-10-01 14:55:39 -04:00
committed by GitHub
parent 774e9df2e5
commit 8d0236e3f1
2 changed files with 10 additions and 5 deletions

View File

@ -8617,7 +8617,7 @@
],
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT last(\"bank_height\") as \"bank_height\" FROM \"$testnet\".\"autogen\".\"bank-new_from_parent-heights\" WHERE host_id::tag =~ /$hostid/ AND $timeFilter GROUP BY time($__interval)",
"query": "SELECT last(\"block_height\") as \"block_height\" FROM \"$testnet\".\"autogen\".\"bank-new_from_parent-heights\" WHERE host_id::tag =~ /$hostid/ AND $timeFilter GROUP BY time($__interval)",
"rawQuery": true,
"refId": "B",
"resultFormat": "time_series",