brave-intl / bat-native-confirmations Goto Github PK
View Code? Open in Web Editor NEWLicense: Mozilla Public License 2.0
License: Mozilla Public License 2.0
Subtasks
AdSustained
AdSustained
to reward end userWe need this in order to distinguish the cases of:
As part of the security review against challenge-bypass-ristretto-ffi Token::unblind
and BatchDLEQProof::verify
were combined to make the library more misuse resistant.
The the combined function looks like:
pub fn verify_and_unblind(tokens: &[Token], signed_tokens: &[SignedToken], proof: BatchDLEQProof, public_key: PublicKey) -> Vec<UnblindedToken>
We need to change the calling code to accommodate.
Speaking with @NejcZdovc and @bridiver we should create a separate VLOG
macro (with Chromium matching log levels) in bat-native-confirmations
that proxies back to the client. See LOG
macro for implementation.
Subtasks:
IssuersInfo
SetCatalogIssuers
get_catalog
to use IssuersInfo
provided to SetCatalogIssuers
Implement Log
as a proxy to bat-native-ledger Log
If the public key fails to validate in the following code:
// Validate public key
auto catalog_issuers = confirmations_->GetCatalogIssuers();
auto iterator = catalog_issuers.find(public_key_base64);
if (iterator == catalog_issuers.end()) {
BLOG(ERROR) << "Response public_key: " << public_key_base64
<< " was not found in the catalog issuers";
OnRedeem(FAILED);
return;
}
auto issuer_name = iterator->second;
then a user may not be rewarded for viewing an Ad if the Catalog is stale as OnRedeem(FAILED)
removes the unblinded token and does not try again
Subtasks:
OnTimer
as a proxy to bat-native-ledger OnTimer
OnTimer
to trigger events based up on specSetTimer
as a proxy to bat-native-ledger SetTimer
SetTimer
to schedule events based up on specKillTimer
as a proxy to bat-native-ledger KillTimer
KillTimer
to unschedule events based up on specAdd support for both staging and production Ads Serve URLs based upon _is_production
boolean flag
Implement CanShowAd
by refactoring confirmations_ready_for_ad_showing
Determine how often we should redeem payment tokens. Currently set to browser startup and once per day thereafter with no jitter.
Confirmations fails to initialize when creating a new wallet. Restarting browser resolves issue.
Subtasks:
HappyHTTP
to use net::URLFetcher
I need to investigate further and then work with eV to make possible changes to Challenge Bypass Ristretto FFI
Subtasks:
Save
as a proxy to bat-native-ledger Save
Load
as a proxy to bat-native-ledger Load
Reset
as a proxy to bat-native-ledger Reset
Subtasks:
WalletInfo
data structure, see WALLET_INFO_ST
in bat-native-ledger for data structureSetWalletInfo
WalletInfo
provided to SetWalletInfo
Confirmations steps crash if invalid values are passed, i.e. empty wallet_info
data structure
Subtasks:
Initialize
to use real data as currently initializes testsA declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.