Roland Haeder [Sun, 11 Jan 2015 20:51:25 +0000 (21:51 +0100)]
Continued with crawler (won't work with out-dated core):
- Added new method to check stack size for added CSV files
- Added empty stub for adding entries from loaded CSV file
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Tue, 22 Jul 2014 21:22:36 +0000 (23:22 +0200)]
Cleanup + added debug lines:
- cleaned up no longer used paths (previously copied to 'node' wit SVN)
- added noisy debug lines to fix an error in announcement
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Tue, 22 Jul 2014 18:54:28 +0000 (20:54 +0200)]
Continued:
- fixed bad handlig in NodeDistributedHashTableDatabaseWrapper
- improved other stuff (communicator, ...)
- used new 'core' (only chash.php)
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Wed, 25 Jun 2014 17:50:41 +0000 (19:50 +0200)]
Continued:
- added a Minable interface for minable blocks
- added a HashBlock class which can be "mined"
- added missing debug output in some state factories
- added 'booting' state for block miners
- used updated 'core'
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Mon, 12 May 2014 19:21:19 +0000 (21:21 +0200)]
Added crawler stuff:
- Added scanner class/interface and task class.
- Added a scanner class for looking for uploaded lists. They must be located in
data/url_lists/ .
- Rewritten both factories (scanner, source) to use createObjectByConfiguredName()
instead of direct createObjectByName(). This allows to set another class if you
don't like the original implementation.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Mon, 12 May 2014 19:20:50 +0000 (21:20 +0200)]
Added/renamed miner classes:
- Added communicator class for miner->node communication. This allows the miner
to claim found blocks and ask the network for more.
- Moved some miner tasks in sub directories
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Wed, 7 May 2014 20:18:54 +0000 (22:18 +0200)]
Continued:
- added new tasks for URL sources (I need to split it in separate tasks to maintain a good cycle time).
- removed deprecated files and directories
- added "demo" list for URL list source
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sun, 4 May 2014 10:38:33 +0000 (12:38 +0200)]
Added initial crawler stuff:
- Crawler->node communicator classes/interfaces
- Local and remote URL fetcher classes
- The crawler application has now states (currently init, booting, active)
- Also the communicator does now have states (currently init, active)
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sat, 3 May 2014 22:18:26 +0000 (00:18 +0200)]
Continued: ;-)
- deleted deprecated files
- moved 'chains' directory outside 'filter' as filter chains are no filters
- Now use GIT in shell scripts
- updated TODOs.txt
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Wed, 26 Mar 2014 19:34:29 +0000 (20:34 +0100)]
Some cleanups + created a "late bootstrap" task for DHTs:
- deleted no longer used classes (NodeDhtFooTask are used)
- added class for "late bootstrapping" of DHTs which will be used by all nodes
except 'boot'. This task will be started after the announcement answer came
back from the "upper nodes".
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Wed, 26 Mar 2014 18:47:44 +0000 (19:47 +0100)]
Continued 'hub' project:
- added public method addExtraTasks() to allow node-specific tasks
- such task is 'dht_bootstrap' for bootstrap nodes as they also need (and can)
bootstrap their DHT
- removed .gitattributes (from Subversion->GIT transition)
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Tue, 25 Mar 2014 21:39:07 +0000 (22:39 +0100)]
Continued:
- improved logging messages
- added logger for enableAcceptDhtBootstrap()
- moved this call from 'virigin' state to 'booting' as on 'virigin' state the DHT has
no records registered. This may require reconsidering.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Tue, 25 Mar 2014 21:39:07 +0000 (22:39 +0100)]
Continued:
- improved logging messages
- added logger for enableAcceptDhtBootstrap()
- moved this call from 'init' state to 'booting' as on 'init' state the DHT has
no records registered. This may require reconsidering.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Tue, 18 Mar 2014 22:46:41 +0000 (23:46 +0100)]
Continued with DHT stuff:
- added a very generic way to query the local DHT for key/value matches
- used this way to look for DHT nodes accepting bootstrap requests.
- renamed method DhtObjectFactory::createDhtObjectInstance to createDhtInstance
to match with its getter/setter mates.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Mon, 17 Mar 2014 22:28:28 +0000 (23:28 +0100)]
Setting the node instance in the handler saves another array element in
$messageArray and makes it a little faster because the "expensive" registry
calls are not used.
Signed-off-by: Roland Haeder <roland@mxchange.org>