Age | Commit message (Collapse) | Author | Files | Lines |
|
7c7ccbd2a depends: fix broken links for ds_store / mac_alias (selsta)
|
|
07442a605 Fix build with Boost 1.74 (moneromooo-monero)
|
|
12ffc79b2 qrcodegen: fix compilation with old gcc, use modern cmake (selsta)
|
|
728ba38b1 rpc: always send raw txes through P2P (don't use bootstrap daemon) (xiphon)
|
|
3614f78d5 README: update list of third party monero packages (erciccione)
|
|
9f05df199 travis: j3 -> j2 on i686-w64-mingw32 (selsta)
|
|
844fb4e94 enforce claiming maximum coinbase amount (moneromooo-monero)
|
|
20f603c6b Fix broken multisig pubkey sorting (Jason Rhinelander)
|
|
4ff2074c7 cryptonote_protocol: don't synced pruned blocks before v11 (cohcho)
|
|
85899230d simplewallet: allow setting tx keys when sending to a subaddress (moneromooo-monero)
e916201f1 wallet2: fix setting tx keys when another is already set (moneromooo-monero)
|
|
db5d6e460 wallet2: fix wrong name when checking RPC cost (moneromooo-monero)
|
|
7175dcb10 replace most boost serialization with existing monero serialization (moneromooo-monero)
|
|
839e1f4ba functional_tests: add p2p functional tests (moneromooo-monero)
|
|
55363c594 Avoid some temporary strings when reading off the database (moneromooo-monero)
|
|
Tests tx/block propagation and reorgs
|
|
b6e904e54 README: mention pruning (moneromooo-monero)
|
|
eb1b321fe miner: increase min/max intervals to full extents (moneromooo-monero)
|
|
Claiming a slightly lesser amount does not yield the size gains
that were seen pre rct, so this closes a fingerprinting vector
|
|
|
|
This reverts commit 921dd8dde5d381052d0aa2936304a3541a230c55.
|
|
This reduces the attack surface for data that can come from
malicious sources (exported output and key images, multisig
transactions...) since the monero serialization is already
exposed to the outside, and the boost lib we were using had
a few known crashers.
For interoperability, a new load-deprecated-formats wallet
setting is added (off by default). This allows loading boost
format data if there is no alternative. It will likely go
at some point, along with the ability to load those.
Notably, the peer lists file still uses the boost serialization
code, as the data it stores is define in epee, while the new
serialization code is in monero, and migrating it was fairly
hairy. Since this file is local and not obtained from anyone
else, the marginal risk is minimal, but it could be migrated
later if needed.
Some tests and tools also do, this will stay as is for now.
|
|
|
|
05ad4fa39 epee: further defending against exceptions in command handlers (moneromooo-monero)
|
|
4f01cf4b4 Tweak format, add option for difficulty (Howard Chu)
429d49512 Add options to print daily coin emission and fees (Howard Chu)
d745d2433 Don't forget size of prunable txn part (Howard Chu)
|
|
13eee1d6a rpc: reject wrong sized txid (moneromooo-monero)
92e6b7df2 easylogging++: fix crash with reentrant logging (moneromooo-monero)
6dd95d530 epee: guard against exceptions in RPC handlers (moneromooo-monero)
90016ad74 blockchain: guard against exceptions in add_new_block/children (moneromooo-monero)
|
|
c1b03fb1a rpc: return empty txid get_outs rather than 00..00 when not requested (moneromooo-monero)
|
|
86abf558c epee: Remove unused functions in local_ip.h (Jean Pierre Dudey)
|
|
85efc88c1 Fix overflow issue in epee:misc_utils::rolling_median_t and median(), with unit test (koe)
|
|
76c16822d wallet2_api: implement runtime proxy configuration (xiphon)
|
|
3d6bc0a68 wallet2: throw a error on wallet initialization failure (xiphon)
|
|
01cd3d934 For NetBSD, add instructions to README.md and define to ea_config.h (thomasvaughan)
|
|
8baa7bb23 daemon: don't print "(pruned)" for coinbase txes (moneromooo-monero)
|
|
a3933a2a5 Update RandomX to v1.1.8 (tevador)
|
|
6111689cf cmake: allow custom openssl path on macOS (selsta)
|
|
afd002c31 daemon: print sampling time in print_net_stats (moneromooo-monero)
ec7bba079 util: fix kilo prefix typo (K instead of k) (moneromooo-monero)
|
|
2f1ad3b3d updates: mac gui .tar.bz2 -> .dmg (selsta)
|
|
f9e3fcdf3 add trezor support to sweep_single (Dusan Klinec)
|
|
e33428012 python-rpc: fix bad in_peers parameter (moneromooo-monero)
|
|
267ce5b71 avoid a couple needless copies (moneromooo-monero)
|
|
01c384c5d workflows: update msys2 setup action v0 -> v1 (selsta)
|
|
ef694d028 fix warning by removing std::move() on temporary http_client object (woodser)
|
|
2d5d74ff5 Mention correct libusb and libudev dependencies (MaxXor)
|
|
fb31167b1 Wallet, daemon: From 'help_advanced' back to 'help', and new 'apropos' command (rbrunner7)
|
|
4e2377995 Change ZMQ-JSON txextra to hex and remove unnecessary base fields (Lee Clagett)
|
|
98c151ecb Optimize ZMQ-JSON vector reading; GetBlocksFast reads 24%+ faster (Lee Clagett)
60627c9f2 Switch to insitu parsing for ZMQ-JSON; GetBlocksFast reads 13%+ faster (Lee Clagett)
fe96e66eb Fix pruned tx for ZMQ's GetBlocksFast (Lee Clagett)
|
|
6f5411d30 tests: fix missing error on missing python entry point (moneromooo-monero)
c6dc2850c python-rpc: add missing sync_txpool python entry point (moneromooo-monero)
|
|
eda167585 wallet_rpc_server: use unlock_time in suggested confirmations calc (moneromooo-monero)
|
|
35665df20 protocol: don't drop a connection if we can't get a compatible chain (moneromooo-monero)
|
|
a07c8abcc Update expat.mk (ArqTras)
|
|
921dd8dde Use domain-separated ChaCha20 for in-memory key encryption (Sarang Noether)
|
|
a11ec4ac1 Support for supercop ASM in wallet, and benchmark for supercop (Lee Clagett)
|
|
Removed AUR package, since doesn't seem to exist anymore and added Debian package (the CCS-funded one)
|
|
6bfcd3101 Updates InProofV1, OutProofV1, and ReserveProofV1 to new V2 variants that include all public proof parameters in Schnorr challenges, along with hash function domain separators. Includes new randomized unit tests. (Sarang Noether)
|
|
It turns out that some remote (bootstrap) nodes silently drop /
don't broadcast client's transactions.
|
|
Thanks iDunk for testing
|
|
|
|
|
|
|
|
|
|
|
|
|
|
The tx key derivation is different then
|
|
There are a few Borromean proofs txes in the v8 era, and these
aren't supported by get_pruned_transaction_weight. Moreover, only
only the most recent variant of bulletproofs is currently supported.
|
|
|
|
include all public proof parameters in Schnorr challenges, along with hash function domain separators. Includes new randomized unit tests.
|
|
67ade8005 Add randomized delay when forwarding txes from i2p/tor -> ipv4/6 (Lee Clagett)
|
|
insert doesn't actually insert if another element with the
same key is already in the map
|
|
The sort predicate is a boolean ordered-before value, but these are
returning the memcmp value directly, and thus returns true whenever the
pubkeys aren't equal. This means:
- it isn't actually sorting.
- it can (and does) segfault for some inputs.
|
|
1d31e6c00 net_node: remove dead seed nodes (selsta)
|
|
e5214a2ca Adding ZMQ/Pub support for txpool_add and chain_main events (Lee Clagett)
|
|
Set input, output, ringsize averages to 2 decimal places precision
Add option to show min/max/av per-block difficulty
|
|
|
|
Closes #6735
|
|
Fixes #6732
|
|
|
|
Reporter requested credit to be given to Decred
|
|
|
|
|
|
Reporter requested credit to be given to Decred
|
|
It's more obvious there's no txid, and it saves space
|
|
Pruned coinbase txes are the same as unpruned ones, so the
prunable data is empty
|
|
|
|
unit test
|
|
Signed-off-by: Jean Pierre Dudey <me@jeandudey.tech>
|
|
|
|
|
|
|
|
40b73d2a6 cmake: insert CMAKE_CURRENT_SOURCE_DIR in CMAKE_MODULE_PATH (xiphon)
|
|
ed901798d version: update name (selsta)
|
|
a6803231e daemon: complain if data dir resides on FAT32 volume (Windows) (xiphon)
|
|
72cdfa4a2 fix a few typos in error messages (moneromooo-monero)
|
|
bd69e3b37 testdb: add override in a couple places where it's missing (moneromooo-monero)
|
|
7178bb5c8 keccak: remove aligned check (moneromooo-monero)
|
|
5e0ea6e95 simplewallet: add missing calls to on_command (moneromooo-monero)
|
|
bd9653663 db_lmdb: test for mmap support at init time (moneromooo-monero)
|
|
7bd66b01b daemon: guard against rare 'difficulty drift' bug with checkpoints and recalculation (stoffu)
|
|
153977aed libzmq should be libzmq4. (russoj88)
|
|
5d882f4f1 blockchain: fix theoretical race getting bulk timestamps (moneromooo-monero)
|
|
8656a8c9f remove double includes (sumogr)
|
|
5ef0607da Update copyright year to 2020 (SomaticFanatic)
|
|
71693f06 systemd: Make sure required folders exist (Age Bosma)
|
|
3843a6ab Made ccache optional (opt out) and tidied up the FindCcache.cmake (mj-xmr)
|
|
db8563cb performance_tests: some windows fixes (moneromooo-monero)
|
|
7765da6e Keys: Add key for rbrunner7 (rbrunner7)
|
|
99684e3e simplewallet: add show_qr_code command (selsta)
|
|
6d41d9e8 contrib: remove codefresh pipeline (selsta)
|
|
91182330 snap: remove from repo (selsta)
|
|
332d607 tx_pool: mine stem txes in fake chain mode (moneromooo-monero)
|
|
This fixes the functional tests, since txes would not be mined
after being sent to the daemon (they'd be waiting for the
dandelion timeout first)
|
|
0fd6cce blockchain: fix timestamp/difficulty cache getting out of sync (moneromooo-monero)
|
|
The cache is discarded when a block is popped, but then gets
rebuilt when the difficulty for next block is requested.
While this is all properly locked, it does not take into account
the delay caused by a database transaction being only committed
(and thus its effects made visible to other threads) later on,
which means another thread could request difficulty between
the pop and the commit, which would end up using stale database
view to build the cache, but that cache would not be invalidated
again when the transaction gets committed, which would cause the
cache to not match the new database data.
To fix this, we now keep track of when the cache is invalidated
so we can invalidate it again upon database transaction commit
to ensure it gets calculated again with fresh data next time it
is nedeed.
|
|
3721d56 epee: fix array underflow in unicode parsing (moneromooo-monero)
|
|
4d8d121 Fix D++ block template check (vtnerd)
|
|
795e186 blockchain: fix total_height in getblocks.bin response (moneromooo-monero)
|
|
4df8f9c rpc: fix loading rpc payment data from file (moneromooo-monero)
|
|
dc1a053 rpc: fix comparison of seconds vs microseconds (moneromooo-monero)
|
|
6e4a55b rpc: fix relay_tx error return mixup (moneromooo-monero)
9b86e14 functional_tests: add simple relay_tx test (moneromooo-monero)
|
|
ec46069 Fix incorrect lenght of command INS_PREFIX_HASH (grydz)
|
|
bcef52d daemon: remove time based 'update needed' status string (moneromooo-monero)
|
|
94befec fix typo in pick_preferred_rct_inputs (Parean)
|
|
78d435a rpc: don't display invalid json errors on default log level (moneromooo-monero)
|
|
7ebb351 rpc: lock access to the rpc payment object (moneromooo-monero)
|
|
f037121 cryptonote_core: remove 'We are most likely forked' message (moneromooo-monero)
|
|
567402c protocol: move the 'peer claims higher version' warning to debug (moneromooo-monero)
|
|
15538f7 ByteSlice: Fix persisting ptr to std::moved SSO buffer (Doy-lee)
|
|
ca60d60 easylogging++: sanitize log payload (moneromooo-monero)
|
|
5741b4d blockchain: detect and log bad difficulty calculations (moneromooo-monero)
|
|
b73f4e7 [master]: Update gitian yml files (iDunk5400)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Reported by minerscan
Also independently found by OSS-Fuzz just recently
|
|
Thanks to iDunk for helping with Windows.
|
|
bde7f1c fuzz_tests: fix init check in oss-fuzz mode (moneromooo-monero)
c4b7420 Do not use PIE with OSS-Fuzz (moneromooo-monero)
c4df8b1 fix leaks in fuzz tests (moneromooo-monero)
38ca1bb fuzz_tests: add a tx extra fuzz test (moneromooo-monero)
|
|
|
|
58e1c8b repo: update donation fund address (selsta)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
recalculation
On startup, it checks against the difficulty checkpoints, and if any mismatch is found, recalculates all the blocks with wrong difficulties. Additionally, once a week it recalculates difficulties of blocks after the last difficulty checkpoint.
|
|
4d3c2d0 rpc: add a sanity limit to a few RPC in restricted mode (moneromooo-monero)
|
|
c17fe81 wallet2: fix multisig data clearing stomping on a vector (moneromooo-monero)
|
|
5ed37ba serialization: fix bad rapidjson api usage (moneromooo-monero)
|
|
bb5c5df cryptonote_protocol: reject requests/notifications before handshake (moneromooo-monero)
f1d0457 cryptonote_protocol: stricter limit to number of objects requested (moneromooo-monero)
|
|
82d21f5 easylogging++: sanitize log payload (moneromooo-monero)
7d0b7e8 [master] MMS: New 'config_checksum' subcommand (rbrunner7)
|
|
85164a8 epee: use memwipe rather than memset for md5 secrets (moneromooo-monero)
|
|
86cf811 simplewallet: don't complain about incoming payment ids on change (moneromooo-monero)
|
|
29e563b Fixed bugs for take_slice and byte_stream->byte_slice (vtnerd)
|
|
ab44293 trezor: add new firmware version support (ph4r05)
|
|
4baee20 build: prepare v0.16.0.0 release (selsta)
|
|
|
|
|
|
|
|
Got broken after making one of those micro optimizations requested on review..
|
|
|
|
|
|
7aeb503 Fix boost <1.60 compilation and fix boost 1.73+ warnings (vtnerd)
|
|
|
|
|
|
This prevents setting target to, eg, 65 being ignored
and remove an unused constant
|
|
2314dae workflows: fix windows build (selsta)
|
|
|
|
|
|
81773f5 fuzz_tests: refactor and add OSS-Fuzz compatibility (moneromooo-monero)
cb4edc1 cmake: ASAN and PIE don't mix (moneromooo-monero)
|
|
f35ced6 build: fix boost 1.73 compatibility (selsta)
|
|
buffer_send[4] (LC) is an unsigned char, len should not
exceed 254 (255 - 1 for the option).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Some of it might be coming from untrusted sources
Reported by itsunixiknowthis
|
|
It's not something the user needs to know, and will display
attacker controlled data
|
|
|
|
|
|
|
|
The Bug:
1. Construct `byte_slice.portion_` with `epee::span(buffer)` which copies a pointer to the SSO buffer to `byte_slice.portion_`
2. It constructs `byte_slice.storage_` with `std::move(buffer)` (normally this swap pointers, but SSO means a memcpy and clear on the original SSO buffer)
3. `slice.data()` returns a pointer from `slice.portion_` that points to the original SSO cleared buffer, `slice.storage_` has the actual string.
|
|
|
|
|
|
It's time based and we don't have forks every 6 months anymore
|
|
Because there's a neverending supply of cunts claiming a wrong
version just to say "look at me" I guess
|
|
Reported by adrelanos
|
|
|
|
Reported by xnbya
|
|
Reported by xnbya
|
|
Some of it might be coming from untrusted sources
Reported by itsunixiknowthis
|
|
|
|
|
|
|
|
|
|
This can now happen if:
- we have a pruned db
- we have not connected to the monero network for a while
- we connect to a node
- that node asks us for history
- we only have a pruned version of the most recent common block
In that case, it's better to not reply but keep the connection alive,
so we can sync off it.
|