note about pruning on "/block-analysis" landing page

This commit is contained in:
Dan Janosik 2021-02-23 19:37:11 -05:00
parent 84d2cefe08
commit 01dd603ff4
No known key found for this signature in database
GPG key ID: C6F8CE9FFDB2CED2

View file

@ -23,13 +23,21 @@ block content
hr.my-4
h6 Selection of example blocks:
if (global.prunedBlockchain)
div.alert.alert-primary.pb-0(role="alert")
h6.mb-2 Note About Pruning
- var msgMarkdown = `Blockchain \`pruning\` is enabled on your node. This setting tells your node that after validating transactions it may discard data that is non-essential for future validation needs.\n\nThe current \`prune height\` for your node is ${global.pruneHeight.toLocaleString()}, and a block analysis will fail for any block height earlier than that.`;
| !{markdown(msgMarkdown)}
- var heights = [0, 170, 100000, 210000, 420000, 481824];
ul.text-monospace
each height in heights
li
a(href=`./block-analysis/${height}`) Block ##{height.toLocaleString()}
else
h6 Selection of example blocks:
- var heights = [0, 170, 100000, 210000, 420000, 481824];
ul.text-monospace
each height in heights
li
a(href=`./block-analysis/${height}`) Block ##{height.toLocaleString()}
block endOfBody
script.