diff options
author | frankiebee <frankie.diamond@gmail.com> | 2018-04-26 02:13:51 +0800 |
---|---|---|
committer | frankiebee <frankie.diamond@gmail.com> | 2018-04-26 02:13:51 +0800 |
commit | 8ffce8b59dc95ffa1af72293f40c21f78fd103bb (patch) | |
tree | 006ce8bc8dc2210c2cb0fdc3e3e97aa9ad0e39f4 /app/scripts/controllers/transactions/pending-tx-tracker.js | |
parent | 621e9334bc7009f7ccd7c1536df00ff6f8240bd3 (diff) | |
download | tangerine-wallet-browser-8ffce8b59dc95ffa1af72293f40c21f78fd103bb.tar tangerine-wallet-browser-8ffce8b59dc95ffa1af72293f40c21f78fd103bb.tar.gz tangerine-wallet-browser-8ffce8b59dc95ffa1af72293f40c21f78fd103bb.tar.bz2 tangerine-wallet-browser-8ffce8b59dc95ffa1af72293f40c21f78fd103bb.tar.lz tangerine-wallet-browser-8ffce8b59dc95ffa1af72293f40c21f78fd103bb.tar.xz tangerine-wallet-browser-8ffce8b59dc95ffa1af72293f40c21f78fd103bb.tar.zst tangerine-wallet-browser-8ffce8b59dc95ffa1af72293f40c21f78fd103bb.zip |
transactions - more docs and clean ups
Diffstat (limited to 'app/scripts/controllers/transactions/pending-tx-tracker.js')
-rw-r--r-- | app/scripts/controllers/transactions/pending-tx-tracker.js | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/app/scripts/controllers/transactions/pending-tx-tracker.js b/app/scripts/controllers/transactions/pending-tx-tracker.js index f7c9993b3..6e2fcb40b 100644 --- a/app/scripts/controllers/transactions/pending-tx-tracker.js +++ b/app/scripts/controllers/transactions/pending-tx-tracker.js @@ -9,10 +9,10 @@ const EthQuery = require('ethjs-query') As well as continues broadcast while in the pending state <br> @param config {object} - non optional configuration object consists of: - @property {Object} config.provider - @property {Object} config.nonceTracker see nonce tracker - @property {function} config.getPendingTransactions a function for getting an array of transactions, - @property {function} config.publishTransaction a async function for publishing raw transactions, + @param {Object} config.provider - A network provider. + @param {Object} config.nonceTracker see nonce tracker + @param {function} config.getPendingTransactions a function for getting an array of transactions, + @param {function} config.publishTransaction a async function for publishing raw transactions, @class @@ -117,7 +117,7 @@ class PendingTransactionTracker extends EventEmitter { /** resubmits the individual txMeta used in resubmitPendingTxs - @param txMeta {object} - txMeta object + @param txMeta {Object} - txMeta object @param latestBlockNumber {string} - hex string for the latest block number @emits tx:retry @returns txHash {string} @@ -147,7 +147,7 @@ class PendingTransactionTracker extends EventEmitter { } /** Ask the network for the transaction to see if it has been include in a block - @param txMeta {object} - the txMeta object + @param txMeta {Object} - the txMeta object @emits tx:failed @emits tx:confirmed @emits tx:warning @@ -208,7 +208,7 @@ class PendingTransactionTracker extends EventEmitter { /** checks to see if a confirmed txMeta has the same nonce - @param txMeta {object} - txMeta object + @param txMeta {Object} - txMeta object @returns {boolean} */ async _checkIfNonceIsTaken (txMeta) { |