aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2019-04-11console.py: support connecting to any host, not just 127.0.0.1moneromooo-monero1-5/+23
2019-04-11functional_tests: add more blockchain related testsmoneromooo-monero11-77/+399
Related to emission, reorgs, getting tx data back, output distribution and histogram
2019-04-11functional_tests: add bans testsmoneromooo-monero2-0/+138
2019-04-11Merge pull request #5382Riccardo Spagni5-22/+63
c12b43cb wallet: add number of blocks required for the balance to fully unlock (moneromooo-monero) 3f1e9e84 wallet2: set confirmations to 0 for pool txes in proofs (moneromooo-monero) 36c037ec wallet_rpc_server: error out on getting the spend key from a hot wallet (moneromooo-monero) cd1eaff2 wallet_rpc_server: always fill out subaddr_indices in get_transfers (moneromooo-monero)
2019-04-11Merge pull request #5381Riccardo Spagni2-6/+10
def40161 miner: fix race when stopping mining with start mining enabled (moneromooo-monero)
2019-04-11Merge pull request #5380Riccardo Spagni3-3/+3
113e4877 blockchain_stats: fix sign in formatting function (moneromooo-monero) adaea3ea various: remove unused variables (moneromooo-monero) 631ef00e blockchain: some debug info when adding txes-from-block fails (moneromooo-monero)
2019-04-11Merge pull request #5379Riccardo Spagni3-5/+26
83fc45a4 Add NanoX support (cslashm)
2019-04-11Merge pull request #5378Riccardo Spagni3-25/+1
eda2661a Allow pruning before v10 (moneromooo-monero)
2019-04-11Merge pull request #5376Riccardo Spagni2-1/+5
c746f45d Add hash of top block to /getheight RPC (Howard Chu)
2019-04-11Merge pull request #5374Riccardo Spagni10-20/+264
a2561653 wallet: new option to start background mining (moneromooo-monero)
2019-04-11Merge pull request #5373Riccardo Spagni2-3/+6
aff80e70 blockchain: fix returned height in create_block_template (moneromooo-monero)
2019-04-11Merge pull request #5371Riccardo Spagni6-2/+56
9f8dc4ce simplewallet: new net_stats command (moneromooo-monero)
2019-04-11simplewallet: new net_stats commandmoneromooo-monero6-2/+56
displays total sent and received bytes
2019-04-11Merge pull request #5367Riccardo Spagni2-5/+5
07b716bf util: name replace_file arguments better (moneromooo-monero)
2019-04-11Merge pull request #5366Riccardo Spagni1-1/+1
c2f271d1 device/trezor: increase live-refresh timeout (Dusan Klinec)
2019-04-11Merge pull request #5123Riccardo Spagni10-16/+100
089c7637 cryptonote: rework block blob size sanity check (moneromooo-monero)
2019-04-11Merge pull request #4939Riccardo Spagni1-1/+5
f064efae README: add and remove dependencies on OSX line (George)
2019-04-11Merge pull request #5320Riccardo Spagni15-322/+474
2e578b82 Enabling daemon-rpc SSL now requires non-system CA verification (Lee Clagett) d58f3682 Require manual override for user chain certificates. (Lee Clagett) 97cd1fa9 Only check top-level certificate against fingerprint list. (Lee Clagett) 7c388fb3 Call `use_certificate_chain_file` instead of `use_certificate_file` (Lee Clagett) eca0fea4 Perform RFC 2818 hostname verification in client SSL handshakes (Lee Clagett) 0416764c Require server verification when SSL is enabled. (Lee Clagett) 96d602ac Add `verify_fail_if_no_cert` option for proper client authentication (Lee Clagett) 21eb1b07 Pass SSL arguments via one class and use shared_ptr instead of reference (Lee Clagett) 1f5ed328 Change default SSL to "enabled" if user specifies fingerprint/certificate (Lee Clagett) f18a069f Do not require client certificate unless server has some whitelisted. (Lee Clagett) a3b02848 Change SSL certificate file list to OpenSSL builtin load_verify_location (Lee Clagett)
2019-04-07Enabling daemon-rpc SSL now requires non-system CA verificationLee Clagett4-17/+51
If `--daemon-ssl enabled` is set in the wallet, then a user certificate, fingerprint, or onion/i2p address must be provided.
2019-04-07Require manual override for user chain certificates.Lee Clagett3-1/+10
An override for the wallet to daemon connection is provided, but not for other SSL contexts. The intent is to prevent users from supplying a system CA as the "user" whitelisted certificate, which is less secure since the key is controlled by a third party.
2019-04-07Only check top-level certificate against fingerprint list.Lee Clagett1-2/+4
This allows "chain" certificates to be used with the fingerprint whitelist option. A user can get a system-ca signature as backup while clients explicitly whitelist the server certificate. The user specified CA can also be combined with fingerprint whitelisting.
2019-04-07Call `use_certificate_chain_file` instead of `use_certificate_file`Lee Clagett1-1/+1
The former has the same behavior with single self signed certificates while allowing the server to have separate short-term authentication keys with long-term authorization keys.
2019-04-07Perform RFC 2818 hostname verification in client SSL handshakesLee Clagett3-5/+26
If the verification mode is `system_ca`, clients will now do hostname verification. Thus, only certificates from expected hostnames are allowed when SSL is enabled. This can be overridden by forcible setting the SSL mode to autodetect. Clients will also send the hostname even when `system_ca` is not being performed. This leaks possible metadata, but allows servers providing multiple hostnames to respond with the correct certificate. One example is cloudflare, which getmonero.org is currently using.
2019-04-07Require server verification when SSL is enabled.Lee Clagett2-11/+16
If SSL is "enabled" via command line without specifying a fingerprint or certificate, the system CA list is checked for server verification and _now_ fails the handshake if that check fails. This change was made to remain consistent with standard SSL/TLS client behavior. This can still be overridden by using the allow any certificate flag. If the SSL behavior is autodetect, the system CA list is still checked but a warning is logged if this fails. The stream is not rejected because a re-connect will be attempted - its better to have an unverified encrypted stream than an unverified + unencrypted stream.
2019-04-07Add `verify_fail_if_no_cert` option for proper client authenticationLee Clagett1-1/+1
Using `verify_peer` on server side requests a certificate from the client. If no certificate is provided, the server silently accepts the connection and rejects if the client sends an unexpected certificate. Adding `verify_fail_if_no_cert` has no affect on client and for server requires that the peer sends a certificate or fails the handshake. This is the desired behavior when the user specifies a fingerprint or CA file.
2019-04-07Pass SSL arguments via one class and use shared_ptr instead of referenceLee Clagett13-210/+303
2019-04-06Change default SSL to "enabled" if user specifies fingerprint/certificateLee Clagett3-14/+29
Currently if a user specifies a ca file or fingerprint to verify peer, the default behavior is SSL autodetect which allows for mitm downgrade attacks. It should be investigated whether a manual override should be allowed - the configuration is likely always invalid.
2019-04-06Do not require client certificate unless server has some whitelisted.Lee Clagett1-12/+27
Currently a client must provide a certificate, even if the server is configured to allow all certificates. This drops that requirement from the client - unless the server is configured to use a CA file or fingerprint(s) for verification - which is the standard behavior for SSL servers. The "system-wide" CA is not being used as a "fallback" to verify clients before or after this patch.
2019-04-06Change SSL certificate file list to OpenSSL builtin load_verify_locationLee Clagett13-134/+92
Specifying SSL certificates for peer verification does an exact match, making it a not-so-obvious alias for the fingerprints option. This changes the checks to OpenSSL which loads concatenated certificate(s) from a single file and does a certificate-authority (chain of trust) check instead. There is no drop in security - a compromised exact match fingerprint has the same worse case failure. There is increased security in allowing separate long-term CA key and short-term SSL server keys. This also removes loading of the system-default CA files if a custom CA file or certificate fingerprint is specified.
2019-04-06Merge pull request #5364Riccardo Spagni1-62/+3
e8cf7dcc rpc: merge the two get_info implementations (moneromooo-monero)
2019-04-06Merge pull request #5391Riccardo Spagni1-0/+5
71907980 unit_tests: fix long term block weight test after cache change (moneromooo-monero)
2019-04-06rpc: merge the two get_info implementationsmoneromooo-monero1-62/+3
2019-04-06Merge pull request #5375Riccardo Spagni1-0/+1
1569776a Add missing include (Leon Klingele)
2019-04-06Merge pull request #5360Riccardo Spagni1-2/+16
b0c552f5 cryptonote_protocol_handler: add block/tx hashes in notify logs (moneromooo-monero)
2019-04-06Merge pull request #5358Riccardo Spagni1-7/+40
dffdccdc No longer use deprecated RSA_generate_key in favor of RSA_generate_key_ex (Martijn Otto)
2019-04-06Merge pull request #5353Riccardo Spagni1-1/+1
1bc78cc2 tests: trezor_test fix (Dusan Klinec)
2019-04-06Merge pull request #5351Riccardo Spagni1-12/+43
a299dc96 rpc.gettransactions: fill as_json with partial tx in pruned mode (stoffu)
2019-04-06Merge pull request #5350Riccardo Spagni2-36/+23
050bb337 wallet2: factor the watchonly/multisig/etc fields on creation (moneromooo-monero)
2019-04-06Merge pull request #5348Riccardo Spagni4-8/+11
59776a64 epee: some more minor JSON parsing speedup (moneromooo-monero)
2019-04-06Merge pull request #5347Riccardo Spagni2-1/+24
d45b85e1 wallet2: skip derivation precalc for blocks we know we'll skip (moneromooo-monero)
2019-04-06Merge pull request #5346Riccardo Spagni6-20/+65
c84ea299 cryptonote_basic: some more minor speedups (moneromooo-monero) e40eb2ad cryptonote_basic: speedup calculate_block_hash (moneromooo-monero) 547a9708 cryptonote: block parsing + hash calculation speedup (moneromooo-monero) 11604b6d blockchain: avoid unneeded block copy (moneromooo-monero) 8461df04 save some database calls when getting top block hash and height (moneromooo-monero) 3bbc3661 Avoid repeated (de)serialization when syncing (moneromooo-monero)
2019-04-06Merge pull request #5345Riccardo Spagni2-4/+12
678262ab wallet_rpc_server: allow english/local language names in create_wallet (moneromooo-monero)
2019-04-06Merge pull request #5344Riccardo Spagni3-5/+5
5e1a3e48 lmdb: fix size_t size issues on 32 bit (moneromooo-monero)
2019-04-06Merge pull request #5343Riccardo Spagni1-4/+4
cafa15b9 wallet2: set confirmations to 0 for pool txes in proofs (moneromooo-monero)
2019-04-06Merge pull request #5342Riccardo Spagni1-3/+3
849a768f perf_timer: move some debug levels to info for consistency (moneromooo-monero)
2019-04-06Merge pull request #5341Riccardo Spagni1-6/+7
0218bc49 test: hmac_keccak - fix number of chunks counting (Dusan Klinec)
2019-04-06Merge pull request #5340Riccardo Spagni2-2/+2
16eda54b wallet: use original user address if we have a short payment id (moneromooo-monero)
2019-04-05cryptonote: rework block blob size sanity checkmoneromooo-monero10-16/+100
Use the actual block weight limit, assuming that weight is always greater or equal to size
2019-04-04wallet: new option to start background miningmoneromooo-monero10-20/+264
The setup-background-mining option can be used to select background mining when a wallet loads. The user will be asked the first time the wallet is created.
2019-04-04rpc.gettransactions: fill as_json with partial tx in pruned modestoffu1-12/+43
2019-04-03Merge pull request #5390Riccardo Spagni1-0/+1
8bb253b0 libwallet_merged: add missing net target (selsta)
2019-04-03unit_tests: fix long term block weight test after cache changemoneromooo-monero1-0/+5
2019-04-02libwallet_merged: add missing net targetselsta1-0/+1
2019-04-02Merge pull request #5387Riccardo Spagni1-2/+2
d3018d0f api/wallet: fix some wrong namespace (stoffu)
2019-04-01README: add and remove dependencies on OSX lineGeorge1-1/+5
2019-04-02api/wallet: fix some wrong namespacestoffu1-2/+2
2019-04-01wallet: add number of blocks required for the balance to fully unlockmoneromooo-monero5-23/+64
2019-04-01wallet2: set confirmations to 0 for pool txes in proofsmoneromooo-monero1-4/+4
It makes more sense than (uint64_t)-1, which is going to look like very much confirmed when not checking in_pool
2019-04-01wallet_rpc_server: error out on getting the spend key from a hot walletmoneromooo-monero1-1/+7
2019-04-01wallet_rpc_server: always fill out subaddr_indices in get_transfersmoneromooo-monero1-0/+2
It was not filled out for in and pool types
2019-04-01miner: fix race when stopping mining with start mining enabledmoneromooo-monero2-6/+10
2019-04-01blockchain_stats: fix sign in formatting functionmoneromooo-monero1-1/+1
2019-04-01various: remove unused variablesmoneromooo-monero1-2/+0
2019-04-01blockchain: some debug info when adding txes-from-block failsmoneromooo-monero1-0/+2
2019-04-01Merge pull request #5319Riccardo Spagni5-9/+104
f825055d wallet_rpc_server: error out on getting the spend key from a hot wallet (moneromooo-monero) 67aa4adc wallet_rpc_server: add a set_daemon RPC (moneromooo-monero) 705acbac wallet2: init some variables to default values if loading old wallets (moneromooo-monero) f82bc29e wallet_rpc_server: always fill out subaddr_indices in get_transfers (moneromooo-monero) 01efdc6a wallet_rpc_server: set confirmations to 0 for pending/pool txes (moneromooo-monero)
2019-04-01wallet_rpc_server: error out on getting the spend key from a hot walletmoneromooo-monero1-1/+7
2019-04-01wallet_rpc_server: add a set_daemon RPCmoneromooo-monero5-7/+91
2019-04-01wallet2: init some variables to default values if loading old walletsmoneromooo-monero1-0/+3
2019-04-01wallet_rpc_server: always fill out subaddr_indices in get_transfersmoneromooo-monero1-0/+2
It was not filled out for in and pool types
2019-04-01wallet_rpc_server: set confirmations to 0 for pending/pool txesmoneromooo-monero1-1/+1
2019-04-01Add NanoX supportcslashm3-5/+26
2019-04-01Merge pull request #5318Riccardo Spagni2-5/+7
1a91385e block_weight: fix python 2/3 compatibility (moneromooo-monero)
2019-04-01Merge pull request #5339Riccardo Spagni1-1/+1
9f49722c Fix build on FreeBSD (Nathan Dorfman)
2019-04-01Merge pull request #5334Riccardo Spagni1-1/+1
19f8089f p2p: don't lookup seed nodes when offline (moneromooo-monero)
2019-04-01Merge pull request #5333Riccardo Spagni4-16/+188
18faa6da wallet: add freeze/thaw/frozen commands (moneromooo-monero)
2019-04-01Merge pull request #5332Riccardo Spagni11-100/+306
7c440915 Add get_tx_proof support, needed for new sanity check (cslashm) 98fdcb2a Add support for V11 protocol with BulletProofV2 and short amount. New scheme key destination contrfol Fix dummy decryption in debug mode (cslashm) 3a981a33 Add application version compatibility check. (cslashm)
2019-04-01Merge pull request #5349Riccardo Spagni1-3/+9
f1a3796a wallet2: fix tx sanity check change test for the sweep_all case (moneromooo-monero)
2019-04-01Merge pull request #5352Riccardo Spagni3-0/+51
ae6885f6 blockchain: incremental long term block weight cache (moneromooo-monero) 9b687c78 blockchain: simple cache for the long term block weights (moneromooo-monero)
2019-04-01Merge pull request #5331Riccardo Spagni21-286/+3001
32973434 python-rpc: add getblockheadersrange daemon RPC (moneromooo-monero) c7bfdc35 python-rpc: add console.py (moneromooo-monero) 22b644f4 functional_tests: move RPC API to utils, it is not test specific (moneromooo-monero) 30c865f0 functional_tests: add balance tests (moneromooo-monero) fdfa832f functional_tests: add missing parameters to get_balance (moneromooo-monero) cf6d7759 functional_tests: add proofs tests (tx key, in/out tx, reserve) (moneromooo-monero) a3144bd7 functional_tests: add more transfer tests (moneromooo-monero) 5d580bfa functional_tests: add get_bulk_transfer tests (moneromooo-monero) 0becbd16 functional_tests: add message signing/verification tests (moneromooo-monero) a5dbf7f5 functional_tests: add multisig and cold signing tests (moneromooo-monero) b2fc5719 functional_tests: support several daemons/wallets (moneromooo-monero) 9e979ffa functional_tests: add txpool RPC tests (moneromooo-monero) 3e93c157 functional_tests: add integrated address tests (moneromooo-monero) b384309e functional_tests: add basic transfer tests (moneromooo-monero) ef7681b6 functional_tests: plug RPC tests into the cmake machinery (moneromooo-monero) 18a2ed45 functional_tests: add basic mining tests (moneromooo-monero) 98e280fc functional_tests: add wallet address/subaddress RPC tests (moneromooo-monero) 8dcd4d3d functional_tests: improve RPC blockchain tests (moneromooo-monero)
2019-04-01Merge pull request #5329Riccardo Spagni2-44/+4
023f2c77 wallet_rpc_server: remove mixin from transfer RPCs (moneromooo-monero)
2019-04-01Merge pull request #5327Riccardo Spagni13-1/+181
c23ea796 New interactive daemon command 'print_net_stats': Global traffic stats (rbrunner7)
2019-04-01block_weight: fix python 2/3 compatibilitymoneromooo-monero2-5/+7
2019-04-01Merge pull request #5326Riccardo Spagni2-1/+4
dc20d774 rpc: add miner tx hash to block header response (moneromooo-monero)
2019-04-01Merge pull request #5325Riccardo Spagni1-0/+2
760d3a2a daemon: init public_port in all ctors (moneromooo-monero)
2019-04-01Merge pull request #5322Riccardo Spagni1-4/+2
85f2f8c9 Fix daemon startup parameter '--limit-rate' processing after parameter defaults (rbrunner7)
2019-04-01Merge pull request #5317Riccardo Spagni1-1/+17
1730a44f core: improve block rate monitor trigger probabilities (moneromooo-monero)
2019-04-01Merge pull request #5313Riccardo Spagni1-27/+30
d7dd8575 Upgraded static dependency versions and hashes in Dockerfile. (Norman Moeschter)
2019-04-01Merge pull request #5309Riccardo Spagni1-0/+1
43042a28 Implement array_entry_t copy constructor (Guido Vranken)
2019-04-01Merge pull request #5308Riccardo Spagni1-1/+3
a7211793 rpc: quantize db size up to 5 GB in restricted mode (moneromooo-monero)
2019-04-01Merge pull request #5307Riccardo Spagni1-4/+6
e99b2b12 simplewallet: make the long payment ids warnigns more warney (moneromooo-monero)
2019-04-01Merge pull request #5306Riccardo Spagni1-5/+5
8a97563a Use threadpool instead of new threads for DNS queries (Howard Chu)
2019-04-01Merge pull request #5305Riccardo Spagni1-1/+1
4500236f wallet2: make use_fork_rules handle chain heights lower than leeway (moneromooo-monero)
2019-04-01Merge pull request #5303Riccardo Spagni2-4/+13
0a6cb30d wallet: flush output cache upon reorg (moneromooo-monero)
2019-04-01Merge pull request #5302Riccardo Spagni3-1/+59
23fb056a wallet_rpc_server: new auto_refresh RPC (moneromooo-monero)
2019-04-01Merge pull request #5299Riccardo Spagni1-1/+1
4ee15655 wallet_rpc_server: fix buffer read overflow in string assignment (moneromooo-monero)
2019-04-01Merge pull request #5298Riccardo Spagni4-296/+334
8fd7452b wallet: move light wallet RPC out of core RPC (moneromooo-monero)
2019-04-01Merge pull request #5297Riccardo Spagni2-18/+9
a8b98a0b wallet: fix memory only wallets (moneromooo-monero)
2019-04-01Merge pull request #5295Riccardo Spagni1-3/+1
2b10f22a mnemonics: fix half length seed to bytes conversion (moneromooo-monero)
2019-04-01Merge pull request #5294Riccardo Spagni1-0/+2
77e9815d blockchain: do not try to pop the genesis block (moneromooo-monero)
2019-04-01Merge pull request #5292Riccardo Spagni1-0/+2
328d291f wallet2: set seed language when creating from json (moneromooo-monero)
2019-04-01Merge pull request #5291Riccardo Spagni1-1/+1
a52366c1 wallet2: fix generation from json when restore height is not set (moneromooo-monero)
2019-04-01Merge pull request #5288Riccardo Spagni1-2/+3
39f000b3 miner: fix possible exit crash due to race in stop (moneromooo-monero)
2019-04-01Merge pull request #5289Riccardo Spagni1-1/+3
ab6c3b1d tests: fix path in instructions (moneromooo-monero)
2019-04-01Merge pull request #5287Riccardo Spagni1-3/+3
1d14b3f0 ringct: fix capitalization for scaler mult (fuwa)
2019-04-01Merge pull request #5239Riccardo Spagni30-47/+772
91f4c7f4 Make difficulty 128 bit instead of 64 bit (moneromooo-monero)
2019-04-01Allow pruning before v10moneromooo-monero3-25/+1
This check is now not needed anymore, and would prevent people from using --prune-blockchain when starting a new sync
2019-04-01Add hash of top block to /getheight RPCHoward Chu2-2/+6
2019-03-31Add missing includeLeon Klingele1-0/+1
2019-03-31lmdb: fix size_t size issues on 32 bitmoneromooo-monero3-5/+5
2019-03-30blockchain: fix returned height in create_block_templatemoneromooo-monero2-3/+6
It's now needed for CNv4, and was not retained when cached
2019-03-29util: name replace_file arguments bettermoneromooo-monero2-5/+5
It was confusing unless you read code and the rename(2) man page.
2019-03-29device/trezor: increase live-refresh timeoutDusan Klinec1-1/+1
2019-03-28blockchain: incremental long term block weight cachemoneromooo-monero1-0/+22
2019-03-28blockchain: simple cache for the long term block weightsmoneromooo-monero3-0/+29
2019-03-28Add get_tx_proof support, needed for new sanity checkcslashm8-62/+186
Enhance debug info
2019-03-28Add support for V11 protocol with BulletProofV2 and short amount.cslashm8-47/+101
New scheme key destination contrfol Fix dummy decryption in debug mode
2019-03-28Add application version compatibility check.cslashm2-2/+30
2019-03-28cryptonote_protocol_handler: add block/tx hashes in notify logsmoneromooo-monero1-2/+16
2019-03-27Merge pull request #5359Riccardo Spagni1-1/+1
ef92620c socks: fix build with boost 1.70 (moneromooo-monero)
2019-03-27socks: fix build with boost 1.70moneromooo-monero1-1/+1
2019-03-27No longer use deprecated RSA_generate_key in favor ofMartijn Otto1-7/+40
RSA_generate_key_ex
2019-03-27Merge pull request #5090Riccardo Spagni21-95/+502
7acfa9f3 Added socks proxy (tor/i2pd/kovri) support to wallet (Lee Clagett)
2019-03-27wallet2: factor the watchonly/multisig/etc fields on creationmoneromooo-monero2-36/+23
There's half a dozen calls, and it's easy to miss some when adding a new field.
2019-03-26tests: trezor_test fixDusan Klinec1-1/+1
2019-03-25wallet2: fix tx sanity check change test for the sweep_all casemoneromooo-monero1-3/+9
2019-03-25epee: some more minor JSON parsing speedupmoneromooo-monero4-8/+11
2019-03-25wallet2: skip derivation precalc for blocks we know we'll skipmoneromooo-monero2-1/+24
2019-03-25cryptonote_basic: some more minor speedupsmoneromooo-monero1-4/+16
2019-03-25cryptonote_basic: speedup calculate_block_hashmoneromooo-monero1-2/+7
The block 202612 fix can be left tested at the end, if we already know we're not in the general case
2019-03-25cryptonote: block parsing + hash calculation speedupmoneromooo-monero6-16/+43
This saves a duplicate serialization step
2019-03-25blockchain: avoid unneeded block copymoneromooo-monero1-1/+2
2019-03-25save some database calls when getting top block hash and heightmoneromooo-monero1-0/+1
2019-03-25Avoid repeated (de)serialization when syncingmoneromooo-monero1-2/+1
2019-03-25wallet_rpc_server: allow english/local language names in create_walletmoneromooo-monero2-4/+12
and return both in get_languages
2019-03-25wallet: fix memory only walletsmoneromooo-monero2-18/+9
at least when using restore_deterministic_wallet
2019-03-25ringct: fix capitalization for scaler multfuwa1-3/+3
2019-03-25Added socks proxy (tor/i2pd/kovri) support to walletLee Clagett21-95/+502
2019-03-25core: improve block rate monitor trigger probabilitiesmoneromooo-monero1-1/+17
The original intent of one false positive a week on average was not met, since what we really want is not the probability of having N blocks in T seconds, but either N blocks of fewer in T seconds, or N blocks or more in T seconds. Some of this could be cached since it calculates the same fairly complex floating point values, but it seems pretty fast already.
2019-03-24wallet2: set confirmations to 0 for pool txes in proofsmoneromooo-monero1-4/+4
It makes more sense than (uint64_t)-1, which is going to look like very much confirmed when not checking in_pool
2019-03-24Make difficulty 128 bit instead of 64 bitmoneromooo-monero30-47/+772
Based on Boolberry work by: jahrsg <jahr@jahr.me> cr.zoidberg <crypto.zoidberg@gmail.com>
2019-03-24perf_timer: move some debug levels to info for consistencymoneromooo-monero1-3/+3
2019-03-24test: hmac_keccak - fix number of chunks countingDusan Klinec1-6/+7
2019-03-24Merge pull request #5286Riccardo Spagni1-1/+1
cce948a5 simplewallet: add some missing spacing before uses data (moneromooo-monero)
2019-03-24Merge pull request #5285Riccardo Spagni1-0/+1
6ef816de console_handler: print newline on EOF (moneromooo-monero)
2019-03-24Merge pull request #5282Riccardo Spagni2-0/+6
f962449d wallet_rpc_server: include out subaddress indices in get_transfers (moneromooo-monero)
2019-03-24Merge pull request #5277Riccardo Spagni5-23/+36
adf6d773 wallet: fix offline signing calling a daemon RPC (moneromooo-monero)
2019-03-24Merge pull request #5274Riccardo Spagni4-4/+4
dc0c0c91 tests: disable wallet SSL init for tests involving wallet2 (moneromooo-monero)
2019-03-24Merge pull request #5207Riccardo Spagni4-6/+59
be6f426a rpc: Allow submitting tx as hex blob over ZMQ (Nathan Dorfman)
2019-03-24Merge pull request #5324Riccardo Spagni1-3/+2
223c6b07 dns_utils: really add default DNSSEC servers on failure (moneromooo-monero)
2019-03-24Merge pull request #5321Riccardo Spagni2-10/+8
e9519e98 cryptonote: fix calculating coinbase tx hash (moneromooo-monero)
2019-03-24New interactive daemon command 'print_net_stats': Global traffic statsrbrunner713-2/+182
2019-03-24wallet: use original user address if we have a short payment idmoneromooo-monero2-2/+2
2019-03-24Fix build on FreeBSDNathan Dorfman1-1/+1
2019-03-23python-rpc: add getblockheadersrange daemon RPCmoneromooo-monero1-0/+13
2019-03-23python-rpc: add console.pymoneromooo-monero4-1/+66
It allows one to connect to a running daemon or wallet, and use its RPC API from python. Usage: python -i console.py <port> It will detect whether it's talking to a daemon or wallet and initialize itself accordingly.
2019-03-22p2p: don't lookup seed nodes when offlinemoneromooo-monero1-1/+1
This will cause DNS requests, which will block and timeout if there is really no network connectivity
2019-03-22functional_tests: move RPC API to utils, it is not test specificmoneromooo-monero17-19/+25
2019-03-22functional_tests: add balance testsmoneromooo-monero1-59/+171
2019-03-22functional_tests: add missing parameters to get_balancemoneromooo-monero1-1/+6
2019-03-22wallet: add freeze/thaw/frozen commandsmoneromooo-monero4-16/+188
These commands let one freeze outputs by key image, so they do not appear in balance, nor are considered when creating a transaction, etc This is helpful when receiving an output from a suspected spy, who might try to track your other outputs by seeing with what other outputs it gets spent. The frozen command may be used without parameters to list all currently frozen outputs.
2019-03-21functional_tests: add proofs tests (tx key, in/out tx, reserve)moneromooo-monero3-1/+350
2019-03-21functional_tests: add more transfer testsmoneromooo-monero2-6/+60
manual relay, transfer to integrated address, and a few negative transfer tests
2019-03-21functional_tests: add get_bulk_transfer testsmoneromooo-monero2-0/+49
2019-03-21functional_tests: add message signing/verification testsmoneromooo-monero3-1/+110
2019-03-21functional_tests: add multisig and cold signing testsmoneromooo-monero4-2/+544
2019-03-21functional_tests: support several daemons/walletsmoneromooo-monero3-29/+42
2019-03-21functional_tests: add txpool RPC testsmoneromooo-monero3-1/+178
2019-03-21functional_tests: add integrated address testsmoneromooo-monero3-1/+125
2019-03-21functional_tests: add basic transfer testsmoneromooo-monero3-14/+360
2019-03-21functional_tests: plug RPC tests into the cmake machinerymoneromooo-monero2-3/+120
2019-03-21functional_tests: add basic mining testsmoneromooo-monero3-0/+152
2019-03-21functional_tests: add wallet address/subaddress RPC testsmoneromooo-monero2-0/+259
2019-03-21functional_tests: improve RPC blockchain testsmoneromooo-monero6-72/+295
2019-03-21cryptonote: fix calculating coinbase tx hashmoneromooo-monero2-10/+8
Also set error flag on exception when handling new txes to keep tests working
2019-03-21wallet_rpc_server: remove mixin from transfer RPCsmoneromooo-monero2-44/+4
it's been a while, only use ring_size now
2019-03-21wallet: fix offline signing calling a daemon RPCmoneromooo-monero5-23/+36
2019-03-21Merge pull request #5267Riccardo Spagni2-105/+217
b05f10f8 wallet2: sanity check new tx before sending (moneromooo-monero)
2019-03-21wallet2: sanity check new tx before sendingmoneromooo-monero2-105/+217
We generate and check tx proofs and verify the amounts in those match what the original amounts were.
2019-03-21Merge pull request #5283Riccardo Spagni1-5/+6
16590294 abstract_tcp_server2: fix crashy race on socket shutdown (moneromooo-monero)
2019-03-21Merge pull request #5271Riccardo Spagni1-0/+3
2790d4d3 hardfork: update last_versions on popped block (moneromooo-monero)
2019-03-21Merge pull request #5270Riccardo Spagni1-1/+3
5ade7281 Wallet API: multisig_tx_set passing bug fixed (naughtyfox)
2019-03-21Merge pull request #5266Riccardo Spagni2-1/+18
576116d4 wallet: fix load failure if the mms isn't usable (moneromooo-monero)
2019-03-21Merge pull request #5263Riccardo Spagni1-1/+10
22136256 Start monerod as non root user (Jean-Michel DILLY)
2019-03-21Merge pull request #5259Riccardo Spagni1-1/+0
9141a0a1 connection_basic: remove debug exception ^_^ (moneromooo-monero)
2019-03-21Merge pull request #5256Riccardo Spagni8-15/+142
4b21d38d blockchain: speed up getting N blocks weights/long term weights (moneromooo-monero)
2019-03-21Merge pull request #5252Riccardo Spagni1-27/+31
7ac33342 slow-hash: cache TLS references locally once at function start (moneromooo-monero)
2019-03-21Merge pull request #5251Riccardo Spagni7-16/+41
7632dede crypto: fix PaX issue on NetBSD with CNv4 JIT (moneromooo-monero) 89b1630e gtest: build fix for NetBSD (moneromooo-monero) fa43b547 tests: handle any cmake detected python interpreter (moneromooo-monero)
2019-03-21Merge pull request #5250Riccardo Spagni1-4/+4
a48e49aa aesb: avoid stomping on an existing define on NetBSD (moneromooo-monero)
2019-03-21Merge pull request #5248Riccardo Spagni1-0/+11
3f6f90bb wallet2: do not use invalid keys as fake outs in rings (moneromooo-monero)
2019-03-21Merge pull request #5237Riccardo Spagni1-5/+10
3907588b rpc: make fill_pow restricted (moneromooo-monero)
2019-03-21Merge pull request #5235Riccardo Spagni2-22/+19
c6a70af8 wallet2: key image import fixes (moneromooo-monero)
2019-03-21Merge pull request #5213Riccardo Spagni1-1/+1
efb2bdd3 slow-hash: default to JIT on x86_64 (moneromooo-monero)
2019-03-21Merge pull request #5211Riccardo Spagni33-323/+2807
c9b13fbb tests/trezor: HF9 and HF10 tests (Dusan Klinec) a1fd1d49 device/trezor: HF10 support added, wallet::API (Dusan Klinec) d74d26f2 crypto: hmac_keccak added (Dusan Klinec)
2019-03-21Merge pull request #5208Riccardo Spagni1-30/+30
7ec4d2c3 SHALL -> MUST (Jesse Jackson)
2019-03-21Merge pull request #5072Riccardo Spagni1-0/+2
5c79abe5 update readme to include blurb on decentralization (Gingeropolous)
2019-03-21Merge pull request #4460Riccardo Spagni15-0/+1959
0c7e7bce Adding classes, functions, and utilities for common LMDB operations. (Lee Clagett)
2019-03-21Merge pull request #5328Riccardo Spagni3-9/+27
17769db9 epee: fix build with boost 1.70.0 (moneromooo-monero) d6d6c46c cmake: handle detecting boost using boost's own cmake files (moneromooo-monero)
2019-03-21slow-hash: default to JIT on x86_64moneromooo-monero1-1/+1
2019-03-21epee: fix build with boost 1.70.0moneromooo-monero2-7/+19
get_io_service was deprecated, and got removed
2019-03-21cmake: handle detecting boost using boost's own cmake filesmoneromooo-monero1-2/+8
Its version looks like 1.70.1 rather than 107000, so detect range to know which type we're seeing