aboutsummaryrefslogtreecommitdiff
path: root/src/wallet (follow)
AgeCommit message (Collapse)AuthorFilesLines
2016-11-24Merge pull request #1361Riccardo Spagni1-3/+3
1d9e223 rpc: do not include output indices for pool txes (moneromooo-monero) e227d6e rpc: bump version after RPC changes (moneromooo-monero) 2c0173c Add a get_outs (fully text based) version of get_outs.bin (moneromooo-monero) e05907b rpc: add output indices to gettransactions (moneromooo-monero)
2016-11-24Merge pull request #1358Riccardo Spagni2-7/+52
7abfc54 wallet: fix exporting outputs and key images with txes with two pubkeys (moneromooo-monero)
2016-11-24Merge pull request #1357Riccardo Spagni1-1/+2
5fc36f9 wallet2_api: fix history leak on destruction (moneromooo-monero)
2016-11-24Merge pull request #1356Riccardo Spagni1-0/+11
69b188c wallet2_api: fix payment ids from integrated addresses being ignored (moneromooo-monero)
2016-11-24Merge pull request #1352Riccardo Spagni1-1/+1
d01f5c7 wallet2: fix illegal memory access removing newlines from password (moneromooo-monero)
2016-11-24Merge pull request #1351Riccardo Spagni1-4/+5
e6264a2 wallet2: fix decrypting a bit too much in authenticated mode (moneromooo-monero)
2016-11-23Fix DNS failures in offline mode preventing daemon startupmoneromooo-monero1-1/+1
2016-11-23wallet2: fix wrong change being recorded for cold signed txesmoneromooo-monero2-3/+11
2016-11-22Add a get_outs (fully text based) version of get_outs.binmoneromooo-monero1-3/+3
2016-11-19wallet: fix exporting outputs and key images with txes with two pubkeysmoneromooo-monero2-7/+52
This also needs to make sure to pick the correct one, in the case where cold signing caused to tx keys to be included.
2016-11-18wallet2_api: fix history leak on destructionmoneromooo-monero1-1/+2
2016-11-18wallet2_api: fix payment ids from integrated addresses being ignoredmoneromooo-monero1-0/+11
2016-11-18Clamp refresh from height to blockchain height.Dion Ahmetaj1-43/+69
2016-11-17wallet2: fix illegal memory access removing newlines from passwordmoneromooo-monero1-1/+1
2016-11-17wallet2: fix decrypting a bit too much in authenticated modemoneromooo-monero1-4/+5
2016-11-17Merge pull request #1346Riccardo Spagni2-0/+12
4eb7347 wallet: return fee in transfer RPC (moneromooo-monero)
2016-11-17Merge pull request #1318Riccardo Spagni5-2/+43
4fca34d Wallet2: calculate approximate blockchain height on offline creation (Jacob Brydolf)
2016-11-16wallet: return fee in transfer RPCmoneromooo-monero2-0/+12
2016-11-16wallet: auto sync outputs and key images in cold signing filesmoneromooo-monero2-2/+52
When passing around unsigned and signed transactions, outputs and key images are passed along (outputs are passed along unsigned transactions from the hot wallet to the cold wallet, key images are passed along with signed transations from the cold wallet to the hot wallet), to allow more user friendly syncing between hot and cold wallets.
2016-11-16wallet2: fill key image and pubkey maps when importing outputsmoneromooo-monero1-0/+2
2016-11-16wallet: cast indices to string in logs to be nice to CLANGmoneromooo-monero1-4/+4
2016-11-16wallet2: try all tx keys when scanning a new transactionmoneromooo-monero1-2/+7
The vast majority of transactions will have just one tx pubkey, but a bug with cold wallet signing caused two such keys to be there, with the second one being the real one.
2016-11-15wallet2: fill in key image map when importing key imagesmoneromooo-monero1-0/+1
2016-11-13wallet: fix serialization of new m_key_image_known membermoneromooo-monero1-2/+16
2016-11-13Wallet2: calculate approximate blockchain height on offline creationJacob Brydolf5-2/+43
Wallet API: add approximateBlockChainHeight()
2016-11-12Don't build monero-wallet-rpc when building the GUIiDunk54001-29/+31
2016-11-12wallet: add version dependency to the wallet targetmoneromooo-monero1-0/+1
2016-11-11Merge pull request #1316Riccardo Spagni9-18/+1123
358e068 Created monero-wallet-rpc, moving functionality from monero-wallet-cli (Lee Clagett)
2016-11-11Merge pull request #1315Riccardo Spagni2-2/+13
9150a16 Wallet API: use stored refresh height when rebuilding cache (Jacob Brydolf)
2016-11-11Merge pull request #1314Riccardo Spagni1-6/+9
63772e4 wallet: fix corner case of no recent outputs available (moneromooo-monero)
2016-11-10Created monero-wallet-rpc, moving functionality from monero-wallet-cliLee Clagett9-18/+1123
2016-11-09wallet2_api: support for sweeping allmoneromooo-monero3-11/+33
2016-11-09Wallet API: use stored refresh height when rebuilding cacheJacob Brydolf2-2/+13
2016-11-09wallet: fix corner case of no recent outputs availablemoneromooo-monero1-6/+9
Also clarify related logs
2016-11-09Merge pull request #1310Riccardo Spagni3-0/+101
40a68e2 wallet2_api: add API for create_unmixable_sweep_transactions (moneromooo-monero)
2016-11-09Merge pull request #1309Riccardo Spagni3-0/+35
c441a61 wallet2_api: API to sign and verify a message (moneromooo-monero)
2016-11-09Merge pull request #1307Riccardo Spagni3-2/+13
4dcb74f wallet_api: PendingTransaction::txCount - number of split transactions (Ilya Kitaev)
2016-11-09Merge pull request #1305Riccardo Spagni2-20/+46
c80f4d4 wallet: fix output collision detection for view wallets (moneromooo-monero)
2016-11-08wallet2_api: API to sign and verify a messagemoneromooo-monero3-0/+35
2016-11-09wallet_api: PendingTransaction::txCount - number of split transactionsIlya Kitaev3-2/+13
2016-11-08Merge pull request #1308Riccardo Spagni1-0/+6
0c530de Wallet API: Pause refresh while creating transaction (Jacob Brydolf)
2016-11-08Merge pull request #1306Riccardo Spagni2-0/+61
8aba0d4 wallet: encrypt outputs and key images files with the view key (moneromooo-monero)
2016-11-08Merge pull request #1302Riccardo Spagni3-5/+17
63fe6fd wallet2_api: allow connection to return "yes, but wrong version" (moneromooo-monero)
2016-11-08Merge pull request #1301Riccardo Spagni3-0/+22
35da3cb Wallet API: added getTxKey() (Jacob Brydolf)
2016-11-08Wallet API: added getTxKey()Jacob Brydolf3-0/+22
2016-11-08Merge pull request #1300Riccardo Spagni1-1/+1
eb19492 wallet2_api: do not copy the whole pending tx when iterating (moneromooo-monero)
2016-11-08Merge pull request #1298Riccardo Spagni5-0/+46
97288a5 wallet2_api: add API for tx notes (moneromooo-monero)
2016-11-08Merge pull request #1297Riccardo Spagni3-0/+167
af8a260 wallet_api: txkey checking functions for the GUI (moneromooo.monero)
2016-11-08Merge pull request #1285Riccardo Spagni2-17/+14
a970a4e refresh speedup (luigi1111)
2016-11-08Merge pull request #1276Riccardo Spagni2-4/+42
18f66f4 wallet: use the dynamic per kB fee (moneromooo-monero) e6deb8a rpc: add a dynamic fee estimation RPC call (moneromooo-monero) 82dbba1 core: dynamic fee algorithm from ArticMine (moneromooo-monero)
2016-11-08wallet2_api: add API for create_unmixable_sweep_transactionsmoneromooo-monero3-0/+101
2016-11-08Wallet API: Pause refresh while creating transactionJacob Brydolf1-0/+6
2016-11-07wallet: encrypt outputs and key images files with the view keymoneromooo-monero2-0/+61
This key is available to both cold and hot wallet. Authenticated encryption will guard against interception and/or modification of the file.
2016-11-07wallet: fix output collision detection for view walletsmoneromooo-monero2-20/+46
View wallets do not have the spend secret key, and are thus unable to derive key images for incoming outputs. Moreover, a previous patch set key images to zero as a means to mark an output as having an unknown key image, so they could be filled in when importing key images at a later time. That later patch caused spurious collisions. We now use public keys to detect duplicate outputs. Public keys obtained from the blockchain are checked to be identical to the ones derived locally, so can't be spoofed.
2016-11-07wallet2_api: allow connection to return "yes, but wrong version"moneromooo-monero3-5/+17
2016-11-06wallet2_api: do not copy the whole pending tx when iteratingmoneromooo-monero1-1/+1
2016-11-05wallet2_api: add API for tx notesmoneromooo-monero5-0/+46
2016-11-05wallet_api: txkey checking functions for the GUImoneromooo.monero3-0/+167
2016-11-02wallet: fix bad amounts/fees againmoneromooo-monero3-3/+37
m_amount_out was sometimes getting initialized with the sum of an transaction's outputs, and sometimes with the sum of outputs that were not change. This caused confusion and bugs. We now always set it to the sum of outputs. This reverts an earlier fix for bad amounts as this used the other semantics. The wallet data should be converted automatically in a percentage of cases that I'm hesitant to estimate. In any case, restoring from seed or keys or rebuilding the cache will get it right.
2016-11-01refresh speedupluigi11112-17/+14
Compute derivation only once per tx, instead of once per output. Approx 33% faster while using 75% as much CPU on my machine. Note old functions in cryptonote_core (lookup_acc_outs and is_out_to_acc) are still used by tests.
2016-11-01Merge pull request #1278Riccardo Spagni1-1/+7
43ec2d0 Wallet API: added walletExists logic (Jacob Brydolf)
2016-11-01Merge pull request #1283Riccardo Spagni1-2/+2
4869db7 adding static_assert to pod functions in string tools (Lee Clagett)
2016-11-01Merge pull request #1281Riccardo Spagni2-1/+52
bb560dd wallet: new import_outputs/export_outputs commands (moneromooo-monero)
2016-10-31adding static_assert to pod functions in string toolsLee Clagett1-2/+2
2016-10-31wallet: use the dynamic per kB feemoneromooo-monero2-4/+42
2016-10-30wallet: new import_outputs/export_outputs commandsmoneromooo-monero2-1/+52
The intended use is to export outputs from a hot wallet, which can scan incoming transfers from the network, and import them in the cold wallet, which can't. The cold wallet can then compute key images for those outputs, which can then be exported with export_key_images, etc.
2016-10-30Wallet API: added walletExists logicJacob Brydolf1-1/+7
2016-10-30wallet: set incoming outputs' key image to 0 on view walletsmoneromooo-monero2-4/+19
This allows rescan_spent to know the daemon response to those is not valid.
2016-10-30wallet: print tx overview on submit_transfer toomoneromooo-monero2-2/+8
This is on the potentially compromised wallet, but still guards against stupid mistakes.
2016-10-29Merge pull request #1270Riccardo Spagni1-2/+5
fdef09f Wallet API: make sure path exists before searching for wallets (Jacob Brydolf)
2016-10-28Wallet API: make sure path exists before searching for walletsJacob Brydolf1-2/+5
2016-10-26simplewallet: log transactions to submit in submit_transfermoneromooo-monero1-1/+2
Not as trustworthy as this is in the view wallet, the one that's considered compromised.
2016-10-25wallet: fix pre-rct cold wallet signing not splitting changemoneromooo-monero2-17/+19
Re-creating the transaction on the cold wallet was not splitting the change, causing the transaction to be rejected by the network. This worked on testnet since amounts do not have to be split. Also add selected_transfers, which can now be saved since they're size_t rather than iterators. This allows the view wallet to properly set the sent outputs as spent and update balance. Bump transfer file version numbers to match.
2016-10-23Merge pull request #1246Riccardo Spagni1-0/+7
372f338 wallet: sanity check on selected transfer indices in signed ptx (moneromooo-monero)
2016-10-23Merge pull request #1230Riccardo Spagni2-0/+22
06b642d wallet_api: add address validation functions (moneromooo-monero)
2016-10-22Merge pull request #1229Riccardo Spagni1-2/+7
b6b86ab wallet2_api: recognize full size payment ids as valid (moneromooo-monero)
2016-10-22Merge pull request #1228Riccardo Spagni1-1/+1
2bf65df wallet_api: do not override invalid payment id (moneromooo-monero)
2016-10-22Merge pull request #1225Riccardo Spagni2-8/+7
04da979 Always confirm transfers defaults to ON/YES (NanoAkron)
2016-10-22Merge pull request #1224Riccardo Spagni2-1/+8
8231997 simplewallet: fix sweep_all misreporting sweeped amount for rct outputs (moneromooo-monero) 985f61a wallet: force 0 mixin transactions to use pre-rct txes (moneromooo-monero)
2016-10-22Merge pull request #1223Riccardo Spagni1-5/+7
0950be9 wallet: speed up output selection, and fix bug with relatedness calculation (moneromooo-monero) 0eba133 wallet: fix mixup between mixin 2 and 4 before/after v5 (moneromooo-monero)
2016-10-22Merge pull request #1220Riccardo Spagni3-2/+44
e76dcdd wallet: improve error messages when not enough money for transfer (moneromooo-monero)
2016-10-22Merge pull request #1219Riccardo Spagni1-1/+1
2d7083c wallet_api: fix wrong amount in tx history (moneromooo-monero) b5f2001 simplewallet: fix wrong amount in show_transfers (moneromooo-monero)
2016-10-22Merge pull request #1200Riccardo Spagni1-1/+0
a3748f4 Rewrote add_wallet_create_if_needed for clearer flow and behaviour (NanoAkron)
2016-10-22wallet: sanity check on selected transfer indices in signed ptxmoneromooo-monero1-0/+7
2016-10-16wallet_api: add address validation functionsmoneromooo-monero2-0/+22
The payment id from integrated addresses is also parsed
2016-10-16wallet2_api: recognize full size payment ids as validmoneromooo-monero1-2/+7
2016-10-16wallet_api: do not override invalid payment idmoneromooo-monero1-1/+1
Instead, return an empty string to mark the error
2016-10-15Rewrote add_wallet_create_if_needed for clearer flow and behaviourNanoAkron1-1/+0
2016-10-15Always confirm transfers defaults to ON/YESNanoAkron2-8/+7
2016-10-15simplewallet: fix sweep_all misreporting sweeped amount for rct outputsmoneromooo-monero2-0/+7
RingCT outputs will be 0 in the vin, so we need to get the actual amount from elsewhere.
2016-10-15wallet: force 0 mixin transactions to use pre-rct txesmoneromooo-monero1-1/+1
rct transactions does not support 0 mixin, and those are now typically dust sweep transactions, for which a lower fee is a must.
2016-10-15wallet: select part of the fake outs from recent outputsmoneromooo-monero1-8/+40
25% of the outputs are selected from the last 5 days (if possible), in order to avoid the common case of sending recently received outputs again. 25% and 5 days are subject to review later, since it's just a wallet level change.
2016-10-15wallet: speed up output selection, and fix bug with relatedness calculationmoneromooo-monero1-3/+5
2016-10-15wallet: fix mixup between mixin 2 and 4 before/after v5moneromooo-monero1-2/+2
2016-10-15wallet: improve error messages when not enough money for transfermoneromooo-monero3-2/+44
2016-10-15wallet_api: fix wrong amount in tx historymoneromooo-monero1-1/+1
2016-10-10Wallet API: added setRecoveringFromSeed();Jacob Brydolf3-0/+12
2016-10-09Merge pull request #1195Riccardo Spagni5-19/+68
697ce1d libwallet_api: reverted deleted curly brace (Ilya Kitaev) bb9094f libwallet_api: fixes for transaction history (Ilya Kitaev) 62b3708 libwallet_api: do not signal on sent/received tx until wallet completely synchronized (Ilya Kitaev) 11fab41 libwallet_api: TransactionHistory: read/write syncchronization (Ilya Kitaev) 559f379 libwallet_api: test: adjusted mixin_count=4 as it's minumum allowed (Ilya Kitaev) 8b0cb8c libwallet_api: some renamings (Ilya Kitaev) db3282c Initialize transaction history if empty (Ilya Kitaev) 85f5e73 libwallet_api: fixes for transaction history (Ilya Kitaev)
2016-10-09Merge pull request #1192Riccardo Spagni5-3/+20
36a89ab libwallet_api: Added option to restore from specific height (Jacob Brydolf)
2016-10-09Merge pull request #1191Riccardo Spagni1-4/+7
9f31e2d wallet: do not announce pool txes as money spent/received (yet) (moneromooo-monero)
2016-10-08libwallet_api: Added option to restore from specific heightJacob Brydolf5-3/+20
2016-10-07wallet: do not announce pool txes as money spent/received (yet)moneromooo-monero1-4/+7
2016-10-07libwallet_api: reverted deleted curly braceIlya Kitaev1-0/+1
2016-10-07resolved conflict with 'develop' of https://github.com/mbg033/moneroIlya Kitaev1-3/+0
2016-10-07libwallet_api: do not signal on sent/received tx until wallet completelyIlya Kitaev3-6/+31
synchronized
2016-10-06libwallet_api: TransactionHistory: read/write syncchronizationIlya Kitaev2-14/+21
2016-10-06libwallet_api: some renamingsIlya Kitaev3-3/+3
2016-10-06Initialize transaction history if emptyIlya Kitaev3-2/+11
2016-10-06libwallet_api: fixes for transaction historyIlya Kitaev1-3/+13
2016-10-04libwallet_api: fixes for transaction historyIlya Kitaev1-3/+13
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-04Merge pull request #1173Riccardo Spagni5-0/+57
65ea836 wallet2_api: added Wallet::daemonBlockChainTargetHeight() libwallet_api: Wallet::blockChainTargetHeight (Jacob Brydolf)
2016-10-04Merge pull request #1160Riccardo Spagni2-2/+11
80b4da3 wallet: wallet option to confirm transfers with no payment id (moneromooo-monero)
2016-10-04Merge pull request #1139Riccardo Spagni1-2/+2
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 #1125Riccardo Spagni1-2/+4
7b09e9f wallet: update min mixin for sweep_unmixable on v4 (moneromooo-monero)
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 #1140Riccardo Spagni2-93/+326
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-03wallet2_api: added Wallet::daemonBlockChainTargetHeight()Jacob Brydolf5-0/+57
libwallet_api: Wallet::blockChainTargetHeight Signed-off-by: Jacob Brydolf <jacob@brydolf.net>
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-monero2-2/+11
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-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-monero2-91/+324
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-26wallet: fix log confusion between bytes and kilobytesmoneromooo-monero1-2/+2
2016-09-26Dropped "bit" from bitmonero.Randi Joseph1-2/+2
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-24wallet: update min mixin for sweep_unmixable on v4moneromooo-monero1-2/+4
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-18epee: optionally restrict HTTP service to a configurable user agentmoneromooo-monero2-1/+6
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-18Merge pull request #1099Riccardo Spagni2-11/+11
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-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-18cmake: transitive deps and remove deprecated LINK_*redfish1-3/+5
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-16wallet: change priority/fee to ArticMine's recommendationmoneromooo-monero6-48/+68
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-15Merge pull request #1074Riccardo Spagni2-14/+19
cd01bae Decrease minimum fee from 0.01/kB to 0.002/kB (moneromooo-monero)
2016-09-15Decrease minimum fee from 0.01/kB to 0.002/kBmoneromooo-monero2-14/+19
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-03Merge pull request #1038Riccardo Spagni1-9/+13
43677f9 gui/libwallet_merged: libunbound is one more dependency (Ilya Kitaev)
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 #1027Riccardo Spagni1-0/+2
85dc0ce wallet: sanity check on histogram response (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 #1007Riccardo Spagni1-2/+5
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-30cmake: merge libs via virtual object librariesredfish1-2/+5
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-30wallet: interpret 0 fee multiplier as default for sweep_all toomoneromooo-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-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-28wallet: fix some "may be used uninitialized" warningsmoneromooo-monero1-16/+15
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-28wallet: do not ask for duplicate histogramsmoneromooo-monero1-0/+3
2016-08-28wallet: transfer_selected_rct now also selects fake outsmoneromooo-monero2-171/+90
2016-08-28New "Halfway RingCT" outputs for coinbase transactionsmoneromooo-monero2-2/+34
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 amount key modified as per luigi1111's recommendationsmoneromooo-monero4-61/+20
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: change the simple flag to a typemoneromooo-monero1-2/+8
for future expansion
2016-08-28wallet: do not store signatures in the wallet cachemoneromooo-monero4-28/+71
Saves some substantial space. Also avoid calculating tx hashes we don't need.
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-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
2016-08-28change fork settings to allow pre-rct txes for one more fork cyclemoneromooo-monero1-2/+2
2016-08-28rct: make the amount key derivable by a third party with the tx keymoneromooo-monero2-17/+34
Scheme design from luigi1114.
2016-08-28rct: do not serialize public keys in outPkmoneromooo-monero1-3/+3
They can be reconstructed from vout
2016-08-28wallet2_api: zero amounts are now allowed with rctmoneromooo-monero1-6/+0
2016-08-28wallet2_api: update on_money_{received,spent} prototypes for rct changesmoneromooo-monero1-4/+2
2016-08-28rpc: send global indices along with blocks/transacions on refreshmoneromooo-monero2-35/+42
This plugs a privacy leak, where the wallet tells the daemon which transactions contain outputs for the wallet by asking for additional information for that particular transaction. As a nice bonus, this actually makes refresh slightly faster.
2016-08-28wallet: better tx input selectionmoneromooo-monero2-29/+77
We try to avoid related inputs, when possible
2016-08-28wallet: handle 0 change properlymoneromooo-monero1-7/+8
With RCT, we allow 0 size outputs, to try and encourage txes with two inputs and two outputs. Consolidation would then have two non zero inputs, one zero output, and one larger output.
2016-08-28port get_tx_key/check_tx_key to rctmoneromooo-monero4-7/+101
2016-08-28integrate simple rct apimoneromooo-monero1-6/+24
2016-08-28wallet: rct specific output selectionmoneromooo-monero2-3/+125
Before the normal selection, we attempt to find either one or two suitable outputs to use as inputs to the rct tx. The intent is that most rct txes will have one or two inputs, and we want all to look the same if possible. When two outputs are needed, we try to find a pair which are not related (ie, by being from the same or similar block height).
2016-08-28wallet: make sweep_all work with rct txes toomoneromooo-monero1-7/+21
2016-08-28wallet: factor transfer_rct code with transfer codemoneromooo-monero2-254/+40
The "transfer" simplewallet command is renamed to "transfer_original". "transfer_new" is renamed "transfer", "transfer_rct" is removed, and the new "transfer" now selects rct or non rct transactions based on the current block height.
2016-08-28ringct: do not serialize what can be reconstructedmoneromooo-monero1-5/+8
The mixRing (output keys and commitments) and II fields (key images) can be reconstructed from vin data. This saves some modest amount of space in the tx.
2016-08-28wallet: update spent status when an accepted tx disappearsmoneromooo-monero1-0/+19
2016-08-28wallet: reset output spent status on blockchain reorgmoneromooo-monero2-11/+61
If the blockchain gets reorganized, all outputs spent in the part of the blockchain that's blown away need to be reset to unspent (they may end up spent again on the blocks that replace the blocks that are removed, however).
2016-08-28add rct to the protocolmoneromooo-monero3-54/+659
It is not yet constrained to a fork, so don't use on the real network or you'll be orphaned or rejected.
2016-08-26Merge pull request #978Riccardo Spagni2-4/+12
99dd572 libwallet_api: tests: checking for result while opening wallet (Ilya Kitaev) bcf7b67 libwallet_api: Wallet::amountFromString fixed (Ilya Kitaev) 32bc7b4 libwallet_api: helper method to return maximumAllowedAmount (Ilya Kitaev) cbe534d libwallet_api: tests: removed logged passwords (Ilya Kitaev) b1a5a93 libwallet_api: do not store wallet on close if status is not ok (Ilya Kitaev)
2016-08-23libwallet_api: Wallet::amountFromString fixedIlya Kitaev1-1/+1
2016-08-23libwallet_api: helper method to return maximumAllowedAmountIlya Kitaev2-0/+6
2016-08-22Merge pull request #970Riccardo Spagni1-0/+3
25f529a wallet: store key images after importing them (moneromooo-monero)
2016-08-22libwallet_api: do not store wallet on close if status is not okIlya Kitaev1-3/+5
2016-08-17wallet: store key images after importing themmoneromooo-monero1-0/+3
It avoids rescan_spent resetting spent status, for example.
2016-08-17wallet: fix build on Mac and Windows (missing include)moneromooo-monero1-0/+1
Reported by RaskaRuby, tested by iDunk5400.
2016-08-11Merge pull request #948Riccardo Spagni4-57/+183
11dc091 Fake outs set is now decided by the wallet (moneromooo-monero) 1593553 new unlocked parameter to output_histogram (moneromooo-monero)