stoffu
a6b8d3fee1
tx_pool: remove old comment from fill_block_template()
6 years ago
moneromooo-monero
a87980f6c2
fix build with GCC 8.1.0
6 years ago
moneromooo-monero
de1ffe07b1
p2p: warn when no incoming connections are seen for a while
6 years ago
moneromooo-monero
b9389e582e
db_lmdb: save pruned and prunable tx data separately
...
This bumps DB version to 2, migration code will run for v1 DBs
6 years ago
Riccardo Spagni
45975fd8eb
update checkpoints
6 years ago
Riccardo Spagni
6715c90667
update checkpoints for point release
6 years ago
Riccardo Spagni
49f4645f1d
bump version for point release
6 years ago
cslashm
bdf5a3ad3f
Fix PCSC compilation under windows
...
PR3843 based on release-v0.12 => rebased on master
6 years ago
Riccardo Spagni
a2cef8cba4
Merge pull request #3800
...
9317bce9
crypto: more places needing fixing for GCC 8.1 (moneroexamples)
4a72d595
chacha: fix build with GCC 8.1 (moneromooo-monero)
6 years ago
Riccardo Spagni
f794d3b3df
Merge pull request #3787
...
ce63ab09
blockchain: invalidate misc caches when popping blocks (moneromooo-monero)
6 years ago
Riccardo Spagni
709658d166
Merge pull request #3832
...
cb9c7972
Fix output shuffling for multisig (stoffu)
6 years ago
Riccardo Spagni
4dae04dde2
Merge pull request #3837
...
18761b37
simplewallet: use correct unit for fee command (stoffu)
6 years ago
Riccardo Spagni
d6cefbd1b8
Merge pull request #3745
...
b13bddc3
Wallet API: allow log path to be non-default & console output to be configurable (stoffu)
6 years ago
moneromooo-monero
5f8ffca34d
speed up get_output_distribution (and precalc common case)
6 years ago
Riccardo Spagni
2f5506daf8
Merge pull request #3830
...
29fbaeaa
daemon: request unpruned transactions for print_tx (moneromooo-monero)
6 years ago
Riccardo Spagni
791da4343c
Merge pull request #3749
...
872cb4ef
blockchain: pop top if block version disagrees with the ideal fork version (stoffu)
6 years ago
stoffu
18761b372f
simplewallet: use correct unit for fee command
6 years ago
moneromooo-monero
ce173cbb5b
core: remove threadpool dependency from header
6 years ago
moneromooo-monero
db55263b4c
threadpool: allow constructing an object, and misc tweaks
...
use unsigned int to avoid having to range check negative numbers,
use const where possible, don't needlessly create empty objects,
use std::move where possible
6 years ago
stoffu
cb9c7972b6
Fix output shuffling for multisig
6 years ago
moneromooo-monero
29fbaeaae5
daemon: request unpruned transactions for print_tx
...
instead of uninitialized
6 years ago
moneromooo-monero
16e209e08d
core: lock incoming tx lock when checking the txpool and chain
...
This gets rid of an innocuous race trying to add the same tx
twice to the txpool
6 years ago
moneromooo-monero
a2566db09e
object_sizes: add a few useful types
6 years ago
jcktm
89e51ecd38
simple-wallet-cli: Add warnings about inaccurate balances to to watch-only wallet
6 years ago
Thaer Khawaja
a66f152f75
Use median timestamp if current time renders a block invalid.
6 years ago
moneroexamples
9317bce9ca
crypto: more places needing fixing for GCC 8.1
6 years ago
moneromooo-monero
4a72d595a6
chacha: fix build with GCC 8.1
6 years ago
Rafficer
f357210c00
Fix Typo
6 years ago
moneromooo-monero
a58d9738c9
wallet2: consider 6 outputs or less to be unmixable from v7
6 years ago
moneromooo-monero
b5cb1bc403
blockchain: avoid exception if asked for a block we do not have
...
This can happen if a peer tries to obtain the next span from other
peers if that span is needed for not downloaded yet. Also if the
peer maliciously requests a non existent block hash.
6 years ago
moneromooo-monero
ce63ab09db
blockchain: invalidate misc caches when popping blocks
...
Might be a bit heavy handed, but conservative.
6 years ago
cryptochangements34
261ee5628b
don't limit miner threads in wallet
6 years ago
Riccardo Spagni
52f6b33890
Merge pull request #3775
...
6f859e43
cryptonote: make sure outPk setup always happens (moneromooo-monero)
6 years ago
moneromooo-monero
6f859e4328
cryptonote: make sure outPk setup always happens
6 years ago
itssteven
eb9f3a3294
check_spend_proof
...
My intention is to mitigate #3761 by returning "bad signature", rather than throwing an error, as the error is triggered inappropriately in the case of checking a different txid than the one used to create the signature, which causes issues for monerophp: https://github.com/monero-integrations/monerophp/issues/72 & my temp fix: https://github.com/monero-integrations/monerophp/pull/74
6 years ago
cryptochangements34
6f9260e38e
handle optional miner params better
6 years ago
stoffu
872cb4efd8
blockchain: pop top if block version disagrees with the ideal fork version
6 years ago
Teutone
4812c062c5
add .load() to make Boost 1.67 happy with its new is_integral check
6 years ago
moneromooo-monero
5f19384729
ringct: do not show verification errors with default settings
6 years ago
stoffu
b13bddc3c9
Wallet API: allow log path to be non-default & console output to be configurable
6 years ago
Thaer Khawaja
fa0839f2f5
Ensure m_timestamps has the correct number for computing difficulty.
6 years ago
Riccardo Spagni
6b9d9f56a1
Merge pull request #3719
...
3880bf39
cryptonote_protocol_handler.inl: remove span read just now that failed to pass some basic tests (stoffu)
da249fd5
cryptonote_protocol_handler.inl: fix return type mismatches (int vs bool) (stoffu)
6 years ago
moneromooo-monero
1590183965
p2p: fix fallback seed node usage
...
Those were added to the seed nodes list even when they had already
been added. Moreover, the current index was not reset after they
were added, typically causing previous seeds to be used, and some
of those fallback seeds to not be tried.
6 years ago
moneromooo-monero
d9d002c3c1
daemon: print peer state in sync_info
...
It's often relevant
6 years ago
moneromooo-monero
9cc0d4220f
connection_context: remove "state_" prefix from state names
...
It's redundant and makes it easier to print them in columns
6 years ago
Riccardo Spagni
cd22cb807a
Merge pull request #3709
...
82b05d50
Adding required library (dependency of boost::this_thread::sleep_for) (Gene Peters)
6 years ago
Riccardo Spagni
69b6f5b6a6
Merge pull request #3705
...
f9d0827b
Fix broken interactive daemon 'limit' commands plus RPC calls (rbrunner7)
6 years ago
Riccardo Spagni
26cae8f4f1
Merge pull request #3695
...
b1a9e97b
slow-hash: fix memory leak for Windows /karbowanec#41 (aivve)
6 years ago
Riccardo Spagni
2ab5b1a21f
Merge pull request #3683
...
dad10775
Only log an error if fork version is higher AND is not known. (Thaer Khawaja)
6 years ago
Riccardo Spagni
93e76e14a2
Merge pull request #3685
...
ffeeefde
speedup get_output_histogram for all amounts when min_count > 0 (moneromooo-monero)
2dae0f20
wallet2: add missing parameters to get_output_histogram (moneromooo-monero)
6 years ago
Riccardo Spagni
35299644b2
Merge pull request #3650
...
5bd7f760
import_multisig_info: fix sanity check crash in detach_blockchain (Mikhail Mitkevichl)
6 years ago
stoffu
3880bf396a
cryptonote_protocol_handler.inl: remove span read just now that failed to pass some basic tests
6 years ago
stoffu
da249fd5ba
cryptonote_protocol_handler.inl: fix return type mismatches (int vs bool)
6 years ago
Gene Peters
82b05d5054
Adding required library (dependency of boost::this_thread::sleep_for)
6 years ago
rbrunner7
f9d0827bba
Fix broken interactive daemon 'limit' commands plus RPC calls
6 years ago
naughtyfox
b21bc00704
Wallet: added methods to sign and verify arbitrary message with multisig public signer's key (libwallet & wallet api)
6 years ago
moneromooo-monero
3ca267b546
cn_deserialize: dump additional tx pubkeys
6 years ago
moneromooo-monero
efcecb42f3
mnemonics: add some logs to help debug failures
6 years ago
aivve
b1a9e97b2d
slow-hash: fix memory leak for Windows /karbowanec#41
6 years ago
moneromooo-monero
6b13976330
blockchain: log in DEBUG when a block is found, and where
...
Eases up debugging
6 years ago
moneromooo-monero
ffeeefde60
speedup get_output_histogram for all amounts when min_count > 0
...
This skips the vast majority of "dust" output amounts with just
one instance on the chain. Clocks in at 0.15% of the original
time on testnet.
6 years ago
moneromooo-monero
2dae0f203a
wallet2: add missing parameters to get_output_histogram
6 years ago
Thaer Khawaja
dad1077577
Only log an error if fork version is higher AND is not known.
6 years ago
stoffu
f36132a837
wallet cli/rpc: terminate execution with code 0 when --help or --version is given
6 years ago
Mikhail Mitkevichl
5bd7f760e9
import_multisig_info: fix sanity check crash in detach_blockchain
6 years ago
Riccardo Spagni
8fdf645397
Merge pull request #3670
...
19e01378
Build: remove UPnP definition from snap (anonimal)
6b853980
Build: update CMake and p2p for in-tree miniupnp (anonimal)
859db52f
CMake: update new location of in-tree miniupnpc (anonimal)
f21df05c
Build: add miniupnp submodule (anonimal)
10685648
Build: remove in-tree miniupnpc (anonimal)
6 years ago
Riccardo Spagni
a429f06b18
Merge pull request #3579
...
0b88fff3
simplewallet: fix help message of sign_transfer (stoffu)
6 years ago
Riccardo Spagni
a3a617f35f
Merge pull request #3576
...
f82c10dc
WalletManagerImpl: reuse existing connection to daemon instead of reconnectivng every time (stoffu)
6 years ago
Riccardo Spagni
6189a775b0
Merge pull request #3636
...
998c1461
daemon: read config file before reading any other args (stoffu)
6 years ago
Riccardo Spagni
bcb71797c8
Merge pull request #3633
...
f914df84
device: add a one off override keyword where appropriate (moneromooo-monero)
6 years ago
Riccardo Spagni
7e98e9d7ce
Merge pull request #3630
...
51b511be
simplewallet: add version command (moneromooo-monero)
35d1269f
daemon: add a version command (moneromooo-monero)
6 years ago
Riccardo Spagni
e6cf9c06fc
Merge pull request #3624
...
d8584fc8
util: log stack trace on crash (moneromooo-monero)
6 years ago
Riccardo Spagni
03ff3be10e
Merge pull request #3672
...
875c1cab
wallet2: increase rpc timeout for get_output_distribution (moneromooo-monero)
70f23217
add top height to get_output_distribution, and cache it for rct (moneromooo-monero)
8c7363fb
rpc: add missing perf timer for get_output_distribution (moneromooo-monero)
6 years ago
anonimal
6b85398031
Build: update CMake and p2p for in-tree miniupnp
...
(cherry picked from commit a7366b5feeffaeb65b217b2d6f138e0ab1c90192)
6 years ago
moneromooo-monero
875c1cabb9
wallet2: increase rpc timeout for get_output_distribution
6 years ago
moneromooo-monero
70f2321763
add top height to get_output_distribution, and cache it for rct
...
This should cache the vast majority of calls for long running wallets
6 years ago
moneromooo-monero
8c7363fbef
rpc: add missing perf timer for get_output_distribution
6 years ago
anonimal
859db52fda
CMake: update new location of in-tree miniupnpc
...
(cherry picked from commit b16a282f97d8f6c967e8a0b1ecfd75110f095182)
6 years ago
Ryan Ronnander
6f36cf02e7
Improve 'show_transfers' date formatting
...
Change the wallet's 'show_transfers' command to always output the transaction date with timestamp (24 hour UTC).
6 years ago
cryptochangements34
e2b75586fb
handle improper log levels
6 years ago
stoffu
998c1461c3
daemon: read config file before reading any other args
6 years ago
moneromooo-monero
c1bda097c1
wallet_rpc_server: add a get_version RPC
6 years ago
moneromooo-monero
f914df8494
device: add a one off override keyword where appropriate
6 years ago
moneromooo-monero
51b511be4c
simplewallet: add version command
6 years ago
moneromooo-monero
35d1269fac
daemon: add a version command
6 years ago
naughtyfox
8787fd899b
WalletApi: publicMultisigSignerKey method
6 years ago
moneromooo-monero
d8584fc8d7
util: log stack trace on crash
6 years ago
stoffu
b5d6c723e9
wallet2: store subaddress lookahead settings
6 years ago
Riccardo Spagni
1f96755ddc
Merge pull request #3618
...
3367ed86
blockchain_blackball: fix build with CLANG 5 (moneromooo-monero)
6 years ago
moneromooo-monero
3367ed863c
blockchain_blackball: fix build with CLANG 5
...
It doesn't like the explicit NULL dereference (which is fine, honest)
6 years ago
cslashm
94b899db26
Use 'boost' mutex instead of 'std' mutex
6 years ago
cslashm
2c274e05fe
Fix sub-address tx scan.
...
When additional keys was needed, the TX scan failed because the
derivation data was always recomputed with the main tx_key and not
the corresponding additional one.
Moreover this patch avoid perf decreasing when not using HW device.
6 years ago
Riccardo Spagni
5e08fd89ea
Merge pull request #3549
...
73951cbd
wallet2: request transactions in slices when scanning for known rings (moneromooo-monero)
25fe67e4
rpc: allow getting pruned blocks from gettransactions (moneromooo-monero)
6 years ago
Riccardo Spagni
a95461e76d
Merge pull request #3609
...
08343aba
tx_pool: fix loading with colliding key images (moneromooo-monero)
6 years ago
Riccardo Spagni
1e9cc3e43e
Merge pull request #3602
...
a9cc88ee
common: make this build with unbound 1.4.20 (moneromooo-monero)
6 years ago
Riccardo Spagni
14c870ee5f
Merge pull request #3615
...
24acb66e
wallet2: fix misc issues when the ringdb can't be initialized (moneromooo-monero)
6 years ago
Riccardo Spagni
3b8704b0fa
Merge pull request #3555
...
0b26c4d5
wallet2: move segregation height to v7 (moneromooo-monero)
6 years ago
Riccardo Spagni
5d8439e310
Merge pull request #3534
...
eecfb57d
wallet: warn if not using the default ring size (moneromooo-monero)
6 years ago
Riccardo Spagni
f6094bb225
Merge pull request #3532
...
aa5c2e01
simplewallet: warn about key reuse on startup (moneromooo-monero)
6 years ago
Riccardo Spagni
226de8e928
Merge pull request #3530
...
eb59f7c5
cryptonote_tx_util: make destinations properly shuffled (stoffu)
6 years ago
Riccardo Spagni
8703f1d80e
Merge pull request #3516
...
1e0958c0
wallet: fix default mixin (4 -> 6) (sneurlax)
6 years ago
moneromooo-monero
24acb66eac
wallet2: fix misc issues when the ringdb can't be initialized
6 years ago
Riccardo Spagni
3a9290ba6f
Merge pull request #3511
...
0beb94f3
device: fix endianess dependence on subaddress secret key generation (moneromooo-monero)
6 years ago
Riccardo Spagni
5053f8f40b
Merge pull request #3502
...
11c933e1
fix lambda compile error on openbsd (moneromooo-monero)
6 years ago
Riccardo Spagni
96b2fee721
Merge pull request #3536
...
c77d2bfa
Add the possibility to export private view key for fast scan. (cslashm)
100b7bc1
Change mutex lock model to avoid dead lock and ensure locks are always released. (cslashm)
641dfc99
Automatic height setup when creating/restoring hw device. (cslashm)
6 years ago
Riccardo Spagni
60b18cdd1f
Merge pull request #3492
...
dac3895a
update block hashes for checkpoints.dat (Riccardo Spagni)
6 years ago
Riccardo Spagni
93047ce762
Merge pull request #3485
...
1834127c
rpc: make get_output_distribution a non-restricted RPC (moneromooo-monero)
6 years ago
Riccardo Spagni
1b4dc46129
Merge pull request #3473
...
eaa8bfe7
wallet2: set from_height of GET_OUTPUT_DISTRIBUTION correctly The previous expression (stoffu)
0a619f78
wallet2: enable the mitigation only after the fork height (stoffu)
6 years ago
Riccardo Spagni
3d6636e79c
Merge pull request #3471
...
5f664793
p2p: correct port number for seed nodes (stoffu)
6 years ago
Riccardo Spagni
ebb55f797b
Merge pull request #3468
...
0098ed33
wallet2: fix for loading settings of key reuse mitigation (stoffu)
6 years ago
Riccardo Spagni
959f6ed9a5
Merge pull request #3461
...
57300491
wallet: catch exceptions dealing with ringdb and warn (moneromooo-monero)
6 years ago
moneromooo-monero
08343abaf4
tx_pool: fix loading with colliding key images
...
A key image may be present more than once if all but one of the
txes spending that key image are coming from blocks. When loading
a txpool from storage, we must load the one that's not from a
block first to avoid rejection
6 years ago
moneromooo-monero
6a61f520e2
unit_tests: add ringdb unit tests
6 years ago
moneromooo-monero
a9cc88ee76
common: make this build with unbound 1.4.20
...
Common on currently used distros
6 years ago
moneromooo-monero
90a16b119f
crypto: fix initialization order issue with random mutex
6 years ago
cryptochangements34
372ffeba21
Add a space in mining to testnet/stagenet string
6 years ago
stoffu
0b88fff3a5
simplewallet: fix help message of sign_transfer
6 years ago
moneromooo-monero
73951cbd39
wallet2: request transactions in slices when scanning for known rings
...
This avoid massive memory consumption for huge wallets
6 years ago
moneromooo-monero
25fe67e4cf
rpc: allow getting pruned blocks from gettransactions
...
and get them pruned in find_and_save_rings, since it does not need
the pruned data in the first place.
Also set decode_to_json to false where missing, we don't need this
either.
6 years ago
stoffu
f82c10dc96
WalletManagerImpl: reuse existing connection to daemon instead of reconnectivng every time
6 years ago
stoffu
353e9c0c90
Core RPC: optionally add POW hash to block_header_response
6 years ago
moneromooo-monero
0b26c4d57c
wallet2: move segregation height to v7
...
since people seem to really want to use things the wrong way.
6 years ago
moneromooo-monero
6fc97c97eb
blockchain_usage: don't divide by 0 when there is nothing to process
...
Coverity 184942
6 years ago
cslashm
c77d2bfaa0
Add the possibility to export private view key for fast scan.
...
On client startup the device asks for authorization to export the private view key.
If user agree, the client hold the private view key allowing a fast blockchain scan.
If the user does not agree, the blockchain scan is fully done via the device.
6 years ago
cslashm
100b7bc10d
Change mutex lock model to avoid dead lock and ensure locks are always released.
...
Additional cosmetic fixes:
move 'name' as protected
remove unnecessary local var
Fix debug log
6 years ago
cslashm
641dfc991f
Automatic height setup when creating/restoring hw device.
...
When creating/restoring wallet, if --restore-height option is not used the current estimate
height is used for starting the scan. In other words it is assume we are creating a new account.
6 years ago
moneromooo-monero
eecfb57df9
wallet: warn if not using the default ring size
6 years ago
moneromooo-monero
aa5c2e01e7
simplewallet: warn about key reuse on startup
6 years ago
stoffu
eb59f7c563
cryptonote_tx_util: make destinations properly shuffled
6 years ago
stoffu
66a659bb03
blockchain: add scope guard to waiter for threaded txv1 verification
6 years ago
sleepy pocket monster
1e0958c083
wallet: fix default mixin (4 -> 6)
6 years ago
naughtyfox
5a96056600
WalletApi: getMultisigInfo entry for gui wallets
...
WalletApi: makeMultisig call introduced
WalletApi: finalizeMultisig call introduced
WalletApi: new calls exportMultisigImages and importMultisigImages
WalletApi: method to return multisig wallet creation state
WalletApi: create multisig transaction, sign multisig transaction, commit transaction and get multisig data are added
WalletApi: identation and style fixes
6 years ago
naughtyfox
47fdb74273
Refactored: work with wallet api statuses to make setting and getting operations atomic along with error strings
...
WalletApi: added method statusWithErrorString to atomically retrieve error with error string
6 years ago
moneromooo-monero
0beb94f323
device: fix endianess dependence on subaddress secret key generation
...
We now force little endianness
6 years ago
moneromooo-monero
11c933e137
fix lambda compile error on openbsd
6 years ago
cryptochangements34
c8cb5fca5e
exit if specified wallet file doesn't exist
6 years ago
Riccardo Spagni
dac3895ac1
update block hashes for checkpoints.dat
6 years ago
moneromooo-monero
1834127c82
rpc: make get_output_distribution a non-restricted RPC
...
so that those nodes can still be used for sending transactions
6 years ago
moneromooo-monero
3f5fb6fe6d
simplewallet: add --untrusted-daemon option
6 years ago
stoffu
eaa8bfe7c0
wallet2: set from_height of GET_OUTPUT_DISTRIBUTION correctly
...
The previous expression
req_t.from_height = X ? Y >= Z : 0;
forces the parameter to take the value of either 0 or 1.
6 years ago
stoffu
0a619f789b
wallet2: enable the mitigation only after the fork height
6 years ago
stoffu
5f6647934b
p2p: correct port number for seed nodes
6 years ago
stoffu
0098ed338c
wallet2: fix for loading settings of key reuse mitigation
6 years ago
cryptochangements34
ad19f8679e
don't show error twice when starting simplewallet
6 years ago
moneromooo-monero
5730049178
wallet: catch exceptions dealing with ringdb and warn
6 years ago
stoffu
3b941befae
core: add get_earliest_ideal_height_for_version()
6 years ago
moneromooo-monero
a6a54fa883
blockchain: cache difficulty for next block
...
Takes about 10 ms, which takes pretty much all of the get_info
RPC, which is called pretty often from wallets.
Also add a new lock so we don't need to lock the blockchain lock,
which will avoid blocking for a long time when calling the getinfo
RPC while syncing. Users of get_difficulty_for_next_block who need
the lock will have locked it already.
6 years ago
moneromooo-monero
b1398fff40
core: fix use of uninitialised data
6 years ago
Riccardo Spagni
428fb45f68
update checkpoints
6 years ago
Riccardo Spagni
3fedd51d26
update checkpoints.dat to block 1532400
6 years ago