forked from LedgerHQ/lib-ledger-core
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request LedgerHQ#32 from KhalilBellakrid/master
Prepare bump of libcore to 2.7.0
- Loading branch information
Showing
75 changed files
with
4,474 additions
and
46 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
// AUTOGENERATED FILE - DO NOT MODIFY! | ||
// This file generated by Djinni from ripple_like_wallet.djinni | ||
|
||
#include "RippleConfigurationDefaults.hpp" // my header | ||
|
||
namespace ledger { namespace core { namespace api { | ||
|
||
std::string const RippleConfigurationDefaults::RIPPLE_DEFAULT_API_ENDPOINT = {"https://data.ripple.com"}; | ||
|
||
std::string const RippleConfigurationDefaults::RIPPLE_OBSERVER_NODE_ENDPOINT_S2 = {"https://s2.ripple.com"}; | ||
|
||
std::string const RippleConfigurationDefaults::RIPPLE_OBSERVER_NODE_ENDPOINT_S3 = {"https://s3.ripple.com"}; | ||
|
||
std::string const RippleConfigurationDefaults::RIPPLE_OBSERVER_WS_ENDPOINT_S2 = {"wss://s2.ripple.com"}; | ||
|
||
std::string const RippleConfigurationDefaults::RIPPLE_OBSERVER_WS_ENDPOINT_S3 = {"wss://s3.ripple.com"}; | ||
|
||
std::string const RippleConfigurationDefaults::RIPPLE_DEFAULT_PORT = {"51234"}; | ||
|
||
} } } // namespace ledger::core::api |
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,36 @@ | ||
// AUTOGENERATED FILE - DO NOT MODIFY! | ||
// This file generated by Djinni from ripple_like_wallet.djinni | ||
|
||
#ifndef DJINNI_GENERATED_RIPPLECONFIGURATIONDEFAULTS_HPP | ||
#define DJINNI_GENERATED_RIPPLECONFIGURATIONDEFAULTS_HPP | ||
|
||
#include <string> | ||
#ifndef LIBCORE_EXPORT | ||
#if defined(_MSC_VER) | ||
#include <libcore_export.h> | ||
#else | ||
#define LIBCORE_EXPORT | ||
#endif | ||
#endif | ||
|
||
namespace ledger { namespace core { namespace api { | ||
|
||
class LIBCORE_EXPORT RippleConfigurationDefaults { | ||
public: | ||
virtual ~RippleConfigurationDefaults() {} | ||
|
||
static std::string const RIPPLE_DEFAULT_API_ENDPOINT; | ||
|
||
static std::string const RIPPLE_OBSERVER_NODE_ENDPOINT_S2; | ||
|
||
static std::string const RIPPLE_OBSERVER_NODE_ENDPOINT_S3; | ||
|
||
static std::string const RIPPLE_OBSERVER_WS_ENDPOINT_S2; | ||
|
||
static std::string const RIPPLE_OBSERVER_WS_ENDPOINT_S3; | ||
|
||
static std::string const RIPPLE_DEFAULT_PORT; | ||
}; | ||
|
||
} } } // namespace ledger::core::api | ||
#endif //DJINNI_GENERATED_RIPPLECONFIGURATIONDEFAULTS_HPP |
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,37 @@ | ||
// AUTOGENERATED FILE - DO NOT MODIFY! | ||
// This file generated by Djinni from ripple_like_wallet.djinni | ||
|
||
#ifndef DJINNI_GENERATED_RIPPLELIKEACCOUNT_HPP | ||
#define DJINNI_GENERATED_RIPPLELIKEACCOUNT_HPP | ||
|
||
#include <cstdint> | ||
#include <memory> | ||
#include <vector> | ||
#ifndef LIBCORE_EXPORT | ||
#if defined(_MSC_VER) | ||
#include <libcore_export.h> | ||
#else | ||
#define LIBCORE_EXPORT | ||
#endif | ||
#endif | ||
|
||
namespace ledger { namespace core { namespace api { | ||
|
||
class RippleLikeTransaction; | ||
class RippleLikeTransactionBuilder; | ||
class StringCallback; | ||
|
||
/**Class representing a Ripple account */ | ||
class LIBCORE_EXPORT RippleLikeAccount { | ||
public: | ||
virtual ~RippleLikeAccount() {} | ||
|
||
virtual void broadcastRawTransaction(const std::vector<uint8_t> & transaction, const std::shared_ptr<StringCallback> & callback) = 0; | ||
|
||
virtual void broadcastTransaction(const std::shared_ptr<RippleLikeTransaction> & transaction, const std::shared_ptr<StringCallback> & callback) = 0; | ||
|
||
virtual std::shared_ptr<RippleLikeTransactionBuilder> buildTransaction() = 0; | ||
}; | ||
|
||
} } } // namespace ledger::core::api | ||
#endif //DJINNI_GENERATED_RIPPLELIKEACCOUNT_HPP |
Oops, something went wrong.