aboutsummaryrefslogtreecommitdiff
path: root/src (follow)
AgeCommit message (Collapse)AuthorFilesLines
2016-10-04wallet: better implementation of sweep_unmixablemoneromooo-monero2-222/+31
This was still using the old transaction creation algorithm, coupled with a deterministic output selection scheme, which made it ill suited to the job, since it'd loop indefinitely in case the fee increased between the test tx and adding the fee.
2016-10-04Fix build after spelling corrections in core_rpc_serverJacob Brydolf1-2/+2
2016-10-04Merge pull request #1179Riccardo Spagni2-0/+254
714ee99 Fix description for locked_transfer (Oyvind Kvanes) 71538f3 Rename to lockblocks and add max value (Oyvind Kvanes) 68ac060 Fix locked_transfer (Oyvind Kvanes) 7d020bd Add locked_transfer (Oyvind Kvanes) d5f918a Revert transfer_main in simplewallet (Oyvind Kvanes) 3451963 Add motifications to test out locked_transfer (Oyvind Kvanes) e5e6d88 Add more information to transaction in wallet (Oyvind Kvanes) 9b8a062 Make a small test change (Oyvind Kvanes)
2016-10-04Merge pull request #1177Riccardo Spagni1-1/+1
3644aa9 blockchain: avoid using a reference to a temporary (moneromooo-monero)
2016-10-04Merge pull request #1173Riccardo Spagni5-0/+57
65ea836 wallet2_api: added Wallet::daemonBlockChainTargetHeight() libwallet_api: Wallet::blockChainTargetHeight (Jacob Brydolf)
2016-10-04Merge pull request #1165Riccardo Spagni1-0/+12
e57379a p2p: drop any existing connection to a banned IP (moneromooo-monero)
2016-10-04Merge pull request #1164Riccardo Spagni3-12/+61
179b1f4 daemon: implement missing print_bc and matching RPC (moneromooo-monero)
2016-10-04Merge pull request #1160Riccardo Spagni4-3/+92
80b4da3 wallet: wallet option to confirm transfers with no payment id (moneromooo-monero)
2016-10-04Merge pull request #1139Riccardo Spagni15-37/+37
01ec195 Update CMakeLists.txt (codehalo) 446ebbc Update CMakeLists.txt (codehalo) bd773e7 Update CMakeLists.txt (codehalo) 3627cea Cleanup. Dropped "bit" from bitmonero. (Randi Joseph) 2a51396 Dropped "bit" from bitmonero. (Randi Joseph) 78b13d6 Cleanup. Dropped "bit" from bitmonero. (Randi Joseph) 1e6aedb Cleanup. Dropped "bit" from bitmonero. (Randi Joseph) 9e54616 Dropped "bit" from bitmonero. (Randi Joseph)
2016-10-04Merge pull request #1133Riccardo Spagni2-5/+2
cec090f Revert "Fix fake 'network synchronized, begin using' messages" (moneromooo-monero)
2016-10-04Merge pull request #1125Riccardo Spagni1-2/+4
7b09e9f wallet: update min mixin for sweep_unmixable on v4 (moneromooo-monero)
2016-10-04Merge pull request #1123Riccardo Spagni1-8/+0
0d036be blockchain: do not reject chain histories matching only genesis (moneromooo-monero)
2016-10-04Fix description for locked_transferOyvind Kvanes1-1/+1
2016-10-04Merge pull request #1171Riccardo Spagni9-89/+1
6390673 Removed all code related to fast_exit (NanoAkron)
2016-10-04Merge pull request #1168Riccardo Spagni6-17/+35
10be903 Brackets to prevent premature return (NanoAkron) fb1785a Brackets to ensure doesn't function prematurely return (NanoAkron) 8ed0d72 Moved logging to target functions rather than caller (NanoAkron) 442bfd1 Added messages at log level 2 to reflect deactivation procedure (NanoAkron)
2016-10-04Merge pull request #1162Riccardo Spagni1-1/+1
e5f8642 Update minimum mixin in transfer_original help text (TedTheFicus) ea45d61 Update minimum mixin in transfer_original help text (TedTheFicus)
2016-10-04Merge pull request #1152Riccardo Spagni3-24/+53
8b20cbf libwallet_api: do not use fast-refresh on recovery (Ilya Kitaev) 10fe626 libwallet_api: fast-refresh in case of opening non-synced wallet (Ilya Kitaev) 0019e31 libwallet_api: fix unhandled exception on address check (Ilya Kitaev) 1f73f80 libwallet_api: fast-refresh for new wallet (Ilya Kitaev) 4789347 libwallet_api: test for create/init wallet on mainnet (Ilya Kitaev)
2016-10-04Merge pull request #1149Riccardo Spagni4-28/+28
25be1d3 Noticed two spellings of the word 'response' in the codebase, one 'responce' and the other 'response'. (NanoAkron)
2016-10-04Merge pull request #1145Riccardo Spagni1-1/+1
8438fb4 Improving daemon startup log message (NanoAkron)
2016-10-04Merge pull request #1140Riccardo Spagni9-132/+848
bba6af9 wallet: cold wallet transaction signing (moneromooo-monero) 9872dcb wallet: fix log confusion between bytes and kilobytes (moneromooo-monero) d9b0bf9 cryptonote_core: make extra field removal more generic (moneromooo-monero) 98f19d4 serialization: add support for serializing std::pair and std::list (moneromooo-monero)
2016-10-04Rename to lockblocks and add max valueOyvind Kvanes1-45/+30
2016-10-04Brackets to prevent premature returnNanoAkron1-0/+2
2016-10-04Brackets to ensure doesn't function prematurely returnNanoAkron1-0/+2
2016-10-03blockchain: avoid using a reference to a temporarymoneromooo-monero1-1/+1
2016-10-03Moved logging to target functions rather than callerNanoAkron6-21/+31
2016-10-03wallet2_api: added Wallet::daemonBlockChainTargetHeight()Jacob Brydolf5-0/+57
libwallet_api: Wallet::blockChainTargetHeight Signed-off-by: Jacob Brydolf <jacob@brydolf.net>
2016-10-03Removed all code related to fast_exitNanoAkron9-89/+1
2016-10-02Added messages at log level 2 to reflect deactivation procedureNanoAkron1-0/+4
2016-10-02p2p: drop any existing connection to a banned IPmoneromooo-monero1-0/+12
2016-10-02daemon: implement missing print_bc and matching RPCmoneromooo-monero3-12/+61
2016-10-01Update minimum mixin in transfer_original help textTedTheFicus1-1/+1
Changed the wording from "from 0 to maximum available" to "from 2 to maximum available". May I also suggest putting in a number rather than "maximum available" and also clarifying that mixin = 0 is still allowed if the user has unmixable outputs (dust), which he wants to "undust" using sweep_unmixable (comment from dEBRUYNE-1 ).
2016-10-01libwallet_api: do not use fast-refresh on recoveryIlya Kitaev2-3/+10
2016-10-01wallet: wallet option to confirm transfers with no payment idmoneromooo-monero4-3/+92
set confirm-missing-payment-id 0|1 Defaults to true.
2016-09-30libwallet_api: fast-refresh in case of opening non-synced walletIlya Kitaev2-6/+5
2016-09-30libwallet_api: fix unhandled exception on address checkIlya Kitaev1-12/+16
2016-09-30libwallet_api: fast-refresh for new walletIlya Kitaev2-9/+28
2016-09-29Merge pull request #1124Riccardo Spagni1-1/+11
8b4e7c6 daemon: report status at 99.9% rather than 100% when not quite synced (moneromooo-monero)
2016-09-29Merge pull request #1128Riccardo Spagni1-1/+1
d2e11f3 db_lmdb: do not error if dropping a non existent hard fork table (moneromooo-monero)
2016-09-29Merge pull request #1129Riccardo Spagni5-2/+23
5e3e362 core: make the sync chunk block count overridable (moneromooo-monero)
2016-09-29Noticed two spellings of the word 'response' in the codebase, one 'responce' ↵NanoAkron4-28/+28
and the other 'response'. Fixed to the standard spelling 'response'. This may fix some functionality - some calls had mixed spellings.
2016-09-28Fix locked_transferOyvind Kvanes1-6/+3
2016-09-28Add locked_transferOyvind Kvanes1-87/+83
2016-09-28Revert transfer_main in simplewalletOyvind Kvanes2-22/+279
2016-09-28Add motifications to test out locked_transferOyvind Kvanes1-6/+18
2016-09-28Add more information to transaction in walletOyvind Kvanes1-1/+8
2016-09-28Make a small test changeOyvind Kvanes1-1/+1
2016-09-28Improving daemon startup log messageNanoAkron1-1/+1
2016-09-28wallet2: wallet2::get_daemon_blockchain_height() clean error message onIlya Kitaev1-0/+4
success
2016-09-28libwallet_api: Wallet::setAutoRefreshInterval sanity checkIlya Kitaev1-1/+9
2016-09-28libwallet_api: explicitly return 0 in Wallet::daemonBlockChainHeight()Ilya Kitaev1-0/+2
on error
2016-09-27wallet: cold wallet transaction signingmoneromooo-monero6-122/+623
This change adds the ability to create a new unsigned transaction from a watch only wallet, and save it to a file. This file can then be moved to another computer/VM where a cold wallet may load it, sign it, and save it. That cold wallet does not need to have a blockchain nor daemon. The signed transaction file can then be moved back to the watch only wallet, which can load it and send it to the daemon. Two new simplewallet commands to use it: sign_transfer (on the cold wallet) submit_transfer (on the watch only wallet) The transfer command used on a watch only wallet now writes an unsigned transaction set in a file called 'unsigned_monero_tx' instead of submitting the tx to the daemon as a normal wallet does. The signed tx file is called 'signed_monero_tx'.
2016-09-27Update CMakeLists.txtcodehalo1-1/+0
2016-09-27Update CMakeLists.txtcodehalo1-1/+1
2016-09-27Update CMakeLists.txtcodehalo1-11/+6
2016-09-26wallet: fix log confusion between bytes and kilobytesmoneromooo-monero1-2/+2
2016-09-26cryptonote_core: make extra field removal more genericmoneromooo-monero2-4/+4
2016-09-26serialization: add support for serializing std::pair and std::listmoneromooo-monero3-4/+219
2016-09-26Cleanup. Dropped "bit" from bitmonero.Randi Joseph1-5/+11
2016-09-26Cleanup. Dropped "bit" from bitmonero.Randi Joseph2-5/+5
2016-09-26Cleanup. Dropped "bit" from bitmonero.Randi Joseph1-1/+1
2016-09-26Dropped "bit" from bitmonero.Randi Joseph13-31/+31
2016-09-26Cleanup. Dropped "bit" from bitmonero.Randi Joseph1-1/+1
2016-09-26formatting: 2-spaces indentationIlya Kitaev1-20/+20
2016-09-26formatting: 2-spaces indentationIlya Kitaev1-1/+1
2016-09-26wallet2_api: milliseconds resolution for auto-refresh intervalIlya Kitaev3-13/+13
2016-09-26wallet2_api: added Wallet::daemonBlockChainHeight()Ilya Kitaev5-4/+57
2016-09-26libwallet_api: Wallet::blockChainHeight, WalletListener::newBlockIlya Kitaev3-3/+42
2016-09-26Merge pull request #1117Riccardo Spagni1-1/+1
fc855c1 Made error message consistent with other, more helpful, message (Will Skinner)
2016-09-26Merge pull request #1116Riccardo Spagni3-4/+46
2e18e10 libwallet_api: simple documentation on testing environment (Ilya Kitaev) 69c9824 libwallet_api: tests: env variables for WALLETS_ROOT_DIR and TESTNET_DAEMON_ADDRESS (Ilya Kitaev) 1f8a70c libwallet_api: tests: changed testwallets path, uncommitted all tests (Ilya Kitaev) d5d0856 wallet2_api: getter and setter for "refresh interval" (Ilya Kitaev) cdb6c96 wallet2_api: fixed deadlock while closing wallet (Ilya Kitaev)
2016-09-26Merge pull request #1113Riccardo Spagni1-2/+2
12427dd Fix minor typo in "need resize" message. (Myagui)
2016-09-26Dropped "bit" from bitmonero.Randi Joseph15-36/+36
2016-09-25Revert "Fix fake 'network synchronized, begin using' messages"moneromooo-monero2-5/+2
This reverts commit 78035d2b6c9922f4cd730df0766aa74f4854ccb2. The patch doesn't work, and causes constant SYNCHRONIZED OK spam.
2016-09-24core: make the sync chunk block count overridablemoneromooo-monero5-2/+23
2016-09-24db_lmdb: do not error if dropping a non existent hard fork tablemoneromooo-monero1-1/+1
2016-09-24wallet: update min mixin for sweep_unmixable on v4moneromooo-monero1-2/+4
2016-09-24daemon: report status at 99.9% rather than 100% when not quite syncedmoneromooo-monero1-1/+11
Less confusing for users.
2016-09-24blockchain: do not reject chain histories matching only genesismoneromooo-monero1-8/+0
This is fine if our local chain is so small that it is entirely contained within the last jump in the peer's short chain history.
2016-09-22Made error message consistent with other, more helpful, messageWill Skinner1-1/+1
2016-09-21Fix minor typo in "need resize" message.Myagui1-2/+2
Message observed while synchronizing a node from scratch. "LMDB memory map needs resized" Proposing a change to: "LMDB memory map needs to be resized"
2016-09-20wallet2_api: getter and setter for "refresh interval"Ilya Kitaev3-1/+39
2016-09-20wallet2_api: fixed deadlock while closing walletIlya Kitaev1-3/+7
2016-09-19Remove redundant "default" in set mixin help descJ Ryan Littlefield1-1/+1
2016-09-18Merge pull request #1102v0.10.0Riccardo Spagni14-6/+29
eeb2bbc epee: optionally restrict HTTP service to a configurable user agent (moneromooo-monero)
2016-09-18Merge pull request #1101Riccardo Spagni1-36/+16
56ff099 fixed tag detector (Riccardo Spagni)
2016-09-18epee: optionally restrict HTTP service to a configurable user agentmoneromooo-monero14-6/+29
This is intended to catch traffic coming from a web browser, so we avoid issues with a web page sending a transfer RPC to the wallet. Requiring a particular user agent can act as a simple password scheme, while we wait for 0MQ and proper authentication to be merged.
2016-09-18fixed tag detectorRiccardo Spagni1-36/+16
2016-09-18Merge pull request #1099Riccardo Spagni7-37/+28
c2faab5 fix v5 height (Riccardo Spagni) 70bd7d8 remove dead backup seed nodes, add new ones (Riccardo Spagni) cebbcf0 fix v5 fork date description (Riccardo Spagni) eb60fa2 update version (Riccardo Spagni) c41098a updated fork heights for v4 and v5 (Riccardo Spagni) c69b8a1 update block headers (Riccardo Spagni) f148af2 add checkpoints (Riccardo Spagni) c15da0e switch wallet API from std thread/mutex to boost (Riccardo Spagni) 8a274ea switch wallet API from std thread/mutex to boost (Riccardo Spagni)
2016-09-18fix v5 heightRiccardo Spagni1-1/+1
2016-09-18remove dead backup seed nodes, add new onesRiccardo Spagni1-24/+6
2016-09-18fix v5 fork date descriptionRiccardo Spagni1-1/+1
2016-09-18update versionRiccardo Spagni1-2/+2
2016-09-18updated fork heights for v4 and v5Riccardo Spagni1-0/+7
2016-09-18update block headersRiccardo Spagni1-0/+0
2016-09-18add checkpointsRiccardo Spagni1-0/+2
2016-09-18Merge pull request #1098Riccardo Spagni1-2/+4
1dd5b0b wallet: keep change dest separate from other dests (moneromooo-monero)
2016-09-18Merge pull request #1097Riccardo Spagni1-0/+6
5f5d727 wallet: fix empty tx in corner case sending nothing (moneromooo-monero)
2016-09-18switch wallet API from std thread/mutex to boostRiccardo Spagni2-11/+11
2016-09-18wallet: keep change dest separate from other destsmoneromooo-monero1-2/+4
This fixes misreporting of amount/fee in rct txes, as the rct tx construction code was lumping all dests (whether change or not) in the same dests vector, while the pre-rct code was keeping it separate.
2016-09-18wallet: fix empty tx in corner case sending nothingmoneromooo-monero1-0/+6
2016-09-18Merge pull request #1094Riccardo Spagni16-69/+64
06bb692 cmake: support BUILD_SHARED_LIBS built-in option (redfish) e1c7af3 cmake: transitive deps and remove deprecated LINK_* (redfish) 54010b9 crypto: armv7: slow-hash: remove redundant source include (redfish)
2016-09-18Merge pull request #1093Riccardo Spagni1-1/+2
e86c5b9 miner: do not try to save config if the path isn't set (moneromooo-monero)
2016-09-18Merge pull request #1089Riccardo Spagni1-10/+11
368485d simplewallet: do not expose the details of tx splitting to the user (moneromooo-monero)
2016-09-18miner: do not try to save config if the path isn't setmoneromooo-monero1-1/+2
This saves on an exception dump when trying to write to / after finding a block.
2016-09-18cmake: support BUILD_SHARED_LIBS built-in optionredfish1-1/+1
Support building internal libraries as shared. This reduces development time by eliminating the need to re-link all binaries every time non-interface code in the library changes. Instead, can hack on libxyz, then `make libxyz`, and re-run monerod. By default BUILD_SHARED_LIBS is OFF in release build type, and ON in debug build type, but can be overriden with -D.
2016-09-18cmake: transitive deps and remove deprecated LINK_*redfish15-67/+63
Keep the immediate direct deps at the library that depends on them, declare deps as PUBLIC so that targets that link against that library get the library's deps as transitive deps. Break dep cycle between blockchain_db <-> crytonote_core. No code refactoring, just hide cycle from cmake so that it doesn't complain (cycles are allowed only between static libs, not shared libs). This is in preparation for supproting BUILD_SHARED_LIBS cmake built-in option for building internal libs as shared.
2016-09-18crypto: armv7: slow-hash: remove redundant source includeredfish1-1/+0
aesb.c is already present in libcrypto as a standalone object. Tested: builds and runs fine on armv7, static and dynamic.
2016-09-17simplewallet: do not expose the details of tx splitting to the usermoneromooo-monero1-10/+11
They're confusing, as people think it reports their balance.
2016-09-17simplewallet: fix wrong amount in show_transfers for pending transactionsmoneromooo-monero1-1/+1
Change was not taken into consideration
2016-09-17Merge pull request #1080Riccardo Spagni1-0/+3
423776f daemon: log version when starting (moneromooo-monero)
2016-09-16daemon: log version when startingmoneromooo-monero1-0/+3
Helps with investigating bug reports
2016-09-16wallet: change priority/fee to ArticMine's recommendationmoneromooo-monero8-64/+84
We keep 1, 2, 3 multipliers till the fee decrase from 0.01/kB to 0.002/kB, where we start using 1, 20, 166 multipliers. This ensures the higher multiplier will compensate for the block reward penalty when pushing past 100% of the past median. The fee-multiplier wallet setting is now rename to priority, since it keeps its [0..3] range, but maps to different multiplier values.
2016-09-16Merge pull request #1077Riccardo Spagni1-42/+295
69b5918 Add ARMv8-A AES support (Howard Chu)
2016-09-16Add ARMv8-A AES supportHoward Chu1-42/+295
More than twice as fast as plain C code. Note that both ARMv7 and ARMv8 can be further improved with better use of NEON. Also tweak ARMv7 multiplier
2016-09-15compile errors fixed when PER_BLOCK_CHECKPOINT not definedrckngOpossum1-1/+3
2016-09-15compile errors fixed when DEBUG_CREATE_BLOCK_TEMPLATE definedrckngOpossum3-2/+8
2016-09-15Merge pull request #1074Riccardo Spagni3-15/+21
cd01bae Decrease minimum fee from 0.01/kB to 0.002/kB (moneromooo-monero)
2016-09-15Merge pull request #1068Riccardo Spagni2-1/+3
a5af33d Add libminiupnpc and libunwind to snap. (Casey Marshall) 823843e Fix portability issues discovered with fresh snap install. (Casey Marshall) 0a56d83 Add snap packaging. (Casey Marshall)
2016-09-15Merge pull request #1067Riccardo Spagni6-73/+193
70b78bb wallet: fix misdetection of duplicates (moneromooo-monero) 7d413f6 rct: rework serialization to avoid storing vector sizes (moneromooo-monero) 0ce79ef core: cleanup some typecasting (moneromooo-monero)
2016-09-15Decrease minimum fee from 0.01/kB to 0.002/kBmoneromooo-monero3-15/+21
The wallet will start using that fee about two weeks after hard fork 3, when most people will likely have updated their daemons.
2016-09-14wallet: fix misdetection of duplicatesmoneromooo-monero1-11/+3
2016-09-14rct: rework serialization to avoid storing vector sizesmoneromooo-monero5-58/+186
2016-09-14core: cleanup some typecastingmoneromooo-monero1-4/+4
2016-09-11Add snap packaging.Casey Marshall2-1/+3
This adds [snap](https://snapcraft.io) packaging to the project. See the link for more information on snaps. Snap packages install on all Linux distributions. On Ubuntu, snap confinement with apparmor and seccomp provide an additional layer of security. This snap sets up monerod as a systemd service, which should start immediately on install. To access the wallet CLI, simply run `monero` (/snap/bin/monero). I think it's a really quick & easy way to get started with monero. I've made some opinionated decisions in the packaging just to kick this off, but I'm happy to iterate on this stuff.
2016-09-10Daemon: fix hashrate display in diff command outputiDunk54001-1/+1
2016-09-10Merge pull request #1049Riccardo Spagni2-3/+13
24d9337 crypto,cmake: enable ASM mul impl on ARM; add cmake opt (redfish)
2016-09-10Merge pull request #1044Riccardo Spagni1-0/+2
b1d5189 cmake: fix def propagation, fixes 32-bit build (redfish)
2016-09-04crypto,cmake: enable ASM mul impl on ARM; add cmake optredfish2-3/+13
This was disabled earlier as part of diagnosing failing tests on ARM, which turned out to be due to aliasing, fixed by adding -fno-strict-aliasing. So, re-enabling it back.
2016-09-03cmake: fix def propagation, fixes 32-bit buildredfish1-0/+2
32-bit build would fail to link with 'mdb_env_create undefined' (because for 32-bit build, mdb_env_create_vl32 is defined instead). This bug was introduced with the recent change to virtual object libraries. The problem is that the COMPILE_DEFINITIONS property was not propagated from dependee target (lmdb) to depedent target's (blockchain_db) virtual object lib (obj_blockchain_db). This patch makes that happen. I chose to include INTERFACE_COMPILE_DEFINITIONS because there should not be a need to propagate private defs, but it doesn't make a difference in this case.
2016-09-03fix nigglies, as pointed out by moneromooo-moneroRiccardo Spagni2-9/+4
2016-09-03fix remaining bitmonero and simplewallet bitsRiccardo Spagni4-10/+10
2016-09-03fix blockchain utilities readmeRiccardo Spagni1-42/+15
2016-09-03Merge pull request #1039Riccardo Spagni11-1204/+6
883d651 remove blockchain_dump (Riccardo Spagni) 7825386 fix leftover add_directory (Riccardo Spagni) face573 rename simplewallet (Riccardo Spagni) 2e984bc rename Monero daemon (Riccardo Spagni) b6973b8 rename blockchain utils (Riccardo Spagni) f968ccb remove cn_deserialize (Riccardo Spagni) 7a38e4e removed simpleminer (Riccardo Spagni)
2016-09-03Merge pull request #1038Riccardo Spagni1-9/+13
43677f9 gui/libwallet_merged: libunbound is one more dependency (Ilya Kitaev)
2016-09-03remove blockchain_dumpRiccardo Spagni2-444/+0
2016-09-03fix leftover add_directoryRiccardo Spagni1-1/+0
2016-09-03rename simplewalletRiccardo Spagni1-0/+3
2016-09-03rename Monero daemonRiccardo Spagni1-1/+1
2016-09-03rename blockchain utilsRiccardo Spagni1-3/+3
2016-09-03remove cn_deserializeRiccardo Spagni2-217/+0
2016-09-03removed simpleminerRiccardo Spagni5-539/+0
2016-09-03gui/libwallet_merged: libunbound is one more dependencyIlya Kitaev1-9/+13
2016-09-01Merge pull request #1033Riccardo Spagni1-1/+1
4d17949 wallet_merged: ringct added to dependencies (Ilya Kitaev)
2016-09-01wallet_merged: ringct added to dependenciesIlya Kitaev1-1/+1
2016-09-01Re-add s to rangesigsluigi11111-2/+2
Whoops.
2016-09-01Fix some rct tx size calculationsluigi11111-9/+6
Some variance is still expected
2016-09-01Merge pull request #1029Riccardo Spagni1-21/+33
f1d87c8 simplewallet: add magic and public keys to key image export file (moneromooo-monero) f4e894a simplewallet: make the key image export format binary (moneromooo-monero)
2016-09-01simplewallet: add magic and public keys to key image export filemoneromooo-monero1-5/+30
This ensures it's hard to mix files up
2016-09-01simplewallet: make the key image export format binarymoneromooo-monero1-18/+5
Saves on space, and on some pointless hex conversions
2016-09-01Merge pull request #1022Riccardo Spagni2-6/+5
b8c03a5 Remove blocks_per_sync limits (Howard Chu)
2016-09-01Merge pull request #1027Riccardo Spagni1-0/+2
85dc0ce wallet: sanity check on histogram response (moneromooo-monero)
2016-09-01Merge pull request #1021Riccardo Spagni2-2/+2
1d5ba65 Fix incorrect help usage for the threads option to start_mining (Quanah Gibson-Mount)
2016-09-01Merge pull request #1018Riccardo Spagni6-11/+18
6cf8ca2 core: faster find_blockchain_supplement (moneromooo-monero)
2016-09-01Merge pull request #1016Riccardo Spagni1-1/+3
3112e24 wallet: interpret 0 fee multiplier as default for sweep_all too (moneromooo-monero)
2016-09-01Merge pull request #1012Riccardo Spagni1-1/+4
c2941cb Show correct amount of days behind/ahead while syncing (tobiasw2)
2016-09-01Merge pull request #1007Riccardo Spagni2-4/+12
1de812a cmake: merge libs via virtual object libraries (redfish) a7498ad cmake: comply with the new policy CMP0026 (redfish)
2016-09-01wallet: sanity check on histogram responsemoneromooo-monero1-0/+2
2016-08-31core: faster find_blockchain_supplementmoneromooo-monero6-11/+18
Since this queries block heights for blocks that may or may not exist, queries for non existing blocks would throw an exception, and that would slow down the loop a lot. 7 seconds to go through a 30 hash list. Fix this by adding an optional return block height to block_exists and using this instead. Actual errors will still throw an exception. This also cuts down on log exception spam.
2016-08-30cmake: merge libs via virtual object librariesredfish2-4/+12
CMake issued a warming about policy CMP0026: access of LOCATION target property at config time was disallowed. Offending code was the code that merged static libraries to generate libwallet_merged.a. This patch does that same merge task in a much simpler way. And, since it doesn't violate the policy, the warning went away.
2016-08-31Remove blocks_per_sync limitsHoward Chu2-6/+5
The code used to cap at 5000 blocks per sync. It also treated 0 as 1. Remove these checks; if specified as 0 do no periodic syncs at all. Then the user is responsible for syncing in some external process.
2016-08-30Fix incorrect help usage for the threads option to start_miningQuanah Gibson-Mount2-2/+2
2016-08-30Show correct amount of days behind/ahead while syncingtobiasw21-1/+4
2016-08-30wallet: interpret 0 fee multiplier as default for sweep_all toomoneromooo-monero1-1/+3
2016-08-30Merge pull request #1014Riccardo Spagni1-1/+3
1cdba42 db_lmdb: fix reorg with "halfway rct" coinbase outputs (moneromooo-monero)
2016-08-29db_lmdb: fix reorg with "halfway rct" coinbase outputsmoneromooo-monero1-1/+3
2016-08-29wallet: fix not finding enough rct fake outputsmoneromooo-monero1-3/+8
If picking coinbase outputs, those are locked for a longer time than other outputs, so we ask for more of those
2016-08-29More for PR#999Howard Chu1-1/+1
2016-08-29wallet_rpc_server: return payment id in make_integrated_address RPCmoneromooo-monero2-0/+3
It is useful, especially when requesting a random one
2016-08-29Merge pull request #1002Riccardo Spagni1-1/+6
91ca0b4 core: allow empty global indices for txes with empty vout (moneromooo-monero)
2016-08-29core: allow empty global indices for txes with empty voutmoneromooo-monero1-1/+6
2016-08-28Merge pull request #999Riccardo Spagni1-13/+14
dc411ea Change default db-sync-mode to fast, not fastest (Howard Chu)
2016-08-28blockchain: testnet heights for v3, v4, and v5moneromooo-monero1-0/+4
2016-08-28ringct: remove unused codemoneromooo-monero1-245/+0
2016-08-28ringct: pass structure by const ref, not valuemoneromooo-monero2-2/+2
2016-08-28ringct: use memcpy/memset instead of handwritten loop where appropriatemoneromooo-monero1-29/+11
2016-08-28ringct: remove spurious copiesmoneromooo-monero1-24/+4
2016-08-28rct: faster Cryptonote/rct conversionsmoneromooo-monero1-8/+8
2016-08-28wallet: fix some "may be used uninitialized" warningsmoneromooo-monero3-26/+25
The compiler can't always work out the _found booleans are set iff the value is initialized.
2016-08-28wallet: do not generate 0 changemoneromooo-monero1-3/+6
2016-08-28core: use full rct signatures if just one inputmoneromooo-monero1-1/+4
It is slightly smaller, but requires all rings to have the real input on the same index, so can only be used for single input txes.
2016-08-28rct: early out on failure on verRangemoneromooo-monero1-3/+5
2016-08-28wallet: do not ask for duplicate histogramsmoneromooo-monero1-0/+3
2016-08-28wallet: transfer_selected_rct now also selects fake outsmoneromooo-monero4-174/+95
2016-08-28increase minimum mixin to 4 on hard fork 5moneromooo-monero1-2/+3
2016-08-28core: allow v1 txes after HF 5 when sweeping unmixable outputsmoneromooo-monero2-16/+19
2016-08-28ringct: use Cryptonote serialization to hash non prunable datamoneromooo-monero1-21/+9
2016-08-28New "Halfway RingCT" outputs for coinbase transactionsmoneromooo-monero9-25/+92
When RingCT is enabled, outputs from coinbase transactions are created as a single output, and stored as RingCT output, with a fake mask. Their amount is not hidden on the blockchain itself, but they are then able to be used as fake inputs in a RingCT ring. Since the output amounts are hidden, their "dustiness" is not an obstacle anymore to mixing, and this makes the coinbase transactions a lot smaller, as well as helping the TXO set to grow more slowly. Also add a new "Null" type of rct signature, which decreases the size required when no signatures are to be stored, as in a coinbase tx.
2016-08-28rct: log why verification failsmoneromooo-monero1-9/+13
and remove some unnecessary variables in the checking code
2016-08-28rct: serialize txnFee as varintmoneromooo-monero1-1/+1
2016-08-28rct amount key modified as per luigi1111's recommendationsmoneromooo-monero13-117/+68
This allows the key to be not the same for two outputs sent to the same address (eg, if you pay yourself, and also get change back). Also remove the key amounts lists and return parameters since we don't actually generate random ones, so we don't need to save them as we can recalculate them when needed if we have the correct keys.
2016-08-28rct: rework v2 txes into prunable and non prunable datamoneromooo-monero6-51/+112
Nothing is pruned, but this allows easier changes later.
2016-08-28rct: rework the verification preparation processmoneromooo-monero5-196/+191
The whole rct data apart from the MLSAGs is now included in the signed message, to avoid malleability issues. Instead of passing the data that's not serialized as extra parameters to the verification API, the transaction is modified to fill all that information. This means the transaction can not be const anymore, but it cleaner in other ways.
2016-08-28rct: change the simple flag to a typemoneromooo-monero6-23/+44
for future expansion
2016-08-28rct: avoid the need for the last II elementShen Noether5-51/+53
This element is used in the generation of the MLSAG, but isn't needed in verification. Also misc changes in the cryptonote code to match, by mooo.
2016-08-28wallet: do not store signatures in the wallet cachemoneromooo-monero9-30/+89
Saves some substantial space. Also avoid calculating tx hashes we don't need.
2016-08-28core: add some locking around pool usemoneromooo-monero2-1/+4
2016-08-28wallet2: factor m_spent changesmoneromooo-monero2-26/+31
Makes it easier to track what is going on.
2016-08-28wallet: always use new algorithm for RPC transfersmoneromooo-monero2-7/+2
This ensures we get rct transactions when appropriate
2016-08-28rct: do not serialize senderPk - it is not used anymoremoneromooo-monero2-2/+2
2016-08-28wallet: use the prefered rct case only when enough rct outs existmoneromooo-monero2-1/+27
2016-08-28wallet: do not try to use rct txes a few blocks before the forkmoneromooo-monero3-22/+31