This file contains 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
diff --git a/config.def.h b/config.def.h | |
index 1c0b587..6a75355 100644 | |
--- a/config.def.h | |
+++ b/config.def.h | |
@@ -1,23 +1,31 @@ | |
/* See LICENSE file for copyright and license details. */ | |
/* appearance */ | |
-static const unsigned int borderpx = 1; /* border pixel of windows */ | |
-static const unsigned int snap = 32; /* snap pixel */ |
This file contains 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
<?php | |
// Usage: $abe = new ABE(15, "73", "mysql:host=localhost;dbname=abe", "sqluser", "sqlpass"); | |
// Replace 15 with ABE's internal chain ID and "73" with the address version for your coin. | |
// Base conversion class used for base58 encoding/decoding (https://gist.github.com/DoctorBlue/e50cb9c93e2fa3d66741) | |
require __DIR__ . "/baseconv.php"; | |
class ABE { | |
private $chain; // The chain identifier given by ABE (Check 'chain' table in database) | |
private $addrver; // Address version byte (Hexadecimal) |
This file contains 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
<?php | |
class Omnichain { | |
private static $baseurl = "https://omnicha.in/api/"; | |
// Returns an array of general information about the network such | |
// as difficulty, network hashrate, total block count etc. | |
public static function getInfo() { | |
return self::call("getinfo"); | |
} |