Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upstream merge 1 #30

Merged
merged 122 commits into from
Aug 10, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
122 commits
Select commit Hold shift + click to select a range
956fc94
Revert "Merge pull request #3775" /monero#3841
fluffypony May 21, 2018
88bad86
daemon: request unpruned transactions for print_tx /monero#3830
moneromooo-monero May 18, 2018
de99081
speed up get_output_distribution (and precalc common case) /monero#3814
moneromooo-monero May 16, 2018
9da6834
Fix output shuffling for multisig /monero#3832
stoffu May 20, 2018
aeed943
ITS#8831 move flag init into readhdr /monero#3782
hyc Apr 2, 2018
56f9f86
Fix mdb_load append option /monero#3782
hyc May 8, 2018
31c03be
blockchain: invalidate misc caches when popping blocks /monero#3787
moneromooo-monero May 8, 2018
d678016
unit_tests: fix build after get_output_didstribution signature change…
moneromooo-monero Apr 28, 2018
3bbb918
crypto: more places needing fixing for GCC 8.1 /monero#3800
moneroexamples May 13, 2018
1cacac2
wallet2: Update function parameter documentation /monero#3405
leonklingele Mar 14, 2018
b318bbc
blockchain: cache difficulty for next block /monero#3420
moneromooo-monero Mar 17, 2018
46b2abc
tx_pool: remove old comment from fill_block_template() /monero#3446
stoffu Mar 20, 2018
9a7b6fd
don't show error twice when starting simplewallet /monero#3470
cryptochangements34 Mar 22, 2018
462579d
simplewallet: add --untrusted-daemon option /monero#3477
moneromooo-monero Mar 21, 2018
361a148
db_lmdb: save pruned and prunable tx data separately /monero#3251
moneromooo-monero Oct 1, 2017
ba96fab
core: fix automatic safe db sync mode switching /monero#3876
moneromooo-monero May 28, 2018
e75c3c7
protocol: do not switch to unsafe sync mode for just a few blocks /mo…
moneromooo-monero May 28, 2018
a88f1b5
fix sha256sum check, which requires two spaces. added set -ex to catc…
cornfeedhobo Mar 18, 2018
8b81145
Updates italian localizations. /monero#3442
hrumag Mar 19, 2018
6004539
exit if specified wallet file doesn't exist /monero#3491
cryptochangements34 Mar 24, 2018
84470e3
performance_tests: fix subaddress expansion test not expanding /moner…
moneromooo-monero Mar 27, 2018
d35a0dd
Add key for Sarang Noether /monero#3522
SarangNoether Mar 29, 2018
77791e4
rpc: fix get_output_distribution cache for the cumulative case /moner…
moneromooo-monero May 30, 2018
618f480
wallet: fix shared ring db path /monero#3499
stoffu Mar 27, 2018
b57f3b2
Refactored: work with wallet api statuses to make setting and getting…
naughtyfox Mar 21, 2018
ef4e4ce
WalletApi: getMultisigInfo entry for gui wallets /monero#3489
naughtyfox Mar 21, 2018
55dcf6f
blockchain_usage: don't divide by 0 when there is nothing to process …
moneromooo-monero Apr 3, 2018
dd37f1d
Core RPC: optionally add POW hash to block_header_response /monero#3561
stoffu Apr 5, 2018
e1a4b8f
Add a space in mining to testnet/stagenet string /monero#3583
cryptochangements34 Apr 8, 2018
dc3259d
crypto: fix initialization order issue with random mutex /monero#3592
moneromooo-monero Apr 10, 2018
235e911
unit_tests: add ringdb unit tests /monero#3592
moneromooo-monero Apr 9, 2018
85b8a0b
wallet_rpc_server: add a get_version RPC /monero#3635
moneromooo-monero Apr 14, 2018
8d6be00
wallet cli/rpc: terminate execution with code 0 when --help or --vers…
stoffu Apr 15, 2018
9084ee9
console_handler: fix start_default_console use of prompt parameter /m…
moneromooo-monero May 26, 2018
cbadd7b
http_protocol_handler: speedup newline discarding /monero#3866
moneromooo-monero May 26, 2018
6b647c1
abstract_tcp_server2: timeout on RPC connections /monero#3866
moneromooo-monero May 26, 2018
59e96e3
http_protocol_handler: limit the number of starting newlines /monero#…
moneromooo-monero May 26, 2018
b43b230
rapidjson: remove outdated in-tree, use submodule /monero#3857
anonimal Jun 13, 2018
a44c458
wallet2: don't ask for pruned txes yet, we still parse the entire tx …
moneromooo-monero May 31, 2018
65ddf89
rpc: the cache is still for non cumulative on that branch /monero#3899
moneromooo-monero Jun 1, 2018
5f1fbb2
blockchain: demote a hash-of-hashes validation warning to debug /mone…
moneromooo-monero Jun 2, 2018
7d990bf
blockchain: fix deadlock with the difficulty cache /monero#3940
moneromooo-monero Jun 6, 2018
b7d24ed
rpc: convert distribution to cumulative after caching /monero#3892
moneromooo-monero May 31, 2018
8cbae93
protocol: drop (and increase fails) if most blocks hashes are invalid…
moneromooo-monero Jun 2, 2018
db120bf
blockchain_utilities: do not link against unneeded p2p lib /monero#3428
moneromooo-monero Mar 18, 2018
44b48f9
blockchain_blackball: add incremental mode /monero#3428
moneromooo-monero Mar 18, 2018
951d5af
blockchain_blackball: also blackball N N-sized duplicate rings /moner…
moneromooo-monero Apr 19, 2018
7247a9a
Incorporate Window debug build targets /monero#3887
philkode May 31, 2018
111ae79
Wallet: added methods to sign and verify arbitrary message with multi…
naughtyfox Apr 10, 2018
7aa46c9
WalletApi: publicMultisigSignerKey method /monero#3599
naughtyfox Apr 10, 2018
8cbc1e1
db_lmdb: warn about slowness when running off a spinning disk /monero…
moneromooo-monero Mar 3, 2018
eabdb48
handle improper log levels /monero#3643
cryptochangements34 Apr 15, 2018
ddb1cfb
Improve 'show_transfers' date formatting /monero#3648
ryan-ronnander Apr 16, 2018
5a98a98
blockchain: log in DEBUG when a block is found, and where /monero#3687
moneromooo-monero Apr 23, 2018
8bbd1b9
mnemonics: add some logs to help debug failures /monero#3700
moneromooo-monero Apr 24, 2018
7a345c2
cn_deserialize: dump additional tx pubkeys /monero#3701
moneromooo-monero Apr 24, 2018
f8e63c4
simplewallet: set_ring can now take a file with rings /monero#3538
moneromooo-monero Apr 1, 2018
d416e00
wallet-rpc: added IPs to error logging in simple_http_connection_hand…
Apr 17, 2018
2952984
connection_context: remove "state_" prefix from state names /monero#3725
moneromooo-monero Apr 28, 2018
f91dd54
daemon: print peer state in sync_info /monero#3725
moneromooo-monero Apr 28, 2018
69f0f8e
blockchain: avoid exception if asked for a block we do not have /mone…
moneromooo-monero Apr 29, 2018
f6ac4eb
p2p: fix fallback seed node usage /monero#3737
moneromooo-monero Apr 29, 2018
1a7ecbd
Ensure m_timestamps has the correct number for computing difficulty. …
thaerkh Apr 30, 2018
cfe22a9
add .load() to make Boost 1.67 happy with its new is_integral check /…
teutone Apr 30, 2018
939e609
check_spend_proof /monero#3762
itssteven May 6, 2018
15dce56
wallet-rpc: watch-only and cold wallet features added /monero#3780
ph4r05 May 7, 2018
a0e0d73
Fix Typo /monero#3798
Rafficer May 12, 2018
e5341e3
simple-wallet-cli: Add warnings about inaccurate balances to to watch…
Apr 19, 2018
48d99bb
threadpool: allow constructing an object, and misc tweaks /monero#3691
moneromooo-monero Apr 23, 2018
98f2d90
core: remove threadpool dependency from header /monero#3691
moneromooo-monero Apr 23, 2018
2149537
unit_tests: add threadpool unit test /monero#3691
moneromooo-monero Apr 23, 2018
3c63f80
epee: log type name when a container size check fails /monero#3821
moneromooo-monero May 17, 2018
d7e138e
object_sizes: add a few useful types /monero#3821
moneromooo-monero May 17, 2018
fe8eb7d
use deterministic viewkey if not supplied /monero#3829
cryptochangements34 Jun 5, 2018
89ade95
Fixed for compilation in big endian PPC. "Everything is broken though…
nioroso-x3 May 19, 2018
06cd28c
Fix PCSC compilation under windows /monero#3844
cslashm May 23, 2018
479d295
Fix CMAKE config for PCSC in order to avoid msys DLL dependencies /mo…
cslashm May 31, 2018
57a69e9
add disclaimer about 3rd party packages /monero#3852
jtgrassie May 10, 2018
65eacd6
p2p: warn when no incoming connections are seen for a while /monero#3861
moneromooo-monero May 25, 2018
375b78f
disable file size sanity check when loading the wallet cache /monero#…
moneromooo-monero May 28, 2018
191af85
easylogging++: cached allowed categories /monero#3702
moneromooo-monero Apr 15, 2018
0178a04
adding win building details. /monero#3880
kinghat May 29, 2018
c5b1704
handle optional miner params better /monero#3757
cryptochangements34 May 6, 2018
172223e
daemon: fix readline interfering with std::cerr usage /monero#3888
moneromooo-monero May 31, 2018
d94f848
simplewallet.sign_transfer: rename export to export_raw, add help mes…
stoffu May 31, 2018
811f685
mlog: --max-log-files to set the max number of rotated log files /mon…
stoffu Jun 1, 2018
ce92b9e
epee: fix detection of 172.16.0.0/172.31.255.255 local IP range /mone…
moneromooo-monero Jun 1, 2018
fde68c3
unit_tests: add tests for local IP range detection /monero#3902
moneromooo-monero Jun 1, 2018
cb6f6e9
tx_pool: hold off parsing a tx blob till we actually need it /monero#…
moneromooo-monero Jun 1, 2018
21e8387
blockchain: return error when requesting non existent output /monero#…
moneromooo-monero Jun 1, 2018
8a6bc37
blockchain: pop forked blocks only when DB is not read-only /monero#3919
stoffu Jun 4, 2018
7624563
Fixes #3645: error on freebsd lambda return values forced to std::str…
rockhouse Jun 4, 2018
f0aeb10
Update Readme to indicate recommended version /monero#3927
Gingeropolous Jun 5, 2018
e98b3d7
simplewallet: add optional trusted/untrusted argument to set_daemon /…
moneromooo-monero Jun 5, 2018
fd7869d
util: consider Tor/I2P addresses to be non local /monero#3932
moneromooo-monero Jun 5, 2018
e9f999e
README: mention --untrusted-daemon /monero#3932
moneromooo-monero Jun 5, 2018
0fdaf1f
readme - explain building master vs. release /monero#3933
Gingeropolous Jun 5, 2018
b4eed66
ringct: remove an unnecessary scalarmultBase in zeroCommit /monero#3938
moneromooo-monero Jun 6, 2018
f7a60db
wallet: do not log by default if we're not asked to log to console /m…
moneromooo-monero Jun 6, 2018
4eeffc4
don't limit miner threads in wallet /monero#3784
cryptochangements34 May 8, 2018
5670a31
fix string handling for donation message /monero#3407
cryptochangements34 Jun 20, 2018
2c2a69c
fix typos in language files and rpc_args.cpp /monero#3677
ordtrogen Jun 13, 2018
6bf96e7
wallet2: lower default for subaddress lookahead when restoring with h…
stoffu Jun 4, 2018
e446510
Move parse_subaddress_lookahead() from simplewallet.cpp to util.cpp /…
stoffu Jun 4, 2018
72b2d56
Wallet API: add support for wallet creation from hardware device /mon…
stoffu Jun 4, 2018
adda1fe
tx_pool: initialize bitflags padding since it gets written to storage…
moneromooo-monero Jun 5, 2018
b3eae8f
snap: strip metadata from icon.png /monero#3947
moneromooo-monero Jun 6, 2018
d6b4036
blockchain_import: warn+delay about using --dangerous-unverified-impo…
moneromooo-monero Jun 6, 2018
caac113
wallet2: fix bulletproof cold signing /monero#3955
moneromooo-monero Jun 7, 2018
aa58177
password: flush cout when prompting for password without newline /mon…
moneromooo-monero Jun 7, 2018
84ac252
epee: adaptive connection timeout system /monero#3962
moneromooo-monero Jun 7, 2018
6ecd57e
Update readme to include pcslite dependency /monero#3963
Gingeropolous Jun 8, 2018
af45893
simplewallet: grammar fix in warning message /monero#3966
moneromooo-monero Jun 8, 2018
4bedb5b
epee: fix include for ofstream /monero#3971
moneromooo-monero May 30, 2018
5fd78f7
epee: fallback to a counter if gmtime fails when rotating logs /moner…
moneromooo-monero May 26, 2018
d2f3d2b
cryptonote_protocol_handler: log when dropping a peer /monero#3974
moneromooo-monero May 1, 2018
6822414
blockchain: avoid duplicate db query for height /monero#3975
moneromooo-monero Jun 9, 2018
1472103
device_ledger: fix bad memory access on connect error /monero#3977
moneromooo-monero Jun 9, 2018
9549fef
abstract_tcp_server2: restart async accept on error /monero#3997
moneromooo-monero Jun 12, 2018
ddf1521
add and use constant time 32 byte equality function /monero#3999
moneromooo-monero Jun 13, 2018
736e622
abstract_tcp_server2: fix use after free /monero#4080
moneromooo-monero Jun 29, 2018
5cf169c
abstract_tcp_server2: fix race on shutdown /monero#4130
moneromooo-monero Jul 11, 2018
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,6 @@
path = external/miniupnp
url = https://github.com/monero-project/miniupnp
branch = monero
[submodule "external/rapidjson"]
path = external/rapidjson
url = https://github.com/Tencent/rapidjson
35 changes: 29 additions & 6 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -137,9 +137,24 @@ endif()

if(ARCH_ID STREQUAL "ppc64le")
set(PPC64LE 1)
set(PPC64 0)
set(PPC 0)

endif()

if(ARCH_ID STREQUAL "powerpc64" OR ARCH_ID STREQUAL "ppc64")
set(PPC64LE 0)
set(PPC64 1)
set(PPC 0)
endif()

if(WIN32 OR ARM)
if(ARCH_ID STREQUAL "powerpc")
set(PPC64LE 0)
set(PPC64 0)
set(PPC 1)
endif()

if(WIN32 OR ARM OR PPC64LE OR PPC64 OR PPC)
set(OPT_FLAGS_RELEASE "-O2")
else()
set(OPT_FLAGS_RELEASE "-Ofast")
Expand Down Expand Up @@ -236,7 +251,7 @@ endif()
# elseif(CMAKE_SYSTEM_NAME MATCHES ".*BSDI.*")
# set(BSDI TRUE)

include_directories(external/easylogging++ src contrib/epee/include external)
include_directories(external/rapidjson/include external/easylogging++ src contrib/epee/include external)

if(APPLE)
include_directories(SYSTEM /usr/include/malloc)
Expand Down Expand Up @@ -452,9 +467,12 @@ link_directories(${LIBUNWIND_LIBRARY_DIRS})

# Final setup for libpcsc
if (PCSC_FOUND)
message(STATUS "Using PCSC include dir at ${PCSC_INCLUDE_DIR}")
add_definitions(-DHAVE_PCSC)
include_directories(${PCSC_INCLUDE_DIR})
link_directories(${LIBPCSC_LIBRARY_DIRS})
else (PCSC_FOUND)
message(STATUS "Could not find PCSC")
endif()

if(MSVC)
Expand All @@ -474,7 +492,11 @@ else()
if(ARCH STREQUAL "default")
set(ARCH_FLAG "")
elseif(PPC64LE)
set(ARCH_FLAG "-mcpu=${ARCH}")
set(ARCH_FLAG "-mcpu=power8")
elseif(PPC64)
set(ARCH_FLAG "-mcpu=970")
elseif(PPC)
set(ARCH_FLAG "-mcpu=7400")
elseif(IOS AND ARCH STREQUAL "arm64")
message(STATUS "IOS: Changing arch from arm64 to armv8")
set(ARCH_FLAG "-march=armv8")
Expand Down Expand Up @@ -584,12 +606,12 @@ else()
message(STATUS "AES support explicitly disabled")
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -DNO_AES")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DNO_AES")
elseif(NOT ARM AND NOT PPC64LE)
elseif(NOT ARM AND NOT PPC64LE AND NOT PPC64 AND NOT PPC)
message(STATUS "AES support enabled")
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -maes")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -maes")
elseif(PPC64LE)
message(STATUS "AES support not available on ppc64le")
elseif(PPC64LE OR PPC64 OR PPC)
message(STATUS "AES support not available on POWER")
elseif(ARM6)
message(STATUS "AES support not available on ARMv6")
elseif(ARM7)
Expand Down Expand Up @@ -791,6 +813,7 @@ endif()

include_directories(SYSTEM ${Boost_INCLUDE_DIRS})
if(MINGW)
set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -Wa,-mbig-obj")
set(EXTRA_LIBRARIES mswsock;ws2_32;iphlpapi)
set(ICU_LIBRARIES ${Boost_LOCALE_LIBRARY} icuio icuin icuuc icudt icutu iconv)
elseif(APPLE OR OPENBSD OR ANDROID)
Expand Down
40 changes: 26 additions & 14 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
# builder stage
FROM ubuntu:16.04 as builder

RUN apt-get update && \
RUN set -ex && \
apt-get update && \
apt-get --no-install-recommends --yes install \
ca-certificates \
cmake \
Expand All @@ -24,8 +25,9 @@ WORKDIR /usr/local
ARG BOOST_VERSION=1_66_0
ARG BOOST_VERSION_DOT=1.66.0
ARG BOOST_HASH=5721818253e6a0989583192f96782c4a98eb6204965316df9f5ad75819225ca9
RUN curl -s -L -o boost_${BOOST_VERSION}.tar.bz2 https://dl.bintray.com/boostorg/release/${BOOST_VERSION_DOT}/source/boost_${BOOST_VERSION}.tar.bz2 \
&& echo "${BOOST_HASH} boost_${BOOST_VERSION}.tar.bz2" | sha256sum -c \
RUN set -ex \
&& curl -s -L -o boost_${BOOST_VERSION}.tar.bz2 https://dl.bintray.com/boostorg/release/${BOOST_VERSION_DOT}/source/boost_${BOOST_VERSION}.tar.bz2 \
&& echo "${BOOST_HASH} boost_${BOOST_VERSION}.tar.bz2" | sha256sum -c \
&& tar -xvf boost_${BOOST_VERSION}.tar.bz2 \
&& cd boost_${BOOST_VERSION} \
&& ./bootstrap.sh \
Expand All @@ -35,8 +37,9 @@ ENV BOOST_ROOT /usr/local/boost_${BOOST_VERSION}
# OpenSSL
ARG OPENSSL_VERSION=1.0.2n
ARG OPENSSL_HASH=370babb75f278c39e0c50e8c4e7493bc0f18db6867478341a832a982fd15a8fe
RUN curl -s -O https://www.openssl.org/source/openssl-${OPENSSL_VERSION}.tar.gz \
&& echo "${OPENSSL_HASH} openssl-${OPENSSL_VERSION}.tar.gz" | sha256sum -c \
RUN set -ex \
&& curl -s -O https://www.openssl.org/source/openssl-${OPENSSL_VERSION}.tar.gz \
&& echo "${OPENSSL_HASH} openssl-${OPENSSL_VERSION}.tar.gz" | sha256sum -c \
&& tar -xzf openssl-${OPENSSL_VERSION}.tar.gz \
&& cd openssl-${OPENSSL_VERSION} \
&& ./Configure linux-x86_64 no-shared --static -fPIC \
Expand All @@ -47,7 +50,8 @@ ENV OPENSSL_ROOT_DIR=/usr/local/openssl-${OPENSSL_VERSION}
# ZMQ
ARG ZMQ_VERSION=v4.2.3
ARG ZMQ_HASH=3226b8ebddd9c6c738ba42986822c26418a49afb
RUN git clone https://github.com/zeromq/libzmq.git -b ${ZMQ_VERSION} \
RUN set -ex \
&& git clone https://github.com/zeromq/libzmq.git -b ${ZMQ_VERSION} \
&& cd libzmq \
&& test `git rev-parse HEAD` = ${ZMQ_HASH} || exit 1 \
&& ./autogen.sh \
Expand All @@ -58,16 +62,18 @@ RUN git clone https://github.com/zeromq/libzmq.git -b ${ZMQ_VERSION} \

# zmq.hpp
ARG CPPZMQ_HASH=6aa3ab686e916cb0e62df7fa7d12e0b13ae9fae6
RUN git clone https://github.com/zeromq/cppzmq.git -b ${ZMQ_VERSION} \
RUN set -ex \
&& git clone https://github.com/zeromq/cppzmq.git -b ${ZMQ_VERSION} \
&& cd cppzmq \
&& test `git rev-parse HEAD` = ${CPPZMQ_HASH} || exit 1 \
&& mv *.hpp /usr/local/include

# Readline
ARG READLINE_VERSION=7.0
ARG READLINE_HASH=750d437185286f40a369e1e4f4764eda932b9459b5ec9a731628393dd3d32334
RUN curl -s -O https://ftp.gnu.org/gnu/readline/readline-${READLINE_VERSION}.tar.gz \
&& echo "${READLINE_HASH} readline-${READLINE_VERSION}.tar.gz" | sha256sum -c \
RUN set -ex \
&& curl -s -O https://ftp.gnu.org/gnu/readline/readline-${READLINE_VERSION}.tar.gz \
&& echo "${READLINE_HASH} readline-${READLINE_VERSION}.tar.gz" | sha256sum -c \
&& tar -xzf readline-${READLINE_VERSION}.tar.gz \
&& cd readline-${READLINE_VERSION} \
&& CFLAGS="-fPIC" CXXFLAGS="-fPIC" ./configure \
Expand All @@ -77,7 +83,8 @@ RUN curl -s -O https://ftp.gnu.org/gnu/readline/readline-${READLINE_VERSION}.tar
# Sodium
ARG SODIUM_VERSION=1.0.16
ARG SODIUM_HASH=675149b9b8b66ff44152553fb3ebf9858128363d
RUN git clone https://github.com/jedisct1/libsodium.git -b ${SODIUM_VERSION} \
RUN set -ex \
&& git clone https://github.com/jedisct1/libsodium.git -b ${SODIUM_VERSION} \
&& cd libsodium \
&& test `git rev-parse HEAD` = ${SODIUM_HASH} || exit 1 \
&& ./autogen.sh \
Expand All @@ -90,13 +97,18 @@ WORKDIR /src
COPY . .

ARG NPROC
RUN rm -rf build && \
if [ -z "$NPROC" ];then make -j$(nproc) release-static;else make -j$NPROC release-static;fi
RUN set -ex && \
rm -rf build && \
if [ -z "$NPROC" ] ; \
then make -j$(nproc) release-static ; \
else make -j$NPROC release-static ; \
fi

# runtime stage
FROM ubuntu:16.04

RUN apt-get update && \
RUN set -ex && \
apt-get update && \
apt-get --no-install-recommends --yes install ca-certificates && \
apt-get clean && \
rm -rf /var/lib/apt
Expand All @@ -114,4 +126,4 @@ VOLUME /wallet
EXPOSE 18080
EXPOSE 18081

ENTRYPOINT ["monerod", "--p2p-bind-ip=0.0.0.0", "--p2p-bind-port=18080", "--rpc-bind-ip=0.0.0.0", "--rpc-bind-port=18081", "--non-interactive", "--confirm-external-bind"]
ENTRYPOINT ["monerod", "--p2p-bind-ip=0.0.0.0", "--p2p-bind-port=18080", "--rpc-bind-ip=0.0.0.0", "--rpc-bind-port=18081", "--non-interactive", "--confirm-external-bind"]
8 changes: 8 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,14 @@ debug-static-all:
mkdir -p build/debug
cd build/debug && cmake -D BUILD_TESTS=ON -D STATIC=ON -D CMAKE_BUILD_TYPE=Debug ../.. && $(MAKE)

debug-static-win64:
mkdir -p build/debug
cd build/debug && cmake -G "MSYS Makefiles" -D STATIC=ON -D ARCH="x86-64" -D BUILD_64=ON -D CMAKE_BUILD_TYPE=Debug -D BUILD_TAG="win-x64" -D CMAKE_TOOLCHAIN_FILE=../../cmake/64-bit-toolchain.cmake -D MSYS2_FOLDER=c:/msys64 ../.. && $(MAKE)

debug-static-win32:
mkdir -p build/debug
cd build/debug && cmake -G "MSYS Makefiles" -D STATIC=ON -D ARCH="i686" -D BUILD_64=OFF -D CMAKE_BUILD_TYPE=Debug -D BUILD_TAG="win-x32" -D CMAKE_TOOLCHAIN_FILE=../../cmake/32-bit-toolchain.cmake -D MSYS2_FOLDER=c:/msys32 ../.. && $(MAKE)

cmake-release:
mkdir -p build/release
cd build/release && cmake -D CMAKE_BUILD_TYPE=Release ../..
Expand Down
Loading