Merge branch 'master' into NewUI

feature/default_network_editable
kumavis 7 years ago committed by GitHub
commit a456baea8b
  1. 4
      CHANGELOG.md
  2. 2
      app/manifest.json
  3. 5
      app/scripts/controllers/blacklist.js
  4. 2
      package.json

@ -5,6 +5,10 @@
- Replace account scren with an account drop-down menu. - Replace account scren with an account drop-down menu.
- Replace confusing buttons with an new account-specific drop-down menu. - Replace confusing buttons with an new account-specific drop-down menu.
## 3.9.5 2017-8-04
- Improved phishing detection configuration update rate
## 3.9.4 2017-8-03 ## 3.9.4 2017-8-03
- Fixed bug that prevented transactions from being rejected. - Fixed bug that prevented transactions from being rejected.

@ -1,7 +1,7 @@
{ {
"name": "MetaMask", "name": "MetaMask",
"short_name": "Metamask", "short_name": "Metamask",
"version": "3.9.4", "version": "3.9.5",
"manifest_version": 2, "manifest_version": 2,
"author": "https://metamask.io", "author": "https://metamask.io",
"description": "Ethereum Browser Extension", "description": "Ethereum Browser Extension",

@ -4,8 +4,8 @@ const PhishingDetector = require('eth-phishing-detect/src/detector')
// compute phishing lists // compute phishing lists
const PHISHING_DETECTION_CONFIG = require('eth-phishing-detect/src/config.json') const PHISHING_DETECTION_CONFIG = require('eth-phishing-detect/src/config.json')
// every ten minutes // every four minutes
const POLLING_INTERVAL = 10 * 60 * 1000 const POLLING_INTERVAL = 4 * 60 * 1000
class BlacklistController { class BlacklistController {
@ -41,6 +41,7 @@ class BlacklistController {
scheduleUpdates () { scheduleUpdates () {
if (this._phishingUpdateIntervalRef) return if (this._phishingUpdateIntervalRef) return
this.updatePhishingList()
this._phishingUpdateIntervalRef = setInterval(() => { this._phishingUpdateIntervalRef = setInterval(() => {
this.updatePhishingList() this.updatePhishingList()
}, POLLING_INTERVAL) }, POLLING_INTERVAL)

@ -68,7 +68,7 @@
"eth-bin-to-ops": "^1.0.1", "eth-bin-to-ops": "^1.0.1",
"eth-contract-metadata": "^1.1.4", "eth-contract-metadata": "^1.1.4",
"eth-hd-keyring": "^1.1.1", "eth-hd-keyring": "^1.1.1",
"eth-phishing-detect": "^1.1.0", "eth-phishing-detect": "^1.1.4",
"eth-query": "^2.1.2", "eth-query": "^2.1.2",
"eth-sig-util": "^1.2.2", "eth-sig-util": "^1.2.2",
"eth-simple-keyring": "^1.1.1", "eth-simple-keyring": "^1.1.1",

Loading…
Cancel
Save