The package hash needs to be copied to the message array as it needs to be
authorRoland Haeder <roland@mxchange.org>
Sun, 24 May 2015 18:14:53 +0000 (20:14 +0200)
committerRoland Haeder <roland@mxchange.org>
Sun, 24 May 2015 18:14:53 +0000 (20:14 +0200)
commitedd299429d84e0956d14ade73a26e894e3e5c313
treecd7047e72f0ec426bbcec5cc2dc1ac8e3e418dce
parent4be3a155bbbd43dc51a294fee04049bc7147da50
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>
16 files changed:
application/hub/interfaces/filter/class_FilterablePackage.php
application/hub/interfaces/package/class_Receivable.php
application/hub/main/chains/class_PackageFilterChain.php
application/hub/main/factories/chain/class_PackageFilterChainFactory.php
application/hub/main/filter/class_BaseHubFilter.php
application/hub/main/filter/package/class_PackageHashToMinerFilter.php
application/hub/main/filter/tags/answer/class_PackageAnnouncementAnswerTagFilter.php
application/hub/main/filter/tags/answer/class_PackageDhtBootstrapAnswerTagFilter.php
application/hub/main/filter/tags/answer/class_PackageRequestNodeListAnswerTagFilter.php
application/hub/main/filter/tags/class_PackageAnnouncementTagFilter.php
application/hub/main/filter/tags/class_PackageDhtBootstrapTagFilter.php
application/hub/main/filter/tags/class_PackageRequestNodeListTagFilter.php
application/hub/main/filter/tags/class_PackageSelfConnectTagFilter.php
application/hub/main/package/class_NetworkPackage.php
application/hub/main/tools/class_HubTools.php
core