forked from monero-project/monero
-
Notifications
You must be signed in to change notification settings - Fork 116
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 #1662 from darcys22/follow-smart-contract
Follow smart contract
- Loading branch information
Showing
89 changed files
with
5,373 additions
and
319 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
|
||
macro(system_or_submodule BIGNAME smallname pkgconf subdir) | ||
option(FORCE_${BIGNAME}_SUBMODULE "force using ${smallname} submodule" OFF) | ||
if(NOT BUILD_STATIC_DEPS AND NOT FORCE_${BIGNAME}_SUBMODULE AND NOT FORCE_ALL_SUBMODULES) | ||
pkg_check_modules(${BIGNAME} ${pkgconf} IMPORTED_TARGET) | ||
endif() | ||
if(${BIGNAME}_FOUND) | ||
add_library(${smallname} INTERFACE) | ||
if(NOT TARGET PkgConfig::${BIGNAME} AND CMAKE_VERSION VERSION_LESS "3.21") | ||
# Work around cmake bug 22180 (PkgConfig::THING not set if no flags needed) | ||
else() | ||
target_link_libraries(${smallname} INTERFACE PkgConfig::${BIGNAME}) | ||
endif() | ||
message(STATUS "Found system ${smallname} ${${BIGNAME}_VERSION}") | ||
else() | ||
message(STATUS "using ${smallname} submodule") | ||
add_subdirectory(${subdir} EXCLUDE_FROM_ALL) | ||
endif() | ||
if(NOT TARGET ${smallname}::${smallname}) | ||
add_library(${smallname}::${smallname} ALIAS ${smallname}) | ||
endif() | ||
endmacro() |
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 |
---|---|---|
|
@@ -28,6 +28,7 @@ | |
|
||
#include <string> | ||
#include <string_view> | ||
#include <cstdint> | ||
|
||
namespace epee::misc_utils::parse | ||
{ | ||
|
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
Submodule oxen-encoding
deleted from
f6c516
Submodule oxen-mq
updated
33 files
+9 −6 | .drone.jsonnet | |
+12 −40 | CMakeLists.txt | |
+0 −14 | liblokimq.pc.in | |
+0 −4 | lokimq/address.h | |
+0 −4 | lokimq/auth.h | |
+0 −4 | lokimq/base32z.h | |
+0 −4 | lokimq/base64.h | |
+0 −4 | lokimq/batch.h | |
+0 −4 | lokimq/bt_serialize.h | |
+0 −4 | lokimq/bt_value.h | |
+0 −4 | lokimq/connections.h | |
+0 −4 | lokimq/hex.h | |
+0 −10 | lokimq/lokimq.h | |
+0 −4 | lokimq/message.h | |
+0 −2 | lokimq/variant.h | |
+0 −4 | lokimq/version.h | |
+1 −1 | oxen-encoding | |
+0 −45 | oxenmq/base32z.h | |
+0 −46 | oxenmq/base64.h | |
+0 −12 | oxenmq/bt_producer.h | |
+0 −48 | oxenmq/bt_serialize.h | |
+0 −45 | oxenmq/bt_value.h | |
+35 −1 | oxenmq/connections.cpp | |
+0 −47 | oxenmq/hex.h | |
+9 −0 | oxenmq/oxenmq-internal.h | |
+12 −4 | oxenmq/oxenmq.cpp | |
+19 −1 | oxenmq/oxenmq.h | |
+123 −30 | oxenmq/proxy.cpp | |
+172 −0 | oxenmq/pubsub.h | |
+0 −5 | oxenmq/variant.h | |
+2 −2 | oxenmq/worker.cpp | |
+1 −0 | tests/CMakeLists.txt | |
+611 −0 | tests/test_pubsub.cpp |
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
Oops, something went wrong.