Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
12851b6
commit 4f74a7c
Showing
39 changed files
with
395 additions
and
262 deletions.
There are no files selected for viewing
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
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,25 @@ | ||
<?php # maximum_simplicity — Javier González González | ||
|
||
|
||
$_['crono'] = hrtime(true); | ||
$__['crono'] = hrtime(true); | ||
$__['crono_start'] = $__['crono']; | ||
|
||
|
||
ob_start(NULL, 1024*1024*10); | ||
ob_start(NULL, 10485760); | ||
|
||
|
||
include('__maximum_simplicity/config.php'); | ||
|
||
|
||
include('__maximum_simplicity/functions.php'); | ||
|
||
|
||
foreach (glob('autoload/*.php') AS $_file) | ||
include($_file); | ||
|
||
foreach (glob('autoload/*.php') AS $__file) | ||
include($__file); | ||
|
||
include('__maximum_simplicity/router.php'); | ||
|
||
|
||
if (isset($_['template']['output'])) | ||
include('template/'.$_['template']['output'].'.php'); | ||
|
||
|
||
$_output_html_content = ob_get_contents(); | ||
ob_end_clean(); | ||
include('template/index.php'); | ||
if (isset($__['template']['output'])) | ||
include('template/'.$__['template']['output'].'.php'); | ||
else | ||
include('template/index.php'); | ||
|
||
exit; |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,18 @@ | ||
<?php # BMP — Javier González González | ||
|
||
|
||
define('BMP_VERSION', '0.1-beta'); | ||
define('BMP_VERSION', '0.2-beta'); | ||
|
||
define('BLOCK_WINDOW', 2016); // Blocks | ||
|
||
define('BLOCKCHAINS', ['BTC', 'BCH', 'BSV']); | ||
|
||
define('BLOCKCHAIN_ACTIONS', 'BCH'); | ||
|
||
define('BLOCK_WINDOW', 2016); // Blocks | ||
define('POWER_PRECISION', 5); // Decimals of % | ||
|
||
define('BMP_GENESIS_BLOCK', 588996 - BLOCK_WINDOW); | ||
|
||
define('POWER_PRECISION', 4); // Decimals of % | ||
|
||
define('OP_RETURN_MAX_SIZE', 220); // Bytes | ||
|
||
define('FEE_PER_BYTE', 0.00002); // BCH/KB | ||
define('FEE_PER_BYTE', 0.00002); // Bitcoin/kb |
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
Oops, something went wrong.