This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import os | |
import sys | |
import math | |
import random | |
NSECONDS = 5*3600 | |
NNODES = 4000 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import sys | |
import os | |
import json | |
paths = sys.argv[1:] | |
ifiles = [ file( path ) for path in paths ] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CMasternode* pprevMasternode = NULL; | |
BOOST_FOREACH(CMasternode* pmn, vSortedByAddr) { | |
if(!pmn->IsEnabled() && !pmn->IsPreEnabled()) continue; | |
if(!pprevMasternode) { | |
// Nothing to check on first pass | |
pprevMasternode = pmn; | |
continue; | |
} | |
if(pmn->addr == pprevMasternode->addr) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/csh | |
setenv BDB_CPPFLAGS "-I/usr/local/include -I/usr/local/include/db48" | |
setenv BDB_LIBS "-ldb_cxx-4.8" | |
setenv CFLAGS "-I/usr/local/include -I/usr/local/include/db48" | |
setenv CXXFLAGS "-I/usr/local/include -I/usr/local/include/db48" | |
setenv CPPFLAGS "-I/usr/local/include -I/usr/local/include/db48" | |
setenv LDFLAGS "-L/usr/local/lib -L/usr/local/lib/db48" | |
cd /root/dash/dash |