Commit Graph

43 Commits

Author SHA1 Message Date
Dan Finlay f50a7a8fe8 Rename variable to be more understandable 2018-03-28 14:18:03 -07:00
Dan Finlay 73e5ae6e29 Fix incorrect promise instantiation 2018-02-15 15:32:48 -08:00
kumavis 8da0d0b28a Revert "NetworkController refactor for new EthClient interface" 2017-10-18 15:09:32 -07:00
kumavis dcf10f3d75 nonce-tracker - use blockTracker directly 2017-10-11 18:33:36 -07:00
frankiebee c2624dd1a0 fall back to `latest` if blockNumber is null 2017-08-24 00:02:06 -07:00
Dan Finlay c620123fab Enforce nonces as type string 2017-08-23 21:50:28 -07:00
Dan Finlay a122ec1f8b Use toNumber method 2017-08-23 21:37:07 -07:00
Dan Finlay 55c1a259b1 Fix network nonce parsing 2017-08-23 21:14:46 -07:00
Dan Finlay 855f4eeacb Pass nonce tests 2017-08-23 20:43:47 -07:00
Dan Finlay 04d40b114d Got all tests but one passing 2017-08-23 20:11:37 -07:00
Dan Finlay 221575a191 Fix new test, break an older maybe wrong one 2017-08-23 20:04:03 -07:00
Dan Finlay c4ab7a5779 Linted 2017-08-23 19:35:49 -07:00
Dan Finlay 1f0223d0a0 Simplify nonce calculation 2017-08-23 19:34:20 -07:00
kumavis 247965ebbe nonce-tracker - more debugging numbers for nonceDetails 2017-08-22 15:34:30 -07:00
kumavis 0a93b65a3d remove unused code 2017-08-22 15:06:54 -07:00
kumavis fb2c6cc8ac nonce-tracker - use ethjs-query 2017-08-22 14:33:54 -07:00
kumavis dc3e8d60ef nonce-tracker - fix var name 2017-08-22 14:24:09 -07:00
kumavis 6d596bd9e6 nonce-tracker - getlocalNextNonce - add entry to nonceDetails 2017-08-22 14:17:00 -07:00
kumavis a7e3dc8327 nonce-tracker - simplify _getlocalNextNonce 2017-08-22 14:15:56 -07:00
kumavis e43da3e4aa nonce-tracker - simplify getHighestNonce 2017-08-22 14:04:31 -07:00
kumavis b191649ef5 nonce-tracker - getHighestNonce doesnt need uniqued input 2017-08-22 13:58:26 -07:00
kumavis 98bc9b6656 nonce-tracker - make nonce strategy api and naming more symmetical 2017-08-22 13:52:15 -07:00
frankiebee 604c91f7b2 nonce-tracker - pass tests 2017-08-21 18:04:05 -07:00
frankiebee 7d34b22d78 clean up code 2017-08-21 17:04:47 -07:00
frankiebee 5c74f316a8 nonce-tracker - pass tests 2017-08-21 16:45:10 -07:00
frankiebee 1ffb406480 break out network nonce calc. 2017-08-18 16:05:21 -07:00
frankiebee 37f86e874f fix 0x0 nonce calc. 2017-08-18 15:44:32 -07:00
frankiebee f8eca95ca5 include pendingTxs in localNonce 2017-08-18 15:01:05 -07:00
frankiebee a5a32f3d57 use "localNonce" when the network returns a nonce that is lower then a known confirmed tx 2017-08-18 13:54:16 -07:00
kumavis 35a128db1e nonce-tracker - hotfix for provider proxying 2017-07-26 11:37:00 -07:00
kumavis b15a2baaf3 nonce-tracker - add raw baseNonceHex to nonceDetails 2017-07-26 11:09:02 -07:00
kumavis 0ef90fb1f0 tx controller + nonce tracker - record nonce components on txMeta 2017-07-26 10:40:08 -07:00
kumavis 39d28922de nonce-tracker - validation - add validation failing value type to error message 2017-07-26 10:16:08 -07:00
kumavis f16802e2d4 nonce-tracker - validation - add validation failing value to error message 2017-07-26 10:15:35 -07:00
kumavis 12d6f21627 transactions - block nonce-tracker while updating pending transactions 2017-07-18 15:27:15 -07:00
kumavis aa48ed34c4 nonce-tracker - fix lock mechanism to be a real mutex 2017-07-18 15:11:29 -07:00
kumavis d249da77d7 nonce-tracker - return nonce as integer 2017-07-18 13:59:56 -07:00
kumavis 4f9fc8014a nonce-tracker - validate nonce calc components 2017-07-18 12:48:16 -07:00
frankiebee 6d2cddaac9 fix nonce calculation order 2017-07-05 12:00:42 -07:00
frankiebee 690685d20d nonce-tracker: only check transactions that are not supposed to be ignored 2017-06-27 16:46:33 -07:00
frankiebee 92df9965eb fix nonceTracker 2017-06-21 19:51:00 -07:00
frankiebee fa8c74fe9b add a test for #getNonceLock 2017-06-21 17:28:19 -07:00
kumavis dab2fccc78 introduce nonce-tracker 2017-06-14 22:16:14 -07:00