aboutsummaryrefslogtreecommitdiff
path: root/src (unfollow)
AgeCommit message (Collapse)AuthorFilesLines
2017-11-14remove "using namespace std" from headersmoneromooo-monero19-45/+42
It's nasty, and actually breaks on Solaris, where if.h fails to build due to: struct map *if_memmap;
2017-11-14simplewallet: forbid 0 ring sizemoneromooo-monero1-0/+10
It'd be interpreted as a huge one (~0 fake outs)
2017-11-14simplewallet: reject attempts to use too low mixin earlymoneromooo-monero4-16/+29
This yields a clear error message rather then some possibly confusing more technical errors down the line
2017-11-14simplewallet: reject invalid argument for boolean parameterstoffu3-26/+95
2017-11-14rpc: added miner_tx_hash to resp of getblockstoffu2-1/+4
2017-11-14wallet-cli: added --generate-from-spend-key optionstoffu3-5/+38
2017-11-13wallet2: use a vector, not a list, for selected_transfersmoneromooo-monero2-24/+49
Friendlier on memory/speed, we know in advance the max amount of items, which are small and constant size, and there's a lot of list walking involved.
2017-11-08Protect node privacy by proper filtering in restricted-mode RPC answersbinaryFate12-73/+138
This patch allows to filter out sensitive information for queries that rely on the pool state, when running in restricted mode. This filtering is only applied to data sent back to RPC queries. Results of inline commands typed locally in the daemon are not affected. In practice, when running with `--restricted-rpc`: * get_transaction_pool will list relayed transactions with the fields "last relayed time" and "received time" set to zero. * get_transaction_pool will not list transaction that have do_not_relay set to true, and will not list key images that are used only for such transactions * get_transaction_pool_hashes.bin will not list such transaction * get_transaction_pool_stats will not count such transactions in any of the aggregated values that are computed The implementation does not make filtering the default, so developers should be mindful of this if they add new RPC functionality. Fixes #2590.
2017-11-07RPC: get_info add rpc_connections_countTim L2-1/+5
2017-11-06wallet2 bugfix: supply missing subaddr_account arg to balance() and unlocked ↵stoffu1-4/+4
balance()
2017-11-06track double spending in the txpoolmoneromooo-monero16-62/+216
Transactions in the txpool are marked when another transaction is seen double spending one or more of its inputs. This is then exposed wherever appropriate. Note that being marked with this "double spend seen" flag does NOT mean this transaction IS a double spend and will never be mined: it just means that the network has seen at least another transaction spending at least one of the same inputs, so care should be taken to wait for a few confirmations before acting upon that transaction (ie, mostly of use for merchants wanting to accept unconfirmed transactions).
2017-11-04wallet-cli: allow priority argument for sweep_all and donatestoffu1-15/+23
2017-11-03Fix file permission issueTim L4-0/+0
This branch fixes a file permission issue introduced by https://github.com/monero-project/monero/commit/69c37200aa87f100f731e755bdca7a0dc6ae820a
2017-11-03Used declared default refresh status as default rather than it's current valueMaxime THIEBAUT1-2/+2
2017-11-03updates: add a special case for "install-" build tags on windowsmoneromooo-monero1-1/+1
Those will have a ".exe" file extension, not .zip.
2017-11-03Fix 'sweep_all' command when called with no argsLeon Klingele1-6/+6
Executing 'sweep_all' with no arguments segfaulted before.
2017-11-03Disguise password length in promptLeon Klingele1-4/+0
2017-11-02simplewallet: mark the active account in print_accountsmoneromooo-monero1-2/+3
2017-11-02Increase LMDB maxreaders if large number of threads in useHoward Chu1-0/+6
2017-11-02Use max_concurrency as-isHoward Chu1-2/+2
Don't try to 2nd guess user
2017-11-02Remove wallet dependency on p2pmoneromooo-monero3-3/+0
2017-10-31wallet2: do not bother downloading block hashes below last checkpointmoneromooo-monero1-1/+14
2017-10-30RPC Add cross origin resource sharing supportTim L4-2/+22
2017-10-30rpc: add performance timersmoneromooo-monero1-0/+57
Enable with perf:DEBUG
2017-10-30blockchain: do not lock the blockchain lock for simple DB gettersmoneromooo-monero1-7/+28
It is safe in those cases, though might return slightly out of date information if another thread is busy modifying the blockchain, but it avoids potentially lengthy delays just to get things like the current blockchain height.
2017-10-29Wallet2: Don't throw when subaddress label doesn't existJaquee2-11/+11
2017-10-29Wallet API: override update subdir when built from srcJaquee2-2/+4
2017-10-26Fix JSON-RPC response object over ZMQLee Clagett1-22/+31
2017-10-26fixed an LMDB issue on OpenBSD (#2699) which leads to a crash in monerodston1th1-0/+6
2017-10-23wallet2: fix show_transfers missing multiple incoming outputsmoneromooo-monero1-2/+2
2017-10-23wallet2: fix subaddress fields serializationmoneromooo-monero1-0/+15
When loading an older wallet cache, they wouldn't be initialized, leading them to have random(ish) values, and so assigned to some random subaddress.
2017-10-23Add more specific RPC error codesMichał Sałaban3-96/+100
2017-10-22wallet2: fix tx size estimator for large number of inputsmoneromooo-monero1-1/+1
2017-10-22protocol: drop connections which don't handshake after some timemoneromooo-monero1-3/+6
2017-10-22Wallet API: default values for account and subaddr indexJaquee3-14/+13
2017-10-21Initialize openssl on startupmoneromooo-monero1-0/+7
2017-10-20cmake: add dep of version lib on version.cppredfish2-75/+16
Also, move cmake source files into cmake/ to keep them together.
2017-10-19simplewallet: remove XMR mentionsmoneromooo-monero1-2/+2
They are actually wrong if the wallet is setup in a different denomination, and it's incursion of extrinsic lingo where monero fits perfectly in the first place.
2017-10-19core: do not forbid txes without destinationmoneromooo-monero1-6/+0
This was spuriously forbidden in the recent subaddress patch, which isn't inherently incompatible with these.
2017-10-19core: don't add empty additional pub keys field to extramoneromooo-monero1-1/+1
Saves a couple bytes per tx
2017-10-18subaddress: remove unneeded scalarmultBasekenshi841-6/+11
2017-10-17core_tests: fix for subaddress patchkenshi842-7/+7
2017-10-16Wallet: Descriptions through new commands 'set_description', 'get_description'rbrunner77-1/+163
2017-10-16Distinguish "not enough money" and "not enough unlocked money"binaryFate5-14/+96
Fix #1530
2017-10-16wallet2: workaround for lightwallet before supporting subaddress (followup ↵kenshi841-5/+21
#2656)
2017-10-16subaddress: change prefix so that it starts with 8kenshi841-1/+1
2017-10-15blockchain_utilities: Add monero-blockchain-{ex,im}port binaries todev/beber/installBertrand Jacquin1-0/+2
default install targets Binaries available to download on https://getmonero.org/downloads/ as embedding monerod, monero-wallet-{cli,rpc} and monero-blockchain-{ex,im}port. This change synchronise download results with a manual build from source
2017-10-15Fix compiler warnings with Clang 6.0.0.Vasil Dimov3-4/+4
monero/src/cryptonote_protocol/block_queue.cpp:208:44: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] static const boost::uuids::uuid uuid0 = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } monero/src/wallet/wallet_rpc_server.cpp:1895:43: error: lambda capture 'wal' is not used [-Werror,-Wunused-lambda-capture] tools::signal_handler::install([&wrpc, &wal](int) { ^ monero/src/cryptonote_protocol/cryptonote_protocol_handler.inl:1616:40: error: lambda capture 'arg' is not used [-Werror,-Wunused-lambda-capture] m_p2p->for_each_connection([this, &arg, &fluffy_arg, &exclude_context, &fullConnections... ^ monero/src/cryptonote_protocol/cryptonote_protocol_handler.inl:1616:46: error: lambda capture 'fluffy_arg' is not used [-Werror,-Wunused-lambda-capture] m_p2p->for_each_connection([this, &arg, &fluffy_arg, &exclude_context, &fullConnections... ^ monero/src/blockchain_utilities/blockchain_export.cpp:181:3: error: bool literal returned from 'main' [-Werror,-Wmain] CHECK_AND_ASSERT_MES(r, false, "Failed to initialize source blockchain storage"); ^ ~~~~~ monero/contrib/epee/include/misc_log_ex.h:180:97: note: expanded from macro 'CHECK_AND_ASSERT_MES' ...fail_ret_val, message) do{if(!(expr)) {LOG_ERROR(message); return fail_ret_val;};}while(0) ^ ~~~~~~~~~~~~ monero/src/blockchain_utilities/blockchain_export.cpp:195:3: error: bool literal returned from 'main' [-Werror,-Wmain] CHECK_AND_ASSERT_MES(r, false, "Failed to export blockchain raw data"); ^ ~~~~~ monero/contrib/epee/include/misc_log_ex.h:180:97: note: expanded from macro 'CHECK_AND_ASSERT_MES' ...fail_ret_val, message) do{if(!(expr)) {LOG_ERROR(message); return fail_ret_val;};}while(0) ^ ~~~~~~~~~~~~
2017-10-15fix lightwallet and subaddresses conflictJaquee1-1/+6
2017-10-15remove reference to cryptonote::null_hashJaquee1-3/+3
2017-10-15wallet2+API: use separate callbacks for lightwalletsJaquee3-7/+43
2017-10-15walletAPI: correct confirmations in txHistory for unsynced walletsJaquee1-2/+2
2017-10-15walletAPI: lightwallet exceptionsJaquee1-2/+12
2017-10-15walletAPI: add lightwallet login() and importWalletRequest()Jaquee3-0/+40
2017-10-15walletAPI: init() lightwallet and SSL supportJaquee3-7/+12
2017-10-15walletAPI: add tx unlock_timeJaquee1-4/+0
2017-10-15wallet2: remove obsolete get_num_rct_outputs() call from create_transactions_2Jaquee1-1/+1
2017-10-15wallet2: create_transactions_2 lightwallet supportJaquee1-0/+7
2017-10-15wallet2: get_outs lightwallet supportJaquee2-10/+129
2017-10-15wallet2: commit_tx() lightwallet supportJaquee1-17/+34
2017-10-15wallet2: refactor is_tx_spendtime_unlocked()Jaquee2-3/+9
2017-10-15wallet2: add lightwallet exceptions to common functionsJaquee1-0/+15
2017-10-15wallet2: refresh() lightwallet supportJaquee1-0/+34
2017-10-15my/openmonero API functionsJaquee2-0/+475
2017-10-15wallet2: add remove_obsolete_pool_txs()Jaquee2-22/+31
2017-10-15wallet2: add on_pool_tx_removed callbackJaquee1-0/+1
2017-10-15wallet2: light wallet member variablesJaquee1-1/+15
2017-10-15wallet2: add ssl option to init()Jaquee2-3/+6
2017-10-15refactor cryptonote_basic::add_tx_pub_key_to_extraJaquee2-3/+15
2017-10-15lightwallet rpc server commandsJaquee1-1/+353
2017-10-14rpc: make get_coinbase_tx_sum a restricted RPCmoneromooo-monero1-1/+1
It's pretty slow and I/O intensive
2017-10-14Add tools::on_startup, and warn about glibc 2.25 bug if foundmoneromooo-monero8-6/+23
https://sourceware.org/bugzilla/show_bug.cgi?id=21778
2017-10-13debug utils: fix debug build: rm unused identifierredfish1-1/+0
2017-10-12db_lmdb: include chain height when failing to find an output keymoneromooo-monero1-1/+1
To help debugging logs.
2017-10-12blockchain: avoid exceptions in output verificationmoneromooo-monero1-2/+12
This can happen if we get a bad tx, so let's not spam the log.
2017-10-11core: guard against a mined block not finding all txes in the poolmoneromooo-monero1-1/+9
This can happen for several reasons, but mainly if another block was received, which took that tx off the pool.
2017-10-10dns_utils: allow an optional DNS server IP in DNS_PUBLICmoneromooo-monero2-6/+41
tcp://a.b.c.d
2017-10-09util: ignore SIGPIPEmoneromooo-monero1-1/+2
In practice, this seems to cause monero-wallet-rpc to exit when ^C quits whatever its output is piped into (such as tee), but it saves, while it did not before.
2017-10-09Fix an object lifetime bug in net load testsmoneromooo-monero1-1/+1
The commands handler must not be destroyed before the config object, or we'll be accessing freed memory. An earlier attempt at using boost::shared_ptr to control object lifetime turned out to be very invasive, though would be a better solution in theory.
2017-10-08cmake: build tests lastredfish1-0/+5
Keep -Werror for src, contrib and do not pass it for tests/
2017-10-08Fix #2559: more flexible print_tx daemon commandbinaryFate4-22/+43
2017-10-08simplewallet: add get/set for refresh-from-heightmoneromooo-monero2-1/+21
2017-10-07protocol: kick idle peers by dropping themmoneromooo-monero1-3/+10
This is safer, as we don't risk break expectations (eg, requesting block hashes and then receiving a late set of blocks). Dropping a connection means another will be attempted in a fresh state. Also bump the kick timeout to 5 minutes, to ensure we only kick really idle peers.
2017-10-07frob level 1 logs a bit for consistencymoneromooo-monero1-7/+7
Level 1 logs map to INFO, so setting log level to 1 should show these. Demote some stuff to DEBUG to avoid spam, though.
2017-10-07Remove network_address_base which has been merged with ipv4_network_address ↵Michał Sałaban1-1/+0
in 8b006877
2017-10-07daemon: use @N syntax to output_histogram for specific amountsmoneromooo-monero3-11/+26
Makes debugging tx verification easier
2017-10-07miner: always update block template when startingmoneromooo-monero1-2/+1
This fixes using the previous address when starting mining, then stopping and restarting with a different address
2017-10-07wallet2: fix refresh height calc for new walletsmoneromooo-monero1-8/+0
2017-10-07Subaddresseskenshi8446-744/+3041
2017-10-07wallet-cli: add --do-not-relay optionstoffu2-32/+46
2017-10-07wallet: encrypt (un)signed tx, also optionally save unencrypted raw tx hexstrstoffu3-25/+129
2017-10-07Don't try to create wallet-dir when it's not given, don't crash if ↵Michał Sałaban1-1/+1
wallet-dir already exists.
2017-10-06add a command_line function to check for defaulted optionsmoneromooo-monero5-11/+17
2017-10-06Fix building with -DARCH=default -DNO_AES=ONmoneromooo-monero1-2/+2
2017-10-06rpc: out_peers now works againmoneromooo-monero1-15/+7
2017-10-05Upgrades to epee::net_utils::network_addressLee Clagett4-16/+23
- internal nullptr checks - prevent modifications to network_address (shallow copy issues) - automagically works with any type containing interface functions - removed fnv1a hashing - ipv4_network_address now flattened with no base class
2017-10-03daemon: catch out of range exceptions too when calling stoll/stoimoneromooo-monero1-6/+13
And any other exception, just to be safe
2017-10-03block_queue: use boost::uuids::nil_uuid where appropriatemoneromooo-monero1-2/+1
2017-10-03wallet2: fix backlog being off by 1moneromooo-monero1-2/+2
We don't want to count "partly filled" blocks in this case
2017-10-03simplewallet: fix setting default-ring-size to 0moneromooo-monero1-2/+0
It'd be set to the current wallet default instead
2017-10-03blockchain_import: remove a few commented out obsolete linesmoneromooo-monero1-3/+0
2017-10-03tests: fix hashchain unit testsmoneromooo-monero1-1/+1
and relax the not-empty safety check to stay more intuitiuve
2017-10-03wallet2: error check for generate_key_image_helper, removed redundant ↵stoffu2-11/+6
wallet_generate_key_image_helper
2017-10-03construct_tx_and_get_tx_key: return sorted sources for print_ring_memebrs to ↵stoffu3-5/+5
work properly
2017-10-02simplewallet: allow to set threshold before warning about tx backlogselsta4-2/+32
2017-10-02wallet2: fix hash chain trimming when the inner chain becomes emptymoneromooo-monero2-2/+30
It'd prevent further syncing. Recovery of empty hash chains is automatic, but requires a running daemon
2017-09-29core: fix failure to sync when a tx is already in the poolmoneromooo-monero3-9/+28
2017-09-29simplewallet: allow 1/yes/y as well as true for start_mining optionsmoneromooo-monero1-3/+3
Also mention those options in the start_mining help line
2017-09-29simplewallet: fix --restore-from-height being ignoredmoneromooo-monero1-1/+2
2017-09-29rpc: fix getting txpool transactionsmoneromooo-monero1-0/+1
2017-09-27core: remove out sorting from v7 rulesmoneromooo-monero2-37/+4
and restore random shuffle of outputs This turned out to have a flaw (sort order depends on output index), and this doesn't really bring much anyway
2017-09-27wallet2: Missing underflow check on low heightslandergate1-1/+1
Lack of it results in `m_refresh_from_block_height` being < 0 (18446744...) on low heights, which blocks `process_new_blockchain_entry` and never process coins on heights less than blocks_per_month. Follow-up to #2258
2017-09-27connection_context: initialize m_callback_request_count to 0moneromooo-monero1-1/+1
2017-09-27core: fix logging the one time public key on errormoneromooo-monero1-1/+1
2017-09-27cmake: add libversion and libcheckpoints to libwallet_mergedredfish1-1/+10
Needed to link monero-core Qt wallet.
2017-09-27blockchain: fix off by one getting blocksmoneromooo-monero1-2/+2
2017-09-26core: undo output sortingmoneromooo-monero1-0/+2
It looks like it may be buggy
2017-09-26mnemonics: new Lojban word listWei Tang3-2/+1703
Word list authored by: sorpaas Sources: lo gimste jo'u lo ma'oste (http://guskant.github.io/lojbo/gismu-cmavo.html) N-grams of Lojban corpus (https://mw.lojban.org/papri/N-grams_of_Lojban_corpus)
2017-09-25core: fix creation of v1 txesmoneromooo-monero1-1/+2
2017-09-25checkpoints: add missing CMakeLists.txtmoneromooo-monero1-0/+60
2017-09-25wallet2: do not keep block hashes below last checkpointmoneromooo-monero2-20/+100
This saves a lot of space and load/save time for wallet caches
2017-09-25checkpoints: add a token checkpoint on testnet (the genesis block)moneromooo-monero3-3/+10
2017-09-25serialization: add deque serializationmoneromooo-monero2-2/+34
2017-09-25fix typo in basic and core CMakeLists.txtmoneromooo-monero2-2/+2
2017-09-25move checkpoints in a separate librarymoneromooo-monero22-58/+63
2017-09-25version: fix link to new version stringsmoneromooo-monero2-0/+3
p2p uses it, and the cpp file needs to know the symbols should be public
2017-09-25wallet2: simplify tx processing a bitmoneromooo-monero2-74/+68
2017-09-25wallet2: factor some of the tx scanning codemoneromooo-monero2-48/+21
2017-09-25tx_pool: pre-init tvc.m_verifivation_failed before processingmoneromooo-monero1-3/+3
CID 175316
2017-09-25wallet2: catch failure to parse addressmoneromooo-monero1-1/+5
CID 175297
2017-09-25net_peerlist: remove dead codemoneromooo-monero1-20/+1
CID 175290
2017-09-25tx_pool: guard against failure getting tx hashmoneromooo-monero1-1/+2
Should be impossible in practice, but easy change CID 175282
2017-09-25wallet_rpc_server: catch failure to create directorymoneromooo-monero1-1/+10
CID 175281
2017-09-25wallet_rpc_server: init m_vm to NULL in ctormoneromooo-monero1-1/+1
CID 175279
2017-09-25wallet_args: remove redundant default value for --log-filemoneromooo-monero1-1/+1
CID 175265
2017-09-25wallet2: catch failure to save keys filemoneromooo-monero1-2/+3
CID 161848
2017-09-25wallet2_api: check whether dynamic_cast returns NULLmoneromooo-monero1-0/+2
CID 161844
2017-09-25core: check return value from parse_hexstr_to_binbuffmoneromooo-monero1-2/+3
2017-09-25wallet2_api: remove an unused, uninitialized, fieldmoneromooo-monero1-1/+0
Silences CID 161874
2017-09-25wallet2_api: init error code to "no error" in the ctormoneromooo-monero1-1/+1
CID 161872
2017-09-25get_blockchain_top now returns voidmoneromooo-monero3-27/+6
It was always returning true, and could not be foreseen to usefully return errors in the future. This silences CID 162652 as well as saves some checking code in a few places.
2017-09-25wallet_rpc_server: guard against exceptionsmoneromooo-monero1-1/+9
CID 175305
2017-09-25simplewallet: guard against I/O exceptionsmoneromooo-monero1-3/+12
CID 175308
2017-09-25daemon: initialize decode_as_json in RPC requestmoneromooo-monero1-0/+1
CID 161886
2017-09-23store is optional during close and defaults to true; except during descructionm2049r5-14/+16
2017-09-22simplewallet: add privacy warning when using an untrusted demonmoneromooo-monero1-0/+3
2017-09-22Source updates are in a source subdirectorymoneromooo-monero2-3/+6
rather than in the same directory as the prebuilt versions
2017-09-22Log categories can now be added to and removed frommoneromooo-monero6-6/+17
Also, set_log without parameters now prints the log categories
2017-09-21json_object: add missing do_not_relay to tx_in_pool serializationmoneromooo-monero1-0/+1
2017-09-21dns_utils: query DNS records in parallelmoneromooo-monero1-6/+15
2017-09-21build: auto update version info without manually deleting version.hstoffu14-30/+26
2017-09-21daemon: indicate whether the spent key image is mined or unconfirmedstoffu1-1/+1
2017-09-21wallet2: correctly handle in/out payments for view-only walletstoffu3-2/+146
2017-09-20tx_pool: drop invalid txes from the pool on startupmoneromooo-monero1-3/+23
instead of just failing This is a workaround for bad tx blobs being inserted in the pool for unknown reasons
2017-09-20blockchain: fix crash checking pre-validated txidsmoneromooo-monero1-2/+2
2017-09-20wallet2: fix exception on split txesmoneromooo-monero1-1/+3
2017-09-20wallet2: print unused indices on a single linemoneromooo-monero1-6/+17
Decreases log spam massively on large wallets
2017-09-19Fixes static_assert on arm and ppc buildsLee Clagett1-1/+3
2017-09-19db_lmdb: fix use of uninitialized key in for_blocks_rangemoneromooo-monero1-2/+2
2017-09-19rpc: add new RPCs to get and set limitsMaxXor6-53/+219
2017-09-18precomputed block hashes are now in blocks of N (currently 256)moneromooo-monero10-12/+180
This shaves a lot of space off binaries
2017-09-18daemon: make this build with boost 1.61moneromooo-monero1-1/+1
2017-09-18blockchain: reject unsorted ins and outs from v7moneromooo-monero2-1/+47
This ensures no information is leaked by the ordering
2017-09-17Use actual batch size for resize estimatesHoward Chu7-66/+134
And optimize import startup: Remember start_height position during initial count_blocks pass to avoid having to reread entire file again to arrive at start_height
2017-09-17cryptonote_protocol: fix needless chain hashes downloadsmoneromooo-monero1-2/+3
The last known hash was calculated incorrectly, causing further chain hash downloads to restart from the current chain. When the block queue has close to 10k blocks waiting, this causes frequent downloads of 10k more hashes, but with only the last few hashes actually being useful.
2017-09-17protocol: remove hop count on block propagationmoneromooo-monero4-16/+2
It is unused, as it was apparently a future optimization, and it leaks some information (though since pools publish thei blocks they find, that amount seems small).
2017-09-17daemon, wallet: add --max-log-file-size optionselsta3-2/+10
2017-09-16tx_pool: set the "invalid input" bit when check_tx_inputs failsmoneromooo-monero1-0/+1
2017-09-16simplewallet: print tx rejection reason where it was missingmoneromooo-monero1-0/+3
2017-09-16core_rpc_server: print tx rejection reason at L0 toomoneromooo-monero1-16/+28
2017-09-15Tweak concurrency limitsHoward Chu2-2/+6
Create capacity for 2x max, but lie about it
2017-09-14Use a threadpoolHoward Chu13-785/+302
Instead of constantly creating and destroying threads
2017-09-14Remove 1.25x multiplier from tx_poolNano Akron1-1/+1
2017-09-13wallet_rpc_server: fix index for newly added address book entrymoneromooo-monero1-1/+1
2017-09-13core: sort ins and outs key key image and public key, respectivelymoneromooo-monero2-6/+32
This avoids leaking some small amount of information
2017-09-13common: add apply_permutation file and functionmoneromooo-monero2-0/+62
This algorithm is adapted from Raymond Chen's code: https://blogs.msdn.microsoft.com/oldnewthing/20170109-00/?p=95145
2017-09-12Update wallet2.cpp for misspellingMatthew Campassi1-1/+1
Misspelling in wallet2.cpp
2017-09-12wallet: add encrypted seed functionalitymoneromooo-monero6-5/+63
This uses luigi1111's CN_Add method. See https://xmr.llcoins.net for details.
2017-09-12core: guard against exceptions in tx verification worker threadsmoneromooo-monero1-2/+18
2017-09-11wallet2: guard against daemon sending txes in the wrong ordermoneromooo-monero1-12/+10
2017-09-11rpc: order transactions in the order they were requestedmoneromooo-monero1-7/+19
2017-09-10wallet: fix --help and --version erroring outmoneromooo-monero1-15/+15
2017-09-10p2p: disable gray list housekeeping when an exclusive node is givenmoneromooo-monero1-0/+2
Exclusive nodes may be used for privacy reasons, and thus we don't want to connect to other nodes, even for checking connectivity. See https://github.com/monero-project/monero/issues/2346
2017-09-08rpc: get_txpool_backlog is now unrestrictedmoneromooo-monero1-1/+1
2017-09-08updated clarification bc_dyn_stats Matthew Campassi1-1/+1
updated clarification of required parameter for bc_dyn_stats
2017-09-08clarification bc_dyn_statsMatthew Campassi1-1/+1
clarification of required parameter for bc_dyn_stats
2017-09-08Silence more stupid gcc warningsHoward Chu2-9/+9
2017-09-08Fix AC power supply detection on LinuxGuillaume LE VAILLANT1-13/+0
The /sys/class/power_supply/*/present file usually does not exist for AC power supplies.
2017-09-06update checkpoint hashesRiccardo Spagni1-1/+1
2017-09-06update hardcoded checkpointsRiccardo Spagni1-0/+2
2017-09-06update checkpoints.datRiccardo Spagni1-0/+0
2017-09-05Fix various oversights/bugs in ZMQ RPC server codeThomas Winget14-216/+519
- Add some RPC commands (and touch up a couple others) - some bounds checking - some better pointer management - const correctness and error handling -- Thanks @vtnerd for type help with serialization and CMake changes
2017-09-05json serialization for rpc-relevant monero typesThomas Winget28-3/+4966
Structured {de-,}serialization methods for (many new) types which are used for requests or responses in the RPC. New types include RPC requests and responses, and structs which compose types within those. # Conflicts: # src/cryptonote_core/blockchain.cpp
2017-09-05Refactor some things into more composable (smaller) functionsThomas Winget2-73/+179
This commit refactors some of the rpc-related functions in the Blockchain class to be more composable. This change was made in order to make implementing the new zmq rpc easier without trampling on the old rpc. New functions: Blockchain::get_num_mature_outputs Blockchain::get_random_outputs Blockchain::get_output_key Blockchain::get_output_key_mask_unlocked Blockchain::find_blockchain_supplement (overload) functions which previously had this functionality inline now call these functions as necessary.
2017-09-04tx_pool: catch exceptions in LockedTXN dtormoneromooo-monero1-1/+1
This might prevent some calls to terminate when the LockedTXN dtor is called as part of stack unwinding caused by another exception in the first place.
2017-09-04dns_utils: remove a few obsolete thingsmoneromooo-monero1-4/+0
2017-09-03Add a --fluffy-blocks option to relay blocks as fluffy blocksmoneromooo-monero5-1/+18
Defaults to off, but fluffy blocks are forced enabled on testnet
2017-09-02Use latest height for fork date estimateHoward Chu1-2/+3
2017-09-01blockchain_import: warn for chunks over 500000, not 100000moneromooo-monero3-4/+5
We have a lot of 350000 byte blocks now.
2017-09-01blockchain_import: properly cleanup core/db on exitmoneromooo-monero1-19/+9