aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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-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-19Adding classes, functions, and utilities for common LMDB operations.Lee Clagett15-0/+1959
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-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-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: 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-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-13wallet_rpc_server: add missing --rpc-ssl-allowed-fingerprintsmoneromooo-monero1-0/+1
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-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-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
2019-03-05update readme via cherry-pickRiccardo Spagni1-3/+4
2019-03-05Merge pull request #5231Riccardo Spagni7-27/+60
108c625b CryptonightR: define out i386/x86_64 specific code on other archs (moneromooo-monero) 1b8757dd slow-hash: fix build on arm (moneromooo-monero) 5057eb11 cmake: ARCH_ID fixes for cross compilation (TheCharlatan)
2019-03-05wallet2: don't calculate prefix hash when we don't need itmoneromooo-monero1-6/+6
2019-03-05db: speedup block additionmoneromooo-monero4-37/+83
by avoiding repeated (de)serialization
2019-03-05CryptonightR: define out i386/x86_64 specific code on other archsmoneromooo-monero2-0/+8
2019-03-05slow-hash: fix build on armmoneromooo-monero4-27/+42
2019-03-05cmake: ARCH_ID fixes for cross compilationTheCharlatan2-0/+10
2019-03-05Merge pull request #5101Riccardo Spagni20-352/+670
23abe607 check load_t_from_json return values (moneromooo-monero) e396146a default initialize rpc structures (moneromooo-monero) ef93b099 various: remove unused variables (moneromooo-monero)
2019-03-04check load_t_from_json return valuesmoneromooo-monero2-4/+11
2019-03-04default initialize rpc structuresmoneromooo-monero12-330/+658
2019-03-04various: remove unused variablesmoneromooo-monero7-18/+1
2019-03-04Merge pull request #5162Riccardo Spagni2-6/+14
4d3b61a3 Use io_service::work in epee tcp server (Lee Clagett)
2019-03-04Merge pull request #5160Riccardo Spagni1-1/+1
7af4fbd4 epee: Add space after ':' in additional http response headers (Tom Smeding)
2019-03-04Merge pull request #5156Riccardo Spagni2-20/+48
3d2772a0 wallet-rpc: get balance for all accounts and subaddresses (stoffu)
2019-03-04Merge pull request #5154Riccardo Spagni2-4/+14
8a1ff079 wallet-rpc: get transfers for all accounts and subaddresses (Jethro Grassie)
2019-03-04Merge pull request #5146Riccardo Spagni5-21/+62
4a9257b4 Support docker for gitian builds (TheCharlatan)
2019-03-04Merge pull request #5143Riccardo Spagni1-1/+3
1f5680c8 simplewallet: add help for ask-password options (moneromooo-monero) c7c74caf simplewallet: mark confirm-missing-payment-id as obsolete (moneromooo-monero)
2019-03-04Merge pull request #5141Riccardo Spagni3-1/+89
5c81a9f1 wallet_rpc_server: add a validate_address RPC (moneromooo-monero)
2019-03-04Merge pull request #5140Riccardo Spagni1-1/+1
a3973fc9 debug compilation fix: net lib missing common deps (Dusan Klinec)
2019-03-04Merge pull request #5136Riccardo Spagni1-10/+2
7da7a9bb Update openssl to 1.0.2q in depends build system (who-biz)
2019-03-04Merge pull request #5133Riccardo Spagni11-326/+17
f0fc4064 Various speedups to depends and Travis (TheCharlatan)
2019-03-04Merge pull request #5131Riccardo Spagni1-1/+1
d2c95ab9 Don't decrypt keys in view only wallets in wallet_keys_unlocker (Doyle)
2019-03-04Merge pull request #5129Riccardo Spagni1-0/+6
08f60f8e readme: add new workflow for translations (Pootle) (erciccione)
2019-03-04Merge pull request #5125Riccardo Spagni4-9/+96
8298f42e miner: it can now autodetect the optimal number of threads (moneromooo-monero)
2019-03-04Merge pull request #5117Riccardo Spagni1-1/+0
fcd00079 unit_tests: remove leftover debug print (moneromooo-monero)
2019-03-04Merge pull request #5113Riccardo Spagni1-0/+1
c0e9e805 Fixed missing return value in once_a_time class on windows (Markus Behm)
2019-03-04Merge pull request #5112Riccardo Spagni1-1/+1
2a94ec22 ITS#8969 tweak mdb_page_split (Howard Chu)
2019-03-04Merge pull request #5111Riccardo Spagni1-1/+1
6a3608d3 cryptonote_protocol_handler: pad tx messages when using tor/i2p (moneromooo-monero)
2019-03-04Merge pull request #5108Riccardo Spagni1-0/+18
1c9d5285 blockchain_prune: don't prune before v10 (moneromooo-monero)
2019-03-04Merge pull request #5105Riccardo Spagni1-5/+8
59a7b9aa README.md - add few FreeBSD instructions, fix v13.0 release tag (monerorus)
2019-03-04Merge pull request #5102Riccardo Spagni8-62/+638
1eef0565 performance_tests: better stats, and keep track of timing history (moneromooo-monero)
2019-03-04Merge pull request #5096Riccardo Spagni2-4/+5
7c3ade44 network_throttle: use circular_buffer where appropriate (moneromooo-monero)
2019-03-04Merge pull request #5092Riccardo Spagni1-2/+2
eec79276 blockchain: fix default genesis block timestamp (moneromooo-monero)
2019-03-04Merge pull request #5091Riccardo Spagni14-40/+450
123fc2a2 i2p: initial support (Jethro Grassie)
2019-03-04Merge pull request #5084Riccardo Spagni1-0/+5
9d58749b wallet2: fix hashchain going out of sync on refresh error (moneromooo-monero)
2019-03-04Merge pull request #5082Riccardo Spagni1-6/+22
1bc5f9fa bulletproofs: speed up vector_power_sum (moneromooo-monero)
2019-03-04Merge pull request #5081Riccardo Spagni1-3/+3
d78addcb db_lmdb: don't unnecessarily cast to double on the way to uint64_t (moneromooo-monero)
2019-03-04Merge pull request #4054Riccardo Spagni25-238/+1064
24569454 epee: add SSL support (moneromooo-monero)
2019-03-04Merge pull request #5224Riccardo Spagni1-1/+1
807903bb hardfork: fix fork determination for historical heights (moneromooo)
2019-03-04Merge pull request #5217Riccardo Spagni2-7/+13
fa2fbc39 wallet2: fix mishandling rct outputs in coinbase tx (moneromooo-monero)
2019-03-04Merge pull request #5176Riccardo Spagni1-1/+18
5f67e7f5 blockchain: forbid older BP rct versions from v11 (moneromooo-monero)
2019-03-04blockchain: forbid older BP rct versions from v11moneromooo-monero1-1/+18
2019-03-04Merge pull request #5175Riccardo Spagni1-0/+1
85088d9f db_lmdb: fix missing mdb_dbi_close in migration (moneromooo-monero)
2019-03-04Merge pull request #5174Riccardo Spagni12-13/+3000
0de14396 tests: add a CNv4 JIT test (moneromooo-monero) 24d281c3 crypto: plug CNv4 JIT into cn_slow_hash (moneromooo-monero) 78ab59ea crypto: clear cache after generating random program (moneromooo-monero) b9a61884 performance_tests: add tests for new Cryptonight variants (moneromooo-monero) fff23bf7 CNv4 JIT compiler for x86-64 and tests (SChernykh) 3dde67d8 blockchain: add v10 fork heights (moneromooo-monero)
2019-03-04Merge pull request #5132Riccardo Spagni8-121/+314
2dbc487e Add support for V10 protocol with BulletProofV2 and short amount. (cslashm) 63cc02c0 Fix dummy decryption in debug mode (cslashm) f0e55ceb fix log namespace (cslashm) 460da140 New scheme key destination contrfol (cslashm)
2019-03-04Merge pull request #5128Riccardo Spagni5-8/+43
a17da720 Print the reason why a notification spec failed to parse (moneromooo-monero) 356d8137 blockchain: include number of discarded blocks in --reorg-notify (moneromooo-monero) 4d598e3d core: add a few more block rate window sizes (moneromooo-monero) d4fb9641 core: add --block-rate-notify (moneromooo-monero) 28b6dbf2 notify: fix tokenizing being too strict (moneromooo-monero)
2019-03-04tests: add a CNv4 JIT testmoneromooo-monero3-7/+141
2019-03-04crypto: plug CNv4 JIT into cn_slow_hashmoneromooo-monero3-3/+102
Enabled by setting the MONERO_USE_CNV4_JIT env var to 1
2019-03-04crypto: clear cache after generating random programmoneromooo-monero1-0/+3
2019-03-04performance_tests: add tests for new Cryptonight variantsmoneromooo-monero2-10/+10
2019-03-04CNv4 JIT compiler for x86-64 and testsSChernykh4-0/+2746
Minimalistic JIT code generator for random math sequence in CryptonightR. Usage: - Allocate writable and executable memory - Call v4_generate_JIT_code with "buf" pointed to memory allocated on the previous step - Call the generated code instead of "v4_random_math(code, r)", omit the "code" parameter
2019-03-04blockchain: add v10 fork heightsmoneromooo-monero1-0/+5
2019-03-04Print the reason why a notification spec failed to parsemoneromooo-monero2-3/+3
2019-03-04blockchain: include number of discarded blocks in --reorg-notifymoneromooo-monero2-3/+5
2019-03-04core: add a few more block rate window sizesmoneromooo-monero1-1/+1
The 10 minute one will never trigger for 0 blocks, as it's still fairly likely to happen even without the actual hash rate changing much, so we add a 20 minute window, where it will (for 0 blocks) and a one hour window.
2019-03-04core: add --block-rate-notifymoneromooo-monero2-0/+33
This runs a command whenever the block rate deviates too much from the expectation
2019-03-04notify: fix tokenizing being too strictmoneromooo-monero1-1/+1
2019-03-04hardfork: fix fork determination for historical heightsmoneromooo1-1/+1
2019-03-04Merge pull request #5126Riccardo Spagni9-51/+611
f1fb06b1 Fixed path to int-util.h (SChernykh) 9da0892b Adding cnv4-2 tweaks (SChernykh) f51397b3 Cryptonight variant 4 aka CryptonightR (SChernykh)
2019-03-04Merge pull request #5124Riccardo Spagni25-64/+1117
b8787f43 ArticMine's new block weight algorithm (moneromooo-monero)
2019-03-04Merge pull request #5122Riccardo Spagni1-15/+2
52964501 ringct: fix v1 ecdhInfo serialization (moneromooo-monero)
2019-03-04Merge pull request #5120Riccardo Spagni1-5/+1
45b7df70 wallet_rpc_server: remove detached short payment ids support (moneromooo-monero)
2019-03-04Merge pull request #5118Riccardo Spagni1-1/+1
49b2a48a simplewallet: tell the user to complain to the recipient (moneromooo-monero)
2019-03-04Merge pull request #5115Riccardo Spagni3-3/+3
fec359a6 cryptonote: Fix enum check in expand_transaction_2 (Tom Smeding) 9bf0e537 cryptonote: Add const-qualifier on comparison functor (Tom Smeding) 5d2fdc2e serialization: Use pos_type instead of streampos (Tom Smeding)
2019-03-04ArticMine's new block weight algorithmmoneromooo-monero25-64/+1117
This curbs runaway growth while still allowing substantial spikes in block weight Original specification from ArticMine: here is the scaling proposal Define: LongTermBlockWeight Before fork: LongTermBlockWeight = BlockWeight At or after fork: LongTermBlockWeight = min(BlockWeight, 1.4*LongTermEffectiveMedianBlockWeight) Note: To avoid possible consensus issues over rounding the LongTermBlockWeight for a given block should be calculated to the nearest byte, and stored as a integer in the block itself. The stored LongTermBlockWeight is then used for future calculations of the LongTermEffectiveMedianBlockWeight and not recalculated each time. Define: LongTermEffectiveMedianBlockWeight LongTermEffectiveMedianBlockWeight = max(300000, MedianOverPrevious100000Blocks(LongTermBlockWeight)) Change Definition of EffectiveMedianBlockWeight From (current definition) EffectiveMedianBlockWeight = max(300000, MedianOverPrevious100Blocks(BlockWeight)) To (proposed definition) EffectiveMedianBlockWeight = min(max(300000, MedianOverPrevious100Blocks(BlockWeight)), 50*LongTermEffectiveMedianBlockWeight) Notes: 1) There are no other changes to the existing penalty formula, median calculation, fees etc. 2) There is the requirement to store the LongTermBlockWeight of a block unencrypted in the block itself. This is to avoid possible consensus issues over rounding and also to prevent the calculations from becoming unwieldy as we move away from the fork. 3) When the EffectiveMedianBlockWeight cap is reached it is still possible to mine blocks up to 2x the EffectiveMedianBlockWeight by paying the corresponding penalty. Note: the long term block weight is stored in the database, but not in the actual block itself, since it requires recalculating anyway for verification.
2019-03-03wallet2: fix mishandling rct outputs in coinbase txmoneromooo-monero2-7/+13
Reported by cutcoin
2019-03-02Simplify RPC endpoint, emoving second RPC endpoint generate_from_view_keyJoel2-17/+4
2019-02-27SHALL -> MUSTJesse Jackson1-30/+30
The [spec](https://tools.ietf.org/html/rfc2119) states that these keywords are aliased to each other (in order to alleviate issues arising from the misinterpretation of using "shall"). Consistency helps readers (especially new/unfamiliar ones). 👀 References: - https://www.faa.gov/about/initiatives/plain_language/articles/mandatory/ - https://ell.stackexchange.com/a/171990/2487
2019-02-27dns_utils: use fallback if the default resolver does not support DNSSECmoneromooo-monero1-6/+34
2019-02-26cn_deserialize: remove some unused codemoneromooo-monero1-50/+0
2019-02-26cryptonote_protocol_handler: search for syncing peers in "cruise mode"moneromooo-monero3-0/+45
When all our outgoing peer slots are filled, we cycle one peer at a time looking for syncing peers until we have at least two such peers. This brings two advantages: - Peers without incoming connections will find more syncing peers that before, thereby strengthening network decentralization - Peers will have more resistance to isolation attacks, as they are more likely to find a "good" peer than they were before
2019-02-25performance_tests: fix NetBSD buildmoneromooo-monero1-2/+2
2019-02-25discontinue use of allocamoneromooo-monero2-14/+4
NetBSD emits: warning: Warning: reference to the libc supplied alloca(3); this most likely will not work. Please use the compiler provided version of alloca(3), by supplying the appropriate compiler flags (e.g. not -std=c89). and man 3 alloca says: Normally, gcc(1) translates calls to alloca() with inlined code. This is not done when either the -ansi, -std=c89, -std=c99, or the -std=c11 option is given and the header <alloca.h> is not included. Otherwise, (without an -ansi or -std=c* option) the glibc version of <stdlib.h> includes <alloca.h> and that contains the lines: #ifdef __GNUC__ #define alloca(size) __builtin_alloca (size) #endif It looks like alloca is a bad idea in modern C/C++, so we use VLAs for C and std::vector for C++.
2019-02-25daemon: add '--no-sync' arg to optionally disable blockchain syncxiphon5-1/+17
2019-02-25daemon: add --public-node mode, RPC port propagation over P2Pxiphon20-30/+147
2019-02-24unbound: update to get the redefinition fixmoneromooo-monero1-0/+0
2019-02-23Various speedups to depends and TravisTheCharlatan11-326/+17
Further speedups to icu compilation, it is faster to run the pre-generated configure scripts. Ensure that the native protobuf installation only generates the required libraries and binaries. Disable qt compilation when running travis on windows. Qt is used for lrelease, the travis recipe instead usese the a local installation of lrelease. Remove various packages and options from the travis recipe. Update Readline to version 8.0. The previously used url 404'd sometimes, use the official gnu ftp server instead. Remove unused cmake config.
2019-02-23miner: it can now autodetect the optimal number of threadsmoneromooo-monero4-9/+96
2019-02-22Better error when sending a tx with a too large extra fieldmoneromooo-monero2-3/+21
2019-02-21rpc: quantize db size up to 5 GB in restricted modemoneromooo-monero1-1/+8
2019-02-21OS X -> macOSJesse Jackson1-5/+5
2019-02-21dns_utils: remove MoneroPulse/checkpoints mention in TXT record codemoneromooo-monero1-4/+4
This code is used for more than just these
2019-02-21Remove code duplicationJoel3-190/+20
2019-02-21db_lmdb: fix missing mdb_dbi_close in migrationmoneromooo-monero1-0/+1
Fixed by hyc
2019-02-20wallet-rpc: get balance for all accounts and subaddressesstoffu2-21/+49
2019-02-20wallet: fix payment ID decryption for construction dataDusan Klinec1-7/+6
2019-02-20device/trezor: dummy payment ID fixDusan Klinec1-1/+1
2019-02-19Add generate_from_view_key RPC methodJoel3-0/+185
2019-02-19Add generate_from_keys RPC methodJoel3-0/+201
2019-02-18epee: Add space after ':' in additional http response headersTom Smeding1-1/+1
2019-02-17wallet-rpc: get transfers for all accounts and subaddressesJethro Grassie2-5/+15
2019-02-14Support docker for gitian buildsTheCharlatan5-21/+62
Building with docker is arguably easier and more familiar to most people than either kvm, or lxc. This commit also relaxes the back compat requirement a bit. 32 bit linux now uses glibc version 2.0. Also, the docker shell could not handle gcc arguments containing spaces, so the explicit '-DFELT_TYPE' declaration was dropped. Lastly, this removes some packages from the osx descriptor.
2019-02-14wallet_rpc_server: add a validate_address RPCmoneromooo-monero3-1/+89
2019-02-14Fixed path to int-util.hSChernykh1-1/+1
2019-02-14Adding cnv4-2 tweaksSChernykh3-49/+89
Co-Authored-By: Lee Clagett <vtnerd@users.noreply.github.com>
2019-02-14Cryptonight variant 4 aka CryptonightRSChernykh9-23/+543
It introduces random integer math into the main loop.
2019-02-14simplewallet: add help for ask-password optionsmoneromooo-monero1-0/+2
2019-02-14simplewallet: mark confirm-missing-payment-id as obsoletemoneromooo-monero1-1/+1
2019-02-13debug compilation fix: net lib missing common depsDusan Klinec1-1/+1
``` Undefined symbols for architecture x86_64: "common_category()", referenced from: make_error_code(common_error) in parse.cpp.o make_error_code(common_error) in tor_address.cpp.o "boost::system::detail::system_category_ncx()", referenced from: boost::system::system_category() in parse.cpp.o boost::system::system_category() in socks.cpp.o boost::system::system_category() in libepee.a(net_utils_base.cpp.o) "boost::system::detail::generic_category_ncx()", referenced from: boost::system::generic_category() in parse.cpp.o boost::system::generic_category() in socks.cpp.o boost::system::generic_category() in tor_address.cpp.o boost::system::generic_category() in libepee.a(string_tools.cpp.o) boost::system::generic_category() in libepee.a(net_utils_base.cpp.o) ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) make[3]: *** [src/net/libnet.dylib] Error 1 make[2]: *** [src/net/CMakeFiles/net.dir/all] Error 2 ```
2019-02-13Don't decrypt keys in view only wallets in wallet_keys_unlockerDoyle1-1/+1
2019-02-10Use io_service::work in epee tcp serverLee Clagett2-6/+14
2019-02-10Human readable message if maximum outputs reacheditalocoin1-0/+1
2019-02-10Update openssl to 1.0.2q in depends build systemwho-biz1-10/+2
2019-02-09Fixed missing return value in once_a_time class on windowsMarkus Behm1-0/+1
2019-02-08Add support for V10 protocol with BulletProofV2 and short amount.cslashm1-13/+34
2019-02-08Fix dummy decryption in debug modecslashm1-1/+3
2019-02-08fix log namespacecslashm1-45/+45
2019-02-08New scheme key destination contrfolcslashm7-63/+233
Implies protocol version management.
2019-02-07readme: add new workflow for translations (Pootle)erciccione1-0/+6