aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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-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-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-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-27Merge pull request #5090Riccardo Spagni21-95/+502
7acfa9f3 Added socks proxy (tor/i2pd/kovri) support to wallet (Lee Clagett)
2019-03-25wallet2: fix tx sanity check change test for the sweep_all casemoneromooo-monero1-3/+9
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-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-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-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-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-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
2019-03-21rpc: add miner tx hash to block header responsemoneromooo-monero2-1/+4
2019-03-20dns_utils: really add default DNSSEC servers on failuremoneromooo-monero1-3/+2
Coverity 196597
2019-03-20daemon: init public_port in all ctorsmoneromooo-monero1-0/+2
Coverity 196596
2019-03-20tests/trezor: HF9 and HF10 testsDusan Klinec9-83/+1241
- tests fixes for HF10, builder change, rct_config; fix_chain - get_tx_key test - proper testing after live refresh added - live refresh synthetic test - log available funds for easier test construction - wallet::API tests with mocked daemon
2019-03-20device/trezor: HF10 support added, wallet::APIDusan Klinec19-241/+1272
- import only key images generated by cold signing process - wallet_api: trezor methods added - wallet: button request code added - const added to methods - wallet2::get_tx_key_device() tries to decrypt stored tx private keys using the device. - simplewallet supports get_tx_key and get_tx_proof on hw device using the get_tx_key feature - live refresh enables refresh with trezor i.e. computing key images on the fly. More convenient and efficient for users. - device: has_ki_live_refresh added - a thread is watching whether live refresh is being computed, if not for 30 seconds, it terminates the live refresh process - switches Trezor state
2019-03-20crypto: hmac_keccak addedDusan Klinec5-0/+295
2019-03-20Fix daemon startup parameter '--limit-rate' processing after parameter defaultsrbrunner71-4/+2
2019-03-19Adding classes, functions, and utilities for common LMDB operations.Lee Clagett15-0/+1959
2019-03-19abstract_tcp_server2: fix crashy race on socket shutdownmoneromooo-monero1-5/+6
2019-03-19Upgraded static dependency versions and hashes in Dockerfile.Norman Moeschter1-27/+30
2019-03-19Merge pull request #5201Riccardo Spagni1-50/+0
4921c794 cn_deserialize: remove some unused code (moneromooo-monero)
2019-03-19Merge pull request #5203Riccardo Spagni4-26/+70
8b514645 add multisig tx sets to describe_transfer rpc endpoint (spoke0)
2019-03-19Merge pull request #5199Riccardo Spagni3-0/+45
eef164f7 cryptonote_protocol_handler: search for syncing peers in "cruise mode" (moneromooo-monero)
2019-03-19Merge pull request #5198Riccardo Spagni1-6/+34
9c4d403a dns_utils: use fallback if the default resolver does not support DNSSEC (moneromooo-monero)
2019-03-19Merge pull request #5195Riccardo Spagni5-1/+17
a54e81e5 daemon: add '--no-sync' arg to optionally disable blockchain sync (xiphon)
2019-03-19Merge pull request #4889Riccardo Spagni4-25/+159
f42263eb wallet: adds rescan_bc option with preserving key images (Dusan Klinec)
2019-03-19Merge pull request #5240Riccardo Spagni1-1/+0
c8c154a2 tests: fix cnv4-jit-test link on mac (moneromooo-monero)
2019-03-18Implement array_entry_t copy constructorGuido Vranken1-0/+1
Manually initialize the array_entry_t iterator to ensure it points to the correct m_array, thereby preventing a potential use-after-free situation. Signed-off-by: Guido Vranken <guidovranken@gmail.com>
2019-03-17rpc: quantize db size up to 5 GB in restricted modemoneromooo-monero1-1/+3
2019-03-17simplewallet: make the long payment ids warnigns more warneymoneromooo-monero1-4/+6
We want people to really realize it's bad for *their* privacy.
2019-03-17Merge pull request #5191Riccardo Spagni1-0/+0
1677fb06 unbound: update to get the redefinition fix (moneromooo-monero)
2019-03-17Merge pull request #5192Riccardo Spagni3-16/+6
d0e07b3d performance_tests: fix NetBSD build (moneromooo-monero) 7d88d8f2 discontinue use of alloca (moneromooo-monero)
2019-03-17Merge pull request #5190Riccardo Spagni20-30/+147
551104fb daemon: add --public-node mode, RPC port propagation over P2P (xiphon)
2019-03-17Merge pull request #5185Riccardo Spagni9-7/+134
59478c80 daemon: new mining_status command (moneromooo-monero)
2019-03-17Merge pull request #5182Riccardo Spagni2-3/+21
b674728d Better error when sending a tx with a too large extra field (moneromooo-monero)
2019-03-17Merge pull request #5181Riccardo Spagni1-5/+5
8681f8ef OS X -> macOS (Jesse Jackson)
2019-03-17Merge pull request #5179Riccardo Spagni1-4/+4
7c09882a dns_utils: remove MoneroPulse/checkpoints mention in TXT record code (moneromooo-monero)
2019-03-17Merge pull request #5177Riccardo Spagni1-1/+8
bb2aed8e rpc: quantize db size up to 5 GB in restricted mode (moneromooo-monero)
2019-03-17Merge pull request #5168Riccardo Spagni1-7/+6
8630a028 wallet: fix payment ID decryption for construction data (Dusan Klinec)
2019-03-17Merge pull request #5166Riccardo Spagni1-1/+1
75e5aafd device/trezor: dummy payment ID fix (Dusan Klinec)
2019-03-17Merge pull request #5165Riccardo Spagni3-0/+203
36451697 Simplify RPC endpoint, emoving second RPC endpoint generate_from_view_key (Joel) c17c8188 Remove code duplication (Joel) acb14c10 Add generate_from_view_key RPC method (Joel) 7dd7a3b7 Add generate_from_keys RPC method (Joel)
2019-03-17Merge pull request #5135Riccardo Spagni1-0/+1
de32dcea Human readable message if maximum outputs reached (italocoin)
2019-03-17Merge pull request #5061Riccardo Spagni514-514/+514
1f2930ce Update 2019 copyright (binaryFate)
2019-03-17Use threadpool instead of new threads for DNS queriesHoward Chu1-5/+5
2019-03-17wallet2: make use_fork_rules handle chain heights lower than leewaymoneromooo-monero1-1/+1
2019-03-17wallet: flush output cache upon reorgmoneromooo-monero2-4/+13
Fixes output usage tracking
2019-03-17wallet_rpc_server: new auto_refresh RPCmoneromooo-monero3-1/+59
It can enable/disable auto refresh, and set auto refresh period
2019-03-16Merge pull request #5249Riccardo Spagni1-1/+1
3ac40938 timings: fix errno.h mispelt as error.h (moneromooo-monero)
2019-03-16Merge pull request #5280Riccardo Spagni1-0/+1
aac4e2f5 wallet_rpc_server: add missing --rpc-ssl-allowed-fingerprints (moneromooo-monero)
2019-03-15wallet_rpc_server: fix buffer read overflow in string assignmentmoneromooo-monero1-1/+1
2019-03-15wallet: move light wallet RPC out of core RPCmoneromooo-monero4-296/+334
It's not nothing to do with it
2019-03-15wallet: adds rescan_bc option with preserving key imagesDusan Klinec4-25/+159
- enables to perform rescan_spent / ki sync with untrusted daemon. Spent check status involves RPC calls which require trusted daemon status as it leaks information. The new call performs soft reset while preserving key images thus a sequence: refresh, ki sync / import, rescan_bc keep_ki will correctly perform spent checking without need for trusted daemon. - useful to detect spent outputs with untrusted daemon on watch_only / multisig / hw-cold wallets after expensive key image sync. - cli: rescan_bc keep_ki
2019-03-15mnemonics: fix half length seed to bytes conversionmoneromooo-monero1-3/+1
2019-03-15blockchain: do not try to pop the genesis blockmoneromooo-monero1-0/+2
2019-03-15wallet2: set seed language when creating from jsonmoneromooo-monero1-0/+2
2019-03-14wallet2: fix generation from json when restore height is not setmoneromooo-monero1-1/+1
It was not recovering then, but creating a new random address
2019-03-14tests: fix path in instructionsmoneromooo-monero1-1/+3
Reported by notmike
2019-03-14miner: fix possible exit crash due to race in stopmoneromooo-monero1-2/+3
If a thread asks to stop the miner, m_stop will be set, and that thread will wait to join. If the main thread is exiting at that time, it will ask the miner to stop, but the miner will claim it's not mining and early out since m_stop is set. This will cause the database and other things to get shutdown. If the miner happens to find a block at that time, it will try to call core, and crash. Instead, lock and check whether any threads are currently in m_threads, since they'll only be cleared once the threads are joined. Moreover, since we lock, the second thread will have to wait for the first one to have finished. Calling join twice on a thread seems fine as per pthread_join(3).
2019-03-14simplewallet: add some missing spacing before uses datamoneromooo-monero1-1/+1
2019-03-14Merge pull request #4977Riccardo Spagni23-170/+3609
5ea17909 device/trezor: debugging features, trezor tests (Dusan Klinec)
2019-03-14Merge pull request #5273Riccardo Spagni1-1/+7
bc61b5ca wallet2: don't store 0 amount outputs, they'll fail to be spent (moneromooo-monero)
2019-03-13console_handler: print newline on EOFmoneromooo-monero1-0/+1
This avoids the annoying case where the shell prints its prompt after the last line from Monero output, causing line editing to sometimes go wonky, for lack of a better term
2019-03-13wallet_rpc_server: include out subaddress indices in get_transfersmoneromooo-monero2-0/+6
2019-03-13wallet_rpc_server: add missing --rpc-ssl-allowed-fingerprintsmoneromooo-monero1-0/+1
2019-03-12tests: disable wallet SSL init for tests involving wallet2moneromooo-monero4-4/+4
2019-03-12wallet2: don't store 0 amount outputs, they'll fail to be spentmoneromooo-monero1-1/+7
It's better to just ignore them, the user does not really need to know they're here. If the mask is wrong, they'll fail to be used, and sweeping will fail as it tries to use it. Reported by Josh Davis.
2019-03-12hardfork: update last_versions on popped blockmoneromooo-monero1-0/+3
2019-03-12Wallet API: multisig_tx_set passing bug fixednaughtyfox1-1/+3
2019-03-11wallet: fix load failure if the mms isn't usablemoneromooo-monero2-1/+18
2019-03-10Merge pull request #5258Riccardo Spagni1-3/+5
bb8eab24 epee: certificate generation fix, pkey deleted (Dusan Klinec)
2019-03-10epee: certificate generation fix, pkey deletedDusan Klinec1-3/+5
- pkey gets deleted by the pkey_deleter but the caller tries to serialize it which causes errors as the memory is freed
2019-03-10Merge pull request #5257Riccardo Spagni2-38/+6
b8c2e21c Fix startup errors with SSL cert generation (Howard Chu)
2019-03-10Merge pull request #5264Riccardo Spagni1-2/+2
4ef3c895 blockchain: fix ahead of time PoW batch calc (moneromooo-monero)
2019-03-10blockchain: fix ahead of time PoW batch calcmoneromooo-monero1-2/+2
2019-03-09Start monerod as non root userJean-Michel DILLY1-1/+10
2019-03-09daemon: new mining_status commandmoneromooo-monero9-7/+134
2019-03-08connection_basic: remove debug exception ^_^moneromooo-monero1-1/+0
2019-03-08Fix startup errors with SSL cert generationHoward Chu2-38/+6
Use SSL API directly, skip boost layer
2019-03-08blockchain: speed up getting N blocks weights/long term weightsmoneromooo-monero8-15/+142
2019-03-07slow-hash: cache TLS references locally once at function startmoneromooo-monero1-27/+31
2019-03-07crypto: fix PaX issue on NetBSD with CNv4 JITmoneromooo-monero2-9/+24
2019-03-07gtest: build fix for NetBSDmoneromooo-monero2-1/+4
2019-03-07tests: handle any cmake detected python interpretermoneromooo-monero3-6/+13
2019-03-07aesb: avoid stomping on an existing define on NetBSDmoneromooo-monero1-4/+4
2019-03-07timings: fix errno.h mispelt as error.hmoneromooo-monero1-1/+1
2019-03-07wallet2: do not use invalid keys as fake outs in ringsmoneromooo-monero1-0/+11
2019-03-07Merge pull request #5232Riccardo Spagni5-10/+12
082149c5 fix merge errors, update recommended version to 0.14.0.2 (Riccardo Spagni) f3b368c6 update checkpoints hash (Riccardo Spagni) e518f2b1 update checkpoints, update README for 0.14.1 release (Riccardo Spagni) 8780d6b4 update readme via cherry-pick (Riccardo Spagni)
2019-03-06tests: fix cnv4-jit-test link on macmoneromooo-monero1-1/+0
2019-03-06rpc: make fill_pow restrictedmoneromooo-monero1-5/+10
It's slow work, so let's not expose it
2019-03-05wallet2: key image import fixesmoneromooo-monero2-22/+19
- return the right output data when offset is not zero - do not consider import failed if result height is zero (it can be 0 if unknown) - select the right tx pubkey when using subaddresses (it's faster, and we might select the wrong one if we got an output using one of the additional tx keys) - account for skipped outputs for spent/unspent balance info "spent" is arguably wrong, since it will count spent change multiple times as it goes through receive/spend cycles.
2019-03-05Update 2019 copyrightbinaryFate514-514/+514
2019-03-05Merge pull request #4852Riccardo Spagni15-49/+200
057c279c epee: add SSL support (Martijn Otto)
2019-03-05add multisig tx sets to describe_transfer rpc endpointspoke04-27/+71
2019-03-05epee: add SSL supportMartijn Otto15-49/+200
RPC connections now have optional tranparent SSL. An optional private key and certificate file can be passed, using the --{rpc,daemon}-ssl-private-key and --{rpc,daemon}-ssl-certificate options. Those have as argument a path to a PEM format private private key and certificate, respectively. If not given, a temporary self signed certificate will be used. SSL can be enabled or disabled using --{rpc}-ssl, which accepts autodetect (default), disabled or enabled. Access can be restricted to particular certificates using the --rpc-ssl-allowed-certificates, which takes a list of paths to PEM encoded certificates. This can allow a wallet to connect to only the daemon they think they're connected to, by forcing SSL and listing the paths to the known good certificates. To generate long term certificates: openssl genrsa -out /tmp/KEY 4096 openssl req -new -key /tmp/KEY -out /tmp/REQ openssl x509 -req -days 999999 -sha256 -in /tmp/REQ -signkey /tmp/KEY -out /tmp/CERT /tmp/KEY is the private key, and /tmp/CERT is the certificate, both in PEM format. /tmp/REQ can be removed. Adjust the last command to set expiration date, etc, as needed. It doesn't make a whole lot of sense for monero anyway, since most servers will run with one time temporary self signed certificates anyway. SSL support is transparent, so all communication is done on the existing ports, with SSL autodetection. This means you can start using an SSL daemon now, but you should not enforce SSL yet or nothing will talk to you.
2019-03-05device/trezor: debugging features, trezor testsDusan Klinec24-171/+3610
2019-03-05Merge pull request #5119Riccardo Spagni1-5/+5
f024a10b db_lmdb: make mdb_block_info format conversion more future proof (moneromooo-monero)
2019-03-05Merge pull request #5103Riccardo Spagni1-1/+9
ceb72be3 p2p: avoid busy loop when we have nothing to connect to (moneromooo-monero)
2019-03-05Merge pull request #5100Riccardo Spagni25-229/+353
c4851024 wallet_rpc_server: avoid repeated string allocations when parsing (moneromooo-monero) 88c85c18 cryptonote: avoid double parsing blocks when syncing (moneromooo-monero) 9feda0ee cryptonote: speed up calculating coinbase tx prunable hash (moneromooo-monero) 238401d4 core: avoid double parsing blocks after hoh (moneromooo-monero) dc5a7609 blockchain: avoid unneeded block copy (moneromooo-monero) 79b4e9f3 save some database calls when getting top block hash and height (moneromooo-monero) 98278808 blockchain: avoid pointless transaction copy and temporary (moneromooo-monero) 07d655e4 blockchain: avoid duplicate block hash computation (moneromooo-monero) f75d51ab core: avoid calculating tx prefix hash when we don't need it (moneromooo-monero) b044d03a Avoid repeated (de)serialization when syncing (moneromooo-monero) b747e836 wallet2: don't calculate prefix hash when we don't need it (moneromooo-monero) e69477bf db: speedup block addition (moneromooo-monero)
2019-03-05db_lmdb: make mdb_block_info format conversion more future proofmoneromooo-monero1-5/+5
If mdb_block_info changes again, the v2 to v3 conversion would convert to an incorrect format.
2019-03-05p2p: avoid busy loop when we have nothing to connect tomoneromooo-monero1-1/+9
2019-03-05wallet_rpc_server: avoid repeated string allocations when parsingmoneromooo-monero1-20/+14
2019-03-05cryptonote: avoid double parsing blocks when syncingmoneromooo-monero7-22/+39
2019-03-05cryptonote: speed up calculating coinbase tx prunable hashmoneromooo-monero1-2/+9
It's a hash of an empty buffer, so we can avoid keccak
2019-03-05core: avoid double parsing blocks after hohmoneromooo-monero6-25/+50
2019-03-05blockchain: avoid unneeded block copymoneromooo-monero1-1/+2
2019-03-05save some database calls when getting top block hash and heightmoneromooo-monero7-31/+49
2019-03-05blockchain: avoid pointless transaction copy and temporarymoneromooo-monero1-3/+4
2019-03-05blockchain: avoid duplicate block hash computationmoneromooo-monero1-2/+1
2019-03-05core: avoid calculating tx prefix hash when we don't need itmoneromooo-monero4-21/+26
2019-03-05Avoid repeated (de)serialization when syncingmoneromooo-monero13-69/+80
2019-03-05fix merge errors, update recommended version to 0.14.0.2Riccardo Spagni2-5/+5
2019-03-05update checkpoints hashRiccardo Spagni2-2/+2
2019-03-05update checkpoints, update README for 0.14.1 releaseRiccardo Spagni3-9/+10