-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Renamed log levels, hoping that helps windows somehow?
- Loading branch information
1 parent
b3a2cc7
commit f132bbd
Showing
43 changed files
with
375 additions
and
399 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...lient/crypto/openssl_signature_verifier.h → ...lient/crypto/openssl_signature_verifier.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#ifndef CHROMIUM_IPFS_GATEWAYS_H_ | ||
#define CHROMIUM_IPFS_GATEWAYS_H_ | ||
|
||
namespace ipfs::ctx { | ||
class GatewayConfig; | ||
|
||
bool LoadGatewaysFromEnvironmentVariable(GatewayConfig&); | ||
void LoadStaticGatewayList(GatewayConfig&); | ||
|
||
} // namespace ipfs | ||
|
||
#endif // CHROMIUM_IPFS_GATEWAYS_H_ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
#ifndef IPFS_CHROMIUM_GATEWAY_CONFIG_H | ||
#define IPFS_CHROMIUM_GATEWAY_CONFIG_H | ||
|
||
#include <ipfs_client/gateway_spec.h> | ||
|
||
#include <cstdint> | ||
#include <optional> | ||
#include <string_view> | ||
|
||
namespace ipfs::ctx { | ||
class GatewayConfig { | ||
public: | ||
virtual ~GatewayConfig() noexcept {} | ||
virtual std::optional<GatewaySpec> GetGateway(std::size_t index) const = 0; | ||
virtual unsigned GetGatewayRate(std::string_view) = 0; | ||
virtual void SetGatewayRate(std::string_view, unsigned) = 0; | ||
virtual void AddGateway(std::string_view) = 0; | ||
}; | ||
} // namespace ipfs::ctx | ||
|
||
#endif // IPFS_CHROMIUM_GATEWAY_CONFIG_H |
Oops, something went wrong.