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
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