]>
git.mxchange.org Git - hub.git/log
Roland Haeder [Tue, 22 Dec 2015 20:53:53 +0000 (21:53 +0100)]
Yepp, the 2nd check was double + re-aranged the log messages that before
clearing "operation in progress" all original data is logged.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Tue, 22 Dec 2015 20:45:48 +0000 (21:45 +0100)]
In case of non-blocking connections (and that is for 99.9999% the case here)
the "error" "operation in progress" is no error and needs to be cleared in
PHP's socket facility + also treated by this code as okay.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Tue, 22 Dec 2015 20:23:09 +0000 (21:23 +0100)]
Added more logging.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Tue, 22 Dec 2015 20:12:13 +0000 (21:12 +0100)]
Removal of socket added.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Fri, 18 Dec 2015 14:39:26 +0000 (15:39 +0100)]
Merge branch 'master' of git.mxchange.org:/var/cache/git/repos/hub
Roland Haeder [Mon, 14 Dec 2015 17:28:11 +0000 (18:28 +0100)]
Wrong message, hub reward is not done through UUID.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Thu, 19 Nov 2015 21:47:20 +0000 (22:47 +0100)]
Commented in a needed debug line
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Fri, 13 Nov 2015 22:28:25 +0000 (23:28 +0100)]
Continued a bit:
- added correct test for UUID (will be later moved to 'core')
- moved config entry 'extension_foo_loaded' to core's config.php (DONT TOUCH IT)
- updated 'core'
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Fri, 30 Oct 2015 14:12:11 +0000 (15:12 +0100)]
Updated 'core'.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Tue, 6 Oct 2015 18:46:00 +0000 (20:46 +0200)]
Continued a bit:
- added debug message
- updated 'core' (with not-so-good code places)
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Tue, 6 Oct 2015 18:29:17 +0000 (20:29 +0200)]
Moved some code to BaseListener and called it + updated 'core'.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sun, 4 Oct 2015 16:21:27 +0000 (18:21 +0200)]
Updated 'core'.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sat, 12 Sep 2015 20:47:54 +0000 (22:47 +0200)]
Added config entry for IPC socket file name.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sat, 12 Sep 2015 20:37:20 +0000 (22:37 +0200)]
Moved to 'core'.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sat, 12 Sep 2015 19:13:32 +0000 (21:13 +0200)]
Continued with project:
- moved some classes/files/methods to 'core'
- added file-based socket listener (floods output, unfinished)
- updated 'core'
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sat, 12 Sep 2015 06:07:53 +0000 (08:07 +0200)]
Renamed class BaseTags to BaseTag + added file-bases socket listener (may
produce a lot output). This listener will later serve as the communicator
socket to attached applications.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sat, 12 Sep 2015 05:45:42 +0000 (07:45 +0200)]
This interface can be moved to 'core' + removed parameter nodeInstance.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Fri, 11 Sep 2015 22:51:16 +0000 (00:51 +0200)]
Also this ... :-/ Getting late here.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Fri, 11 Sep 2015 22:50:45 +0000 (00:50 +0200)]
Moved to contrib.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Fri, 11 Sep 2015 22:49:20 +0000 (00:49 +0200)]
Wording updated.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Fri, 11 Sep 2015 22:42:33 +0000 (00:42 +0200)]
Continued:
- got rid of some array fields as the miner doesn't need this.
- Introduced TAG_SELF_CONNECT and TAG_CLAIM_MINING_REWARD constants
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Thu, 3 Sep 2015 20:13:32 +0000 (22:13 +0200)]
Added code ...
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Thu, 3 Sep 2015 20:10:14 +0000 (22:10 +0200)]
Added exception InvalidPrivateKeyHashException and checked if private key's hash is not empty.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Thu, 3 Sep 2015 19:58:41 +0000 (21:58 +0200)]
Also check for empty hash here, too.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Thu, 3 Sep 2015 19:56:03 +0000 (21:56 +0200)]
Merge branch 'latest-core/crawler'
Roland Haeder [Thu, 3 Sep 2015 19:55:19 +0000 (21:55 +0200)]
Updated 'core'.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Thu, 3 Sep 2015 19:54:03 +0000 (21:54 +0200)]
Added check on empty hash
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Thu, 3 Sep 2015 19:31:13 +0000 (21:31 +0200)]
Updated 'core'.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Thu, 3 Sep 2015 19:26:00 +0000 (21:26 +0200)]
Fixed constant usage
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Tue, 1 Sep 2015 16:16:57 +0000 (18:16 +0200)]
Started with index page for welcoming the user and ask him to start searching the node.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Thu, 27 Aug 2015 01:37:44 +0000 (03:37 +0200)]
Updated 'core'.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Thu, 27 Aug 2015 01:11:26 +0000 (03:11 +0200)]
Use factory instead of direct registry key.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Tue, 25 Aug 2015 17:50:29 +0000 (19:50 +0200)]
Added initial stuff for FUSE virtual file system + updated 'core'.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Tue, 25 Aug 2015 16:48:17 +0000 (18:48 +0200)]
Updated 'core' + renamed 'main' -> 'classes'.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Tue, 25 Aug 2015 16:24:46 +0000 (18:24 +0200)]
Updated 'core'.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sat, 22 Aug 2015 09:47:18 +0000 (11:47 +0200)]
Removed getNodeInstance() and setNodeInstance(). Please now use the following
expression to get a node instance:
<?php
$nodeInstance = NodeObjectFactory::createNodeInstance();
?>
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sat, 22 Aug 2015 09:44:49 +0000 (11:44 +0200)]
setNodeInstance is no longer available through BaseListener as BaseListener is now in core.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sat, 22 Aug 2015 09:20:40 +0000 (11:20 +0200)]
Fixed small comment + added note for php-scrypt
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sun, 16 Aug 2015 09:39:14 +0000 (11:39 +0200)]
This config entry has been separated in latest 'core' changes.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sun, 16 Aug 2015 09:23:24 +0000 (11:23 +0200)]
No advertising ... (import from city)
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sun, 16 Aug 2015 09:12:58 +0000 (11:12 +0200)]
First initial import for a web interface, this will later allow to browse and
search within the hub network.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sun, 9 Aug 2015 20:21:48 +0000 (22:21 +0200)]
Some messages were to noisy and are now no longer needed (still may be helpful
later). So let's comment them out only.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sun, 9 Aug 2015 20:18:27 +0000 (22:18 +0200)]
Updated 'core'.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Tue, 28 Jul 2015 17:25:26 +0000 (19:25 +0200)]
Updated 'core'.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sat, 4 Jul 2015 04:18:13 +0000 (06:18 +0200)]
And missed constant.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sat, 4 Jul 2015 04:17:07 +0000 (06:17 +0200)]
Updated 'core' for PathWriteProtectedException
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sat, 4 Jul 2015 04:12:49 +0000 (06:12 +0200)]
Updated 'core' as an exception was missing + a small fix.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Fri, 3 Jul 2015 09:53:33 +0000 (11:53 +0200)]
Updated 'core'.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Mon, 29 Jun 2015 03:15:27 +0000 (05:15 +0200)]
Updated 'core' (checks on startup and interval delays added).
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Mon, 29 Jun 2015 00:45:08 +0000 (02:45 +0200)]
Also moved this away to 'core'.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Mon, 29 Jun 2015 00:41:32 +0000 (02:41 +0200)]
No need for this.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Mon, 29 Jun 2015 00:40:34 +0000 (02:40 +0200)]
Moved 'protocolName' to 'core'.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Mon, 29 Jun 2015 00:31:47 +0000 (02:31 +0200)]
Added missing method doShutdown().
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sun, 28 Jun 2015 19:23:17 +0000 (21:23 +0200)]
Added missing method.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Thu, 11 Jun 2015 05:19:12 +0000 (07:19 +0200)]
Typo fixed
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Wed, 10 Jun 2015 19:46:00 +0000 (21:46 +0200)]
This exception is now part of 'core'.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Wed, 10 Jun 2015 19:23:08 +0000 (21:23 +0200)]
- Renamed InvalidStateException to UnexpectedStateException
- Updated 'core'
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Fri, 29 May 2015 02:23:31 +0000 (04:23 +0200)]
Updated core as $stateInstance is now in BaseFrameworkSystem
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Wed, 27 May 2015 02:24:23 +0000 (04:24 +0200)]
Some noisy debug lines commented out.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Wed, 27 May 2015 02:16:46 +0000 (04:16 +0200)]
Better name for the miner: It "mines" for Hubcoins.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Wed, 27 May 2015 01:46:34 +0000 (03:46 +0200)]
It is 'Hubcoin' not 'Hubcoins' and also not 'HubCoin'. :-)
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Wed, 27 May 2015 01:42:41 +0000 (03:42 +0200)]
Updated 'core'.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Wed, 27 May 2015 01:33:40 +0000 (03:33 +0200)]
Updated to latest 'core' + convertToClassName() and convertDashesToUnderscores() are now static.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Tue, 26 May 2015 22:45:43 +0000 (00:45 +0200)]
Updated 'core' (for ConfigValueTypeUnsupportedException).
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Tue, 26 May 2015 22:32:48 +0000 (00:32 +0200)]
Added debug lines.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Tue, 26 May 2015 22:24:18 +0000 (00:24 +0200)]
Updated 'core'.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Tue, 26 May 2015 22:21:12 +0000 (00:21 +0200)]
'scrypt' is better now a "feature" which needs to be tested and enabled in a pre-filter.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Tue, 26 May 2015 21:54:42 +0000 (23:54 +0200)]
Updated 'core' + more usage of FileNotFoundException + updated index.php
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Häder [Tue, 26 May 2015 21:13:54 +0000 (23:13 +0200)]
Updated 'core'.
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Haeder [Tue, 26 May 2015 19:51:34 +0000 (21:51 +0200)]
Better use isReadableFile() instead of plain is_readable() is the later will
thrown an E_WARNING if the path is not within open_basedir. isReadableFile() uses
isReachableFilePath() which does this check.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sun, 24 May 2015 22:40:19 +0000 (00:40 +0200)]
Also don't forget to add it here ....
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sun, 24 May 2015 22:37:10 +0000 (00:37 +0200)]
Also add it here ...
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sun, 24 May 2015 22:34:30 +0000 (00:34 +0200)]
Added missing my-node-id ...
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sun, 24 May 2015 22:31:05 +0000 (00:31 +0200)]
Log full array.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sun, 24 May 2015 21:10:58 +0000 (23:10 +0200)]
This should fix it ... ;-)
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sun, 24 May 2015 21:06:11 +0000 (23:06 +0200)]
Noisy debug line re-enabled.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sun, 24 May 2015 20:45:23 +0000 (22:45 +0200)]
Also here?
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sun, 24 May 2015 20:37:02 +0000 (22:37 +0200)]
Also here ???? ;-(
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sun, 24 May 2015 20:32:39 +0000 (22:32 +0200)]
And these ...
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sun, 24 May 2015 20:30:53 +0000 (22:30 +0200)]
Fixed (opps).
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sun, 24 May 2015 20:29:12 +0000 (22:29 +0200)]
Also don't miss it here ...
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sun, 24 May 2015 20:28:14 +0000 (22:28 +0200)]
Added also here ...
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sun, 24 May 2015 20:25:51 +0000 (22:25 +0200)]
Added missing node-id as this is needed in first announcement.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sun, 24 May 2015 18:39:56 +0000 (20:39 +0200)]
Added missing you-private-key-hash
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sun, 24 May 2015 18:37:22 +0000 (20:37 +0200)]
Typos fixed.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sun, 24 May 2015 18:35:49 +0000 (20:35 +0200)]
No more needed to get message data as it has already been provided by 1st parameter.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sun, 24 May 2015 18:32:23 +0000 (20:32 +0200)]
Also don't do this ...
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sun, 24 May 2015 18:29:50 +0000 (20:29 +0200)]
No, post-handling is the right one, not post-processing ...
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sun, 24 May 2015 18:21:15 +0000 (20:21 +0200)]
Fixed array elements.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sun, 24 May 2015 18:18:47 +0000 (20:18 +0200)]
Opps, missed this.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sun, 24 May 2015 18:14:53 +0000 (20:14 +0200)]
The package hash needs to be copied to the message array as it needs to be
handled over to the miner after the message (e.g. initial announcement message)
has been processed and handled.
For example, when the node is booting, the announcement will contain the node
id. The node id is required to assign the "mining reward" to the proper node
again. Because of this, the announcement message must be handled before the
hash is being handled over to the miner.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Thu, 21 May 2015 01:45:16 +0000 (03:45 +0200)]
Moved communicatorInstance to 'core'.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Thu, 21 May 2015 01:38:50 +0000 (03:38 +0200)]
Added real genesis block producer (not funtional).
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Tue, 12 May 2015 00:07:31 +0000 (02:07 +0200)]
Updated 'core'.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Tue, 12 May 2015 00:03:20 +0000 (02:03 +0200)]
Fixed parser errors + improved find-bad-php.sh with a lint check.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Mon, 11 May 2015 23:58:16 +0000 (01:58 +0200)]
Finally fixed???
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Mon, 11 May 2015 23:56:45 +0000 (01:56 +0200)]
Fixed parser error.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Mon, 11 May 2015 23:55:35 +0000 (01:55 +0200)]
Also submit private key hash in all messages (yepp, getting more ...).
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Mon, 11 May 2015 23:48:36 +0000 (01:48 +0200)]
Added more debug stuff + $content needs to be a package hash generated for.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Mon, 11 May 2015 23:39:04 +0000 (01:39 +0200)]
Wrong naming ... :-(
Signed-off-by: Roland Haeder <roland@mxchange.org>