Commit graph

4600 commits

Author SHA1 Message Date
moneromooo-monero
6fb5de3b9e
simplewallet: add get/set for refresh-from-height 2017-10-22 11:00:21 +01:00
landergate
44afa6de07
wallet2: Missing underflow check on low heights
Lack of it results in `m_refresh_from_block_height` being < 0 (18446744...) on low heights, which blocks `process_new_blockchain_entry` and never process coins on heights less than blocks_per_month.
Follow-up to #2258
2017-10-15 11:17:54 +01:00
moneromooo-monero
b4c5180f2d
core: fix failure to sync when a tx is already in the pool 2017-10-10 20:42:33 +01:00
Riccardo Spagni
15b0ff2c32
Merge pull request #2448
8133a642 p2p: init hashes after deserializing a network address (moneromooo-monero)
2017-09-25 17:58:43 +02:00
moneromooo-monero
cda45a7f4f
Source updates are in a source subdirectory
rather than in the same directory as the prebuilt versions
2017-09-22 22:16:22 +01:00
moneromooo-monero
19fab6204a
blockchain: fix crash checking pre-validated txids 2017-09-20 10:49:17 +01:00
moneromooo-monero
14e5d77939
db_lmdb: fix use of uninitialized key in for_blocks_range 2017-09-19 15:50:30 +01:00
moneromooo-monero
8133a64260
p2p: init hashes after deserializing a network address
Fixes multiple connections to the same address
2017-09-14 17:51:37 +01:00
Riccardo Spagni
373ce4ab09
Merge pull request #2437
3deef401 core: guard against exceptions in tx verification worker threads (moneromooo-monero)
2017-09-12 13:12:28 +02:00
Riccardo Spagni
60a293df79
Merge pull request #2433
67bdf65c rpc: get_txpool_backlog is now unrestricted (moneromooo-monero)
2017-09-12 13:12:10 +02:00
Riccardo Spagni
3fd08bd37e
Merge pull request #2423
bbb07f88 ITS#8728 fix MDB_VL32 freeing overflow page (Howard Chu)
2017-09-12 13:10:43 +02:00
moneromooo-monero
3deef4018e
core: guard against exceptions in tx verification worker threads 2017-09-12 12:07:45 +01:00
moneromooo-monero
67bdf65cbf
rpc: get_txpool_backlog is now unrestricted 2017-09-11 14:39:48 +01:00
Howard Chu
bbb07f8847
ITS#8728 fix MDB_VL32 freeing overflow page
Fix #2420
2017-09-09 15:14:22 +01:00
Riccardo Spagni
fda88c8d28
Merge pull request #2406
64ab224c update checkpoint hashes (Riccardo Spagni)
2017-09-06 23:39:21 +02:00
Riccardo Spagni
64ab224c0e
update checkpoint hashes 2017-09-06 17:34:14 +02:00
Riccardo Spagni
d0328d05b1
Merge pull request #2403
12b86e44 update hardcoded checkpoints (Riccardo Spagni)
21d0a40c update checkpoints.dat (Riccardo Spagni)
2017-09-06 09:52:45 +02:00
Riccardo Spagni
12b86e4402
update hardcoded checkpoints 2017-09-06 09:11:22 +02:00
Riccardo Spagni
21d0a40cff
update checkpoints.dat 2017-09-06 09:08:43 +02:00
Riccardo Spagni
2f7358ef75
Merge pull request #2397
c6375a14 tx_pool: catch exceptions in LockedTXN dtor (moneromooo-monero)
2017-09-04 17:04:58 +02:00
Riccardo Spagni
da3930ccbb
Merge pull request #2393
585e6b35 Add a --fluffy-blocks option to relay blocks as fluffy blocks (moneromooo-monero)
2017-09-04 17:04:45 +02:00
Riccardo Spagni
33485154d6
Merge pull request #2391
d685d5d9 Use latest height for fork date estimate (Howard Chu)
2017-09-04 17:04:02 +02:00
moneromooo-monero
c6375a14af
tx_pool: catch exceptions in LockedTXN dtor
This might prevent some calls to terminate when the LockedTXN
dtor is called as part of stack unwinding caused by another
exception in the first place.
2017-09-04 10:18:07 +01:00
moneromooo-monero
585e6b35e6
Add a --fluffy-blocks option to relay blocks as fluffy blocks
Defaults to off, but fluffy blocks are forced enabled on testnet
2017-09-03 11:15:57 +01:00
Howard Chu
d685d5d987
Use latest height for fork date estimate 2017-09-02 11:49:31 +01:00
Riccardo Spagni
87d332df1a
Merge pull request #2385
2289ead5 blockchain_import: warn for chunks over 500000, not 100000 (moneromooo-monero)
2f9a5528 blockchain_import: properly cleanup core/db on exit (moneromooo-monero)
8d6967be blockchain_import: do not error out on truncated files (moneromooo-monero)
2017-09-02 11:35:12 +02:00
Riccardo Spagni
6d78c6d2e4
Merge pull request #2383
c65062ad Fix miniupnpc CVE-2017-8798 (MaxXor)
2017-09-02 11:34:53 +02:00
Riccardo Spagni
677f1d43db
Merge pull request #2375
ff1cdf30 tx_pool: wrap tx meta updates in a LockedTXN (moneromooo-monero)
2017-09-02 11:34:40 +02:00
Riccardo Spagni
7369d746fd
Merge pull request #2373
a3662bae cryptonote_protocol: error handling on cleanup_handle_incoming_blocks (moneromooo-monero)
cf4aa653 Fix blockchain_import wedge on exception in cleanup_handle_incoming_blocks (moneromooo-monero)
0ffad5a3 core: guard against exceptions in handle_incoming_{block,tx} (moneromooo-monero)
2017-09-02 11:34:25 +02:00
Riccardo Spagni
aa680bf3c6
Merge pull request #2365
bf724327 cryptonote_protocol: remove old spans when received as old blocks (moneromooo-monero)
2017-09-02 11:34:06 +02:00
Riccardo Spagni
9b74395c4b
Merge pull request #2363
31b1c6c1 simplewallet: new "fee" command to display fee information (moneromooo-monero)
2017-09-02 11:33:51 +02:00
Riccardo Spagni
e83666d9aa
Merge pull request #2358
0c6c3eb3 Silence stupid fallthru warning in gcc 7 (Howard Chu)
2017-09-02 11:33:38 +02:00
moneromooo-monero
2289ead568
blockchain_import: warn for chunks over 500000, not 100000
We have a lot of 350000 byte blocks now.
2017-09-01 22:50:15 +01:00
moneromooo-monero
2f9a5528a7
blockchain_import: properly cleanup core/db on exit 2017-09-01 12:01:36 +01:00
moneromooo-monero
8d6967be39
blockchain_import: do not error out on truncated files
This will happen often when downloading from a live file
2017-09-01 12:01:33 +01:00
MaxXor
c65062ad5e Fix miniupnpc CVE-2017-8798 2017-09-01 09:38:31 +02:00
moneromooo-monero
ff1cdf30d7
tx_pool: wrap tx meta updates in a LockedTXN 2017-08-29 16:47:33 +01:00
moneromooo-monero
31b1c6c10d
simplewallet: new "fee" command to display fee information
including expected transaction backlog at different priorities
2017-08-29 16:27:20 +01:00
moneromooo-monero
a3662baefb
cryptonote_protocol: error handling on cleanup_handle_incoming_blocks 2017-08-29 16:10:53 +01:00
moneromooo-monero
cf4aa65316
Fix blockchain_import wedge on exception in cleanup_handle_incoming_blocks 2017-08-29 15:45:08 +01:00
moneromooo-monero
0ffad5a359
core: guard against exceptions in handle_incoming_{block,tx}
When one happens, cleanup must be called or the incoming tx
lock will stay locked
2017-08-29 13:03:54 +01:00
moneromooo-monero
bf72432734
cryptonote_protocol: remove old spans when received as old blocks
fixes getting those in a loop
2017-08-28 00:54:23 +01:00
Riccardo Spagni
d8f402ad8f
Merge pull request #2343
c656dd0e Fix refresh counter display (Howard Chu)
c088d38a Simplify readline support (Howard Chu)
2017-08-26 23:45:50 +02:00
Riccardo Spagni
e75e41d07d
Merge pull request #2319
c22d22e2 Cleanup test impact of adding safesyncmode() method (Howard Chu)
9a859844 Toggle SAFE syncmode on and off automatically (Howard Chu)
2017-08-26 23:45:38 +02:00
Riccardo Spagni
52af8c1582
Merge pull request #2318
3dd34a49 Cleanup test impact of moving blockchain_db_types() (Howard Chu)
80344740 More DB support cleanup (Howard Chu)
4c7f8ac0 DB cleanup (Howard Chu)
2017-08-26 23:45:25 +02:00
Riccardo Spagni
97864d454f
Merge pull request #2356
4bd9e247 wallet: new option to check/confirm txpool backlog when sending (moneromooo-monero)
0c61be37 rpc: add a new RPC to get current txpool backlog (sizes and fees) (moneromooo-monero)
2017-08-26 23:34:10 +02:00
Riccardo Spagni
19cdd10750
Merge pull request #2354
aeb30c83 daemon: fix backlog estimating at max block size (moneromooo-monero)
2017-08-26 23:33:55 +02:00
Riccardo Spagni
8ee10e707b
Merge pull request #2352
2d8a6a6f blockchain: cap memory size of retrieved blocks (moneromooo-monero)
20bedf32 rpc: decrease memory usage a bit in getblocks.bin (moneromooo-monero)
2017-08-26 23:33:40 +02:00
Riccardo Spagni
fd1faac2e0
Merge pull request #2350
fa65da25 http_client: add getters for host and port (moneromooo-monero)
2017-08-26 23:33:07 +02:00
moneromooo-monero
2d8a6a6f0c
blockchain: cap memory size of retrieved blocks
It helps keep memory usage down when a wallet refreshes through
a string of large blocks
2017-08-26 20:54:38 +01:00