aboutsummaryrefslogtreecommitdiff
path: root/src (unfollow)
AgeCommit message (Collapse)AuthorFilesLines
2017-05-09Remove the 1.25x multiplier in max transaction size in just the walletNano Akron1-1/+1
2017-05-02Wallet API: add spend/view key gettersJaquee3-5/+41
2017-04-24Change Old_English to English_Old - 'Old English' is actually a languageNano Akron4-10/+10
2017-04-24wallet: add sweep_below functionmoneromooo-monero7-10/+39
It sweeps all outputs below the given threshold This is available via the existing sweep_all RPC, by setting amount_threshold the desired amount (in atomic units)
2017-04-24Change all wallet language names into native names (and scripts)Nano Akron10-32/+32
2017-04-22wallet2: refer to triangular distribution for recent zone in commentmoneromooo-monero1-1/+1
It was wrongly refering to equiprobable distribution, which I think I'd originally done, but forgot to update the comment after changing to triangular Reported by smooth on IRC
2017-04-22wallet2: bias fake outs more towards recent outputsmoneromooo-monero1-2/+2
Two recent papers quantified the real usage bias for the real output in a ring being the true one, and shows that the current biasing is much too weak. While we wait for a better solution, we increase the ratio of recent-to-total fake outputs, as well as decrease the time window for recent outputs, so that half the fake outs are selected within the last 1.8 day. Value plucked from figure 10, page 11 of An Empirical Analysis of Linkability in the Monero Blockchain, 2017, Miller et al. This is also arbitrary, of course, but serves as a stopgap till a better selection algorithm is chosen.
2017-04-19Add expected total reward to RPC "getblocktemplate".assylias10-12/+19
Only works from V5 fork onward - returns 0 before that block.
2017-04-17wallet2: fix removal of wrong txes from unconfirmed_paymentsmoneromooo-monero1-1/+1
unconfirmed_payments changed from having the txid as key to the payment id, and this was not changed to match.
2017-04-16Amended software licenses for Portuguese and SpanishNano Akron3-28/+92
2017-04-16Added Simplified Chinese electrum word listNano Akron3-0/+1717
2017-04-16simplewallet: allow multiline seedmoneromooo-monero1-7/+22
People are likely to enter it in three lines as it is how it is displayed at creation time
2017-04-16mnemonics: ignore multiple whitespace between wordsmoneromooo-monero1-1/+1
2017-04-14wallet2: fix --generate-from-json in RPC modemoneromooo-monero1-3/+5
The daemon address was initialized too late
2017-04-12Clean up ARMv8-a aes_expand_key()hyc1-24/+16
The inline asm was lying about its parameters
2017-04-12Fix block_longhash_worker threadhyc1-1/+3
Wasn't getting its stack size initialized; crashes on Android with a default stack size of 1MB.
2017-04-12wallet cli: removed some inappropriate return-falsekenshi841-16/+6
2017-04-11Simplified the implementation and features of spanLee Clagett2-8/+26
2017-04-11Improvements for epee binary to hex functions:Lee Clagett3-19/+10
- Performance improvements - Added `span` for zero-copy pointer+length arguments - Added `std::ostream` overload for direct writing to output buffers - Removal of unused `string_tools::buff_to_hex`
2017-04-11Resolve #92 add ability to create wallets thru RPCHoward Chu6-97/+407
Reviewed and squashed. Open/Create is only allowed if no walletfile was specified at startup.
2017-04-08wallet2: fix spurious output splitting when not merging destinationsmoneromooo-monero1-8/+20
2017-04-06wallet2: mention escaping/quoting --password in help stringmoneromooo-monero1-1/+1
2017-04-04daemon: print average fee per byte in print_pool_statsmoneromooo-monero1-1/+1
2017-04-04daemon: add fee/byte when print pool transaction infomoneromooo-monero1-0/+2
2017-04-04tx_pool: add blob size and fee/byte when logging a new txmoneromooo-monero1-1/+1
2017-04-03core: fix blob size cache, and reenable hash and blob size cachesmoneromooo-monero2-7/+1
2017-04-03IOS CMAKE build settingsJaquee3-11/+22
2017-04-02Wallet API: fix Cold signing split txJaquee1-4/+10
2017-04-02daemon: new relay_tx command and RPCmoneromooo-monero8-1/+122
2017-04-02wallet2: do not go over the target tx size if many destinationsmoneromooo-monero1-12/+12
If using a large input and many destinations, the code would generate as many outputs as it could using that input, even if it would bring the resulting tx above the max tx size.
2017-04-02simplewallet: fix cold signing of split transactionsmoneromooo-monero1-3/+9
They'd be rejected as suspicious as the change goes to more than one destination. However, split transactions will most likely include fake zero amount change to random addresses, so we only consider change with non zero amount for this.
2017-04-02simplewallet: allow setting confirm-missing-payment-id in watch walletsmoneromooo-monero1-6/+0
These can create transactions, even though they cannot sign them.
2017-04-01Add per transaction fee to transfer commandAntti Keränen1-4/+17
Allows priority argument default/unimportant/normal/elevated/priority to be used per transaction in CLI wallet's transfer command. Resolves #1913.
2017-03-31miner: add a debug log in pause and resumemoneromooo-monero1-0/+2
2017-03-28Add other possible paths of AC power status file on LinuxGuillaume LE VAILLANT1-3/+5
2017-03-27wallet cli: remove redundant password confirm in donate commandkenshi841-1/+0
2017-03-26update version to 0.10.3.1 tagRiccardo Spagni1-1/+1
2017-03-26simplewallet: factor the per-variable code in set_variablemoneromooo-monero1-170/+28
2017-03-26core: disable tx/block hash cachemoneromooo-monero1-0/+6
Looks like it doesn't work on win64
2017-03-25Silence warning about possibly uninitialized pointerGuillaume LE VAILLANT1-1/+1
2017-03-25mnemonics: sanity checks for word listsmoneromooo-monero3-5/+28
and a test to go with it Remember to run the test when changing word lists, or simplewallet will throw uncaught if that word list is used.
2017-03-25mnemonics: misc cleanupmoneromooo-monero11-100/+46
Pass relevant information to the base class instead of overwriting default values later, use objects instead of pointers to objects to avoid having to new objects unnecessarily.
2017-03-25wallet: option to merge destinationsmoneromooo-monero4-7/+42
With the change from the original transfer method to the new algorithm, payments to the same destination were merged. It seemed like a good idea, optimizing space. However, it is a useful tool for people who want to split large outputs into several smaller ones (ie, service providers making frequent payments, and who do not like a large chunk of their balance being locked for 10 blocks after each payment). Default to off, which is a change from the previous behavior.
2017-03-25core: avoid possible reordering bugs wth tx/bloch hash cachemoneromooo-monero4-31/+45
2017-03-24Fixed typo in v5 hard fork finalized dateDerek Zhang1-1/+1
2017-03-24Fixed typo in CLI wallet help messageDerek Zhang1-1/+1
2017-03-25Add Dutch mnemonics wordlistRoy Jacobs3-0/+1699
2017-03-24wallet: try to save large outputs when using an unneeded second inputmoneromooo-monero4-4/+106
When a single input is enough to satisfy a transfer, the code would previously try to add a second input, to match the "canonical" makeup of a transaction with two inputs and two outputs. This would cause wallets to slowly merge outputs till all the monero ends up in a single output, which causes trouble when making two transactions one after the other, since change is locked for 10 blocks, and an increasing portion of the remaining balance would end up locked on each transaction. There are two new settings (min-output-count and min-output-value) which can control when to stop adding such unneeded second outputs. The idea is that small "dust" outputs will still get added, but larger ones will not. Enable with, eg: set min-output-count 10 set min-output-value 30 to avoid using an unneeded second output of 30 monero or more, if there would be less than 10 such outputs left. This does not invalidate any other reason why such outputs would be used (ie, when they're really needed to satisfy a transfer, or when randomly picked in the normal course of selection). This may be improved in the future.
2017-03-24blockchain: offset v5 addition date on testnetmoneromooo-monero1-1/+1
to silence the update warning, since v5 was done very early on testnet
2017-03-24Wallet API: add hard fork info functionsJaquee5-26/+18
2017-03-23Fixes #1850 - Add French mnemonics wordlistassylias3-0/+1699
2017-03-23tx_pool: ensure txes loaded from poolstate.bin have their txid cachedmoneromooo-monero1-5/+6
The txid is not saved, and we want to make sure the transactions have their txid cached while in the pool, since get_transactions copies the transaction object, so any txid calculation on those copies would not benefit any later caller, since the original tx would be left without a cached txid.
2017-03-23tx_pool: remove transactions if they're in the blockchainmoneromooo-monero1-1/+9
When starting up, if the pool state was not saved, the pool might contain transactions which made it into the blockchain, so these need removing
2017-03-23core, wallet: faster tx pool scanningmoneromooo-monero8-80/+142
Includes a new RPC to get tx pool hashes fast.
2017-03-23core: cache tx and block hashes in the respective classesmoneromooo-monero5-2/+120
An idea from smooth
2017-03-22ringct: move ge_frombytes_vartime failure error to warningmoneromooo-monero1-11/+13
Avoids scaring people when seeing some invalid txes
2017-03-22Transfer helpAkademik Prokhor Zakharov1-2/+2
New pull request because I couldn't figure out how to change the previous one. 1. For clarity, I want to focus the help text for the 'transfer' command on the most typical use case (a single payment). 2. New users will prefer to use 'transfer', so the older method 'transfer_original' should refer to 'transfer' rather than the other way around.
2017-03-21daemon: better error reporting in commandsmoneromooo-monero1-41/+48
2017-03-21tx_pool: silence use of uninitialized warningmoneromooo-monero1-1/+1
The result is not actually used when uninitialized
2017-03-21wallet: fix set_log not handling 0,xxx style settingsmoneromooo-monero2-16/+2
2017-03-21wallet2: cache which pool txes were scanned alreadymoneromooo-monero2-2/+26
This massively speeds up the wallet updating the pool on mainnet, where the tx backlog is more than 500 txes.
2017-03-20blockchain: lower the relay fee by 2%moneromooo-monero1-1/+1
This ensures we accept txes with a fee that's slightly too small, to accomodate blockchain median jitter
2017-03-20tx_pool: use new filling algorithm from v5 onlymoneromooo-monero1-20/+30
2017-03-20wallet2: start using new fee priorities at v5, not 14 days laermoneromooo-monero1-1/+1
Waiting would mean the fee used is 1x base, but the base will have suddenly dropped
2017-03-20wallet2: speed up transactions using remote nodesmoneromooo-monero2-4/+42
Asking for a full histogram from a remote node (since it's untrusted) is pretty slow, and spams the remote node, so we replace it by only adding a second input if we have rct ones, which are for all intents and purposes always mixable.
2017-03-20wallet rpc: enable solo miningstoffu3-0/+93
2017-03-19core: call {prepare|cleanup}_handle_incoming_blocks when adding a mined blockmoneromooo-monero1-0/+17
This ensures that a batch can't also be started/stopped out of sync by another thread and us getting in the middle
2017-03-19Partial fix #1876, check thread in block_txn_start()Howard Chu1-1/+2
Don't allow use of existing batch txn if it's from the wrong thread
2017-03-19wallet-rpc bugfix: get_transfer_by_txid previously checking against payment idkenshi841-1/+1
2017-03-18Removed boost/asio.hpp include from epee/string_tools.hLee Clagett1-0/+1
2017-03-18wallet: increase node_rpc_proxy timeout to match wallet2moneromooo-monero1-4/+6
2017-03-18daemon: fix missing close parenthesis in alt_chain_info outputmoneromooo-monero1-1/+1
Reported by assylias_ on IRC
2017-03-18update version to 0.10.3.0Riccardo Spagni1-1/+1
2017-03-18simplewallet: allow setting tx priority in watch walletsmoneromooo-monero1-5/+0
Those can create unsigned transactions
2017-03-18daemon: alt_chain_info now prints fork depthmoneromooo-monero1-2/+14
2017-03-18wallet_rpc_server: make a few RPCs unavailable in restricted modemoneromooo-monero1-0/+28
Address book modification, setting tx nodes, importing key images
2017-03-18use const references in catch blocksmoneromooo-monero5-13/+13
2017-03-18wallet2: call is_key_image_spent in blocks in rescan_spentmoneromooo-monero1-21/+24
This is a potentially long lasting daemon RPC call
2017-03-18wallet_rpc_server: add a rescan_spent RPCmoneromooo-monero3-0/+39
2017-03-18simplewallet: catch case where no transactions are mademoneromooo-monero1-1/+7
This would otherwise be a silent noop, which is confusing. This can happen if the daemon is started, but not yet ready to service all requests, and this is a safe catch all.
2017-03-18p2p: use the fallback seed IPs when not enough seeds are foundmoneromooo-monero2-27/+64
In case the DNS seed(s) is/are down, which would otherwise cause the fallback seeds to never be used. Also if the seeds resolve to too few IPs.
2017-03-17bump version numberRiccardo Spagni1-1/+1
2017-03-17wallet-rpc: enable openaliasstoffu5-9/+15
2017-03-15Add intervening v5 fork for increased min block sizemoneromooo-monero9-51/+87
Minimum mixin 4 and enforced ringct is moved from v5 to v6. v5 is now used for an increased minimum block size (from 60000 to 300000) to cater for larger typical/minimum transaction size. The fee algorithm is also changed to decrease the base per kB fee, and add a cheap tier for those transactions which we do not care if they get delayed (or even included in a block).
2017-03-14Specify "524,288" iterations instead of "500,000"darentuzi1-5/+5
CryptoNight does exactly 524,288 iterations over the scratchpad as defined in CNS008, saying 500,000 could be confusing. I know its meant to give a rough idea (around 500k) to the reader but if you are reading the code, might as well know the exact number.
2017-03-13protocol: fix wrong tx being looked up from fluffy blockmoneromooo-monero1-1/+10
Found by smooth
2017-03-12Adds a config file option to the walletArne Brutschy1-0/+19
2017-03-12core: don't try to re-relay an empty set of pool transactionsmoneromooo-monero1-1/+1
2017-03-12protocol: fix fluffy to normal block dropping txesmoneromooo-monero1-1/+1
2017-03-10fix dependency: put HardFork back to cryptonote_basic, made some ↵kenshi847-9/+9
BlockchainDB functions virtual again to avoid missing symbols error
2017-03-05blockchain: don't try to load an empty block hash setmoneromooo-monero1-1/+1
If the blocks aren't being linked against a binary (such as one of the blockchain utilities), the symbol will not be NULL, but the size will be 0. This avoids a apurious warning about the data hash.
2017-03-05blockchain_import: make --log-level understand categoriesmoneromooo-monero1-3/+6
2017-03-05blockchain_export: make --log-level understand categoriesmoneromooo-monero1-4/+6
2017-03-05blockchain_import: error out nicely on exceptionsmoneromooo-monero1-0/+4
2017-03-05blockchain_export: error out nicely on exceptionsmoneromooo-monero1-0/+5
2017-03-05rpc: fix BUILD_TAG mispelling (BUILDTAG)moneromooo-monero1-2/+2
This ensures a manual or RPC update tries the right build tag, rather than source, which is currently not setup
2017-03-05core: print the "new update found" message in cyan, for visibilitymoneromooo-monero1-2/+2
2017-03-05download: check available disk space before downloadingmoneromooo-monero1-0/+8
We don't check *while* the download happens, so it might still be that we don't have enough space later
2017-03-05download: give download threads distinct namesmoneromooo-monero1-0/+5
2017-03-05core: make update download cancellablemoneromooo-monero2-17/+55
2017-03-05download: async APImoneromooo-monero2-26/+153
2017-03-05wallet: add password commandmoneromooo-monero3-6/+7
Also tweak wallet2 password code to verify password without saying it's a new wallet, because it's assuming things.
2017-03-05format_utils: fix typo in assert messagelethos31-2/+2
Fix two small typos as mentioned by reddit user nthterm.
2017-03-04Add dependency for blocksdat.oHoward Chu2-4/+4
To make sure it gets regenerated whenever checkpoints.dat changes Likewise for blocks.o and testnet_blocks.o
2017-03-04wallet: fix get_tranfers with multiple incoming txes with same pidmoneromooo-monero1-3/+13
2017-03-04Revert "wallet: fix insertion of pool transactions"moneromooo-monero1-1/+1
This reverts commit d47dac9a88ddd46b88850a899311363b3261c89e. Callers actually expect the key to be payment id, so this needs a lot more changes (like storing payment ids in the structure, and possibly also to other existing structures which do the same thing).
2017-03-03core: quantize per kB fee to 8 decimalsmoneromooo-monero2-1/+20
2017-03-03tx_pool: log separately "not ready" and "double spend" casesmoneromooo-monero1-2/+8
2017-03-03Fix double-importHoward Chu1-8/+10
Incomplete ifdef cleanup in 9e82b694da120708652871b55f639d1ef306a7ec
2017-03-03Remove redundant num_txs() methodHoward Chu2-18/+4
Cleanup of bf1348b7e2b2c72a6d40b23567afaa46b53e6cb7
2017-03-03Fix #1824 don't end batch that we didn't startHoward Chu1-2/+3
2017-03-03wallet api: fix parameters in wallet2callbackImplJaquee1-7/+7
2017-03-03use txid in wallet2::process_new_transaction()Jaquee1-1/+1
2017-03-02allow user I/O in millinero, micronero, nanonero, piconeromoneromooo-monero6-10/+123
2017-03-02wallet api: add missing mining optionsJaquee3-3/+5
2017-02-28wallet: fix insertion of pool transactionsmoneromooo-monero1-1/+1
They were inserted using payment id as key, not txid
2017-02-28Make gray peer selection uniformMiguel Herranz1-1/+8
Prevents the system from always picking the gray peers with the most recent last_seen.
2017-02-28wallet: fix --log-file not workingmoneromooo-monero4-29/+30
2017-02-27Add support for the wallet to refresh pruned blocksmoneromooo-monero6-62/+105
2017-02-27ringct: do not require range proof in decodeRct/decodeRctSimplemoneromooo-monero1-4/+2
These fields aren't used, and they'll actually be pruned in some cases
2017-02-27rpc: add a default category for daemon rpcmoneromooo-monero1-0/+3
2017-02-27core: add functions to serialize base tx infomoneromooo-monero3-0/+33
That is, information without signatures (for v1) nor range proofs and MGs (for v2)
2017-02-27node_rpc_proxy: allow caching daemon RPC versionmoneromooo-monero2-0/+26
2017-02-27wallet: invalidate node proxy cache when reconnectingmoneromooo-monero3-0/+14
2017-02-27Make get_random_gray_peer distribution uniformMiguel Herranz1-5/+2
get_random_gray_peer is used to implement feeler connections, described in: https://eprint.iacr.org/2015/263.pdf 2. Random selection
2017-02-26daemon: fix bc_dyn_stats via rpcmoneromooo-monero1-2/+2
2017-02-26Revert attempt to write to console on daemon shutdownNano Akron1-1/+0
2017-02-25Wallet API: Add support for daemon rpc loginJaquee3-4/+7
2017-02-25core: move hardfork back to cryptonote_coremoneromooo-monero7-9/+9
should fix a cross dependency betewen cryptonote_basic and blockchain_db
2017-02-25protocol: tone down a rate limit not implemented yet warningmoneromooo-monero1-1/+1
it scares users
2017-02-24daemon/rpc: updates command and RPCmoneromooo-monero8-0/+199
subcommands "check", "download", and "update". update is not yet implemented.
2017-02-24daemon: avoid pre-log-init spew on creating directoriesmoneromooo-monero1-1/+3
2017-02-24wallet: avoid pre-log-init spew on --versionmoneromooo-monero1-11/+11
2017-02-24update versionRiccardo Spagni1-1/+1
2017-02-24wallet_rpc_server: new --trusted-daemon flagmoneromooo-monero3-13/+17
and remove trusted_daemon fields from transfer RPCs, it is much friendlier on users
2017-02-24add rpc timeouts to calls that might timeoutRiccardo Spagni1-4/+4
2017-02-24blockchain_utilities: link against blockchain_dbmoneromooo-monero1-0/+1
2017-02-24simplewallet: updated help message for 'set ask-password'kenshi841-1/+1
2017-02-24protocol: fix "sync done" message not appearingmoneromooo-monero1-1/+3
2017-02-23core: protect precomputed block hashes with SHA256moneromooo-monero3-1/+41
2017-02-23rpc: s/rcp/rpc/moneromooo-monero1-1/+1
2017-02-23rpc: make mining_status RPC work when syncingmoneromooo-monero1-1/+1
2017-02-23core: bound the amount of entries in bad tx semantics cachemoneromooo-monero2-6/+16
This is to prevent unbounded memory use. Since I don't think there is a container that has quick insert, quick lookup, and automatic FIFO, I use two and swap every N, clearing the oldest one.
2017-02-23core: remove a couple unused/obsolete bitsmoneromooo-monero1-3/+0
2017-02-23Add print_pl_stats daemon commandMiguel Herranz5-0/+44
2017-02-23wallet2: fix wrong status on daemon shutdown/startupJaquee1-1/+5
2017-02-22fix broken checkpoints.datRiccardo Spagni1-0/+0
2017-02-22updates: fix user/auto url splitmoneromooo-monero1-1/+1
2017-02-22wallet2_api: add updates check apimoneromooo-monero2-0/+31
2017-02-22updates: remove testnet casemoneromooo-monero3-7/+4
It need not be any different
2017-02-22updates: we now have a user URL, and an automatic onemoneromooo-monero3-4/+5
So the user can use https, while the automatic does not have to
2017-02-22updates: s/monerod/monero/ for the main downloadmoneromooo-monero1-2/+2
Also print download success message as global log
2017-02-22updates: add all update serversmoneromooo-monero1-0/+4
2017-02-22updates: use HTTP, not HTTPSmoneromooo-monero1-1/+1
The files are hashed and the hashes signed
2017-02-21create a foreground non-interactive modeNoah Watkins3-0/+20
Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
2017-02-21core: do not download an update we already downloadedmoneromooo-monero1-14/+23
2017-02-21updates: use updates host, not downloads, for HTTPmoneromooo-monero1-1/+1
2017-02-21updated fallback nodesRiccardo Spagni1-6/+12
2017-02-21update version to 0.10.2Riccardo Spagni1-1/+1
2017-02-21update checkpoints.datRiccardo Spagni1-0/+0
2017-02-21update copyright year, fix occasional lack of newline at line endRiccardo Spagni220-220/+220
2017-02-21Add support for smart mining through wallet.Dion Ahmetaj1-8/+7
2017-02-21cmakify opensslRiccardo Spagni1-1/+3
2017-02-21Fix core_tests breaking on startupmoneromooo-monero2-1/+2
You're wondering how this fixes core tests, aren't you... It prevents the miner (initialized by cryptonote::core) from breaking trying to access arguments that were not added. Since the tests don't use the miner directly, it makes more sense to have cryptonote_core add those, since it also uses the miner.
2017-02-21dns_utils: fix infinite recursion when distributing empty dns_urlsanonimal1-0/+3
load_txt_records_from_dns attempts to distribute `a = 0, b = -1` where (b = dns_urls.size() - 1) and IntType is signed integer. This results in an infinite recursion which leads to SIGSEGV.
2017-02-21core: add p2p bind port options from net_nodemoneromooo-monero2-2/+6
They're now used by core to determine the data directory to use for the txpool directory. This fixes an assert in the core tests, which don't use the RPC server, which normally initializes the P2P code.
2017-02-20core: updates can now be downloaded (and SHA256 hash checked)moneromooo-monero4-0/+206
2017-02-20util: add a SHA256 functionmoneromooo-monero3-1/+37
2017-02-20core: test key images against validity domainmoneromooo-monero3-0/+32
2017-02-20Optionally query moneropulse DNS records to check for updatesmoneromooo-monero7-2/+225
It just checks and prints a message if there is a new version for now.
2017-02-20core: display any fork warning at startup toomoneromooo-monero1-1/+1
This is a good time for the operator to be around and see it
2017-02-20dns_utils: fix first checked DNS entry being ignoredmoneromooo-monero1-1/+0
2017-02-20util: add a vercmp function to compare version numbersmoneromooo-monero2-0/+18
It is simple, supports simple x.y.z type numeric versions, and does not attempt any kind of validation
2017-02-20dns_utils: factor TXT record loading code from checkpoint codemoneromooo-monero3-104/+110
2017-02-20tx_pool: revert template filling changesmoneromooo-monero1-0/+16
They are not ready yet
2017-02-19wallet2: fix failure to send (relatedness check in wrong case)moneromooo-monero1-5/+5
A relatedness check was meant to be done in the case of adding an extra output if just one was enough. This was mistakenly added to the "preferred output" case.
2017-02-18Get rid of directory lockHoward Chu2-58/+0
We don't need it any more. Fixes issue #1633
2017-02-18Handle map resizes from other processesHoward Chu1-9/+52
2017-02-18Can't cache num_txs or num_outputs eitherHoward Chu2-34/+34
Same reason as 3ff54bdd7a8b5e08e4e8ac17b7fff23ad3a82312
2017-02-18Add a few read txns to streamlineHoward Chu3-3/+11
Slight perf gain, but mainly to reduce spam at loglevel 3
2017-02-18wallet_api: fix logging init via apimoneromooo-monero3-1/+6
2017-02-16More robust battery status handling.Dion Ahmetaj8-29/+81
Added an extra path to check for linux power supply status. Added ignore battery option. If set to true, then when we can't figure out the power status, we'll assume the system is plugged in.
2017-02-15BACKGROUND_MINING_MINER_MONITOR_INVERVAL_IN_SECONDS was odr-used, so ↵Dion Ahmetaj1-4/+3
required a definition. Instead of adding a declaration to cpp file, I changed it to non odr-used.
2017-02-15Fix spurious synchronization status msgsHoward Chu1-1/+5
Only update target height if it's actually greater than the current target. Only display "synchronized" when current height equals target.
2017-02-14simplewallet: validate hex input sizemoneromooo-monero5-21/+21
2017-02-14core: add a missing newline on a string to be loggedmoneromooo-monero1-1/+1
2017-02-14hardfork: tone down some logsmoneromooo-monero1-3/+3
2017-02-13rpc: fix some RPC calls not returning OK status when neededmoneromooo-monero1-0/+3
2017-02-13daemon: silence spurious warning about uninitialized variablemoneromooo-monero1-3/+3
Also fixes a leak
2017-02-13Fix compiler error about nested externs in slow_hash.c by moving declarationsNanoAkron1-3/+3
2017-02-13blockchain_db: add "raw" blobdata getters for block and transactionmoneromooo-monero10-84/+225
This speeds up operations such as serving blocks to syncing peers
2017-02-13cryptonote_protocol: tweaks to the syncing speedupmoneromooo-monero1-6/+10
- only pause mining once we've got the lock (in practice, it'll already be paused by another thread if we can't get the lock at once though) - do not call prepare_handle_incoming_blocks when we dismissed all the blocks, it only causes cleanup_handle_incoming_blocks to complain afterwards
2017-02-13blockchain_db: do not throw on expected partial results getting keysmoneromooo-monero4-4/+11
When scanning for outputs used in a set of incoming blocks, we expect that some of the inputs in their transactions will not be found in the blockchain, as they could be in previous blocks in that set. Those outputs will be scanned there at a later point. In this case, we add a flag to control wehther an output not being found is expected or not.
2017-02-13network_throttle: demote spammy logs to TRACEmoneromooo-monero1-2/+2
2017-02-12tools: log to the correct filemoneromooo-monero2-2/+6
2017-02-12tools: set requested log levelmoneromooo-monero3-2/+4
also move a couple logs from INFO to DEBUG
2017-02-12protocol: speed up sync by minimizing duplicate workmoneromooo-monero2-2/+31
In particular, the prepare_handle_incoming_blocks call is pretty lengthy, and entirely pointless in the common case where several different connections will prepare the exact same blocks.
2017-02-12net_node: fix spurious warning about using uninitialized datamoneromooo-monero1-1/+1
This is only used to load, not save
2017-02-12Fixup choice of easylogging++ vs libunwind stack trace codemoneromooo-monero1-1/+1
2017-02-12tx_pool: add a debug message when adding a tx to the poolmoneromooo-monero1-0/+1