]> git.mxchange.org Git - hub.git/blobdiff - application/hub/interfaces/package/class_Receivable.php
Rewrote processMessage() to accept whole arrays + added filter for handling
[hub.git] / application / hub / interfaces / package / class_Receivable.php
index 126247bdfca788190e0dbea614096152d71ae0f2..9fd5226a70bba99336f8b7881977e60a48b38002 100644 (file)
@@ -134,6 +134,17 @@ interface Receivable extends FrameworkInterface {
         * @return      void
         */
        function handleMultipleMessages ();
+
+       /**
+        * Feeds the hash and sender (as recipient for the 'sender' reward) to the
+        * miner's queue, unless the message is not a "reward claim" message as this
+        * leads to an endless loop. You may wish to run the miner to get some
+        * reward ("HubCoins") for "mining" this hash.
+        *
+        * @param       $decodedDataArray       Array with decoded message
+        * @return      void
+        */
+       function feedHashToMiner (array $decodedDataArray);
 }
 
 // [EOF]