Browse Source

ckdb - sharesummary confirmation check with -y (no db changes)

master
kanoi 10 years ago
parent
commit
792a4c7808
  1. 3
      pool/base.php
  2. 655
      src/ckdb.c

3
pool/base.php

@ -25,7 +25,10 @@ function btcfmt($amt)
} }
# #
global $sipre; global $sipre;
# max of uint64 is ~1.845x10^19, 'Z' is above that (10^21)
# max of uint256 is ~1.158x10^77, which is well above 'Y' (10^24)
$sipre = array('', 'k', 'M', 'G', 'T', 'P', 'E', 'Z', 'Y'); $sipre = array('', 'k', 'M', 'G', 'T', 'P', 'E', 'Z', 'Y');
#
function siprefmt($amt) function siprefmt($amt)
{ {
global $sipre; global $sipre;

655
src/ckdb.c

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save