-
Notifications
You must be signed in to change notification settings - Fork 973
Conversation
geoIP is done without any interaction-with/reporting-to brave software exchange information is downloaded for all country codes from the ledger
@@ -435,8 +435,14 @@ WindowStore | |||
} | |||
}, | |||
hasBitcoinHandler: boolean, // brave browser has a `bitcoin:` URI handler | |||
paymentIMG: string, // the QR code equivalent of `paymentURL` expressed as "data:image/...;base64,..." | |||
error: { // non-null if the last updateLedgerInfo happened concurrently with an error | |||
countryCode: // ISO3166 2-letter code for country of browser's location |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
string
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1
please squash commits |
@@ -32,6 +32,7 @@ const session = electron.session | |||
const acorn = require('acorn') | |||
const ledgerBalance = require('ledger-balance') | |||
const ledgerClient = require('ledger-client') | |||
const ledgerGeoIP = require('ledger-geoip') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please remove all providers in https://github.com/brave/ledger-geoip/blob/master/index.js that do not offer HTTPS
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1
OBE'd by #3831 |
Please add QA steps or label no-qa-needed as appropriate. Thanks! |
bump for QA steps |
Steps to QA:
|
report
ledgerInfo.countryCode
andledgerInfo.exchangeInfo
for a new "Add Funds..." dialog.auditor: @diracdeltas