Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: X-CASH-official/xcash-core
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 1.5.0
Choose a base ref
...
head repository: X-CASH-official/xcash-core
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Loading
Showing with 14,888 additions and 3,751 deletions.
  1. +57 −0 .git-commit-template.txt
  2. +1 −0 .gitignore
  3. 0 .sonarcloud.properties
  4. +10 −4 CMakeLists.txt
  5. +0 −171 CONTRIBUTING.md
  6. +24 −139 Dockerfile
  7. +0 −2,310 Doxyfile
  8. +19 −27 LICENSE
  9. +278 −132 README.md
  10. +2 −0 contrib/epee/include/console_handler.h
  11. +7 −1 contrib/epee/include/math_helper.h
  12. +12 −4 contrib/epee/include/net/abstract_tcp_server2.inl
  13. +2 −1 contrib/epee/include/net/http_server_impl_base.h
  14. +2 −1 contrib/epee/include/net/jsonrpc_server_impl_base.h
  15. +5 −0 contrib/epee/include/net/net_utils_base.h
  16. +2 −1 contrib/epee/include/net/smtp.h
  17. +3 −0 contrib/epee/include/serialization/keyvalue_serialization_overloads.h
  18. +2 −0 contrib/epee/include/storages/levin_abstract_invoke2.h
  19. +3 −0 contrib/epee/include/storages/portable_storage.h
  20. +1 −0 contrib/epee/include/storages/portable_storage_from_bin.h
  21. +2 −1 contrib/epee/tests/src/net/test_net.h
  22. +63 −0 external/VRF_functions/VRF_LICENSE
  23. +3,176 −0 external/VRF_functions/VRF_functions.cpp
  24. +42 −0 external/VRF_functions/VRF_functions.h
  25. +271 −0 external/VRF_functions/common.h
  26. +124 −0 external/VRF_functions/convert.cpp
  27. +49 −0 external/VRF_functions/convert.h
  28. +56 −0 external/VRF_functions/crypto_verify.cpp
  29. +34 −0 external/VRF_functions/crypto_verify_16.h
  30. +111 −0 external/VRF_functions/crypto_vrf.cpp
  31. +81 −0 external/VRF_functions/crypto_vrf.h
  32. +2,053 −0 external/VRF_functions/ed25519_ref10.cpp
  33. +142 −0 external/VRF_functions/ed25519_ref10.h
  34. +1,075 −0 external/VRF_functions/ed25519_ref10_fe_25_5.h
  35. +1,367 −0 external/VRF_functions/fe_25_5/base.h
  36. +63 −0 external/VRF_functions/fe_25_5/base2.h
  37. +43 −0 external/VRF_functions/fe_25_5/constants.h
  38. +240 −0 external/VRF_functions/fe_25_5/fe.h
  39. +71 −0 external/VRF_functions/keypair.cpp
  40. +155 −0 external/VRF_functions/prove.cpp
  41. +120 −0 external/VRF_functions/randombytes.cpp
  42. +54 −0 external/VRF_functions/randombytes.h
  43. +275 −0 external/VRF_functions/sha512EL.cpp
  44. +61 −0 external/VRF_functions/sha512EL.h
  45. +186 −0 external/VRF_functions/verify.cpp
  46. +71 −0 external/VRF_functions/vrf.h
  47. +3 −1 external/boost/archive/portable_binary_archive.hpp
  48. +1 −1 external/boost/archive/portable_binary_iarchive.hpp
  49. +1 −1 external/boost/archive/portable_binary_oarchive.hpp
  50. BIN header.png
  51. +2 −2 src/blockchain_utilities/blockchain_ancestry.cpp
  52. +2 −0 src/checkpoints/checkpoints.cpp
  53. +6 −2 src/common/CMakeLists.txt
  54. +93 −0 src/common/blocking_tcp_client.cpp
  55. +53 −0 src/common/blocking_tcp_client.h
  56. +8 −8 src/common/dns_utils.cpp
  57. +28 −0 src/common/send_and_receive_data.cpp
  58. +31 −0 src/common/send_and_receive_data.h
  59. +5 −5 src/cryptonote_basic/cryptonote_basic_impl.cpp
  60. +2 −11 src/cryptonote_basic/cryptonote_format_utils.cpp
  61. +67 −0 src/cryptonote_basic/difficulty.cpp
  62. +1 −0 src/cryptonote_basic/difficulty.h
  63. +0 −10 src/cryptonote_basic/hardfork.cpp
  64. +28 −2 src/cryptonote_basic/miner.cpp
  65. +2 −2 src/cryptonote_basic/tx_extra.h
  66. +124 −6 src/cryptonote_config.h
  67. +655 −33 src/cryptonote_core/blockchain.cpp
  68. +5 −2 src/cryptonote_core/blockchain.h
  69. +28 −0 src/cryptonote_core/cryptonote_core.cpp
  70. +9 −13 src/cryptonote_core/cryptonote_core.h
  71. +1 −1 src/cryptonote_core/cryptonote_tx_utils.cpp
  72. +1 −0 src/cryptonote_protocol/cryptonote_protocol_handler.h
  73. +97 −10 src/cryptonote_protocol/cryptonote_protocol_handler.inl
  74. +0 −106 src/daemon/command_parser_executor.cpp
  75. +0 −4 src/daemon/command_parser_executor.h
  76. +0 −11 src/daemon/command_server.cpp
  77. +0 −2 src/daemon/daemon.cpp
  78. +3 −0 src/daemon/main.cpp
  79. +17 −61 src/daemon/rpc_command_executor.cpp
  80. +0 −4 src/daemon/rpc_command_executor.h
  81. +6 −6 src/debug_utilities/object_sizes.cpp
  82. +1 −10 src/p2p/net_node.h
  83. +4 −18 src/p2p/net_node.inl
  84. +11 −101 src/rpc/core_rpc_server.cpp
  85. +0 −6 src/rpc/core_rpc_server.h
  86. +23 −1 src/rpc/core_rpc_server_commands_defs.h
  87. +0 −84 src/rpc/daemon_handler.cpp
  88. +0 −6 src/rpc/daemon_handler.h
  89. +0 −87 src/rpc/daemon_messages.cpp
  90. +0 −30 src/rpc/daemon_messages.h
  91. +2 −1 src/rpc/rpc_args.cpp
  92. +1 −1 src/serialization/binary_archive.h
  93. +3 −0 src/serialization/variant.h
  94. +1,066 −106 src/simplewallet/simplewallet.cpp
  95. +7 −3 src/simplewallet/simplewallet.h
  96. +2 −1 src/version.cpp.in
  97. +805 −2 src/wallet/api/wallet.cpp
  98. +7 −1 src/wallet/api/wallet.h
  99. +13 −1 src/wallet/api/wallet2_api.h
  100. +0 −48 src/wallet/api/wallet_manager.cpp
  101. +62 −19 src/wallet/wallet2.cpp
  102. +5 −1 src/wallet/wallet2.h
  103. +990 −52 src/wallet/wallet_rpc_server.cpp
  104. +14 −4 src/wallet/wallet_rpc_server.h
  105. +147 −37 src/wallet/wallet_rpc_server_commands_defs.h
  106. +1 −1 tests/README.md
  107. +2 −2 tests/core_tests/chaingen.h
  108. +2 −2 tests/functional_tests/speed.py
  109. +4 −4 tests/unit_tests/address_from_url.cpp
  110. +0 −4 tests/unit_tests/keccak.cpp
  111. +9 −9 tests/unit_tests/wipeable_string.cpp
  112. +2 −2 translations/monero.ts
  113. +4 −4 translations/monero_fr.ts
  114. +3 −3 translations/monero_it.ts
  115. +4 −4 translations/monero_sv.ts
57 changes: 57 additions & 0 deletions .git-commit-template.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
# Please use the following guidelines to format all your commit
# messages:
#
# <type>: <subject>
# <BLANK LINE>
# <body>
# <BLANK LINE>
# <footer>
# --------------------
# <type>: (If applied, this commit will...) <subject> (Max 50 char)
# |<---- Using a Maximum Of 50 Characters ---->|


# Explain why this change is being made
# |<---- Try To Limit Each Line to a Maximum Of 72 Characters ---->|


# Provide links or keys to any relevant tickets, articles or other resources
# Example: issue #23


# --- COMMIT END ---

#Please note that:
# - The HEADER is a single line of max. 50 characters that
# contains a succinct description of the change. It contains a
# type, an optional scope, and a subject
# + <type> describes the kind of change that this commit is
# providing. Allowed types are:
# * feat (feature)
# * fix (bug fix)
# * docs (documentation)
# * style (formatting, missing semicolons, …)
# * refactor
# * test (when adding missing tests)
# * chore (maintain)
# + <subject> is a very short description of the change, in
# the following format:
# * imperative, present tense: “change” not
# “changed”/“changes”
# * no capitalised first letter
# * no dot (.) at the end
# - The <body> should include the motivation for the change and
# contrast this with previous behavior and must be phrased in
# imperative present tense
# - The <footer> should contain any information about Breaking
# Changes and is also the place to reference GitHub issues that
# this commit closes
# --------------------
# Remember to
# * Capitalize the subject line
# * Use the imperative mood in the subject line
# * Do not end the subject line with a period
# * Separate subject from body with a blank line
# * Use the body to explain what and why vs. how
# * Can use multiple lines with "-" for bullet points in body
# --------------------
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
build
Empty file added .sonarcloud.properties
Empty file.
14 changes: 10 additions & 4 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -484,7 +484,7 @@ else()
else()
set(ARCH_FLAG "-march=${ARCH}")
endif()
set(WARNINGS "-Wall -Wextra -Wpointer-arith -Wundef -Wvla -Wwrite-strings -Wno-error=extra -Wno-error=deprecated-declarations -Wno-unused-parameter -Wno-unused-variable -Wno-error=unused-variable -Wno-error=undef -Wno-error=uninitialized")
set(WARNINGS "-Wall -Wextra -Wpointer-arith -Wundef -Wvla -Wwrite-strings -Wno-error=extra -Wno-error=deprecated-declarations -Wno-unused-parameter -Wno-unused-variable -Wno-unused-function -Wno-unused-value -Wno-vla -Wno-error=unused-variable -Wno-error=undef -Wno-error=uninitialized")
if(NOT MINGW)
set(WARNINGS_AS_ERRORS_FLAG "-Werror")
endif()
@@ -782,10 +782,16 @@ find_package(Boost 1.58 QUIET REQUIRED COMPONENTS system filesystem thread date_

set(CMAKE_FIND_LIBRARY_SUFFIXES ${OLD_LIB_SUFFIXES})
if(NOT Boost_FOUND)
die("Could not find Boost libraries, please make sure you have installed Boost or libboost-all-dev (1.58) or the equivalent")
die("Could not find Boost libraries, please make sure you have installed Boost or libboost-all-dev (>=1.58) or the equivalent")
elseif(Boost_FOUND)
message(STATUS "Found Boost Version: ${Boost_VERSION}")
if (Boost_VERSION VERSION_LESS 106200 AND NOT (OPENSSL_VERSION VERSION_LESS 1.1))
if (Boost_VERSION VERSION_LESS 10 AND Boost_VERSION VERSION_LESS 1.62.0 AND NOT (OPENSSL_VERSION VERSION_LESS 1.1))
set(BOOST_BEFORE_1_62 true)
endif()
if (NOT Boost_VERSION VERSION_LESS 10 AND Boost_VERSION VERSION_LESS 106200 AND NOT (OPENSSL_VERSION VERSION_LESS 1.1))
set(BOOST_BEFORE_1_62 true)
endif()
if (BOOST_BEFORE_1_62)
message(FATAL_ERROR "Boost older than 1.62 is too old to link with OpenSSL 1.1 or newer. "
"Update Boost or install OpenSSL 1.0 and set path to it when running cmake: "
"cmake -DOPENSSL_ROOT_DIR='/usr/include/openssl-1.0;/usr/lib/openssl-1.0'")
@@ -892,4 +898,4 @@ option(BUILD_GUI_DEPS "Build GUI dependencies." OFF)
option(INSTALL_VENDORED_LIBUNBOUND "Install libunbound binary built from source vendored with this repo." OFF)


CHECK_C_COMPILER_FLAG(-std=c11 HAVE_C11)
CHECK_C_COMPILER_FLAG(-std=c11 HAVE_C11)
171 changes: 0 additions & 171 deletions CONTRIBUTING.md

This file was deleted.

Loading