Riccardo Spagni
bd85a47a29
Merge pull request #2477
...
9aeae7a2
db_lmdb: fix use of uninitialized key in for_blocks_range (moneromooo-monero)
7 years ago
Riccardo Spagni
0f071848a1
Merge pull request #2479
...
58908295
Fixes static_assert on arm and ppc builds (Lee Clagett)
7 years ago
moneromooo-monero
f182acdd36
dns_utils: query DNS records in parallel
7 years ago
Riccardo Spagni
48512acda9
Merge pull request #2324
...
c09aa94d
daemon: indicate whether the spent key image is mined or unconfirmed (stoffu)
7 years ago
Riccardo Spagni
07312a7d6e
Merge pull request #2302
...
ef005f5e
p2p: add a couple early outs when the stop signal is received (moneromooo-monero)
80d361c7
abstract_tcp_server2: improve tracking/cancelling of early connections (moneromooo-monero)
7 years ago
stoffu
e29282d208
build: auto update version info without manually deleting version.h
7 years ago
stoffu
c09aa94d34
daemon: indicate whether the spent key image is mined or unconfirmed
7 years ago
stoffu
b5cbdce8a6
wallet2: correctly handle in/out payments for view-only wallet
7 years ago
Riccardo Spagni
a6403846ef
Merge pull request #2441
...
fee3c3ed
Update wallet2.cpp for misspelling (Matthew Campassi)
7 years ago
Riccardo Spagni
786a4ae9ea
Merge pull request #2429
...
55b91d86
wallet: fix --help and --version erroring out (moneromooo-monero)
7 years ago
Riccardo Spagni
10d60d2524
Merge pull request #2414
...
ea016330
updated clarification bc_dyn_stats (Matthew Campassi)
5aa2f24b
clarification bc_dyn_stats (Matthew Campassi)
7 years ago
Riccardo Spagni
8f1f43163a
Merge pull request #2412
...
81fb2f53
Silence more stupid gcc warnings (Howard Chu)
7 years ago
Riccardo Spagni
8711c355fc
Merge pull request #2410
...
20256b7c
Fix AC power supply detection on Linux (Guillaume LE VAILLANT)
7 years ago
Riccardo Spagni
72207fd27a
Merge pull request #2381
...
840aed1c
monero-wallet-cli: New command 'wallet_info' improved (rbrunner7)
9bdd985c
monero-wallet-cli: New command 'wallet_info' (rbrunner7)
7 years ago
Riccardo Spagni
75563db6e3
Merge pull request #2376
...
e3680b69
Rename m_listenning_port to m_listening_port (MaxXor)
a1ea475f
Delete UPnP port mapping on exit (MaxXor)
7 years ago
moneromooo-monero
3b8b4be5cb
tx_pool: drop invalid txes from the pool on startup
...
instead of just failing
This is a workaround for bad tx blobs being inserted in the
pool for unknown reasons
7 years ago
moneromooo-monero
e457aa51f4
blockchain: fix crash checking pre-validated txids
7 years ago
moneromooo-monero
d5a9edf27a
wallet2: fix exception on split txes
7 years ago
moneromooo-monero
5c5b0fd048
wallet2: print unused indices on a single line
...
Decreases log spam massively on large wallets
7 years ago
Lee Clagett
5890829552
Fixes static_assert on arm and ppc builds
7 years ago
moneromooo-monero
9aeae7a224
db_lmdb: fix use of uninitialized key in for_blocks_range
7 years ago
MaxXor
2e59f6ea50
rpc: add new RPCs to get and set limits
7 years ago
moneromooo-monero
7adceee634
precomputed block hashes are now in blocks of N (currently 256)
...
This shaves a lot of space off binaries
7 years ago
Riccardo Spagni
1a73843cec
Merge pull request #2446
...
6d0ca7d1
Tweak concurrency limits (Howard Chu)
510d0d47
Use a threadpool (Howard Chu)
7 years ago
Riccardo Spagni
69e039aa19
Merge pull request #2023
...
f761dbae
Remove 1.25x multiplier from tx_pool (Nano Akron)
7 years ago
Riccardo Spagni
591e53445b
Merge pull request #2044
...
0299cb77
Fix various oversights/bugs in ZMQ RPC server code (Thomas Winget)
77986023
json serialization for rpc-relevant monero types (Thomas Winget)
5c1e08fe
Refactor some things into more composable (smaller) functions (Thomas Winget)
9ac2ad07
DRY refactoring (Thomas Winget)
7 years ago
moneromooo-monero
bc429e9c6d
daemon: make this build with boost 1.61
7 years ago
moneromooo-monero
6137a0b94d
blockchain: reject unsorted ins and outs from v7
...
This ensures no information is leaked by the ordering
7 years ago
Howard Chu
d2d8a41c47
Use actual batch size for resize estimates
...
And optimize import startup:
Remember start_height position during initial count_blocks pass
to avoid having to reread entire file again to arrive at start_height
7 years ago
moneromooo-monero
3487d81034
cryptonote_protocol: fix needless chain hashes downloads
...
The last known hash was calculated incorrectly, causing
further chain hash downloads to restart from the current
chain. When the block queue has close to 10k blocks waiting,
this causes frequent downloads of 10k more hashes, but
with only the last few hashes actually being useful.
7 years ago
moneromooo-monero
7f2f6ee1c9
protocol: remove hop count on block propagation
...
It is unused, as it was apparently a future optimization,
and it leaks some information (though since pools publish
thei blocks they find, that amount seems small).
7 years ago
selsta
91def9a59b
daemon, wallet: add --max-log-file-size option
7 years ago
moneromooo-monero
0aaaca29a2
tx_pool: set the "invalid input" bit when check_tx_inputs fails
7 years ago
moneromooo-monero
9236823bf4
simplewallet: print tx rejection reason where it was missing
7 years ago
moneromooo-monero
3dee3301ba
core_rpc_server: print tx rejection reason at L0 too
7 years ago
Howard Chu
6d0ca7d11f
Tweak concurrency limits
...
Create capacity for 2x max, but lie about it
7 years ago
Howard Chu
510d0d4753
Use a threadpool
...
Instead of constantly creating and destroying threads
7 years ago
Nano Akron
f761dbaeaf
Remove 1.25x multiplier from tx_pool
7 years ago
Riccardo Spagni
7abdba0a5c
Merge pull request #2438
...
9443eec1
core: guard against exceptions in tx verification worker threads (moneromooo-monero)
7 years ago
Riccardo Spagni
e0382a8da2
Merge pull request #2417
...
a9845cc3
rpc: get_txpool_backlog is now unrestricted (moneromooo-monero)
7 years ago
Riccardo Spagni
3399c2a257
Merge pull request #2404
...
e5238adf
update checkpoint hashes (Riccardo Spagni)
d4f56bdf
update hardcoded checkpoints (Riccardo Spagni)
ed730511
update checkpoints.dat (Riccardo Spagni)
7 years ago
Riccardo Spagni
718820cd96
Merge pull request #2396
...
dbfef643
tx_pool: catch exceptions in LockedTXN dtor (moneromooo-monero)
7 years ago
Riccardo Spagni
4c07297dc6
Merge pull request #2392
...
6ac61100
Add a --fluffy-blocks option to relay blocks as fluffy blocks (moneromooo-monero)
7 years ago
moneromooo-monero
ffe2712726
wallet_rpc_server: fix index for newly added address book entry
7 years ago
moneromooo-monero
16afab900d
core: sort ins and outs key key image and public key, respectively
...
This avoids leaking some small amount of information
7 years ago
moneromooo-monero
0c36b9f931
common: add apply_permutation file and function
...
This algorithm is adapted from Raymond Chen's code:
https://blogs.msdn.microsoft.com/oldnewthing/20170109-00/?p=95145
7 years ago
Matthew Campassi
fee3c3ed1e
Update wallet2.cpp for misspelling
...
Misspelling in wallet2.cpp
7 years ago
moneromooo-monero
651baaec46
wallet: add encrypted seed functionality
...
This uses luigi1111's CN_Add method.
See https://xmr.llcoins.net for details.
7 years ago
moneromooo-monero
9443eec10f
core: guard against exceptions in tx verification worker threads
7 years ago
moneromooo-monero
a15e858302
wallet2: guard against daemon sending txes in the wrong order
7 years ago
moneromooo-monero
8fe5f609d1
rpc: order transactions in the order they were requested
7 years ago
moneromooo-monero
55b91d8605
wallet: fix --help and --version erroring out
7 years ago
moneromooo-monero
054054c92f
p2p: disable gray list housekeeping when an exclusive node is given
...
Exclusive nodes may be used for privacy reasons, and thus we don't
want to connect to other nodes, even for checking connectivity.
See https://github.com/monero-project/monero/issues/2346
7 years ago
moneromooo-monero
a9845cc344
rpc: get_txpool_backlog is now unrestricted
7 years ago
Matthew Campassi
ea01633024
updated clarification bc_dyn_stats
...
updated clarification of required parameter for bc_dyn_stats
7 years ago
Matthew Campassi
5aa2f24b2a
clarification bc_dyn_stats
...
clarification of required parameter for bc_dyn_stats
7 years ago
Howard Chu
81fb2f5347
Silence more stupid gcc warnings
7 years ago
Guillaume LE VAILLANT
20256b7c04
Fix AC power supply detection on Linux
...
The /sys/class/power_supply/*/present file usually does not exist for
AC power supplies.
7 years ago
Riccardo Spagni
e5238adfb3
update checkpoint hashes
7 years ago
Riccardo Spagni
d4f56bdf09
update hardcoded checkpoints
7 years ago
Riccardo Spagni
ed730511dc
update checkpoints.dat
7 years ago
Thomas Winget
0299cb77ca
Fix various oversights/bugs in ZMQ RPC server code
...
- Add some RPC commands (and touch up a couple others)
- some bounds checking
- some better pointer management
- const correctness and error handling
-- Thanks @vtnerd for type help with serialization and CMake changes
7 years ago
Thomas Winget
77986023c3
json serialization for rpc-relevant monero types
...
Structured {de-,}serialization methods for (many new) types
which are used for requests or responses in the RPC.
New types include RPC requests and responses, and structs which compose
types within those.
# Conflicts:
# src/cryptonote_core/blockchain.cpp
7 years ago
Thomas Winget
5c1e08fe80
Refactor some things into more composable (smaller) functions
...
This commit refactors some of the rpc-related functions in the
Blockchain class to be more composable. This change was made
in order to make implementing the new zmq rpc easier without
trampling on the old rpc.
New functions:
Blockchain::get_num_mature_outputs
Blockchain::get_random_outputs
Blockchain::get_output_key
Blockchain::get_output_key_mask_unlocked
Blockchain::find_blockchain_supplement (overload)
functions which previously had this functionality inline now call these
functions as necessary.
7 years ago
moneromooo-monero
dbfef643ed
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.
7 years ago
moneromooo-monero
e0592e87d8
dns_utils: remove a few obsolete things
7 years ago
moneromooo-monero
6ac61100a1
Add a --fluffy-blocks option to relay blocks as fluffy blocks
...
Defaults to off, but fluffy blocks are forced enabled on testnet
7 years ago
Howard Chu
1181848748
Use latest height for fork date estimate
7 years ago
Riccardo Spagni
02e5dcd2fa
Merge pull request #2384
...
4e0e4e99
blockchain_import: warn for chunks over 500000, not 100000 (moneromooo-monero)
5b29e87f
blockchain_import: properly cleanup core/db on exit (moneromooo-monero)
e167c4d9
blockchain_import: do not error out on truncated files (moneromooo-monero)
7 years ago
Riccardo Spagni
c919ca4f1d
Merge pull request #2374
...
e72e625e
tx_pool: wrap tx meta updates in a LockedTXN (moneromooo-monero)
7 years ago
Riccardo Spagni
1e57e48342
Merge pull request #2372
...
c867357a
cryptonote_protocol: error handling on cleanup_handle_incoming_blocks (moneromooo-monero)
ce901fcb
Fix blockchain_import wedge on exception in cleanup_handle_incoming_blocks (moneromooo-monero)
84fa015e
core: guard against exceptions in handle_incoming_{block,tx} (moneromooo-monero)
7 years ago
Riccardo Spagni
ee1a766861
Merge pull request #2370
...
3d19ab70
Revert "Cleanup test impact of moving blockchain_db_types()" (Howard Chu)
a95e460c
move db specific options to BlockchainDB (moneromooo-monero)
7 years ago
Riccardo Spagni
eb8dac52df
Merge pull request #2364
...
63d8dddc
cryptonote_protocol: remove old spans when received as old blocks (moneromooo-monero)
7 years ago
Riccardo Spagni
e19b68b005
Merge pull request #2362
...
adce8ae4
simplewallet: new "fee" command to display fee information (moneromooo-monero)
7 years ago
Riccardo Spagni
2560948f69
Merge pull request #2342
...
2e338ca5
wallet2: account for huge testnet reorgs for estimating height (moneromooo-monero)
7 years ago
Riccardo Spagni
5551fcf60b
Merge pull request #2329
...
e3c4395a
p2p: init hashes after deserializing a network address (moneromooo-monero)
7 years ago
Riccardo Spagni
eec3527e33
Merge pull request #2316
...
0c6c3eb3
Silence stupid fallthru warning in gcc 7 (Howard Chu)
7 years ago
Riccardo Spagni
79a0defad7
Merge pull request #2310
...
ea996f91
clarification of parameters for print_coinbase_tx_sum (Matthew Campassi)
7 years ago
Riccardo Spagni
10da3051c2
Merge pull request #2309
...
d58700e0
WalletAPI: only allow trusted daemon when importing key images (Jaquee)
8a9bbd26
WalletAPI: copy wallet data when creating a view only wallet (Jaquee)
d27fe32e
wallet2: export/import wallet data functions (Jaquee)
225a25f3
import_key_images - allow importing without being connected to daemon (Jaquee)
7 years ago
moneromooo-monero
4e0e4e9942
blockchain_import: warn for chunks over 500000, not 100000
...
We have a lot of 350000 byte blocks now.
7 years ago
moneromooo-monero
5b29e87f85
blockchain_import: properly cleanup core/db on exit
7 years ago
moneromooo-monero
e167c4d9a1
blockchain_import: do not error out on truncated files
...
This will happen often when downloading from a live file
7 years ago
MaxXor
e3680b6936
Rename m_listenning_port to m_listening_port
7 years ago
rbrunner7
840aed1cf3
monero-wallet-cli: New command 'wallet_info' improved
7 years ago
Thomas Winget
9ac2ad0744
DRY refactoring
7 years ago
rbrunner7
9bdd985cee
monero-wallet-cli: New command 'wallet_info'
7 years ago
Lee Clagett
9c83f8063d
Do not create file when RPC user/pass is given and use file locking
7 years ago
MaxXor
a1ea475fff
Delete UPnP port mapping on exit
7 years ago
moneromooo-monero
e72e625eb1
tx_pool: wrap tx meta updates in a LockedTXN
7 years ago
moneromooo-monero
adce8ae466
simplewallet: new "fee" command to display fee information
...
including expected transaction backlog at different priorities
7 years ago
moneromooo-monero
c867357adc
cryptonote_protocol: error handling on cleanup_handle_incoming_blocks
7 years ago
moneromooo-monero
ce901fcb31
Fix blockchain_import wedge on exception in cleanup_handle_incoming_blocks
7 years ago
Howard Chu
3d19ab7067
Revert "Cleanup test impact of moving blockchain_db_types()"
...
This reverts commit 3dd34a49ef
.
7 years ago
moneromooo-monero
84fa015e77
core: guard against exceptions in handle_incoming_{block,tx}
...
When one happens, cleanup must be called or the incoming tx
lock will stay locked
7 years ago
moneromooo-monero
a95e460c71
move db specific options to BlockchainDB
...
Avoids common depending on blockchain_db, which can cause
link errors.
7 years ago
moneromooo-monero
63d8dddc0a
cryptonote_protocol: remove old spans when received as old blocks
...
fixes getting those in a loop
7 years ago
Riccardo Spagni
72b5f37f58
Merge pull request #2349
...
1914c999
txpool: update db tx metadata when it changes (moneromooo)
4dbf29bd
txpool: add tx size median to the pool stats (moneromooo)
7 years ago
Riccardo Spagni
e00238a355
Merge pull request #2347
...
5807529e
blockchain: cap memory size of retrieved blocks (moneromooo-monero)
c1b10381
rpc: decrease memory usage a bit in getblocks.bin (moneromooo-monero)
7 years ago
Riccardo Spagni
48f96c18df
Merge pull request #2320
...
c656dd0e
Fix refresh counter display (Howard Chu)
c088d38a
Simplify readline support (Howard Chu)
7 years ago
Riccardo Spagni
36b978f50e
Merge pull request #2314
...
c22d22e2
Cleanup test impact of adding safesyncmode() method (Howard Chu)
9a859844
Toggle SAFE syncmode on and off automatically (Howard Chu)
7 years ago
Riccardo Spagni
ff0afc196e
Merge pull request #2313
...
3dd34a49
Cleanup test impact of moving blockchain_db_types() (Howard Chu)
80344740
More DB support cleanup (Howard Chu)
4c7f8ac0
DB cleanup (Howard Chu)
7 years ago
Riccardo Spagni
30eae5f150
Merge pull request #2353
...
19393115
daemon: fix backlog estimating at max block size (moneromooo-monero)
7 years ago
moneromooo-monero
5807529e69
blockchain: cap memory size of retrieved blocks
...
It helps keep memory usage down when a wallet refreshes through
a string of large blocks
7 years ago
moneromooo-monero
c1b10381fc
rpc: decrease memory usage a bit in getblocks.bin
7 years ago
Guillaume LE VAILLANT
58015df4cf
Fix getblocktemplate RPC returning wrong reserved_offset
...
The byte for TX_EXTRA_TAG_PUBKEY is already included in
res.reserved_offset by the call to slow_memmem.
7 years ago
moneromooo-monero
f906d87e66
wallet: new option to check/confirm txpool backlog when sending
7 years ago
moneromooo-monero
19393115dc
daemon: fix backlog estimating at max block size
...
Block size will pretty much never be fully used, unless all txes
are using max fee.
7 years ago
moneromooo-monero
55bec1f03d
rpc: add a new RPC to get current txpool backlog (sizes and fees)
7 years ago
moneromooo
1914c999c7
txpool: update db tx metadata when it changes
7 years ago
moneromooo
4dbf29bd32
txpool: add tx size median to the pool stats
7 years ago
moneromooo-monero
2e338ca574
wallet2: account for huge testnet reorgs for estimating height
7 years ago
Riccardo Spagni
335681896a
Merge pull request #2311
...
df0cffed
cryptonote_protocol: warn if we see a higher top version we expect (moneromooo-monero)
317ab21a
cryptonote_protocol: less strict check on top version on connect (moneromooo-monero)
cc81a371
cryptonote_protocol: update target height when syncing too (moneromooo-monero)
e2ad372b
cryptonote_protocol: simplify and remove unnecessary casts (moneromooo-monero)
727e67ca
cryptonote_protocol: print peer top height along with its version (moneromooo-monero)
b5345ef4
crypto: use malloc instead of alloca (moneromooo-monero)
80794b31
thread_group: set thread size to THREAD_STACK_SIZE (moneromooo-monero)
5524bc31
print peer id in 0 padded hex for consistency (moneromooo-monero)
8f8cc09b
contrib: add sync_info to rlwrap command set (moneromooo-monero)
70b8c6d7
cryptonote_protocol: misc fixes to the new sync algorithm (moneromooo-monero)
7 years ago
Riccardo Spagni
944bbdb51e
Merge pull request #2330
...
ea15e72d
tx_pool: fix crash in stats (Howard Chu)
7 years ago
Riccardo Spagni
9b4117b401
Merge pull request #2328
...
679a5ab8
daemon: print estimated tx backlog in print_pool_stats (moneromooo-monero)
7 years ago
Riccardo Spagni
65ee63e5bf
Merge pull request #2326
...
64ab8844
rpc_client: print destination host/port when failing to connect (moneromooo-monero)
333f7012
http_client: add getters for host and port (moneromooo-monero)
7 years ago
Howard Chu
ea15e72d73
tx_pool: fix crash in stats
...
if tx receive_time == now. supersedes #2322
7 years ago
moneromooo-monero
df0cffede0
cryptonote_protocol: warn if we see a higher top version we expect
7 years ago
moneromooo-monero
317ab21a03
cryptonote_protocol: less strict check on top version on connect
...
This allows peers who synced past a fork on the wrong height
to reorg to the right chain after they updated their software
to include the new version.
7 years ago
moneromooo-monero
cc81a37155
cryptonote_protocol: update target height when syncing too
7 years ago
moneromooo-monero
e2ad372b87
cryptonote_protocol: simplify and remove unnecessary casts
7 years ago
moneromooo-monero
727e67cada
cryptonote_protocol: print peer top height along with its version
7 years ago
moneromooo-monero
b5345ef4f0
crypto: use malloc instead of alloca
7 years ago
moneromooo-monero
80794b3114
thread_group: set thread size to THREAD_STACK_SIZE
7 years ago
moneromooo-monero
5524bc3151
print peer id in 0 padded hex for consistency
7 years ago
moneromooo-monero
e3c4395ab7
p2p: init hashes after deserializing a network address
...
Fixes multiple connections to the same address
7 years ago
moneromooo-monero
679a5ab85b
daemon: print estimated tx backlog in print_pool_stats
7 years ago
Howard Chu
3dd34a49ef
Cleanup test impact of moving blockchain_db_types()
7 years ago
Howard Chu
c22d22e2db
Cleanup test impact of adding safesyncmode() method
7 years ago
moneromooo-monero
64ab88446a
rpc_client: print destination host/port when failing to connect
7 years ago
Howard Chu
c656dd0ede
Fix refresh counter display
...
Suspend readline when refreshing
7 years ago
moneromooo-monero
70b8c6d77a
cryptonote_protocol: misc fixes to the new sync algorithm
...
Fix sync wedge corner case:
It could happen if a connection went into standby mode, while
it was the one which had requested the next span, and that span
was still waiting for the data, and that peer is not on the
main chain. Other peers can then start asking for that data
again and again, but never get it as only that forked peer does.
And various other fixes
7 years ago
Howard Chu
0c6c3eb3f2
Silence stupid fallthru warning in gcc 7
7 years ago
Jaquee
d58700e003
WalletAPI: only allow trusted daemon when importing key images
7 years ago
Jaquee
8a9bbd26d3
WalletAPI: copy wallet data when creating a view only wallet
7 years ago
Jaquee
d27fe32e4a
wallet2: export/import wallet data functions
7 years ago
Howard Chu
9a859844f4
Toggle SAFE syncmode on and off automatically
...
If monerod is started with default sync mode, set it to SAFE after
synchronization completes. Set it back to FAST if synchronization
restarts (e.g. because another peer has a longer blockchain).
If monerod is started with an explicit sync mode, none of this
automation takes effect.
7 years ago
Howard Chu
80344740bd
More DB support cleanup
...
Hide DB types from db_types.h - no reason to recompile dependencies
when DB types change.
Also remove lingering in-memory DB references, they've been
obsolete since 9e82b694da
7 years ago
Howard Chu
4c7f8ac04f
DB cleanup
...
Hide LMDB-specific stuff behind blockchain_db.h. Nobody besides blockchain_db.cpp
should ever be including DB-specific headers any more.
7 years ago
Jaquee
225a25f327
import_key_images - allow importing without being connected to daemon
7 years ago
Matthew Campassi
ea996f91b5
clarification of parameters for print_coinbase_tx_sum
7 years ago
moneromooo-monero
5d989b661a
core: add mainnet v6 fork height at 1400000
7 years ago
Riccardo Spagni
4466b6d1b0
Merge pull request #2303
...
5a283078
cryptonote_protocol: large block sync size before v4 (moneromooo-monero)
7b747607
cryptonote_protocol: kick idle synchronizing peers (moneromooo-monero)
7 years ago
Riccardo Spagni
4859a00134
Merge pull request #2300
...
42b34b35
Consistently print peer id in hex and on 16 chars (moneromooo-monero)
7 years ago
Riccardo Spagni
1d32a5a445
Merge pull request #2291
...
b59cd074
befor -> before (Nano Akron)
7 years ago
Riccardo Spagni
4b2cc123ff
Merge pull request #2287
...
827afcb7
protocol: pass blockchain cumulative difficulty when syncing (moneromooo-monero)
7 years ago
moneromooo-monero
5a283078ec
cryptonote_protocol: large block sync size before v4
7 years ago
moneromooo-monero
7b74760756
cryptonote_protocol: kick idle synchronizing peers
...
In case they dropped off downloading for any reason, they'll get
sent to download again.
7 years ago
moneromooo-monero
ef005f5e72
p2p: add a couple early outs when the stop signal is received
...
This avoids quicker exit
7 years ago
moneromooo-monero
42b34b3545
Consistently print peer id in hex and on 16 chars
7 years ago
Nano Akron
b59cd0745b
befor -> before
...
Really unique yet consistent spelling mistake
7 years ago
moneromooo-monero
827afcb7ea
protocol: pass blockchain cumulative difficulty when syncing
...
Not used yet.
7 years ago
Riccardo Spagni
78ecb2ad0b
update major version number
7 years ago
Riccardo Spagni
3ff67323b7
Merge pull request #2288
...
c6e200a8
core: add --db-salvage command line flag (moneromooo-monero)
7 years ago
Riccardo Spagni
061930d6b4
Merge pull request #2293
...
dee41efa
simplewallet: mnemonic language command-line arg (Eugene Otto)
7 years ago
Riccardo Spagni
124cbe3cf3
Merge pull request #2292
...
cb2d5ac7
mnemonics: new Esperanto word list (moneromooo-monero)
7 years ago
Riccardo Spagni
9e6bcbc014
Merge pull request #2286
...
8655ba04
wallet_rpc_server: adjust small ring sizes to 5 for v6 (moneromooo-monero)
7 years ago
Riccardo Spagni
7b14a96c03
Merge pull request #2283
...
d1f204d6
miner: set thread name before logging (moneromooo-monero)
7 years ago
Riccardo Spagni
4bfb58328d
Merge pull request #2282
...
7fdc178a
p2p: fix random peer index being too large (moneromooo-monero)
7 years ago
Riccardo Spagni
e457cc7891
Merge pull request #2281
...
e499ff33
simplewallet: factor out message_writer (moneromooo-monero)
7ed5ab47
scoped_message_writer: pause readline to match simplewallet (moneromooo-monero)
7 years ago
Riccardo Spagni
a861cbb465
Merge pull request #2279
...
359517c7
wallet_rpc_server: fix possible privacy leak in on_import_key_images() (Jaquee)
20495b27
simplewallet: fix possible privacy leak in import_key_images() (Jaquee)
7 years ago
Riccardo Spagni
53dde37ceb
Merge pull request #2276
...
a1891ebe
tests: fix tests build (moneromooo-monero)
7 years ago
Riccardo Spagni
f980b2ca89
Merge pull request #2277
...
6ce769c1
p2p: get net log spam down a bit (moneromooo-monero)
7 years ago
Riccardo Spagni
86cf8cac86
Merge pull request #2275
...
88e83f94
cryptonote_protocol_handler: log versions as unsigned ints (moneromooo-monero)
7 years ago
Riccardo Spagni
74522c7e84
Merge pull request #2236
...
cb2d5110
Tweak net logs so we get more info on why networking can't start (moneromooo-monero)
7 years ago
Riccardo Spagni
fa73d6cbf1
Merge pull request #2274
...
7591c528
p2p: fallback on seed nodes if we can't make a connection (moneromooo-monero)
7 years ago
Riccardo Spagni
1d093eff67
Merge pull request #2273
...
0e8d60c0
cryptonote_protocol: fix recv/send idle time before handshake (moneromooo-monero)
7 years ago
Riccardo Spagni
e0df740bc9
Merge pull request #2272
...
f90bbe2a
cryptonote_protocol: keep target in sync with dropped connections (moneromooo-monero)
7 years ago
Riccardo Spagni
b6fc7f283f
Merge pull request #2270
...
1307e3cc
WalletAPI: add getDefaultDataDir() (Jaquee)
7 years ago
Riccardo Spagni
1b54bcdc08
Merge pull request #2266
...
7007bd14
Change default block sync size from 200 to 20 (moneromooo-monero)
7 years ago
Riccardo Spagni
973cc7ffdf
Merge pull request #2264
...
980e476c
cryptonote_basic: fix silly CLANG warning about not emitting function (moneromooo-monero)
7 years ago
Riccardo Spagni
9721b37bd5
Merge pull request #2258
...
74597bd1
wallet2: improve refresh height determination (moneromooo-monero)
7 years ago
Riccardo Spagni
718941bee0
Merge pull request #2256
...
042b86c4
simplewallet: do not ask wallet filename twice when restoring (moneromooo-monero)
7 years ago
moneromooo-monero
cb2d5110ff
Tweak net logs so we get more info on why networking can't start
...
This should prevent "silent" failures to start
7 years ago
Riccardo Spagni
85211cda22
Merge pull request #2255
...
8bbed275
simplewallet: Be explicit about secret keys (Erik de Castro Lopo)
7 years ago
Riccardo Spagni
085ef96768
Merge pull request #2252
...
9707998a
wallet2: clear some missing containers in clear() (moneromooo-monero)
7 years ago
Riccardo Spagni
79479a3614
Merge pull request #2250
...
f4f7eeba
blockchain: log more info when we reject an orphan (moneromooo-monero)
7 years ago
Riccardo Spagni
5ee3798da3
Merge pull request #2248
...
71e28760
debug_utilities: only build for debug builds (moneromooo-monero)
55e150ff
debug_utilities: new object-sizes debug tool (moneromooo-monero)
fbaf5375
cn_deserialize: move to new debug_utilities subdirectory (moneromooo-monero)
7 years ago
Riccardo Spagni
12c70fedc0
Merge pull request #2246
...
d732c73e
blockchain: remove a few unused variables (moneromooo-monero)
7 years ago
Riccardo Spagni
e5a1628c88
Merge pull request #2245
...
c8640a3d
difficulty: fix misleading comment (Guillaume LE VAILLANT)
7 years ago
Riccardo Spagni
6f60613ffb
Merge pull request #2240
...
b7d6ec83
simplewallet: add (out of sync) or (no daemon) markers in the prompt (moneromooo-monero)
fa23a500
wallet2: add a is_synced function (moneromooo-monero)
f1307bbd
node_rpc_proxy: add a proxy for target height (moneromooo-monero)
7 years ago
Riccardo Spagni
4c24eb050b
Merge pull request #2238
...
ad4649ac
Enable verifying wallet password with having to load wallet. (m2049r)
7 years ago
Riccardo Spagni
1cf4665d2a
Merge pull request #2237
...
5d4ef719
core: speed up output index unique set calculation (moneromooo-monero)
19d7f568
perf_timer: allow profiling more granular than millisecond (moneromooo-monero)
bda8c598
epee: add nanosecond timer and pause/restart profiling macros (moneromooo-monero)
7 years ago
Riccardo Spagni
d64b9c1c9e
Merge pull request #2233
...
67ce4910
wallet2: store testnet bool in keys file (Jaquee)
7 years ago
Riccardo Spagni
da2c662cf2
Merge pull request #2232
...
87b5ede9
miner: fix ignoring battery from command line (moneromooo-monero)
7 years ago
Riccardo Spagni
68ccc10b29
Merge pull request #2205
...
c97d1bd3
wallet: return unlock_time in get_transfers (moneromooo-monero)
7 years ago
moneromooo-monero
35e01a6e50
cryptonote_protocol: fix "holes" in block download schedule
7 years ago
moneromooo-monero
3da1edfde5
cryptonote_protocol: fix out of order addition
...
This was broken by the reorg fix, since we now have to add blocks
regardless of their starting height. We now check whether we know
the parent for the first block in the next span, or whether it was
requested. If neither, it's an orphan. If it is not known, but was
requested, we wait to get that block.
7 years ago
moneromooo-monero
6edb1b3e46
block_queue: do not add empty spans
7 years ago
moneromooo-monero
cb2d5ac788
mnemonics: new Esperanto word list
...
Word list authored by: Engelberg, ProkhorZ
Sources:
Baza Radikaro Oficiala
Reta Vortaro (http://www.reta-vortaro.de/revo/ )
Esperanto Panorama - Esperanto-English Dictionary (http://www.esperanto-panorama.net/vortaro/eoen.htm )
ESPDIC - Paul Denisowski (http://www.denisowski.org/Esperanto/ESPDIC/espdic.txt )
7 years ago
Eugene Otto
dee41efa20
simplewallet: mnemonic language command-line arg
...
Add `--mnemonic-language` command-line arg so it's possible to generate a wallet
without interacting with the CLI.
7 years ago
moneromooo-monero
2ec15a6931
daemon: print peers' top height in sync_info
7 years ago
moneromooo-monero
c6e200a8ab
core: add --db-salvage command line flag
...
Use to load the database when the primary meta page is corrupted
7 years ago
moneromooo-monero
8655ba04ba
wallet_rpc_server: adjust small ring sizes to 5 for v6
7 years ago
moneromooo-monero
88e83f9427
cryptonote_protocol_handler: log versions as unsigned ints
...
They're interpreted as characters otherwise
7 years ago
moneromooo-monero
08abb670e1
protocol: fix reorgs while syncing
7 years ago
moneromooo-monero
d1f204d640
miner: set thread name before logging
7 years ago
moneromooo-monero
7fdc178abb
p2p: fix random peer index being too large
7 years ago
moneromooo-monero
e499ff3322
simplewallet: factor out message_writer
7 years ago
moneromooo-monero
7ed5ab47ea
scoped_message_writer: pause readline to match simplewallet
7 years ago
Jaquee
359517c7f5
wallet_rpc_server: fix possible privacy leak in on_import_key_images()
7 years ago
Jaquee
20495b27e8
simplewallet: fix possible privacy leak in import_key_images()
7 years ago
moneromooo-monero
6ce769c123
p2p: get net log spam down a bit
7 years ago
moneromooo-monero
a1891ebea9
tests: fix tests build
...
Add get_fork_version and add_ideal_fork_version to core so
cryptonote_protocol does not have to need the Blockchain
class directly, as it's not in its dependencies, and add
those to the fake core classes in tests too.
7 years ago
moneromooo-monero
7591c528d0
p2p: fallback on seed nodes if we can't make a connection
...
This avoids failing to connect to the network in case all
known peers are unavailable (which can happen if the peer
list is small).
7 years ago
moneromooo-monero
0e8d60c06c
cryptonote_protocol: fix recv/send idle time before handshake
7 years ago
moneromooo-monero
f90bbe2a5c
cryptonote_protocol: keep target in sync with dropped connections
...
When a node is dropped, we stop considering its claimed blockchain
height as a factor in the target height calculation. This prevents
a runaway chain from being still thought to be the target even if
the nodes carrying it are dropped.
7 years ago
moneromooo-monero
3ff5ce63c5
connection_context: initialize state
...
Why this was initialized properly before I have no idea, but
it is not anymore. Fix it, which fixes syncing in release mode.
7 years ago
Riccardo Spagni
f43d59d8b3
Merge pull request #2269
...
635929ea
protocol: add checks for top block hard fork version (moneromooo-monero)
7482253a
epee: fixup KV_SERIALIZE_OPT to work in more cases (moneromooo-monero)
7 years ago
Jaquee
1307e3cc12
WalletAPI: add getDefaultDataDir()
7 years ago
moneromooo-monero
635929eaca
protocol: add checks for top block hard fork version
...
We won't even talk to a peer which claims a wrong version
for its top block. This will avoid syncing to known bad
peers in the first place.
Also add IP fails when failing to verify a block.
7 years ago
moneromooo-monero
e49f6d439d
net_node: fix m_in_timedsync initialization
...
This fixes nodes not being able to connect to nodes which use
recent code. While there, init peer_id too.
7 years ago
moneromooo-monero
7007bd1489
Change default block sync size from 200 to 20
...
With the new sync algorithm, the network overhead will be masked
as the thread adding blocks isn't interrupted by network calls
anymore. This should reduce memory usage a lot during sync.
7 years ago
moneromooo-monero
980e476c89
cryptonote_basic: fix silly CLANG warning about not emitting function
7 years ago
Riccardo Spagni
bfd2532ea5
Merge pull request #2247
...
a839a6fa
Wallet API: add tx unlock time (Jaquee)
7 years ago
Riccardo Spagni
bff9fb9c8b
Merge pull request #2231
...
61770ec2
change mixin to ring size in user visible places (moneromooo-monero)
7 years ago
moneromooo-monero
61770ec2da
change mixin to ring size in user visible places
7 years ago
Riccardo Spagni
14f479bb9c
Merge pull request #2262
...
7f7d42f8
core: fix invalid memory access creating tx (moneromooo-monero)
7 years ago
Riccardo Spagni
62610a3a53
Merge pull request #2225
...
5d91b26c
blockchain: skip checking tx semantics in embedded block hash range (moneromooo-monero)
7 years ago
moneromooo-monero
7f7d42f890
core: fix invalid memory access creating tx
7 years ago
Riccardo Spagni
a796cb341e
Merge pull request #2207
...
c93b7692
blockchain_import: much faster when verifying with cryptonote::core (moneromooo-monero)
38756d00
core: new API to disable DNS checkpoint lookups (moneromooo-monero)
7 years ago
Riccardo Spagni
3db039828e
Merge pull request #2254
...
e31aac80
walletAPI: add getRefreshFromBlockHeight() (Jaquee)
48c0cb1b
wallet api: pause refresh while commiting tx (Jaquee)
f233c01c
CMakeLists.txt - ios/xcode fix (Jaquee)
7 years ago
moneromooo-monero
569b9b2b50
updates: add "misc_log_ex.h" for logs
7 years ago
moneromooo-monero
74628941d5
dns_utils: add <functional> for std::function
7 years ago
moneromooo-monero
c93b7692b4
blockchain_import: much faster when verifying with cryptonote::core
...
Quick test with the first 56569 blocks from mainnet
version verify batch time
old 0 200 1:16
new 0 200 0:57
old 0 5000 0:53
new 0 5000 0:51
old 1 200 est > 1h
new 1 200 10:21
old 1 5000 est > 1h
new 1 5000 8:27
7 years ago
moneromooo-monero
38756d00ff
core: new API to disable DNS checkpoint lookups
7 years ago
Riccardo Spagni
c63e9633b5
Merge pull request #2218
...
02f13d6c
Fix handling of strings & simplify summation of spendkeys (JollyMort)
40fc9d7b
Add option to join multisig wallet pieces together (JollyMort)
7 years ago
Riccardo Spagni
6db8a60a18
Merge pull request #2149
...
158c3ecf
core: thread most of handle_incoming_tx (moneromooo-monero)
f57ee382
cryptonote_protocol: retry stale spans early (moneromooo-monero)
90df52e1
cryptonote_protocol: light cleanup (moneromooo-monero)
84e23156
cryptonote_protocol: avoid spurious SYNCHRONIZED OK messages (moneromooo-monero)
5be43fcd
cryptonote_protocol_handler: sync speedup (moneromooo-monero)
7 years ago
Riccardo Spagni
05c44db23b
Merge pull request #2244
...
328bebbe
daemon: some more include cleanup (moneromooo-monero)
7 years ago
Riccardo Spagni
dc2747439c
Merge pull request #2243
...
4d873046
blockchain: add testnet v6 fork height at 971400 (moneromooo-monero)
7 years ago
Riccardo Spagni
b1af32b48d
Merge pull request #2242
...
1c9196b0
cryptonote_protocol: fix days behind calc on testnet (moneromooo-monero)
7 years ago
Riccardo Spagni
15e895399c
Merge pull request #2239
...
600353e2
fix wallet callback signatures (m2049r)
7 years ago
Riccardo Spagni
ea46a5527a
Merge pull request #2234
...
214fd81e
some include cleanup (moneromooo-monero)
7 years ago
Riccardo Spagni
9b3b7f050b
Merge pull request #2230
...
5dd722be
core: add a message when loading checkpoints at init time (moneromooo-monero)
7 years ago
Riccardo Spagni
5cc53c7e49
Merge pull request #2226
...
14ec6ed8
tx_pool: remove obsolete unused m_config_folder field (moneromooo-monero)
7 years ago
Riccardo Spagni
1ea75abd72
Merge pull request #2223
...
d37e8f88
daemon: add average seconds per block in bc_dyn_stats (moneromooo-monero)
7 years ago
Riccardo Spagni
a2dd125b1e
Merge pull request #2222
...
878205f1
core: fix lock ordering bug at init time (moneromooo-monero)
7 years ago
Riccardo Spagni
9b0daf49db
Merge pull request #2220
...
c6ba7d11
p2p: move m_in_timedsync from connection_context to p2p_connection_context (moneromooo-monero)
7 years ago
Riccardo Spagni
43c6e452fa
Merge pull request #2219
...
04ebfbfe
p2p: close connections when exiting (moneromooo-monero)
9a10148c
p2p: fix thread leak (moneromooo-monero)
7 years ago
Riccardo Spagni
8048de268a
Merge pull request #2216
...
d8becf2e
blockchain: fix cryptonight buffer leak on exit (moneromooo-monero)
91aa90fc
blockchain: ensure all blocks get their longhash precalculated (moneromooo-monero)
ff4bcaed
blockchain: pass correct height to get_block_longhash (moneromooo-monero)
7 years ago
Riccardo Spagni
a6ea26e7fa
Merge pull request #2215
...
06aea2cf
move get_proof_of_trust_hash from util.h to p2p_protocol_defs.h (moneromooo-monero)
7 years ago
Riccardo Spagni
a963da9001
Merge pull request #2214
...
41f935dd
network_throttle: remove unneeded heap allocations (moneromooo-monero)
7 years ago
Riccardo Spagni
1e2d6f898e
Merge pull request #2211
...
525975ac
wallet-cli: Minor improvement to help output (Erik de Castro Lopo)
7 years ago
Riccardo Spagni
f5be5b7e7b
Merge pull request #2210
...
cb0b5594
Move OpenAlias console input back from libs (moneromooo-monero)
7 years ago
Riccardo Spagni
61ac6983f2
Merge pull request #2206
...
340feede
core: randomly shuffle outputs (moneromooo-monero)
7 years ago
Riccardo Spagni
24dd5e87af
Merge pull request #2203
...
0c57df97
wallet2: fix temporarily missing incoming tx when being mined (moneromooo-monero)
7 years ago
Riccardo Spagni
5a04301b32
Merge pull request #2201
...
dc0b312f
wallet_rpc_server: optionally return tx blobs on transfer calls (moneromooo-monero)
5eb79983
epee: add a KV_SERIALIZE variant for optional parameters (moneromooo-monero)
7 years ago
Riccardo Spagni
58621e3f65
Merge pull request #2200
...
f1b76c84
cryptonote_protocol: Set send_idle_time in connection_info correctly (rbrunner7)
7 years ago
Riccardo Spagni
0f36efbded
Merge pull request #2198
...
53af9768
blockchain: one off warning when seeing a block with unknown version (moneromooo-monero)
7 years ago
Riccardo Spagni
52b33b5284
Merge pull request #2196
...
16a55347
simplewallet: show payment ids on sign_transfer (moneromooo-monero)
7 years ago
Riccardo Spagni
b6ae718456
Merge pull request #2195
...
599436a4
mlog: default to msgwriter logs only for log level 1 (moneromooo-monero)
58f3fc68
Make msgwriter logs go to file only (moneromooo-monero)
7 years ago