Change block reward from 8 to 4.
This commit is contained in:
parent
e67edd2b6d
commit
3fb35b3f3b
@ -249,10 +249,10 @@ const latestBlockDetails = async()=> {
|
|||||||
return(err_msg);
|
return(err_msg);
|
||||||
});
|
});
|
||||||
|
|
||||||
const space = await exec('du -sh /root/.epic/main/');
|
const space = await exec('du -sh /root/.epic/main/chain_data/ --exclude=*.zip');
|
||||||
let disk_space = space.stdout.split('\t')[0];
|
let disk_space = space.stdout.split('\t')[0];
|
||||||
|
|
||||||
const space_new = await exec('du -sk /root/.epic/main/');
|
const space_new = await exec('du -sk /root/.epic/main/chain_data/ --exclude=*.zip');
|
||||||
//let disk_space_kb = space_new.stdout.split('\t')[0];
|
//let disk_space_kb = space_new.stdout.split('\t')[0];
|
||||||
let disk_space_kb = (space_new.stdout.split('\t')[0] / 1000000).toFixed(2)+"G";
|
let disk_space_kb = (space_new.stdout.split('\t')[0] / 1000000).toFixed(2)+"G";
|
||||||
let height = BlockchainLatestBlockQuery[0].height;
|
let height = BlockchainLatestBlockQuery[0].height;
|
||||||
|
@ -414,7 +414,7 @@ export class GraphListComponent implements OnInit {
|
|||||||
let today_date_index = gDate.indexOf(moment(Date.now()).format('YYYY-MM-DD'));
|
let today_date_index = gDate.indexOf(moment(Date.now()).format('YYYY-MM-DD'));
|
||||||
//let today_date_index = gDate.indexOf('2019-08-06');
|
//let today_date_index = gDate.indexOf('2019-08-06');
|
||||||
//this.gg_last = gReward[today_date_index];
|
//this.gg_last = gReward[today_date_index];
|
||||||
this.gg_last = "8";
|
this.gg_last = "4";
|
||||||
let range = [];
|
let range = [];
|
||||||
if(gaddedreward.length == 1 && gaddedreward[0]!= 0){
|
if(gaddedreward.length == 1 && gaddedreward[0]!= 0){
|
||||||
range = [ (gaddedreward[0] - (gaddedreward[0] * 0.3)), (gaddedreward[0] + (gaddedreward[0] * 0.3)) ];
|
range = [ (gaddedreward[0] - (gaddedreward[0] * 0.3)), (gaddedreward[0] + (gaddedreward[0] * 0.3)) ];
|
||||||
|
Loading…
Reference in New Issue
Block a user