Knowledgebase
Valcon Systems. > Customer Support > Knowledgebase

Getting pool to display in the BAMT 1.2 web UI

Solution
Lines 546-554: in /opt/bamt/common.pl
Code: [Select]
while ($res =~ m/\|POOL=(\d+),URL=(.+?),Status=(.+?),Priority=(\d+),Quota=(\d+),Long Poll=(.+?),Getworks=(\d+),Accepted=(\d+),Rejected=(\d+),Works=(\d+),Discarded=(\d+),Stale=(\d+),Get Failures=(\d+),Remote Failures=(\d+)/g)
{
push(@pools, ({ poolid=>$1, url=>$2, status=>$3, priority=>$4, quota=>$5, lp=>$6, getworks=>$7, accepted=>$8, rejected=>$9, works=>$10, discarded=>$11, stale=>$12, getfails=>$13, remotefails=>$14 }) );
}
}

return(@pools);

}
 
 
Was this article helpful? yes / no
Article details
Article ID: 22
Category: Crypto Currency
Date added: 2014-01-16 05:02:03
Views: 194
Rating (Votes): Article rated 2.7/5.0 (7)

 
« Go back