Skip to content
This repository has been archived by the owner on Dec 12, 2018. It is now read-only.

Commit

Permalink
Merge pull request #175 from brave-intl/contribution-retries
Browse files Browse the repository at this point in the history
Adds retries to contribution
  • Loading branch information
NejcZdovc committed Nov 13, 2018
1 parent 5d514c3 commit 9045b87
Show file tree
Hide file tree
Showing 10 changed files with 704 additions and 138 deletions.
4 changes: 4 additions & 0 deletions include/bat/ledger/ledger_callback_handler.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ LEDGER_EXPORT enum Result {
BAD_REGISTRATION_RESPONSE = 11,
WALLET_CREATED = 12,
GRANT_NOT_FOUND = 13,

AC_TABLE_EMPTY = 14,
NOT_ENOUGH_FUNDS = 15,
TIP_ERROR = 16,
// some more useful result codes should go here
};

Expand Down
5 changes: 3 additions & 2 deletions include/bat/ledger/ledger_client.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,9 @@ LEDGER_EXPORT enum LogLevel {
LOG_ERROR = 1,
LOG_WARNING = 2,
LOG_INFO = 3,
LOG_REQUEST = 4,
LOG_RESPONSE = 5
LOG_DEBUG = 4,
LOG_REQUEST = 5,
LOG_RESPONSE = 6
};

LEDGER_EXPORT enum URL_METHOD {
Expand Down
Loading

0 comments on commit 9045b87

Please sign in to comment.