moneromooo-monero
8965489acb
protocol: reject empty incoming block messages
4 years ago
xiphon
d6953406c9
rpc: on_send_raw_tx (bootstrap) - send to bootstrap daemon and P2P
4 years ago
moneromooo
5090cdc9f5
p2p: remove banned peers from the white list
4 years ago
moneromooo
df1061c87d
p2p: give all hosts the same chance of being picked for connecting
...
even if some run more than one node
4 years ago
selsta
f55f3fe81c
net_node: add --ban-list option
4 years ago
Lee Clagett
9b7ed2fd8b
Change Dandelion++ fluff probability to 20%, and embargo timeout to 39s
...
A 20% fluff probability increases the precision of a spy connected to
every node by 10% on average, compared to a network using 0% fluff
probability. The current value (10% fluff) should increase precision by
~5% compared to baseline.
This decreases the expected stem length from 10 to 5. The embargo
timeout was therefore lowered to 39s; the fifth node in a stem is
expected to have a 90% chance of being the first to timeout, which is
the same probability we currently have with an expected stem length of
10 nodes.
4 years ago
Lee Clagett
e8468c5dcf
Fix timeout checks for forwarded and Dandelion++ stem txes
4 years ago
Riccardo Spagni
76cc82c292
Merge pull request #6916
...
81aaa4ec7
bump default number of connections from 8 to 12 (moneromooo-monero)
4 years ago
Riccardo Spagni
81a23c73d2
Merge pull request #6914
...
f9a9d2ee2
wallet2: wait for propagation timeout before marking tx as failed (xiphon)
4 years ago
Riccardo Spagni
4b86583492
Merge pull request #6912
...
6e594e53b
Allow setting start block on export (Howard Chu)
4 years ago
Riccardo Spagni
30918a27ab
Merge pull request #6907
...
39e30d548
wallet2_api: implement stop() to interrupt refresh() loop once (xiphon)
4 years ago
selsta
c028f4c4d8
build: prepare v0.17.1.1
4 years ago
xiphon
f9a9d2ee28
wallet2: wait for propagation timeout before marking tx as failed
4 years ago
moneromooo-monero
81aaa4ec7b
bump default number of connections from 8 to 12
4 years ago
Howard Chu
6e594e53bb
Allow setting start block on export
...
And make import honor the starting block# recorded in a bootstrap file
4 years ago
xiphon
39e30d5481
wallet2_api: implement stop() to interrupt refresh() loop once
4 years ago
moneromooo-monero
1120df3c53
blockchain: fix sync at v14 boundary
...
Miners with MLSAG txes which they'd already verified included
a couple in that block, but the consensus rules had changed
in the meantime, so that block is technically invalid and any
node which did not already have those two txes in their txpool
could not sync. Grandfather them in, since it has no effect in
practice.
4 years ago
Lee Clagett
42403c7acc
Fix CLI and unrestricted RPC relay_tx with stempool
4 years ago
Lee Clagett
fa63d4b3f0
Fix tx flush callback queueing
4 years ago
luigi1111
4d855fcca7
Merge pull request #6894
...
e49ad98
fix next_seed_height regression in getblocktemplate rpc (xnbya)
4 years ago
luigi1111
8ae0110d54
Merge pull request #6893
...
4cf3545
core_rpc_server: on_get_blocks - forward bootstrap daemon error (xiphon)
4 years ago
luigi1111
a9178e3584
Merge pull request #6888
...
a2e37eb
build: prepare v0.17.1.0 (selsta)
4 years ago
luigi1111
94a86cf855
Merge pull request #6884
...
6352090
Dandelion++: skip desynced peers in stem phase (xiphon)
4 years ago
luigi1111
745d90c4a4
Merge pull request #6883
...
c407b92
wallet2: fix missing m_state field in wallet serialization (moneromooo-monero)
4 years ago
xiphon
4cf3545a31
core_rpc_server: on_get_blocks - forward bootstrap daemon error
4 years ago
selsta
a2e37eb3d8
build: prepare v0.17.1.0
4 years ago
xiphon
6352090e6d
Dandelion++: skip desynced peers in stem phase
4 years ago
moneromooo-monero
c407b92e80
wallet2: fix missing m_state field in wallet serialization
4 years ago
moneromooo-monero
250c48a289
tx_pool: silence spammy harmless warning till we fix the bug
4 years ago
Alexis Enston
e49ad98a9b
fix next_seed_height regression in getblocktemplate rpc
4 years ago
Lee Clagett
37bb59485f
Do not use peer_id tracking method over i2p/tor
4 years ago
Lee Clagett
263579b217
Add support for i2p and tor seed nodes
4 years ago
Lee Clagett
58cde83fb0
Switch to Dandelion++ fluff mode if no out connections for stem mode
4 years ago
luigi1111
05405024c0
Merge pull request #6843
...
c02d24f
build: prepare v0.17.0.1 (selsta)
4 years ago
luigi1111
d65f9a3064
Merge pull request #6842
...
9e6187a
fix a couple bugs found by OSS-fuzz (moneromooo-monero)
4 years ago
selsta
c02d24f838
build: prepare v0.17.0.1
4 years ago
moneromooo-monero
9e6187a736
fix a couple bugs found by OSS-fuzz
...
- index out of bounds when importing outputs
- accessing invalid CLSAG data
4 years ago
xiphon
4846743fdc
daemon: Windows - fix FAT32 warning, trailing backslash is required
4 years ago
luigi1111
d27d4526fe
Merge pull request #6819
...
c3f354e
simplewallet fix wrong persistent-rpc-client-id name in help (moneromooo-monero)
4 years ago
luigi1111
5b3614e6a9
Merge pull request #6816
...
929ea98
Remove unused macros from cryptonote_config.h (TheCharlatan)
4 years ago
luigi1111
2b1488ef6f
Merge pull request #6793
...
de9a9fb
update error message 'No unlocked balance in the specified account' (woodser)
4 years ago
TheCharlatan
80e535c95a
wallet2: adapt to deterministic unlock time
4 years ago
moneromooo-monero
4971219c2c
blockchain: deterministic UNIX time unlock checks
...
Based on a patch by TheCharlatan <seb.kung@gmail.com>
4 years ago
moneromooo-monero
c3f354e6c1
simplewallet fix wrong persistent-rpc-client-id name in help
4 years ago
luigi1111
9bba1a24ea
Merge pull request #6815
...
ef4325f
wallet2: fix tx sanity check triggering on pre-rct outputs (monermooo-monero)
4 years ago
luigi1111
2993d2004a
Merge pull request #6813
...
a3844e2
Fix typo in command line argument description (reinaldoacosta)
4 years ago
selsta
f240b1dd88
build: prepare v0.17
4 years ago
TheCharlatan
929ea98662
Remove unused macros from cryptonote_config.h
4 years ago
moneromooo-monero
ef4325fd41
wallet2: fix tx sanity check triggering on pre-rct outputs
4 years ago
Reinaldulin
a3844e257e
Fix typo in command line argument description
4 years ago
luigi1111
836067b68b
Merge pull request #6805
...
fc2cb22
blockchain: fix pow skipping for old blocks without precalc hash (moneromooo-monero)
4 years ago
luigi1111
9c9c689db4
Merge pull request #6804
...
5498142
rpc: assume randomx from v13 onwards (moneromooo-monero)
4 years ago
luigi1111
3a761e10d2
Merge pull request #6800
...
036da6d
Let stagenet hardfork happen before mainnet. (normoes)
4 years ago
luigi1111
fd657c7706
Merge pull request #6798
...
4e44306
enable CLSAG support for Trezor client (ph4r05)
4 years ago
moneromooo-monero
fc2cb224a9
blockchain: fix pow skipping for old blocks without precalc hash
4 years ago
moneromooo-monero
5498142e8f
rpc: assume randomx from v13 onwards
4 years ago
Riccardo Spagni
aefa7740c3
Merge pull request #6111
...
d20ff4f64
functional_tests: add a large (many randomx epochs) p2p reorg test (moneromooo-monero)
6a0b3b1f8
functional_tests: add randomx tests (moneromooo-monero)
9d42649d5
core: fix mining from a block that's not the current top (moneromooo-monero)
4 years ago
Norman Moeschter
036da6d45b
Let stagenet hardfork happen before mainnet.
4 years ago
Dusan Klinec
4e4430603f
enable CLSAG support for Trezor client
4 years ago
luigi1111
9fb2243db0
Merge pull request #6794
...
b09cc3d
hardforks: add v13/v14 for testnet (moneromooo-monero)
4 years ago
luigi1111
ee0b02d0db
Merge pull request #6757
...
6a37da8
threadpool: guard against exceptions in jobs, and armour plating (moneromooo-monero)
4 years ago
moneromooo-monero
b09cc3d03d
hardforks: add v13/v14 for testnet
4 years ago
woodser
de9a9fb340
update error message "No unlocked balance in the specified account"
4 years ago
moneromooo-monero
6a37da837e
threadpool: guard against exceptions in jobs, and armour plating
...
Those would, if uncaught, exit run and leave the waiter to wait
indefinitely for the number of active jobs to reach 0
4 years ago
luigi1111
2d8a197b91
Merge pull request #6789
...
bdcf587
net: fix get_tcp_endpoint, boost address_v4 ip in host byte order (xiphon)
4 years ago
luigi1111
94b056c06e
Merge pull request #6786
...
975ae22
Fix send scalar z in plaintext (grydz)
333ae55
Update minimal Ledger Monero app version (grydz)
0a3c5a6
Update protocol version with Ledger's HW (grydz)
4 years ago
luigi1111
a51ccc036f
Merge pull request #6770
...
bdc6b10
Fix ZMQ pruned bulletproof transactions (vtnerd)
4 years ago
xiphon
bdcf587c79
net: fix get_tcp_endpoint, boost address_v4 ip in host byte order
4 years ago
Sarang Noether
fa06c39d97
Bind signature to full address and signing mode
4 years ago
moneromooo-monero
743608ec16
wallet: allow signing a message with spend or view key
4 years ago
moneromooo-monero
e6c81c5ea7
ringct: fix CLSAG serialization after boost/epee changes
...
also fix a an assert message refering t MLSAG
4 years ago
François Colas
975ae22211
Fix send scalar z in plaintext
...
The scalar z has not been generated on the HW thus it can't be sent
encrypted. The value is derived from the exported private view key.
4 years ago
François Colas
333ae55fef
Update minimal Ledger Monero app version
4 years ago
François Colas
0a3c5a605b
Update protocol version with Ledger's HW
4 years ago
moneromooo-monero
d20ff4f648
functional_tests: add a large (many randomx epochs) p2p reorg test
4 years ago
moneromooo-monero
6a0b3b1f8a
functional_tests: add randomx tests
4 years ago
moneromooo-monero
9d42649d58
core: fix mining from a block that's not the current top
4 years ago
cslashm
1660fe8a25
draft support of clsag
4 years ago
Sarang Noether
703944c4d4
CLSAG device support
4 years ago
Sarang Noether
641b08c920
CLSAG optimizations
4 years ago
moneromooo-monero
82ee01699c
Integrate CLSAGs into monero
...
They are allowed from v12, and MLSAGs are rejected from v13.
4 years ago
Sarang Noether
4b328c6616
CLSAG signatures
4 years ago
Alexander Blair
0c101f1236
Merge pull request #6767
...
07442a605
Fix build with Boost 1.74 (moneromooo-monero)
4 years ago
Alexander Blair
27b49033fd
Merge pull request #6763
...
728ba38b1
rpc: always send raw txes through P2P (don't use bootstrap daemon) (xiphon)
4 years ago
Alexander Blair
b04da25e4d
Merge pull request #6760
...
844fb4e94
enforce claiming maximum coinbase amount (moneromooo-monero)
4 years ago
Alexander Blair
4fe2858b4d
Merge pull request #6746
...
20f603c6b
Fix broken multisig pubkey sorting (Jason Rhinelander)
4 years ago
Alexander Blair
dd7fd2ef80
Merge pull request #6753
...
4ff2074c7
cryptonote_protocol: don't synced pruned blocks before v11 (cohcho)
4 years ago
Alexander Blair
a06c83db73
Merge pull request #6752
...
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)
4 years ago
Alexander Blair
42519b48a7
Merge pull request #6731
...
db5d6e460
wallet2: fix wrong name when checking RPC cost (moneromooo-monero)
4 years ago
Alexander Blair
bad5d8d6f0
Merge pull request #6690
...
7175dcb10
replace most boost serialization with existing monero serialization (moneromooo-monero)
4 years ago
Alexander Blair
38914fe6fa
Merge pull request #6613
...
55363c594
Avoid some temporary strings when reading off the database (moneromooo-monero)
4 years ago
Alexander Blair
a6f1fa0194
Merge pull request #6607
...
eb1b321fe
miner: increase min/max intervals to full extents (moneromooo-monero)
4 years ago
moneromooo-monero
844fb4e940
enforce claiming maximum coinbase amount
...
Claiming a slightly lesser amount does not yield the size gains
that were seen pre rct, so this closes a fingerprinting vector
4 years ago
Lee Clagett
bdc6b10d62
Fix ZMQ pruned bulletproof transactions
4 years ago
luigi1111
765db1ae7a
Revert "Use domain-separated ChaCha20 for in-memory key encryption"
...
This reverts commit 921dd8dde5
.
4 years ago
moneromooo-monero
7175dcb107
replace most boost serialization with existing monero serialization
...
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.
4 years ago
moneromooo-monero
55363c5941
Avoid some temporary strings when reading off the database
4 years ago
Alexander Blair
43f5369bec
Merge pull request #6733
...
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)
4 years ago
Alexander Blair
d73b1b6560
Merge pull request #6727
...
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)
4 years ago
Alexander Blair
569d07d60b
Merge pull request #6722
...
c1b03fb1a
rpc: return empty txid get_outs rather than 00..00 when not requested (moneromooo-monero)
4 years ago
Alexander Blair
01b512f3a9
Merge pull request #6716
...
76c16822d
wallet2_api: implement runtime proxy configuration (xiphon)
4 years ago
Alexander Blair
f40b9e34e0
Merge pull request #6715
...
3d6bc0a68
wallet2: throw a error on wallet initialization failure (xiphon)
4 years ago
Alexander Blair
43f91ee12e
Merge pull request #6703
...
8baa7bb23
daemon: don't print "(pruned)" for coinbase txes (moneromooo-monero)
4 years ago
Alexander Blair
0b0da2aa81
Merge pull request #6689
...
afd002c31
daemon: print sampling time in print_net_stats (moneromooo-monero)
ec7bba079
util: fix kilo prefix typo (K instead of k) (moneromooo-monero)
4 years ago
Alexander Blair
236256f114
Merge pull request #6679
...
2f1ad3b3d
updates: mac gui .tar.bz2 -> .dmg (selsta)
4 years ago
Alexander Blair
eba2189925
Merge pull request #6677
...
f9e3fcdf3
add trezor support to sweep_single (Dusan Klinec)
4 years ago
Alexander Blair
bc48494731
Merge pull request #6661
...
267ce5b71
avoid a couple needless copies (moneromooo-monero)
4 years ago
Alexander Blair
8f02e7a7fc
Merge pull request #6632
...
ef694d028
fix warning by removing std::move() on temporary http_client object (woodser)
4 years ago
Alexander Blair
c6c4ead44e
Merge pull request #6614
...
fb31167b1
Wallet, daemon: From 'help_advanced' back to 'help', and new 'apropos' command (rbrunner7)
4 years ago
Alexander Blair
a08df6eb1b
Merge pull request #6603
...
4e2377995
Change ZMQ-JSON txextra to hex and remove unnecessary base fields (Lee Clagett)
4 years ago
Alexander Blair
009ca6fcd3
Merge pull request #6601
...
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)
4 years ago
Alexander Blair
0f5eb0e70c
Merge pull request #6546
...
eda167585
wallet_rpc_server: use unlock_time in suggested confirmations calc (moneromooo-monero)
4 years ago
Alexander Blair
461651fce5
Merge pull request #6542
...
35665df20
protocol: don't drop a connection if we can't get a compatible chain (moneromooo-monero)
4 years ago
Alexander Blair
6d29ee6c52
Merge pull request #6493
...
921dd8dde
Use domain-separated ChaCha20 for in-memory key encryption (Sarang Noether)
4 years ago
Alexander Blair
e2e09d00c2
Merge pull request #6337
...
a11ec4ac1
Support for supercop ASM in wallet, and benchmark for supercop (Lee Clagett)
4 years ago
Alexander Blair
13549d590e
Merge pull request #6329
...
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)
4 years ago
xiphon
728ba38b11
rpc: always send raw txes through P2P (don't use bootstrap daemon)
...
It turns out that some remote (bootstrap) nodes silently drop /
don't broadcast client's transactions.
4 years ago
moneromooo-monero
07442a6059
Fix build with Boost 1.74
...
Thanks iDunk for testing
4 years ago
Lee Clagett
4e2377995d
Change ZMQ-JSON txextra to hex and remove unnecessary base fields
4 years ago
Lee Clagett
98c151ecb8
Optimize ZMQ-JSON vector reading; GetBlocksFast reads 24%+ faster
4 years ago
Lee Clagett
60627c9f24
Switch to insitu parsing for ZMQ-JSON; GetBlocksFast reads 13%+ faster
4 years ago
Lee Clagett
fe96e66ebe
Fix pruned tx for ZMQ's GetBlocksFast
4 years ago
moneromooo-monero
85899230d1
simplewallet: allow setting tx keys when sending to a subaddress
...
The tx key derivation is different then
4 years ago
cohcho
4ff2074c74
cryptonote_protocol: don't synced pruned blocks before v11
...
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.
4 years ago
Sarang Noether
921dd8dde5
Use domain-separated ChaCha20 for in-memory key encryption
4 years ago
Sarang Noether
6bfcd31015
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.
4 years ago
Alexander Blair
c108c5e2f0
Merge pull request #6354
...
67ade8005
Add randomized delay when forwarding txes from i2p/tor -> ipv4/6 (Lee Clagett)
4 years ago
moneromooo-monero
e916201f12
wallet2: fix setting tx keys when another is already set
...
insert doesn't actually insert if another element with the
same key is already in the map
4 years ago
Jason Rhinelander
20f603c6be
Fix broken multisig pubkey sorting
...
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.
4 years ago
Alexander Blair
9414194b1e
Merge pull request #6571
...
1d31e6c00
net_node: remove dead seed nodes (selsta)
4 years ago
Howard Chu
4f01cf4b46
Tweak format, add option for difficulty
...
Set input, output, ringsize averages to 2 decimal places precision
Add option to show min/max/av per-block difficulty
4 years ago
Howard Chu
429d495121
Add options to print daily coin emission and fees
...
Closes #6735
4 years ago
Howard Chu
d745d24333
Don't forget size of prunable txn part
...
Fixes #6732
4 years ago
moneromooo-monero
db5d6e4602
wallet2: fix wrong name when checking RPC cost
4 years ago
moneromooo-monero
13eee1d6ab
rpc: reject wrong sized txid
...
Reporter requested credit to be given to Decred
4 years ago
moneromooo-monero
90016ad744
blockchain: guard against exceptions in add_new_block/children
...
Reporter requested credit to be given to Decred
4 years ago
moneromooo-monero
c1b03fb1a6
rpc: return empty txid get_outs rather than 00..00 when not requested
...
It's more obvious there's no txid, and it saves space
4 years ago
moneromooo-monero
8baa7bb238
daemon: don't print "(pruned)" for coinbase txes
...
Pruned coinbase txes are the same as unpruned ones, so the
prunable data is empty
4 years ago
rbrunner7
fb31167b12
Wallet, daemon: From 'help_advanced' back to 'help', and new 'apropos' command
4 years ago
xiphon
76c16822d0
wallet2_api: implement runtime proxy configuration
4 years ago
xiphon
3d6bc0a680
wallet2: throw a error on wallet initialization failure
4 years ago
Alexander Blair
2a82258dff
Merge pull request #6580
...
ed901798d
version: update name (selsta)
4 years ago
Alexander Blair
3434cc24a2
Merge pull request #6578
...
a6803231e
daemon: complain if data dir resides on FAT32 volume (Windows) (xiphon)
4 years ago
Alexander Blair
9871fefbf9
Merge pull request #6565
...
72cdfa4a2
fix a few typos in error messages (moneromooo-monero)
4 years ago
Alexander Blair
c0a6e1aab9
Merge pull request #6557
...
bd69e3b37
testdb: add override in a couple places where it's missing (moneromooo-monero)
4 years ago
Alexander Blair
bb0241da6e
Merge pull request #6538
...
7178bb5c8
keccak: remove aligned check (moneromooo-monero)
4 years ago
Alexander Blair
61e5208181
Merge pull request #6537
...
5e0ea6e95
simplewallet: add missing calls to on_command (moneromooo-monero)
4 years ago
Alexander Blair
6d6c691a0f
Merge pull request #6536
...
bd9653663
db_lmdb: test for mmap support at init time (moneromooo-monero)
4 years ago
Alexander Blair
36d50d93f2
Merge pull request #6534
...
7bd66b01b
daemon: guard against rare 'difficulty drift' bug with checkpoints and recalculation (stoffu)
4 years ago
Alexander Blair
814e617117
Merge pull request #6526
...
5d882f4f1
blockchain: fix theoretical race getting bulk timestamps (moneromooo-monero)
4 years ago
Alexander Blair
3ba6c7fd30
Merge pull request #6516
...
8656a8c9f
remove double includes (sumogr)
4 years ago
Alexander Blair
a0d179e528
Merge pull request #6512
...
5ef0607da
Update copyright year to 2020 (SomaticFanatic)
4 years ago
Alexander Blair
5041de8a3b
Merge pull request #6488
...
99684e3e
simplewallet: add show_qr_code command (selsta)
4 years ago
moneromooo-monero
332d60719a
tx_pool: mine stem txes in fake chain mode
...
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)
4 years ago
moneromooo-monero
0fd6ccef21
blockchain: fix timestamp/difficulty cache getting out of sync
...
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.
4 years ago
luigi1111
99b14ccd6a
Merge pull request #6647
...
4d8d121
Fix D++ block template check (vtnerd)
4 years ago
luigi1111
18bb011afe
Merge pull request #6629
...
795e186
blockchain: fix total_height in getblocks.bin response (moneromooo-monero)
4 years ago
luigi1111
e8d87fccc2
Merge pull request #6627
...
4df8f9c
rpc: fix loading rpc payment data from file (moneromooo-monero)
4 years ago
luigi1111
0376195015
Merge pull request #6611
...
dc1a053
rpc: fix comparison of seconds vs microseconds (moneromooo-monero)
4 years ago
luigi1111
3057f52f89
Merge pull request #6599
...
6e4a55b
rpc: fix relay_tx error return mixup (moneromooo-monero)
9b86e14
functional_tests: add simple relay_tx test (moneromooo-monero)
4 years ago
luigi1111
228101a72e
Merge pull request #6597
...
ec46069
Fix incorrect lenght of command INS_PREFIX_HASH (grydz)
4 years ago
luigi1111
81c2586358
Merge pull request #6588
...
bcef52d
daemon: remove time based 'update needed' status string (moneromooo-monero)
4 years ago
luigi1111
340e1943ac
Merge pull request #6587
...
94befec
fix typo in pick_preferred_rct_inputs (Parean)
4 years ago
luigi1111
be170c485c
Merge pull request #6584
...
78d435a
rpc: don't display invalid json errors on default log level (moneromooo-monero)
4 years ago
luigi1111
8b3fa2d373
Merge pull request #6574
...
7ebb351
rpc: lock access to the rpc payment object (moneromooo-monero)
4 years ago
luigi1111
634262f3f5
Merge pull request #6568
...
f037121
cryptonote_core: remove 'We are most likely forked' message (moneromooo-monero)
4 years ago
luigi1111
f1334ebf64
Merge pull request #6566
...
567402c
protocol: move the 'peer claims higher version' warning to debug (moneromooo-monero)
4 years ago
luigi1111
ed903578d7
Merge pull request #6544
...
5741b4d
blockchain: detect and log bad difficulty calculations (moneromooo-monero)
4 years ago
selsta
ed901798d9
version: update name
4 years ago
moneromooo-monero
afd002c31f
daemon: print sampling time in print_net_stats
4 years ago
moneromooo-monero
ec7bba0793
util: fix kilo prefix typo (K instead of k)
4 years ago
selsta
2f1ad3b3d2
updates: mac gui .tar.bz2 -> .dmg
4 years ago
Dusan Klinec
f9e3fcdf3e
add trezor support to sweep_single
4 years ago
selsta
99684e3ec3
simplewallet: add show_qr_code command
...
Thanks to iDunk for helping with Windows.
4 years ago
moneromooo-monero
267ce5b718
avoid a couple needless copies
4 years ago
Lee Clagett
4d8d121462
Fix D++ block template check
4 years ago
selsta
58e1c8b031
repo: update donation fund address
4 years ago
stoffu
7bd66b01bf
daemon: guard against rare 'difficulty drift' bug with checkpoints and 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.
4 years ago
luigi1111
ff4d470629
Merge pull request #6576
...
4d3c2d0
rpc: add a sanity limit to a few RPC in restricted mode (moneromooo-monero)
4 years ago
luigi1111
c4f4091dd4
Merge pull request #6561
...
c17fe81
wallet2: fix multisig data clearing stomping on a vector (moneromooo-monero)
4 years ago
luigi1111
445f74c71a
Merge pull request #6556
...
5ed37ba
serialization: fix bad rapidjson api usage (moneromooo-monero)
4 years ago
luigi1111
28745b1b63
Merge pull request #6553
...
bb5c5df
cryptonote_protocol: reject requests/notifications before handshake (moneromooo-monero)
f1d0457
cryptonote_protocol: stricter limit to number of objects requested (moneromooo-monero)
4 years ago
luigi1111
e17c864ba2
Merge pull request #6549
...
82d21f5
easylogging++: sanitize log payload (moneromooo-monero)
7d0b7e8
[master] MMS: New 'config_checksum' subcommand (rbrunner7)
4 years ago
luigi1111
3a577f1ce7
Merge pull request #6525
...
86cf811
simplewallet: don't complain about incoming payment ids on change (moneromooo-monero)
4 years ago
luigi1111
09667700e8
Merge pull request #6519
...
ab44293
trezor: add new firmware version support (ph4r05)
4 years ago
luigi1111
37c359e765
Merge pull request #6514
...
4baee20
build: prepare v0.16.0.0 release (selsta)
4 years ago
woodser
ef694d028f
fix warning by removing std::move() on temporary http_client object
4 years ago
moneromooo-monero
795e18632c
blockchain: fix total_height in getblocks.bin response
4 years ago
moneromooo-monero
4df8f9c414
rpc: fix loading rpc payment data from file
...
Got broken after making one of those micro optimizations requested on review..
4 years ago
Lee Clagett
7aeb503547
Fix boost <1.60 compilation and fix boost 1.73+ warnings
4 years ago
moneromooo-monero
dc1a053081
rpc: fix comparison of seconds vs microseconds
4 years ago
moneromooo-monero
eb1b321fe2
miner: increase min/max intervals to full extents
...
This prevents setting target to, eg, 65 being ignored
and remove an unused constant
4 years ago
moneromooo-monero
6e4a55ba7e
rpc: fix relay_tx error return mixup
4 years ago
François Colas
ec46069248
Fix incorrect lenght of command INS_PREFIX_HASH
...
buffer_send[4] (LC) is an unsigned char, len should not
exceed 254 (255 - 1 for the option).
4 years ago
moneromooo-monero
bcef52d430
daemon: remove time based "update needed" status string
4 years ago
Denis Smirnov
94befecb05
fix typo in pick_preferred_rct_inputs
4 years ago
rbrunner7
7d0b7e83ef
[master] MMS: New 'config_checksum' subcommand
4 years ago
moneromooo-monero
82d21f5b3c
easylogging++: sanitize log payload
...
Some of it might be coming from untrusted sources
Reported by itsunixiknowthis
4 years ago
moneromooo-monero
78d435a5fa
rpc: don't display invalid json errors on default log level
...
It's not something the user needs to know, and will display
attacker controlled data
4 years ago
xiphon
a6803231e6
daemon: complain if data dir resides on FAT32 volume (Windows)
4 years ago
moneromooo-monero
4d3c2d0b7b
rpc: add a sanity limit to a few RPC in restricted mode
4 years ago
selsta
1d31e6c000
net_node: remove dead seed nodes
4 years ago
moneromooo-monero
7ebb351c2d
rpc: lock access to the rpc payment object
4 years ago
moneromooo-monero
f0371210e9
cryptonote_core: remove "We are most likely forked" message
...
It's time based and we don't have forks every 6 months anymore
4 years ago
moneromooo-monero
567402c508
protocol: move the "peer claims higher version" warning to debug
...
Because there's a neverending supply of cunts claiming a wrong
version just to say "look at me" I guess
4 years ago
moneromooo-monero
72cdfa4a20
fix a few typos in error messages
...
Reported by adrelanos
4 years ago
moneromooo-monero
c17fe815a2
wallet2: fix multisig data clearing stomping on a vector
4 years ago
moneromooo-monero
f1d0457523
cryptonote_protocol: stricter limit to number of objects requested
...
Reported by xnbya
4 years ago
moneromooo-monero
bb5c5dff15
cryptonote_protocol: reject requests/notifications before handshake
...
Reported by xnbya
4 years ago
moneromooo-monero
bd69e3b37a
testdb: add override in a couple places where it's missing
4 years ago
moneromooo-monero
5ed37ba83c
serialization: fix bad rapidjson api usage
4 years ago
moneromooo-monero
5741b4d74d
blockchain: detect and log bad difficulty calculations
4 years ago
moneromooo-monero
eda1675858
wallet_rpc_server: use unlock_time in suggested confirmations calc
4 years ago
moneromooo-monero
35665df206
protocol: don't drop a connection if we can't get a compatible chain
...
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.
4 years ago
moneromooo-monero
7178bb5c84
keccak: remove aligned check
...
Some tools report the alignment check as UB, which seems a bit
dubious, but since the performance difference between the two
versions is minimal, I'll go with the safe version
4 years ago
Lee Clagett
a11ec4ac1d
Support for supercop ASM in wallet, and benchmark for supercop
4 years ago
moneromooo-monero
5e0ea6e95c
simplewallet: add missing calls to on_command
...
It resets the inactivity time
4 years ago
moneromooo-monero
bd96536637
db_lmdb: test for mmap support at init time
...
It'll make it clearer when a DB init failure is due to being
on a filesystem which does not support mmap
4 years ago
Lee Clagett
67ade80055
Add randomized delay when forwarding txes from i2p/tor -> ipv4/6
4 years ago
selsta
f35ced6d7f
build: fix boost 1.73 compatibility
4 years ago
moneromooo-monero
86cf811a39
simplewallet: don't complain about incoming payment ids on change
4 years ago
selsta
4baee200a7
build: prepare v0.16.0.0 release
4 years ago
moneromooo-monero
5d882f4f14
blockchain: fix theoretical race getting bulk timestamps
4 years ago
Dusan Klinec
ab4429346d
trezor: add new firmware version support
4 years ago
sumogr
8656a8c9ff
remove double includes
4 years ago
luigi1111
77a008f714
Merge pull request #6510
...
70609d7
cryptonote_core: take out the time based upgrade warning (moneromooo-monero)
4 years ago
luigi1111
4c2f78aeeb
Merge pull request #6506
...
42e1484
wallet2: fix keys file deserialization exception handling (xiphon)
4 years ago
SomaticFanatic
5ef0607da6
Update copyright year to 2020
...
Update copyright year to 2020
4 years ago
moneromooo-monero
70609d7681
cryptonote_core: take out the time based upgrade warning
...
It doesn't really work anymore since we don't have a fork soon
4 years ago
luigi1111
dbba6004f5
Merge pull request #6503
...
f80ab3e
cryptonote_protocol: do not request pruned borromean sig txes (moneromooo-monero)
4 years ago
moneromooo-monero
f80ab3edde
cryptonote_protocol: do not request pruned borromean sig txes
...
We don't have a function to calculate their weight from a pruned
version (yet).
4 years ago
luigi1111
f2c78f6a5b
Merge pull request #6486
...
feee455
Fixes for ZMQ JSON-RPC endpoint names for raw tx (vtnerd)
4 years ago
luigi1111
3de804f1e9
Merge pull request #6485
...
7a8c1ee
wallet2: fix subaddress expansion when receiving monero (moneromooo-monero)
4 years ago
luigi1111
98e3802b26
Merge pull request #6484
...
e7d0105
message_store: don't print an error when there is no mms file (moneromooo-monero)
4 years ago
luigi1111
de025281dc
Merge pull request #6481
...
119f706
rpc: fix 'use_bootstrap_daemon_if_necessary' return value (xiphon)
4 years ago
luigi1111
9e3f72c375
Merge pull request #6480
...
4f489fa
wallet2: check_connection return false on get_version status != OK (xiphon)
4 years ago
luigi1111
0f233c6ad8
Merge pull request #6478
...
ee58362
Used legacy category to match insert_key_images behavior (vtnerd)
4 years ago
luigi1111
483e5cab5c
Merge pull request #6472
...
2efbd5f
cryptonote: fix reuse of non default tx data when relaying (moneromooo-monero)
4 years ago
luigi1111
8d0f1696df
Merge pull request #6471
...
c6a1294
add another seed node (Gingeropolous/selsta)
9faf3d1
Add erciccione's seed node (erciccione/selsta)
4 years ago
luigi1111
1f505a5eac
Merge pull request #6468
...
a813c46
cryptonote_core: skip dns checkpoints on startup if not enforced (xiphon)
4 years ago
luigi1111
6d1f3c9acd
Merge pull request #6467
...
8b655de
simplewallet: report timestamp based expected unlock time on balance (moneromooo-monero)
4 years ago
luigi1111
b4023dcfc5
Merge pull request #6441
...
613071f
use memwipe on secret k/alpha values (moneromooo-monero)
4 years ago
xiphon
42e14840fb
wallet2: fix keys file deserialization exception handling
4 years ago
Lee Clagett
e5214a2ca2
Adding ZMQ/Pub support for txpool_add and chain_main events
4 years ago
luigi1111
8185054db7
Merge pull request #6451
...
4ed60b6
Bulletproofs: verification speedup (SarangNoether)
4 years ago
luigi1111
ec90f9a54b
Merge pull request #6453
...
d2d3a81
bootstrap_daemon: fix missing virtual destructor and lambda capture (clang warning) (xiphon)
4 years ago
luigi1111
ac9f7c9bec
Merge pull request #6449
...
27d551d
simplewallet: add sweep_account command (moneromooo-monero)
4 years ago
luigi1111
c9b800a787
Merge pull request #6446
...
e509ede
trezor: adapt to new passphrase mechanism (ph4r05)
4 years ago
luigi1111
f020b24b02
Merge pull request #6444
...
b367630
simplewallet : missing function block separator (sumogr)
4 years ago
luigi1111
6e7b883212
Merge pull request #6443
...
145be6d
p2p: startup speedup, init seed nodes on first 'connect_to_seed()' (xiphon)
4 years ago
luigi1111
6b7e88e16c
Merge pull request #6440
...
7c4a400
simplewallet: fix strings (show_transfers & export_transfers) (sumogr)
4 years ago
luigi1111
443f5c6bda
Merge pull request #6436
...
688a3e8
Add timelock verification on device (cslashm)
4 years ago
luigi1111
3e21e591b8
Merge pull request #6350
...
da99157
Use byte_slice for sending zmq messages - removes data copy within zmq (vtnerd)
4 years ago
Sumo Gr
dd807b8410
txpool.cpp: rename var to fix for old g++ version (xenial default)
4 years ago
Lee Clagett
feee455c9f
Fixes for ZMQ JSON-RPC endpoint names for raw tx
4 years ago
moneromooo-monero
7a8c1eece9
wallet2: fix subaddress expansion when receiving monero
4 years ago
Dusan Klinec
e509ede2aa
trezor: adapt to new passphrase mechanism
...
- choice where to enter passphrase is now made on the host
- use wipeable string in the comm stack
- wipe passphrase memory
- protocol optimizations, prepare for new firmware version
- minor fixes and improvements
- tests fixes, HF12 support
4 years ago
moneromooo-monero
e7d01056f4
message_store: don't print an error when there is no mms file
...
It confuses people
4 years ago
xiphon
119f706921
rpc: fix 'use_bootstrap_daemon_if_necessary' return value
4 years ago
xiphon
4f489fa6a2
wallet2: check_connection return false on get_version status != OK
4 years ago
Lee Clagett
ee58362b1f
Used legacy category to match insert_key_images behavior
4 years ago
moneromooo-monero
2efbd5f0cc
cryptonote: fix reuse of non default tx data when relaying
...
An automatic tx variable is initialized properly on the first
run through the loop, but not the second. Moving the variable
inside the loop ensures the ctor is called again to init it.
4 years ago
Gingeropolous
c6a1294b5e
add another seed node
...
node is funded by random people and managed by me. currently functioning as public node at uwillrunanodesoon.moneroworld.com
4 years ago
moneromooo-monero
8b655de8ed
simplewallet: report timestamp based expected unlock time on balance
4 years ago
erciccione
9faf3d1a72
Add erciccione's seed node
4 years ago
xiphon
145be6dbdb
p2p: startup speedup, init seed nodes on first 'connect_to_seed()'
4 years ago
luigi1111
378cdeaeae
Merge pull request #6470
...
79a1653
p2p: add seed node. (guywillett)
4 years ago
luigi1111
c846c8650e
Merge pull request #6445
...
5715460
Always reject duplicate key-images from second txid (vtnerd)
babf25d
Allow unrestricted rpc calls to get full txpool info (vtnerd)
4 years ago
luigi1111
cc91c0221d
Merge pull request #6415
...
09abca7
wallet_api: checkUpdate - optional version and buildtag params (xiphon)
4 years ago
luigi1111
cb8f4280bb
Merge pull request #6408
...
5ef7138
daemon: fix print_net_stats RPC calls (moneromooo-monero)
4 years ago
guy
79a1653a07
p2p: add seed node.
4 years ago
luigi1111
2d729fbdf7
Merge pull request #6332
...
87d7558
Allow wallet2.h to run in WebAssembly (woodser)
4 years ago
luigi1111
9c660e159e
Merge pull request #6278
...
387fd66
Daemon: Print estimates for time until fully synced (rbrunner7)
4 years ago
xiphon
a813c46a1b
cryptonote_core: skip dns checkpoints on startup if not enforced
4 years ago
xiphon
d2d3a81d0e
bootstrap_daemon: fix missing virtual destructor and lambda capture (clang warning)
4 years ago
woodser
87d75584e8
Allow wallet2.h to run in WebAssembly
...
- Add abstract_http_client.h which http_client.h extends.
- Replace simple_http_client with abstract_http_client in wallet2,
message_store, message_transporter, and node_rpc_proxy.
- Import and export wallet data in wallet2.
- Use #if defined __EMSCRIPTEN__ directives to skip incompatible code.
4 years ago
moneromooo-monero
613071f4fa
use memwipe on secret k/alpha values
...
Reported by UkoeHB_ and sarang
4 years ago
Sarang Noether
4ed60b626a
Bulletproofs: verification speedup
4 years ago
moneromooo-monero
27d551d12f
simplewallet: add sweep_account command
...
Expects an account number, then the usual sweep_all options
Useful to move monero that was accidentally sent to a subaddress
with a very large account index.
4 years ago
Lee Clagett
c26c93019a
Add byte_stream for zero-copy serialization, and add support in ZMQ-JSON.
4 years ago
luigi1111
7c74e1919e
Merge pull request #6405
...
8d23047
p2p: add another seed node (moneromooo-monero)
4 years ago
luigi1111
228af683a7
Merge pull request #6403
...
5de2295
Correct key image check in tx_pool (vtnerd)
4 years ago
luigi1111
bce050ee78
Merge pull request #6394
...
69b5992
simplewallet: new 'address one-off <major> <minor>' command (moneromooo-monero)
4 years ago
luigi1111
7954f8cb18
Merge pull request #6358
...
8958b4e
blockchain_db: faster fetching of consecutive txes (moneromooo-monero)
4 years ago
luigi1111
53800b3b63
Merge pull request #6341
...
927fd47
simplewallet: fix smart mining not starting after first setup (moneromooo-monero)
4 years ago
Sumo Gr
b367630ee8
simplewallet : missing function block separator
4 years ago
sumogr
7c4a4003a3
simplewallet: fix strings (show_transfers & export_transfers)
4 years ago
cslashm
688a3e87e7
Add timelock verification on device
4 years ago
moneromooo-monero
69b5992296
simplewallet: new "address one-off <major> <minor>" command
4 years ago
luigi1111
bbceb31044
Merge pull request #6395
...
ad13a4b
Fixing static_asserts in ZMQ JSON (vtnerd)
4 years ago
luigi1111
d102a72027
Merge pull request #6384
...
ec01077
db_lmdb: fix race crash using a stale cursor (moneromooo-monero)
4 years ago
luigi1111
d1f3d3376d
Merge pull request #6381
...
e719760
Fix receive order leakage with tx fluffing (vtnerd)
4 years ago
luigi1111
975825a1fd
Merge pull request #6375
...
ebf3c10
Added logging for dropped local txes with no i2p/tor connections (vtnerd)
4 years ago
luigi1111
97af9649c9
Merge pull request #6372
...
7b9017f
p2p: plug tor to clearnet association vector (Aaron Hook)
4 years ago
luigi1111
59ab769210
Merge pull request #6364
...
6e1cb5a
device: Ledger - fix wide char hidapi error string conversion (xiphon)
4 years ago
luigi1111
5757d99208
Merge pull request #6361
...
68a6507
Fixed bug in ZMQ JSON-RPC method field (vtnerd)
4 years ago
luigi1111
0150a480fd
Merge pull request #6357
...
42a7a4d
daemon: auto public nodes - cache and prioritize most stable nodes (xiphon)
4 years ago
luigi1111
6a6eedd842
Merge pull request #6353
...
6810150
daemon: if no banned IPs print something (sumogr)
4 years ago
luigi1111
cfc0f4a7fa
Merge pull request #6351
...
81c5943
Remove temporary std::string creation in some hex->bin calls (vtnerd)
5fcc23a
Move hex->bin conversion to monero copyright files and with less includes (vtnerd)
3387f0e
Reduce template bloat in hex->bin for ZMQ json (vtnerd)
4 years ago
luigi1111
44547006bf
Merge pull request #6347
...
fcb06f7
cryptonote_core: skip block notify on blockchain switching rollback (xiphon)
4 years ago