core.git
7 years agoContinued with file-based stacks:
Roland Haeder [Tue, 13 May 2014 21:09:09 +0000 (23:09 +0200)]
Continued with file-based stacks:
- added first draft of file-based stacks (hash sums are missing)
- added initial base class and stub for file-based stacks
- ignored chash.pos (file created by chash.php)
- ignored any backup files (*.*~)

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoFixed reading directories.
Roland Häder [Tue, 13 May 2014 06:41:45 +0000 (08:41 +0200)]
Fixed reading directories.

Signed-off-by: Roland Häder <haeder@hmmdeutschland.de>
7 years agoCommented out noisy debug lines.
Roland Haeder [Mon, 12 May 2014 21:14:35 +0000 (23:14 +0200)]
Commented out noisy debug lines.

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoImproved directory (non-recursive) reading:
Roland Haeder [Mon, 12 May 2014 20:48:19 +0000 (22:48 +0200)]
Improved directory (non-recursive) reading:
- Refactured FrameworkDirectoryPointer to use DirectoryIterator (SPL).
- The use of isDot() makes excluding '.' and '..' obsolete (would be double),
  so more classes can be improved here.
- Also use ObjectFactory instead of direct class name for better flexibility.

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoRewrites for client factory, added methods for HttpClient (mostly from ConsoleClient).
Roland Haeder [Mon, 12 May 2014 20:47:31 +0000 (22:47 +0200)]
Rewrites for client factory, added methods for HttpClient (mostly from ConsoleClient).

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoAdded first client (HTTP) classes and interfaces for rewrite of the very simple metho...
Roland Haeder [Mon, 12 May 2014 20:44:35 +0000 (22:44 +0200)]
Added first client (HTTP) classes and interfaces for rewrite of the very simple methods in ConsoleTools and later for many places more.

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoNot the string again.
Roland Häder [Mon, 28 Apr 2014 15:10:25 +0000 (17:10 +0200)]
Not the string again.

Signed-off-by: Roland Häder <haeder@hmmdeutschland.de>
7 years agoRound it... ;-)
Roland Häder [Mon, 28 Apr 2014 15:06:01 +0000 (17:06 +0200)]
Round it... ;-)

Signed-off-by: Roland Häder <haeder@hmmdeutschland.de>
7 years agoUse ZLIB compression.
Roland Häder [Mon, 28 Apr 2014 15:04:51 +0000 (17:04 +0200)]
Use ZLIB compression.

Signed-off-by: Roland Häder <haeder@hmmdeutschland.de>
7 years agoRewrote to $GLOBALS.
Roland Häder [Mon, 28 Apr 2014 14:57:12 +0000 (16:57 +0200)]
Rewrote to $GLOBALS.

Signed-off-by: Roland Häder <haeder@hmmdeutschland.de>
7 years agoAdded flushCheckPointFile().
Roland Häder [Mon, 28 Apr 2014 14:03:32 +0000 (16:03 +0200)]
Added flushCheckPointFile().

Signed-off-by: Roland Häder <haeder@hmmdeutschland.de>
7 years agoAdd genesis hash.
Roland Häder [Mon, 28 Apr 2014 13:53:24 +0000 (15:53 +0200)]
Add genesis hash.

Signed-off-by: Roland Häder <haeder@hmmdeutschland.de>
7 years agoAlso remember found hashes (and all relevant data to "prove" it).
Roland Häder [Mon, 28 Apr 2014 13:13:19 +0000 (15:13 +0200)]
Also remember found hashes (and all relevant data to "prove" it).

Signed-off-by: Roland Häder <haeder@hmmdeutschland.de>
7 years agoAdded check-point file.
Roland Häder [Mon, 28 Apr 2014 12:53:25 +0000 (14:53 +0200)]
Added check-point file.

Signed-off-by: Roland Häder <haeder@hmmdeutschland.de>
7 years agoMuch smaller nonce means much more to calculate + logged it on success (found hash).
Roland Häder [Mon, 28 Apr 2014 12:22:35 +0000 (14:22 +0200)]
Much smaller nonce means much more to calculate + logged it on success (found hash).

Signed-off-by: Roland Häder <haeder@hmmdeutschland.de>
7 years agoAdd all found hashes as "block hashes".
Roland Häder [Mon, 28 Apr 2014 09:50:14 +0000 (11:50 +0200)]
Add all found hashes as "block hashes".

Signed-off-by: Roland Häder <haeder@hmmdeutschland.de>
7 years agoAlso display iterations per second.
Roland Häder [Mon, 28 Apr 2014 09:20:44 +0000 (11:20 +0200)]
Also display iterations per second.

Signed-off-by: Roland Häder <haeder@hmmdeutschland.de>
7 years agoRemoved hashesPerBlock display + reduced blocked size as it is now much harder to...
Roland Häder [Mon, 28 Apr 2014 09:12:04 +0000 (11:12 +0200)]
Removed hashesPerBlock display + reduced blocked size as it is now much harder to find a good hash.
Signed-off-by: Roland Häder <haeder@hmmdeutschland.de>
7 years agoCorrect hash rate calculation.
Roland Häder [Mon, 28 Apr 2014 09:07:17 +0000 (11:07 +0200)]
Correct hash rate calculation.

Signed-off-by: Roland Häder <haeder@hmmdeutschland.de>
7 years agoThis might be more correct calculation.
Roland Häder [Mon, 28 Apr 2014 08:38:01 +0000 (10:38 +0200)]
This might be more correct calculation.

Signed-off-by: Roland Häder <haeder@hmmdeutschland.de>
7 years agoDon't increment nonce after block was found, some other improvements, nonce increment...
Roland Haeder [Mon, 21 Apr 2014 16:29:03 +0000 (18:29 +0200)]
Don't increment nonce after block was found, some other improvements, nonce increment is now 1.0 .

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoTaken care of possible usage of uninitialized variable $hashrate.
Roland Haeder [Mon, 31 Mar 2014 18:43:40 +0000 (20:43 +0200)]
Taken care of possible usage of uninitialized variable $hashrate.

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoAdded a lot stuff + initial "block miner".
Roland Haeder [Sat, 29 Mar 2014 23:17:48 +0000 (00:17 +0100)]
Added a lot stuff + initial "block miner".

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoSome improvements to "genesis" hash.
Roland Haeder [Sat, 29 Mar 2014 20:21:52 +0000 (21:21 +0100)]
Some improvements to "genesis" hash.

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoMerge branch 'contrib'
Roland Haeder [Sat, 29 Mar 2014 19:48:14 +0000 (20:48 +0100)]
Merge branch 'contrib'

Signed-off-by: Roland Häder <roland@mxchange.org>
Conflicts:
.gitattributes
.gitignore

7 years agoMoved for merge preparation.
Roland Haeder [Sat, 29 Mar 2014 19:47:07 +0000 (20:47 +0100)]
Moved for merge preparation.

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoAdded translateBooleanToYesNo().
Roland Haeder [Thu, 20 Mar 2014 20:35:39 +0000 (21:35 +0100)]
Added translateBooleanToYesNo().

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoAdded new exception code (please cleanup others!).
Roland Haeder [Mon, 17 Mar 2014 21:48:42 +0000 (22:48 +0100)]
Added new exception code (please cleanup others!).

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoSimplified some code + fixed set/get usage (should be 'get' here).
Roland Haeder [Mon, 17 Mar 2014 19:55:49 +0000 (20:55 +0100)]
Simplified some code + fixed set/get usage (should be 'get' here).

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoImproved logger.
Roland Haeder [Fri, 21 Feb 2014 20:44:12 +0000 (21:44 +0100)]
Improved logger.

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoTried to make debugger instance more singleton.
Roland Haeder [Fri, 21 Feb 2014 20:23:59 +0000 (21:23 +0100)]
Tried to make debugger instance more singleton.

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoImproved some debug messages with method's name.
Roland Haeder [Sat, 15 Feb 2014 23:35:20 +0000 (00:35 +0100)]
Improved some debug messages with method's name.

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoLog also whole data.
Roland Haeder [Sat, 15 Feb 2014 22:21:35 +0000 (23:21 +0100)]
Log also whole data.

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoAdded exit; after all trigger_error() calls.
Roland Haeder [Sat, 15 Feb 2014 22:07:30 +0000 (23:07 +0100)]
Added exit; after all trigger_error() calls.

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoWas to noisy.
Roland Haeder [Wed, 12 Feb 2014 21:38:25 +0000 (22:38 +0100)]
Was to noisy.

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoCommented out noisy debug lines.
Roland Haeder [Mon, 10 Feb 2014 22:03:30 +0000 (23:03 +0100)]
Commented out noisy debug lines.

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoOpps, forgot to return value + more logging.
Roland Haeder [Mon, 10 Feb 2014 22:03:00 +0000 (23:03 +0100)]
Opps, forgot to return value + more logging.

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoAdded more debug lines + missing super method.
Roland Haeder [Mon, 10 Feb 2014 21:10:44 +0000 (22:10 +0100)]
Added more debug lines + missing super method.

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoAlso this static. :-(
Roland Haeder [Mon, 10 Feb 2014 20:52:37 +0000 (21:52 +0100)]
Also this static. :-(

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoAdded missing methods to interface and added newly one to class.
Roland Haeder [Mon, 10 Feb 2014 20:44:37 +0000 (21:44 +0100)]
Added missing methods to interface and added newly one to class.

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoAdded missing method.
Roland Haeder [Mon, 10 Feb 2014 20:39:29 +0000 (21:39 +0100)]
Added missing method.

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoAdded removeNonPublicDataFromArray().
Roland Haeder [Sun, 9 Feb 2014 02:56:32 +0000 (03:56 +0100)]
Added removeNonPublicDataFromArray().

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoThe previous way didn't work, as the variable stack contains indexed array with ...
Roland Haeder [Sun, 9 Feb 2014 01:10:10 +0000 (02:10 +0100)]
The previous way didn't work, as the variable stack contains indexed array with 'name' and 'value' keys.

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoAdded injectConfigVariables(), please do use with great causion.
Roland Haeder [Sun, 9 Feb 2014 00:59:05 +0000 (01:59 +0100)]
Added injectConfigVariables(), please do use with great causion.

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoLittle resorting of public methods: all variable-related methods on one place.
Roland Haeder [Sun, 9 Feb 2014 00:36:44 +0000 (01:36 +0100)]
Little resorting of public methods: all variable-related methods on one place.

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoMoved regex to variable.
Roland Haeder [Sun, 9 Feb 2014 00:34:48 +0000 (01:34 +0100)]
Moved regex to variable.

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoConverted more double-quotes to single. This causes some speed improvement as
Roland Haeder [Sun, 9 Feb 2014 00:25:21 +0000 (01:25 +0100)]
Converted more double-quotes to single. This causes some speed improvement as
double-quoted texts are parsed for variables, but single-quoted not.

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoCache of database "queries" can now be disabled (default). Please note, that if
Roland Haeder [Fri, 7 Feb 2014 19:13:02 +0000 (20:13 +0100)]
Cache of database "queries" can now be disabled (default). Please note, that if
you enable this, this may lead to wrong results as this is not fully stable.

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoMade NullCryptoStream compatible again wit implemented interface.
Roland Haeder [Wed, 5 Feb 2014 18:16:45 +0000 (19:16 +0100)]
Made NullCryptoStream compatible again wit implemented interface.

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoAnd same thing here. As you can see it is very easy to rename files and still the...
Roland Haeder [Tue, 4 Feb 2014 19:44:07 +0000 (20:44 +0100)]
And same thing here. As you can see it is very easy to rename files and still the history is intact.

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoRenamed to DatabaseBackend to get rid of word 'Interface' in an interface name as...
Roland Haeder [Tue, 4 Feb 2014 19:41:53 +0000 (20:41 +0100)]
Renamed to DatabaseBackend to get rid of word 'Interface' in an interface name as this is twice over.

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoAlso get rid of this.
Roland Häder [Tue, 4 Feb 2014 18:54:45 +0000 (19:54 +0100)]
Also get rid of this.

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoNo longer needed as this was required by SVN.
Roland Häder [Tue, 4 Feb 2014 18:53:13 +0000 (19:53 +0100)]
No longer needed as this was required by SVN.

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agomoved for svn-git transission
Roland Häder [Sun, 2 Feb 2014 02:28:09 +0000 (02:28 +0000)]
moved for svn-git transission

8 years agoCopyright year updated, converted double->single quotes
Roland Häder [Sat, 19 Oct 2013 17:10:41 +0000 (17:10 +0000)]
Copyright year updated, converted double->single quotes

8 years agoAdded assert() + commented in debug lines
Roland Häder [Sat, 19 Oct 2013 15:06:43 +0000 (15:06 +0000)]
Added assert() + commented in debug lines

8 years agoUpdated domain without a dash :(
Roland Häder [Tue, 30 Jul 2013 07:20:47 +0000 (07:20 +0000)]
Updated domain without a dash :(

8 years agoRenamed 'stacker' -> 'stack'
Roland Häder [Thu, 25 Jul 2013 01:14:57 +0000 (01:14 +0000)]
Renamed 'stacker' -> 'stack'

8 years agoOpps, was to warm here :(
Roland Häder [Thu, 25 Jul 2013 01:11:46 +0000 (01:11 +0000)]
Opps, was to warm here :(

8 years agoReplaced more double-quotes to single, exposed in exception AlreadyInitializedStacke...
Roland Häder [Thu, 25 Jul 2013 01:07:35 +0000 (01:07 +0000)]
Replaced more double-quotes to single, exposed  in exception AlreadyInitializedStackerException

8 years agoUsed valid() instead of next()
Roland Häder [Fri, 19 Jul 2013 21:24:05 +0000 (21:24 +0000)]
Used valid() instead of next()

8 years agoChanged all true/false to TRUE/FALSE respectively as PHP constants are better than...
Roland Häder [Thu, 18 Jul 2013 12:50:59 +0000 (12:50 +0000)]
Changed all true/false to TRUE/FALSE respectively as PHP constants are better than keywords

8 years agoBetter check for PHP version in setMagicQuotesRuntime() as set_magic_quotes_runtime...
Roland Häder [Thu, 18 Jul 2013 12:22:00 +0000 (12:22 +0000)]
Better check for PHP version in setMagicQuotesRuntime() as set_magic_quotes_runtime() is deprecated since 5.4.x

8 years agoIntroduced initStackers() which wraps initialization of several stacks
Roland Häder [Wed, 17 Jul 2013 20:55:11 +0000 (20:55 +0000)]
Introduced initStackers() which wraps initialization of several stacks

8 years agoRenamed endElement() to finishElement(), see the final implementation in BaseXmlTempl...
Roland Häder [Thu, 4 Jul 2013 20:58:20 +0000 (20:58 +0000)]
Renamed endElement() to finishElement(), see the final implementation in BaseXmlTemplateEngine for the reason (naming convention)

8 years agoFixed (again) some more generic array handling
Roland Häder [Fri, 28 Jun 2013 23:39:16 +0000 (23:39 +0000)]
Fixed (again) some more generic array handling

8 years agoFixed more generic array handling #2
Roland Häder [Fri, 28 Jun 2013 22:07:44 +0000 (22:07 +0000)]
Fixed more generic array handling #2

8 years agoFixed more generic array handling, introduced unsetGenericArrayKey()
Roland Häder [Fri, 28 Jun 2013 22:04:57 +0000 (22:04 +0000)]
Fixed more generic array handling, introduced unsetGenericArrayKey()

8 years agoAdded option parameter 'forceInit'
Roland Häder [Fri, 28 Jun 2013 21:47:58 +0000 (21:47 +0000)]
Added option parameter 'forceInit'

8 years agoFixed handling of newly introduced generic array
Roland Häder [Fri, 28 Jun 2013 21:43:29 +0000 (21:43 +0000)]
Fixed handling of newly introduced generic array

8 years agoFixed more methods, value from shiftGenericArrayElement/popGenericArrayElement should...
Roland Häder [Sun, 23 Jun 2013 19:51:09 +0000 (19:51 +0000)]
Fixed more methods, value from shiftGenericArrayElement/popGenericArrayElement should be returned instead ignored

8 years agoIntroduced isValidGenericArrayKey()
Roland Häder [Sun, 23 Jun 2013 19:25:05 +0000 (19:25 +0000)]
Introduced isValidGenericArrayKey()

8 years agoFix for wrong method call
Roland Häder [Sun, 23 Jun 2013 19:17:13 +0000 (19:17 +0000)]
Fix for wrong method call

8 years agoPatches for making new generic array working
Roland Häder [Sun, 23 Jun 2013 19:00:53 +0000 (19:00 +0000)]
Patches for making new generic array working

8 years agoFixes and double->single converted
Roland Häder [Sun, 23 Jun 2013 03:32:52 +0000 (03:32 +0000)]
Fixes and double->single converted

8 years agoMade lower to upper case:
Roland Häder [Fri, 31 May 2013 20:03:19 +0000 (20:03 +0000)]
Made lower to upper case:
- NULL
- FALSE
- TRUE

As these are constants and the lower-case varriants are keywords

8 years agoSame as before
Roland Häder [Sat, 4 May 2013 16:32:36 +0000 (16:32 +0000)]
Same as before

8 years agoFixed missing array
Roland Häder [Sat, 4 May 2013 16:30:47 +0000 (16:30 +0000)]
Fixed missing array

8 years agoUse array_push() instead of []
Roland Häder [Sun, 3 Mar 2013 22:35:01 +0000 (22:35 +0000)]
Use array_push() instead of []

8 years agoAdded line number to debug lines as this will become the default
Roland Häder [Mon, 25 Feb 2013 07:58:05 +0000 (07:58 +0000)]
Added line number to debug lines as this will become the default

8 years agoOpps :( #3
Roland Häder [Fri, 22 Feb 2013 08:13:34 +0000 (08:13 +0000)]
Opps :( #3

8 years agoOpps :(
Roland Häder [Fri, 22 Feb 2013 08:10:51 +0000 (08:10 +0000)]
Opps :(

8 years agoIntroduced unsetCriteria()
Roland Häder [Fri, 22 Feb 2013 08:08:13 +0000 (08:08 +0000)]
Introduced unsetCriteria()

8 years agoOpps :(
Roland Häder [Fri, 22 Feb 2013 07:55:19 +0000 (07:55 +0000)]
Opps :(

8 years agoUpdated core:
Roland Häder [Fri, 22 Feb 2013 07:54:02 +0000 (07:54 +0000)]
Updated core:
- Make use of new interface IoHandler (as type-hint and class implementation)
- Used optional parameter to give all database "rows" unique name

8 years agoAdded interface IoHandler
Roland Häder [Fri, 22 Feb 2013 07:51:21 +0000 (07:51 +0000)]
Added interface IoHandler

8 years agoFixed handling of cache keys as empty results caused cache keys to exist. :(
Roland Häder [Fri, 22 Feb 2013 07:36:43 +0000 (07:36 +0000)]
Fixed handling of cache keys as empty results caused cache keys to exist. :(

8 years agoFixed searched criteria handling #3
Roland Häder [Fri, 22 Feb 2013 06:32:16 +0000 (06:32 +0000)]
Fixed searched criteria handling #3

8 years agoAnother fix attempt for search criteria
Roland Häder [Fri, 22 Feb 2013 05:26:08 +0000 (05:26 +0000)]
Another fix attempt for search criteria

8 years agoFixed search criteria handling, added more asserts, 'my-/_' prefix is not allowed
Roland Häder [Fri, 22 Feb 2013 05:14:56 +0000 (05:14 +0000)]
Fixed search criteria handling, added more asserts, 'my-/_' prefix is not allowed

8 years agoRemoved die()
Roland Häder [Fri, 22 Feb 2013 03:26:19 +0000 (03:26 +0000)]
Removed die()

8 years agoFixed criteria handling
Roland Häder [Fri, 22 Feb 2013 03:20:56 +0000 (03:20 +0000)]
Fixed criteria handling

8 years agoOpps :(
Roland Häder [Fri, 22 Feb 2013 01:34:52 +0000 (01:34 +0000)]
Opps :(

8 years agoTried to write an hostname extraction methods tries to get rid of comment lines ...
Roland Häder [Fri, 22 Feb 2013 01:33:30 +0000 (01:33 +0000)]
Tried to write an hostname extraction methods tries to get rid of comment lines (#) and key=value pairs as seen on Gentoo Linux

8 years agoIgnore local config
Roland Häder [Fri, 22 Feb 2013 00:56:00 +0000 (00:56 +0000)]
Ignore local config

8 years agoMake it public now :(
Roland Häder [Mon, 18 Feb 2013 05:06:36 +0000 (05:06 +0000)]
Make it public now :(

8 years agoThis seems to fit most cases
Roland Häder [Mon, 18 Feb 2013 05:05:24 +0000 (05:05 +0000)]
This seems to fit most cases

8 years agoUse this?
Roland Häder [Mon, 18 Feb 2013 05:02:43 +0000 (05:02 +0000)]
Use this?

8 years agoFixed variable group handling by unsetting right index
Roland Häder [Mon, 18 Feb 2013 04:50:06 +0000 (04:50 +0000)]
Fixed variable group handling by unsetting right index

8 years agoUsed self::createDebugInstance(__CLASS__)->debugOutput() instead of $fooInstance...
Roland Häder [Wed, 13 Feb 2013 20:47:08 +0000 (20:47 +0000)]
Used self::createDebugInstance(__CLASS__)->debugOutput() instead of $fooInstance->debugOutput() as this is the newer approach