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>
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>
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>
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>
This interface can be moved to 'core' + removed parameter nodeInstance. Signed-off-by: Roland Haeder <roland@mxchange.org>
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>
Added exception InvalidPrivateKeyHashException and checked if private key's hash is not empty. Signed-off-by: Roland Haeder <roland@mxchange.org>