Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Increase blocks shown in UI from 100 up to 500 #16

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions html/ui/js/nrs.blocks.js
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ var NRS = (function(NRS, $, undefined) {
var blocks = [];
var nrBlocks = 0;

var blockIds = response.blockIds.slice(0, 100);
var blockIds = response.blockIds.slice(0, 500);

if (response.blockIds.length > 100) {
$("#blocks_page_forged_warning").show();
Expand Down Expand Up @@ -350,7 +350,7 @@ var NRS = (function(NRS, $, undefined) {
$("#blocks_average_amount").html(NRS.formatStyledAmount(averageAmount)).removeClass("loading_dots");

if (NRS.blocksPageType == "forged_blocks") {
if (blocks.length == 100) {
if (blocks.length == 500) {
var blockCount = blocks.length + "+";
} else {
var blockCount = blocks.length;
Expand Down