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

Commit

Permalink
Adds phase 2 retries
Browse files Browse the repository at this point in the history
  • Loading branch information
NejcZdovc committed Nov 12, 2018
1 parent 314695c commit 5350190
Show file tree
Hide file tree
Showing 9 changed files with 203 additions and 48 deletions.
5 changes: 5 additions & 0 deletions include/bat/ledger/ledger.h
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,11 @@ LEDGER_EXPORT enum ContributionRetry {
STEP_PAYLOAD = 3, // Phase 1
STEP_REGISTER = 4, // Phase 1
STEP_VIEWING = 5, // Phase 1
STEP_WINNERS = 6, // Phase 1
STEP_PREPARE = 7, // Phase 2
STEP_PROOF = 8, // Phase 2
STEP_VOTE = 9, // Phase 2
STEP_FINAL = 10 // Phase 2
};

using PublisherBannerCallback = std::function<void(std::unique_ptr<ledger::PublisherBanner> banner)>;
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 5350190

Please sign in to comment.