polyswarmclient.ethereum.transaction.base
¶
Module Contents¶
-
polyswarmclient.ethereum.transaction.base.
LOG_MSG_ENGINE_TOO_SLOW
= PLEASE REVIEW YOUR SCANNING LOGIC.[source]¶ Bounty inactive errors indicate that the microengine received the bounty, but was unable to respond to the bounty within the time window. Such errors are considered fatal during testing so you can easily identify them. If your engine is unable to respond within the time window on the live PolySwarm network, you risk losing the bid amount of the bounty at hand. We strongly encourage you to review your artifact scan process to identify areas where engine speed can be improved.
-
class
polyswarmclient.ethereum.transaction.base.
EthereumTransaction
(client, verifiers)[source]¶ Used to verify and post groups of transactions that make up a specific action.
For instance, when approving some funds to move, and calling a contract function that will consumer them.
-
__sign_transactions
(self, transactions)[source]¶ Sign a set of transactions
- Parameters
transactions (List[Transaction]) – The transactions to sign
- Returns
The signed transactions
- Return type
List[Transaction]
-
has_required_event
(self, transaction_events)[source]¶ Checks for existence of events in transaction logs, ensuring successful completion
- Returns
True if the required event was in the list, false otherwise
-