Commit graph

11227 commits

Author SHA1 Message Date
SChernykh
dab7d01dc0 Refactored rx-slow-hash.c
- Straight-forward call interface: `void rx_slow_hash(const char *seedhash, const void *data, size_t length, char *result_hash)`
- Consensus chain seed hash is now updated by calling `rx_set_main_seedhash` whenever a block is added/removed or a reorg happens
- `rx_slow_hash` will compute correct hash no matter if `rx_set_main_seedhash` was called or not (the only difference is performance)
- New environment variable `MONERO_RANDOMX_FULL_MEM` to force use the full dataset for PoW verification (faster block verification)
- When dataset is used for PoW verification, dataset updates don't stall other threads (verification is done in light mode then)
- When mining is running, PoW checks now also use dataset for faster verification
2023-01-09 07:43:07 +01:00
Jeffrey Ryan
f3420cb750 readline_buffer: disable bracketed paste escape sequences 2023-01-04 16:04:32 -06:00
koe
b1bce857c9 miscellaneous crypto updates 2023-01-03 16:50:08 -06:00
selsta
3461a19940
daemonizer: don't uninstall windows service on exit 2023-01-03 03:45:43 +01:00
e91f35e030 win-service: enable auto startup 2023-01-02 05:18:48 +00:00
moneromooo-monero
d89e7a239d
util: make GMT timestamps explicit for clarity
For privacy reasons, time functions use GMT, to avoid logs leaking
timezones. It'd make more sense to use localtime for wallet output
(which are not logged by default), but that adds inconsistencies
which can also be confusing. So add a Z suffix for now to make it
clear these are not local time.
2023-01-01 10:38:13 +00:00
moneromooo-monero
bfd7c00ced
heed NO_COLOR environment variable 2023-01-01 10:24:46 +00:00
moneromooo-monero
b67e931843
epee: when loading a JSON RPC payload, ensure params is an object
this makes it easier to spot those mistakes by the caller
2023-01-01 10:10:28 +00:00
moneromooo-monero
934b798c74
rpc: do not misidentify coinbase txes as pruned 2023-01-01 09:30:59 +00:00
rbrunner7
9752116ed3 wallet2, RPC: Optimize RPC calls for periodic refresh from 3 down to 1 call 2022-12-30 13:50:22 +01:00
Jeffrey Ryan
7a3a593a77 common: move boost_serialization_helper.h out and cleanup includes 2022-12-22 12:18:02 -06:00
SChernykh
1a568deacb Cache successful verRctNonSemanticsSimple calls 2022-12-20 22:16:39 +01:00
selsta
96677fffcd
common: add missing includes 2022-12-18 18:30:08 +01:00
koe
b986421b4f adjust multiexp pippenger_cached_data for better reusability 2022-12-16 11:48:57 -06:00
Gingeropolous
a1602700b1
update readme with v0.18.1.2 version number
updated readme with all relevant instances of v0.18.0.0 changed to v0.18.1.2
2022-12-07 07:08:27 -05:00
luigi1111
9367b432f6
Merge pull request #8635
8b8326a workflows: ubuntu 18.04 is deprecated (selsta)
2022-12-01 01:11:39 -06:00
luigi1111
7275a4d23b
Merge pull request #8627
a7bf3af Fix dandelion++ fluff/stem bug with local txes (Lee Clagett)
2022-12-01 01:10:20 -06:00
luigi1111
2f168da7f7
Merge pull request #8618
1114e7e fix(trezor-tests): fix trezor tests build, fix integrated addr test (Dusan Klinec)
2022-12-01 01:08:53 -06:00
luigi1111
179a87afae
Merge pull request #8616
cac5083 wallet2: fix create view-only wallet from existing wallet (j-berman)
2022-12-01 01:08:11 -06:00
luigi1111
1cfe69c7f1
Merge pull request #8610
97b86a0 wallet_api: take priority into account when estimating fee (selsta)
2022-12-01 01:05:14 -06:00
luigi1111
74d82f9e47
Merge pull request #8603
6f00070 workflows: skip ci when only changing documentation (selsta)
2022-12-01 01:03:24 -06:00
luigi1111
a5c7ae2761
Merge pull request #8602
8e98aaa workflows: build gitian on tag (selsta)
2022-12-01 01:02:49 -06:00
luigi1111
4a5f8a0c4d
Merge pull request #8575
98ce6f1 depends: remove unused file (selsta)
2022-12-01 01:02:25 -06:00
luigi1111
12489c69cb
Merge pull request #8572
50b7492 unit_tests: suppress memwipe unit warning (Jeffrey Ryan)
2022-12-01 01:01:34 -06:00
luigi1111
32a1cd1bf1
Merge pull request #8503
d06202d blockchain_prune: faster (moneromooo-monero)
2022-12-01 01:00:15 -06:00
Offshore Monero
6558e7e2c6 Correct/modernize build instructions for OpenBSD 2022-12-01 04:28:46 +00:00
Offshore Monero
0e5ecd4603 Turn readline off on OpenBSD because it is broken 2022-12-01 04:27:48 +00:00
selsta
61842f9d33
workflows: set a public DNS when doing tests 2022-11-28 11:37:33 +01:00
Jeffrey Ryan
8687da6276 common: DNSResolver can handle hostnames without dot characters
Unrelated, but similar code-wise to #8643. There is a check in `DNSResolver` which automatically fails to resolve hostnames which do not contain the `.` character. This PR removes that check.
2022-11-21 15:54:23 -06:00
Jeffrey Ryan
faaf2af43b p2p: fix exclusive node DNS resolution for certain hosts
Fixes #8633. The function `append_net_address` did not parse hostname + port addresses (e.g. `bar:29080`) correctly if the hostname did not contain a `'.'` character.

@vtnerd comments 1

clear up 2nd conditional statement
2022-11-17 18:55:09 -06:00
moneromooo-monero
832173a490
gpg_keys: bump my key validity by another two years 2022-11-17 17:45:14 +00:00
Dusan Klinec
1114e7eed7
fix(trezor-tests): fix trezor tests build, fix integrated addr test
- fix integrated address test, it was not testing integrated address suport
- fix trezor test build as dependent classes were changed
- add a friend test class for Monero::WalletImpl to support wallet api tests
When using wallet_api in tests, synthetic chain is used. Without being able to set `allow_mismatched_daemon_version` in the underlying wallet, we are not able to use a synthetic chain with the tests
2022-11-17 12:12:23 +01:00
selsta
8e98aaa18d
workflows: build gitian on tag 2022-11-17 02:47:27 +01:00
j-berman
1a3ae18ef9 p2p: fix back ping to discover healthy peers to connect to 2022-11-14 16:54:45 -08:00
Jeffrey Ryan
ab7102e31f epee: remove dead HTTP code
http_client.h
2022-11-13 20:27:21 -06:00
selsta
8b8326adfd
workflows: ubuntu 18.04 is deprecated 2022-11-14 02:15:26 +01:00
luigi1111
365fd45b03
Merge pull request #8593
be8efec workflows: ubuntu 18.04 is deprecated (selsta)
2022-10-28 00:52:41 -04:00
luigi1111
709ef69b01
Merge pull request #8590
74ec950 readme: fix instructions for win64 cross builds (erciccione)
2022-10-28 00:52:07 -04:00
luigi1111
9579ba58c7
Merge pull request #8580
ebb85d7 Add Gitian builds to README (duggavo)
2022-10-28 00:51:43 -04:00
luigi1111
e7d673e367
Merge pull request #8571
9274426 Keys: Update for expired 'rbrunner7' key, valid 2 years (rbrunner7)
2022-10-28 00:50:39 -04:00
luigi1111
400f236650
Merge pull request #8570
8923441 fix build in netbsd (mmyjona)
2022-10-28 00:50:17 -04:00
luigi1111
5b208f988a
Merge pull request #8569
b526a4b levin_abstract_invoke: remove dead code (Jeffrey Ryan)
2022-10-28 00:49:45 -04:00
luigi1111
05ccf6804f
Merge pull request #8564
f69adef Fix static builds for Ubuntu 22.04 (AgoraDesk / LocalMonero)
2022-10-28 00:49:22 -04:00
luigi1111
a43a5caefe
Merge pull request #8543
d21fd92 rpc: dont shrink slice when loading from binary (Jeffrey Ryan)
2022-10-28 00:48:48 -04:00
luigi1111
8672553e3d
Merge pull request #8529
09d69b6 rpc: remove overwriting value (SerHack)
2022-10-28 00:47:55 -04:00
luigi1111
f41c68648c
Merge pull request #8527
e988530 Remove redundant check (SerHack)
2022-10-28 00:47:26 -04:00
luigi1111
2ab0732d1a
Merge pull request #8525
501db2c Wallet RPC: remove duplicate line (SerHack)
2022-10-28 00:46:50 -04:00
luigi1111
45ffdc26a6
Merge pull request #8517
6f0fb76 blockchain: fix invalid memory read getting fee on empty chain (Crypto City)
2022-10-28 00:46:19 -04:00
luigi1111
aba564c86e
Merge pull request #8516
26c630f Update release check-list with lessons learned from v15/v16 fork (Seth For Privacy)
2022-10-28 00:45:42 -04:00
luigi1111
9f5c7209a0
Merge pull request #8355
23fde15 wallet_rpc_server: chunk refresh to keep responding to RPC while refreshing (moneromooo-monero) 5bb2369 wallet_rpc_server: add --no-initial-sync flag for quicker network binding (moneromooo-monero)
2022-10-28 00:44:59 -04:00