Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
341 commits
Select commit Hold shift + click to select a range
4792cee
Merge pull request #8414
luigi1111 Jul 15, 2022
f982163
Merge pull request #8425
luigi1111 Jul 15, 2022
9df069f
Merge pull request #8426
luigi1111 Jul 15, 2022
b6a029f
Merge pull request #8435
luigi1111 Jul 15, 2022
bb955d1
Bump Gitian build instructions to v0.18.0.0
Jul 18, 2022
b83874e
Set version in ENV var
Jul 18, 2022
89a2df6
Migrate VERSION variable to non-export
Jul 18, 2022
308e3fa
gpg_keys: add jeffro256 key
Jul 18, 2022
4a4936b
Fix use of rtxn without a mdb_txn_safe wrapper
hyc Jun 7, 2022
ac6db92
functional_tests: silence the cpu power test program
moneromooo-monero Jul 21, 2022
600de07
wallet_rpc_server: longer timeout for stop_mining
moneromooo-monero Jul 21, 2022
1fc60ca
Publish submitted txs via zmq
j-berman Jul 9, 2022
564fa30
DOCS: Rework Portable storage format example
May 11, 2022
85e697f
randomx: update submodule
selsta Jul 24, 2022
f7f1445
device: set ledger min app version
selsta Jul 24, 2022
f797655
Fixed get_block_template_backlog performance
SChernykh Jun 8, 2022
6b61628
dns_util: remove outdated DNSSEC DS trust anchor
selsta Aug 6, 2022
04a1e28
ledger support for hf 15 (BP+, view tags)
j-berman Jun 21, 2022
f8d76ec
version: bump master version number
selsta Aug 9, 2022
ef1924a
Bump to v0.18.1.0
Aug 9, 2022
796513f
repo: remove ldns leftovers
selsta Aug 10, 2022
7b15f21
README: unbound is not vendored anymore
selsta Aug 10, 2022
8305a9f
depends: remove unused packages
selsta Aug 11, 2022
d06202d
blockchain_prune: faster
moneromooo-monero Aug 15, 2022
d9fc666
wallet2: fix missing subaddress indices in "light" exported outputs
moneromooo-monero Aug 7, 2022
67b6d6a
wallet2: prevent importing outputs in a hot wallet
moneromooo-monero Aug 7, 2022
692f1d4
wallet2: do not assume imported outputs must be non empty
moneromooo-monero Aug 7, 2022
1e912ec
wallet2: fixes for export/import output flow
j-berman Aug 16, 2022
c5579ac
allow exporting outputs in chunks
moneromooo-monero Aug 16, 2022
a098504
wallet2: better test on whether to allow output import
moneromooo-monero Aug 18, 2022
26c630f
Update release check-list with lessons learned from v15/v16 fork
Aug 19, 2022
6f0fb76
blockchain: fix invalid memory read getting fee on empty chain
Aug 19, 2022
501db2c
Wallet RPC: remove duplicate line
serhack Aug 21, 2022
e988530
Remove redundant check
serhack Aug 22, 2022
09d69b6
rpc: remove overwriting value
serhack Aug 22, 2022
080fc69
Merge pull request #8299
luigi1111 Aug 23, 2022
c286e03
Merge pull request #8323
luigi1111 Aug 23, 2022
8d0487d
Merge pull request #8333
luigi1111 Aug 23, 2022
67a27fb
Merge pull request #8352
luigi1111 Aug 23, 2022
df02b56
Merge pull request #8359
luigi1111 Aug 23, 2022
2056ef7
Merge pull request #8379
luigi1111 Aug 23, 2022
3c78f4d
Merge pull request #8381
luigi1111 Aug 23, 2022
645d752
Merge pull request #8415
luigi1111 Aug 23, 2022
f0f3879
Merge pull request #8419
luigi1111 Aug 23, 2022
ce80747
Merge pull request #8427
luigi1111 Aug 23, 2022
53a8cf7
Merge pull request #8428
luigi1111 Aug 23, 2022
5e2c851
Merge pull request #8442
luigi1111 Aug 23, 2022
ae6ec39
Merge pull request #8444
luigi1111 Aug 23, 2022
7705329
Merge pull request #8450
luigi1111 Aug 23, 2022
8112c52
Merge pull request #8460
luigi1111 Aug 23, 2022
386032d
Merge pull request #8462
luigi1111 Aug 23, 2022
ab63fbc
Merge pull request #8465
luigi1111 Aug 23, 2022
f46f164
Merge pull request #8486
luigi1111 Aug 23, 2022
4e42d6c
Merge pull request #8490
luigi1111 Aug 23, 2022
af8b0fb
Merge pull request #8495
luigi1111 Aug 23, 2022
2807a24
Merge pull request #8496
luigi1111 Aug 23, 2022
5256fdd
Merge pull request #8497
luigi1111 Aug 23, 2022
959a3e6
wallet2: ensure imported outputs subaddresses are created
moneromooo-monero Aug 24, 2022
3987827
Fix shared_ptr cycle in test_epee_connection.test_lifetime
vtnerd Aug 27, 2022
d21fd92
rpc: dont shrink slice when loading from binary
Aug 31, 2022
e410ab7
Windows: fix unicode file path support
tobtoht Sep 2, 2022
564a7a3
multisig: fix #8537 seed restore (suggestions by @UkoeHB)
j-berman Sep 1, 2022
f713c3c
Require user ack multisig is experimental to restore
j-berman Sep 6, 2022
2639c4f
rpc: skip bootstrap nodes that are lower than last checkpoint
selsta Aug 19, 2022
76a5b54
Fix missing semi-colon in error message
j-berman Sep 7, 2022
eca7f6a
Fix segfault restoring encrypted multisig seed
j-berman Sep 7, 2022
e553884
Merge pull request #8348
luigi1111 Sep 9, 2022
c89d063
Merge pull request #8513
luigi1111 Sep 9, 2022
ddb434f
Merge pull request #8519
luigi1111 Sep 9, 2022
ed150fa
Merge pull request #8538
luigi1111 Sep 9, 2022
87a4b37
Merge pull request #8547
luigi1111 Sep 9, 2022
6402dbe
Merge pull request #8554
luigi1111 Sep 9, 2022
f69adef
Fix static builds for Ubuntu 22.04
LocalMonero Sep 12, 2022
b8271ab
wallet2: check wallet compatibility with daemon's hard fork version
j-berman Aug 26, 2022
b526a4b
levin_abstract_invoke: remove dead code
Sep 15, 2022
df37c14
Merge pull request #8551
luigi1111 Sep 15, 2022
c9cfa25
Merge pull request #8556
luigi1111 Sep 15, 2022
8923441
fix build in netbsd
mmyjona Sep 15, 2022
9274426
Keys: Update for expired 'rbrunner7' key, valid 2 years
rbrunner7 Sep 16, 2022
50b7492
unit_tests: suppress memwipe unit warning
Sep 16, 2022
fa7622c
depends: remove unused Qt package
selsta Sep 19, 2022
98ce6f1
depends: remove unused file
selsta Sep 19, 2022
28f25c0
Second thread pool for IO
SChernykh Jun 14, 2022
ebb85d7
Add Gitian builds to README
duggavo Sep 21, 2022
4b0785f
add an option to force-update multisig key exchange under some circum…
UkoeHB May 14, 2022
e9ce347
wallet2: fail to establish daemon cxn == "Disconnected" cxn status
j-berman Sep 22, 2022
8e7c7af
Move update_checkpoints() to a later stage
SChernykh Sep 22, 2022
74ec950
readme: fix instructions for win64 cross builds
erciccione Sep 23, 2022
be8efec
workflows: ubuntu 18.04 is deprecated
selsta Sep 24, 2022
0a10a4f
Merge pull request #8329
luigi1111 Sep 26, 2022
cfe38f2
Merge pull request #8420
luigi1111 Sep 26, 2022
8e04921
Merge pull request #8574
luigi1111 Sep 26, 2022
239d210
Merge pull request #8576
luigi1111 Sep 26, 2022
e44bf0b
Merge pull request #8586
luigi1111 Sep 26, 2022
fc907a9
Merge pull request #8587
luigi1111 Sep 26, 2022
6f00070
workflows: skip ci when only changing documentation
selsta Oct 1, 2022
97b86a0
wallet_api: take priority into account when estimating fee
selsta Oct 13, 2022
cac5083
wallet2: fix create view-only wallet from existing wallet
j-berman Oct 18, 2022
a7bf3af
Fix dandelion++ fluff/stem bug with local txes
vtnerd Oct 25, 2022
0407ee5
Merge pull request #8319
luigi1111 Oct 28, 2022
9f5c720
Merge pull request #8355
luigi1111 Oct 28, 2022
aba564c
Merge pull request #8516
luigi1111 Oct 28, 2022
45ffdc2
Merge pull request #8517
luigi1111 Oct 28, 2022
2ab0732
Merge pull request #8525
luigi1111 Oct 28, 2022
f41c686
Merge pull request #8527
luigi1111 Oct 28, 2022
8672553
Merge pull request #8529
luigi1111 Oct 28, 2022
a43a5ca
Merge pull request #8543
luigi1111 Oct 28, 2022
05ccf68
Merge pull request #8564
luigi1111 Oct 28, 2022
5b208f9
Merge pull request #8569
luigi1111 Oct 28, 2022
400f236
Merge pull request #8570
luigi1111 Oct 28, 2022
e7d673e
Merge pull request #8571
luigi1111 Oct 28, 2022
9579ba5
Merge pull request #8580
luigi1111 Oct 28, 2022
709ef69
Merge pull request #8590
luigi1111 Oct 28, 2022
365fd45
Merge pull request #8593
luigi1111 Oct 28, 2022
8b8326a
workflows: ubuntu 18.04 is deprecated
selsta Nov 14, 2022
ab7102e
epee: remove dead HTTP code
Nov 8, 2022
1a3ae18
p2p: fix back ping to discover healthy peers to connect to
j-berman Nov 15, 2022
8e98aaa
workflows: build gitian on tag
selsta Oct 1, 2022
1114e7e
fix(trezor-tests): fix trezor tests build, fix integrated addr test
ph4r05 Oct 20, 2022
832173a
gpg_keys: bump my key validity by another two years
moneromooo-monero Nov 17, 2022
faaf2af
p2p: fix exclusive node DNS resolution for certain hosts
Nov 16, 2022
8687da6
common: DNSResolver can handle hostnames without dot characters
Nov 21, 2022
61842f9
workflows: set a public DNS when doing tests
selsta Nov 28, 2022
0e5ecd4
Turn readline off on OpenBSD because it is broken
offshoremonero Dec 1, 2022
6558e7e
Correct/modernize build instructions for OpenBSD
offshoremonero Dec 1, 2022
32a1cd1
Merge pull request #8503
luigi1111 Dec 1, 2022
12489c6
Merge pull request #8572
luigi1111 Dec 1, 2022
4a5f8a0
Merge pull request #8575
luigi1111 Dec 1, 2022
a5c7ae2
Merge pull request #8602
luigi1111 Dec 1, 2022
74d82f9
Merge pull request #8603
luigi1111 Dec 1, 2022
1cfe69c
Merge pull request #8610
luigi1111 Dec 1, 2022
179a87a
Merge pull request #8616
luigi1111 Dec 1, 2022
2f168da
Merge pull request #8618
luigi1111 Dec 1, 2022
7275a4d
Merge pull request #8627
luigi1111 Dec 1, 2022
9367b43
Merge pull request #8635
luigi1111 Dec 1, 2022
a160270
update readme with v0.18.1.2 version number
Gingeropolous Dec 7, 2022
b986421
adjust multiexp pippenger_cached_data for better reusability
UkoeHB Dec 14, 2022
96677ff
common: add missing includes
selsta Dec 18, 2022
1a568de
Cache successful `verRctNonSemanticsSimple` calls
SChernykh Dec 8, 2022
7a3a593
common: move boost_serialization_helper.h out and cleanup includes
jeffro256 Dec 22, 2022
9752116
wallet2, RPC: Optimize RPC calls for periodic refresh from 3 down to …
rbrunner7 Nov 21, 2021
934b798
rpc: do not misidentify coinbase txes as pruned
moneromooo-monero Jan 1, 2023
b67e931
epee: when loading a JSON RPC payload, ensure params is an object
moneromooo-monero Jan 1, 2023
bfd7c00
heed NO_COLOR environment variable
moneromooo-monero Jan 1, 2023
d89e7a2
util: make GMT timestamps explicit for clarity
moneromooo-monero Jan 1, 2023
e91f35e
win-service: enable auto startup
plowsof Jan 2, 2023
3461a19
daemonizer: don't uninstall windows service on exit
selsta Jan 3, 2023
b1bce85
miscellaneous crypto updates
UkoeHB Dec 1, 2022
f3420cb
readline_buffer: disable bracketed paste escape sequences
jeffro256 Jan 2, 2023
dab7d01
Refactored rx-slow-hash.c
SChernykh Dec 10, 2022
fe8522c
Bump WINVER to 0x0600 (Windows Vista)
SChernykh Jan 9, 2023
a09b5b3
Merge pull request #8632
luigi1111 Jan 11, 2023
ac8580c
Merge pull request #8640
luigi1111 Jan 11, 2023
b363eeb
Merge pull request #8643
luigi1111 Jan 11, 2023
719d557
Merge pull request #8645
luigi1111 Jan 11, 2023
9489586
Merge pull request #8648
luigi1111 Jan 11, 2023
0cb6a5c
Merge pull request #8651
luigi1111 Jan 11, 2023
d3ad02f
Merge pull request #8653
luigi1111 Jan 11, 2023
3854cc0
Merge pull request #8663
luigi1111 Jan 11, 2023
ad80aa0
Merge pull request #8671
luigi1111 Jan 11, 2023
451ff7b
Merge pull request #8677
luigi1111 Jan 11, 2023
ac87d8d
Merge pull request #8682
luigi1111 Jan 11, 2023
75d80d4
Merge pull request #8686
luigi1111 Jan 11, 2023
50aa0e8
Merge pull request #8675
luigi1111 Jan 11, 2023
b27a171
RandomX: print VM allocation warnings only once
SChernykh Jan 11, 2023
5b4fea7
Copyright: Update to 2023
mj-xmr Jan 2, 2023
b247f98
Demote large pages warning to `mdebug`
SChernykh Jan 14, 2023
cb756b6
blockchain-stats: print any remaining data at end of loop
hyc Jan 17, 2023
9c7d28b
wallet2: add on_reorg callback
Nov 17, 2019
1082720
README: fix void ssl package
tobtoht Jan 23, 2023
eaa3aff
depends: bump hidapi/libusb
tobtoht Jan 18, 2023
69153e8
p2p: remove offline seed nodes
selsta Nov 28, 2022
d8a8448
p2p: add plowsof seed nodes
selsta Jan 25, 2023
9e09093
wallet_rpc_server: allow creating more than 64 addresses at once
moneromooo-monero Feb 2, 2023
672eedf
Merge pull request #8691
luigi1111 Feb 6, 2023
85702d7
Merge pull request #8692
luigi1111 Feb 6, 2023
c12bc62
Merge pull request #8693
luigi1111 Feb 6, 2023
2521f0e
Merge pull request #8697
luigi1111 Feb 6, 2023
3ff22ae
Merge pull request #8699
luigi1111 Feb 6, 2023
889951e
Merge pull request #8700
luigi1111 Feb 6, 2023
5fae6d6
Merge pull request #8705
luigi1111 Feb 6, 2023
cd82b4f
Merge pull request #8712
luigi1111 Feb 6, 2023
549a4b4
Merge pull request #8713
luigi1111 Feb 6, 2023
ac9a897
Revert "epee: when loading a JSON RPC payload, ensure params is an ob…
moneromooo-monero Feb 7, 2023
21fb856
depends: bump openssl to 1.1.1t
tobtoht Feb 7, 2023
3f696f1
Merge pull request #8720
luigi1111 Feb 15, 2023
3b765c5
Merge pull request #8736
luigi1111 Feb 15, 2023
c5d10a4
Merge pull request #8737
luigi1111 Feb 15, 2023
7a44eb7
depends: remove unused packages
tobtoht Feb 16, 2023
eaf5902
workflows: update dependencies to fix warnings
selsta Feb 19, 2023
11a8360
simplewallet: print fully qualified filename for new wallets
moneromooo-monero Feb 24, 2023
3771641
Add a size limit for tx_extra in tx pool
tevador Feb 5, 2023
5a7a5f1
build: BUILD_DEBUG_UTILITIES fix
jeffro256 Feb 26, 2023
d84a0d7
p2p: avoid spam blocking ipv4 addresses in a blocked subnet
moneromooo-monero Mar 1, 2023
b13ddb9
Handle case where a command line flag is not allowed in the config file
almalh Mar 6, 2023
630906c
cryptonote_basic: remove unused struct
tobtoht Mar 6, 2023
c4af33e
Enforce restricted # pool txs served via RPC + optimize chunked reqs
j-berman Dec 14, 2022
d7a81cc
p2p: do not log to global when re-blocking a subnet
moneromooo-monero Mar 9, 2023
2eaa523
cryptonote::transaction_prefix: fix IDE parsing error
UkoeHB Mar 9, 2023
1b27fcd
device: Add ledger Stax device id to device detection
fbeutin-ledger Mar 14, 2023
4e16559
rpc: give reason when sending non-hex raw tx
jeffro256 Mar 17, 2023
7159f92
verRctNonSemanticsSimpleCached: fix fragility
jeffro256 Jan 14, 2023
a511202
Merge pull request #8076
luigi1111 Mar 18, 2023
55fddad
Merge pull request #8707
luigi1111 Mar 18, 2023
76dd14d
Merge pull request #8733
luigi1111 Mar 18, 2023
6bebc2d
Merge pull request #8743
luigi1111 Mar 18, 2023
b7dbf4f
Merge pull request #8745
luigi1111 Mar 18, 2023
f307621
Merge pull request #8775
luigi1111 Mar 18, 2023
c61d33e
wallet2: fix outdated wallet check
Mar 19, 2023
df9aa6b
epee: remove dead code in net_helper
jeffro256 Feb 27, 2023
3a34c63
depends: cleanup Makefile
tobtoht Mar 20, 2023
833dd6b
add libunbound to package list for OpenBSD
noocsharp Mar 11, 2023
7a4a03d
wallet2: do not commit transactions more than once
moneromooo-monero Mar 21, 2023
f383fd3
wallet2: make m_process_pool_txs local to refresh method
jeffro256 Mar 21, 2023
abe74fd
Merge pull request #8770
luigi1111 Mar 25, 2023
d594981
Fixed deadlock and crash when syncing with full dataset on Windows
SChernykh Mar 29, 2023
caa7561
cryptonote core/protocol: don't drop peers for soft offenses
jeffro256 Mar 27, 2023
85a4558
wallet2: fix infinite loop in fake out selection
Mar 21, 2023
441373b
Merge pull request #8794
luigi1111 Apr 3, 2023
5f2bbf7
Merge pull request #8808
luigi1111 Apr 3, 2023
44ac52f
Merge pull request #8810
luigi1111 Apr 3, 2023
eb0e405
gamma picker: relax constructor requirements and test for selecting o…
jeffro256 Mar 26, 2023
ecf0d01
Merge pull request #8679
luigi1111 Apr 25, 2023
af88341
Merge pull request #8694
luigi1111 Apr 25, 2023
9bf06ea
Merge pull request #8698
luigi1111 Apr 25, 2023
aa5382c
Merge pull request #8716
luigi1111 Apr 25, 2023
5e19f23
Merge pull request #8719
luigi1111 Apr 25, 2023
4931462
Merge pull request #8730
luigi1111 Apr 25, 2023
8b61706
Merge pull request #8748
luigi1111 Apr 25, 2023
d2a591d
wallet, simplewallet: Drop support for mine-to-use RPC system
jeffro256 Jan 28, 2023
37feb22
Merge pull request #8750
luigi1111 Apr 25, 2023
83100b6
Merge pull request #8764
luigi1111 Apr 25, 2023
8172e4d
Merge pull request #8765
luigi1111 Apr 25, 2023
5387018
Merge pull request #8771
luigi1111 Apr 25, 2023
b442d5d
Merge pull request #8780
luigi1111 Apr 25, 2023
0db1b45
Merge pull request #8788
luigi1111 Apr 25, 2023
b2d603e
Merge pull request #8789
luigi1111 Apr 25, 2023
63e9b47
Merge pull request #8791
luigi1111 Apr 25, 2023
df2eb0d
Merge pull request #8796
luigi1111 Apr 25, 2023
a5cf8b5
Merge pull request #8797
luigi1111 Apr 25, 2023
d44350f
Merge pull request #8798
luigi1111 Apr 25, 2023
0d9e790
Merge pull request #8802
luigi1111 Apr 25, 2023
1c9686c
Merge pull request #8724
luigi1111 Apr 25, 2023
4080796
serialization: remove unused function dump_json
jeffro256 Feb 7, 2023
1698cb1
remove defunct light wallet code
tobtoht Mar 3, 2023
28e43b1
Merge pull request #8735
luigi1111 Apr 26, 2023
a2e8d1d
Merge pull request #8760
luigi1111 Apr 26, 2023
c32befe
fix missing <cstdint> includes
tobtoht May 6, 2023
94e67bf
Merge pull request #8842
luigi1111 May 12, 2023
70bbd25
core_rpc_server: new file: rpc_ssl.fingerprint
May 19, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
41 changes: 23 additions & 18 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ name: ci/gh-actions/cli

on:
push:
paths-ignore:
- 'docs/**'
- '**/README.md'
pull_request:
paths-ignore:
- 'docs/**'
Expand All @@ -27,16 +30,16 @@ jobs:
env:
CCACHE_TEMPDIR: /tmp/.ccache-temp
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v3
with:
submodules: recursive
- uses: actions/cache@v2
- uses: actions/cache@v3
with:
path: /Users/runner/Library/Caches/ccache
key: ccache-${{ runner.os }}-build-${{ github.sha }}
restore-keys: ccache-${{ runner.os }}-build-
- name: install dependencies
run: HOMEBREW_NO_AUTO_UPDATE=1 brew install boost hidapi openssl zmq libpgm miniupnpc ldns expat libunwind-headers protobuf ccache
run: HOMEBREW_NO_AUTO_UPDATE=1 brew install boost hidapi openssl zmq libpgm miniupnpc expat libunwind-headers protobuf ccache
- name: build
run: |
${{env.CCACHE_SETTINGS}}
Expand All @@ -51,15 +54,15 @@ jobs:
run:
shell: msys2 {0}
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v3
with:
submodules: recursive
- uses: actions/cache@v2
- uses: actions/cache@v3
with:
path: C:\Users\runneradmin\.ccache
key: ccache-${{ runner.os }}-build-${{ github.sha }}
restore-keys: ccache-${{ runner.os }}-build-
- uses: eine/setup-msys2@v2
- uses: msys2/setup-msys2@v2
with:
update: true
install: mingw-w64-x86_64-toolchain make mingw-w64-x86_64-cmake mingw-w64-x86_64-ccache mingw-w64-x86_64-boost mingw-w64-x86_64-openssl mingw-w64-x86_64-zeromq mingw-w64-x86_64-libsodium mingw-w64-x86_64-hidapi mingw-w64-x86_64-protobuf-c mingw-w64-x86_64-libusb mingw-w64-x86_64-unbound git
Expand All @@ -77,12 +80,12 @@ jobs:
CCACHE_TEMPDIR: /tmp/.ccache-temp
strategy:
matrix:
os: [ubuntu-latest, ubuntu-18.04]
os: [ubuntu-22.04, ubuntu-20.04]
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v3
with:
submodules: recursive
- uses: actions/cache@v2
- uses: actions/cache@v3
with:
path: ~/.ccache
key: ccache-${{ runner.os }}-build-${{ matrix.os }}-${{ github.sha }}
Expand All @@ -101,14 +104,14 @@ jobs:
${{env.BUILD_DEFAULT_LINUX}}

libwallet-ubuntu:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
env:
CCACHE_TEMPDIR: /tmp/.ccache-temp
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v3
with:
submodules: recursive
- uses: actions/cache@v2
- uses: actions/cache@v3
with:
path: ~/.ccache
key: ccache-${{ runner.os }}-libwallet-${{ github.sha }}
Expand All @@ -129,15 +132,15 @@ jobs:

test-ubuntu:
needs: build-ubuntu
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
env:
CCACHE_TEMPDIR: /tmp/.ccache-temp
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v3
with:
submodules: recursive
- name: ccache
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: ~/.ccache
key: ccache-${{ runner.os }}-build-ubuntu-latest-${{ github.sha }}
Expand All @@ -151,10 +154,11 @@ jobs:
- name: install monero dependencies
run: ${{env.APT_INSTALL_LINUX}}
- name: install Python dependencies
run: pip install requests psutil monotonic
run: pip install requests psutil monotonic zmq
- name: tests
env:
CTEST_OUTPUT_ON_FAILURE: ON
DNS_PUBLIC: tcp://9.9.9.9
run: |
${{env.CCACHE_SETTINGS}}
${{env.BUILD_DEFAULT_LINUX}}
Expand All @@ -166,8 +170,9 @@ jobs:
source-archive:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v3
with:
fetch-depth: 0
submodules: recursive
- name: archive
run: |
Expand All @@ -176,7 +181,7 @@ jobs:
export OUTPUT="$VERSION.tar"
echo "OUTPUT=$OUTPUT" >> $GITHUB_ENV
/home/runner/.local/bin/git-archive-all --prefix "$VERSION/" --force-submodules "$OUTPUT"
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v3
with:
name: ${{ env.OUTPUT }}
path: /home/runner/work/monero/monero/${{ env.OUTPUT }}
25 changes: 16 additions & 9 deletions .github/workflows/depends.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ name: ci/gh-actions/depends

on:
push:
paths-ignore:
- 'docs/**'
- '**/README.md'
pull_request:
paths-ignore:
- 'docs/**'
Expand All @@ -17,8 +20,8 @@ env:
ccache --set-config=compression=true

jobs:
build-macos:
runs-on: ubuntu-18.04
build-cross:
runs-on: ubuntu-20.04
env:
CCACHE_TEMPDIR: /tmp/.ccache-temp
strategy:
Expand All @@ -36,13 +39,13 @@ jobs:
packages: "python3 gperf g++-aarch64-linux-gnu"
- name: "i686 Win"
host: "i686-w64-mingw32"
packages: "python3 g++-mingw-w64-i686 qttools5-dev-tools"
packages: "python3 g++-mingw-w64-i686"
- name: "i686 Linux"
host: "i686-pc-linux-gnu"
packages: "gperf cmake g++-multilib python3-zmq"
- name: "Win64"
host: "x86_64-w64-mingw32"
packages: "cmake python3 g++-mingw-w64-x86-64 qttools5-dev-tools"
packages: "cmake python3 g++-mingw-w64-x86-64"
- name: "x86_64 Linux"
host: "x86_64-unknown-linux-gnu"
packages: "gperf cmake python3-zmq libdbus-1-dev libharfbuzz-dev"
Expand All @@ -55,21 +58,25 @@ jobs:
- name: "x86_64 Freebsd"
host: "x86_64-unknown-freebsd"
packages: "clang-8 gperf cmake python3-zmq libdbus-1-dev libharfbuzz-dev"
- name: "ARMv8 Android"
host: "aarch64-linux-android"
packages: "gperf cmake python3"
name: ${{ matrix.toolchain.name }}
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v3
with:
fetch-depth: 0
submodules: recursive
# Most volatile cache
- name: ccache
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: ~/.ccache
key: ccache-${{ matrix.toolchain.host }}-${{ github.sha }}
restore-keys: ccache-${{ matrix.toolchain.host }}-
# Less volatile cache
- name: depends cache
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: contrib/depends/built
key: depends-${{ matrix.toolchain.host }}-${{ hashFiles('contrib/depends/packages/*') }}
Expand All @@ -78,7 +85,7 @@ jobs:
depends-${{ matrix.toolchain.host }}-
# Static cache
- name: OSX SDK cache
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: contrib/depends/sdk-sources
key: sdk-${{ matrix.toolchain.host }}-${{ matrix.toolchain.osx_sdk }}
Expand All @@ -96,7 +103,7 @@ jobs:
run: |
${{env.CCACHE_SETTINGS}}
make depends target=${{ matrix.toolchain.host }} -j2
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v3
if: ${{ matrix.toolchain.host == 'x86_64-w64-mingw32' || matrix.toolchain.host == 'x86_64-apple-darwin11' || matrix.toolchain.host == 'x86_64-unknown-linux-gnu' }}
with:
name: ${{ matrix.toolchain.name }}
Expand Down
49 changes: 49 additions & 0 deletions .github/workflows/gitian.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
name: ci/gh-actions/gitian

on:
push:
tags:
- '*'

jobs:
build-gitian:
runs-on: ubuntu-20.04
strategy:
fail-fast: false
matrix:
operating-system:
- name: "Linux"
option: "l"
- name: "Windows"
option: "w"
- name: "Android"
option: "a"
- name: "FreeBSD"
option: "f"
- name: "macOS"
option: "m"
name: ${{ matrix.operating-system.name }}
steps:
- name: prepare
run: |
sudo apt update
curl -O https://raw.githubusercontent.com/monero-project/monero/${{ github.ref_name }}/contrib/gitian/gitian-build.py
chmod +x gitian-build.py
- name: setup
run: |
./gitian-build.py --setup --docker github-actions ${{ github.ref_name }}
- name: build
run: |
./gitian-build.py --docker --detach-sign --no-commit --build -j 3 -o ${{ matrix.operating-system.option }} github-actions ${{ github.ref_name }}
- name: post build
run: |
cd out/${{ github.ref_name }}
shasum -a256 *
echo \`\`\` >> $GITHUB_STEP_SUMMARY
shasum -a256 * >> $GITHUB_STEP_SUMMARY
echo \`\`\` >> $GITHUB_STEP_SUMMARY
- uses: actions/upload-artifact@v3
with:
name: ${{ matrix.operating-system.name }}
path: |
out/${{ github.ref_name }}/*
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,12 @@ external/miniupnpc/Makefile
miniupnpcstrings.h
version/
ClangBuildAnalyzerSession.txt

# gitian
contrib/gitian/builder/
contrib/gitian/docker/
contrib/gitian/sigs/

# Created by https://www.gitignore.io

### C++ ###
Expand Down
36 changes: 24 additions & 12 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2014-2022, The Monero Project
# Copyright (c) 2014-2023, The Monero Project
#
# All rights reserved.
#
Expand Down Expand Up @@ -412,7 +412,7 @@ if (CMAKE_BUILD_TYPE STREQUAL "Debug")
else()
set(DEFAULT_BUILD_DEBUG_UTILITIES OFF)
endif()
option(BUILD_DEBUG_UTILITIES "Build debug utilities." DEFAULT_BUILD_DEBUG_UTILITIES)
option(BUILD_DEBUG_UTILITIES "Build debug utilities." ${DEFAULT_BUILD_DEBUG_UTILITIES})

if(OSSFUZZ)
message(STATUS "Using OSS-Fuzz fuzzing system")
Expand Down Expand Up @@ -449,15 +449,12 @@ endif()
# Check if we're on OpenBSD. See the README.md for build instructions.
if(CMAKE_SYSTEM_NAME MATCHES "kOpenBSD.*|OpenBSD.*")
set(OPENBSD TRUE)
elseif(CMAKE_SYSTEM_NAME MATCHES "kNetBSD.*|NetBSD.*")
set(NETBSD TRUE)
elseif(CMAKE_SYSTEM_NAME MATCHES ".*BSDI.*")
set(BSDI TRUE)
endif()

# TODO: check bsdi, NetBSD, to see if they need the same FreeBSD changes
#
# elseif(CMAKE_SYSTEM_NAME MATCHES "kNetBSD.*|NetBSD.*")
# set(NETBSD TRUE)
# elseif(CMAKE_SYSTEM_NAME MATCHES ".*BSDI.*")
# set(BSDI TRUE)

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

if(APPLE)
Expand Down Expand Up @@ -531,7 +528,7 @@ add_definitions("-DBLOCKCHAIN_DB=${BLOCKCHAIN_DB}")
# Can't install hook in static build on OSX, because OSX linker does not support --wrap
# On ARM, having libunwind package (with .so's only) installed breaks static link.
# When possible, avoid stack tracing using libunwind in favor of using easylogging++.
if (APPLE)
if (APPLE OR NETBSD)
set(DEFAULT_STACK_TRACE OFF)
set(LIBUNWIND_LIBRARIES "")
elseif (DEPENDS AND NOT LINUX)
Expand Down Expand Up @@ -794,7 +791,7 @@ else()
set(USE_LTO_DEFAULT false)
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -Wl,--stack,10485760")
if(NOT BUILD_64)
add_definitions(-DWINVER=0x0501 -D_WIN32_WINNT=0x0501)
add_definitions(-DWINVER=0x0600 -D_WIN32_WINNT=0x0600)
endif()
endif()
set(C_WARNINGS "-Waggregate-return -Wnested-externs -Wold-style-definition -Wstrict-prototypes")
Expand Down Expand Up @@ -1076,6 +1073,7 @@ if(STATIC)
set(Boost_USE_STATIC_RUNTIME ON)
endif()
find_package(Boost 1.58 QUIET REQUIRED COMPONENTS system filesystem thread date_time chrono regex serialization program_options locale)
add_definitions(-DBOOST_ASIO_ENABLE_SEQUENTIAL_STRAND_ALLOCATION)

set(CMAKE_FIND_LIBRARY_SUFFIXES ${OLD_LIB_SUFFIXES})
if(NOT Boost_FOUND)
Expand Down Expand Up @@ -1138,7 +1136,9 @@ if (HIDAPI_FOUND OR LibUSB_COMPILE_TEST_PASSED)
endif()
endif()

option(USE_READLINE "Build with GNU readline support." ON)
if(NOT OPENBSD)
option(USE_READLINE "Build with GNU readline support." ON)
endif()
if(USE_READLINE AND NOT DEPENDS)
find_package(Readline)
if(READLINE_FOUND AND GNU_READLINE_FOUND)
Expand Down Expand Up @@ -1177,6 +1177,9 @@ find_library(NORM_LIBRARY norm)
find_library(GSSAPI_LIBRARY gssapi_krb5)
find_library(PROTOLIB_LIBRARY protolib)
find_library(SODIUM_LIBRARY sodium)
find_library(BSD_LIBRARY bsd)
find_library(MD_LIBRARY md)
find_library(PROTOKIT_LIBRARY protokit)

if(NOT ZMQ_INCLUDE_PATH)
message(FATAL_ERROR "Could not find required header zmq.h")
Expand All @@ -1199,6 +1202,15 @@ endif()
if(SODIUM_LIBRARY)
set(ZMQ_LIB "${ZMQ_LIB};${SODIUM_LIBRARY}")
endif()
if(BSD_LIBRARY)
set(ZMQ_LIB "${ZMQ_LIB};${BSD_LIBRARY}")
endif()
if(MD_LIBRARY)
set(ZMQ_LIB "${ZMQ_LIB};${MD_LIBRARY}")
endif()
if(PROTOKIT_LIBRARY)
set(ZMQ_LIB "${ZMQ_LIB};${PROTOKIT_LIBRARY}")
endif()

include(external/supercop/functions.cmake) # place after setting flags and before src directory inclusion
add_subdirectory(contrib)
Expand Down
2 changes: 1 addition & 1 deletion CMakeLists_IOS.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Portions Copyright (c) 2017-2022, The Monero Project
# Portions Copyright (c) 2017-2023, The Monero Project
# This file is based off of the https://code.google.com/archive/p/ios-cmake/
# It has been altered for Monero iOS development
#
Expand Down
Loading