summaryrefslogtreecommitdiff
path: root/src/wallet
Commit message (Collapse)AuthorAgeFilesLines
* epee: optionally restrict HTTP service to a configurable user agentmoneromooo-monero2016-09-182-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.
* Merge pull request #1099Riccardo Spagni2016-09-182-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)
| * switch wallet API from std thread/mutex to boostRiccardo Spagni2016-09-182-11/+11
| |
* | Merge pull request #1098Riccardo Spagni2016-09-181-2/+4
|\ \ | | | | | | | | | 1dd5b0b wallet: keep change dest separate from other dests (moneromooo-monero)
| * | wallet: keep change dest separate from other destsmoneromooo-monero2016-09-181-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.
* | Merge pull request #1097Riccardo Spagni2016-09-181-0/+6
|\ \ | |/ |/| | | 5f5d727 wallet: fix empty tx in corner case sending nothing (moneromooo-monero)
| * wallet: fix empty tx in corner case sending nothingmoneromooo-monero2016-09-181-0/+6
| |
* | cmake: transitive deps and remove deprecated LINK_*redfish2016-09-181-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.
* wallet: change priority/fee to ArticMine's recommendationmoneromooo-monero2016-09-166-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.
* Merge pull request #1074Riccardo Spagni2016-09-152-14/+19
|\ | | | | | | cd01bae Decrease minimum fee from 0.01/kB to 0.002/kB (moneromooo-monero)
| * Decrease minimum fee from 0.01/kB to 0.002/kBmoneromooo-monero2016-09-152-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.
* | wallet: fix misdetection of duplicatesmoneromooo-monero2016-09-141-11/+3
|/
* Merge pull request #1038Riccardo Spagni2016-09-031-9/+13
|\ | | | | | | 43677f9 gui/libwallet_merged: libunbound is one more dependency (Ilya Kitaev)
| * gui/libwallet_merged: libunbound is one more dependencyIlya Kitaev2016-09-031-9/+13
| |
* | Merge pull request #1033Riccardo Spagni2016-09-011-1/+1
|\| | | | | | | 4d17949 wallet_merged: ringct added to dependencies (Ilya Kitaev)
| * wallet_merged: ringct added to dependenciesIlya Kitaev2016-09-011-1/+1
| |
* | Re-add s to rangesigsluigi11112016-09-011-2/+2
| | | | | | | | Whoops.
* | Fix some rct tx size calculationsluigi11112016-09-011-9/+6
|/ | | | Some variance is still expected
* Merge pull request #1027Riccardo Spagni2016-09-011-0/+2
|\ | | | | | | 85dc0ce wallet: sanity check on histogram response (moneromooo-monero)
| * wallet: sanity check on histogram responsemoneromooo-monero2016-09-011-0/+2
| |
* | Merge pull request #1016Riccardo Spagni2016-09-011-1/+3
|\ \ | | | | | | | | | 3112e24 wallet: interpret 0 fee multiplier as default for sweep_all too (moneromooo-monero)
| * | wallet: interpret 0 fee multiplier as default for sweep_all toomoneromooo-monero2016-08-301-1/+3
| |/
* | Merge pull request #1007Riccardo Spagni2016-09-011-2/+5
|\ \ | |/ |/| | | | | 1de812a cmake: merge libs via virtual object libraries (redfish) a7498ad cmake: comply with the new policy CMP0026 (redfish)
| * cmake: merge libs via virtual object librariesredfish2016-08-301-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.
* | wallet: fix not finding enough rct fake outputsmoneromooo-monero2016-08-291-3/+8
|/ | | | | If picking coinbase outputs, those are locked for a longer time than other outputs, so we ask for more of those
* wallet_rpc_server: return payment id in make_integrated_address RPCmoneromooo-monero2016-08-292-0/+3
| | | | It is useful, especially when requesting a random one
* wallet: fix some "may be used uninitialized" warningsmoneromooo-monero2016-08-281-16/+15
| | | | | The compiler can't always work out the _found booleans are set iff the value is initialized.
* wallet: do not generate 0 changemoneromooo-monero2016-08-281-3/+6
|
* wallet: do not ask for duplicate histogramsmoneromooo-monero2016-08-281-0/+3
|
* wallet: transfer_selected_rct now also selects fake outsmoneromooo-monero2016-08-282-171/+90
|
* New "Halfway RingCT" outputs for coinbase transactionsmoneromooo-monero2016-08-282-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.
* rct amount key modified as per luigi1111's recommendationsmoneromooo-monero2016-08-284-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.
* rct: change the simple flag to a typemoneromooo-monero2016-08-281-2/+8
| | | | for future expansion
* wallet: do not store signatures in the wallet cachemoneromooo-monero2016-08-284-28/+71
| | | | | Saves some substantial space. Also avoid calculating tx hashes we don't need.
* wallet2: factor m_spent changesmoneromooo-monero2016-08-282-26/+31
| | | | Makes it easier to track what is going on.
* wallet: always use new algorithm for RPC transfersmoneromooo-monero2016-08-282-7/+2
| | | | This ensures we get rct transactions when appropriate
* wallet: use the prefered rct case only when enough rct outs existmoneromooo-monero2016-08-282-1/+27
|
* wallet: do not try to use rct txes a few blocks before the forkmoneromooo-monero2016-08-283-22/+31
|
* change fork settings to allow pre-rct txes for one more fork cyclemoneromooo-monero2016-08-281-2/+2
|
* rct: make the amount key derivable by a third party with the tx keymoneromooo-monero2016-08-282-17/+34
| | | | Scheme design from luigi1114.
* rct: do not serialize public keys in outPkmoneromooo-monero2016-08-281-3/+3
| | | | They can be reconstructed from vout
* wallet2_api: zero amounts are now allowed with rctmoneromooo-monero2016-08-281-6/+0
|
* wallet2_api: update on_money_{received,spent} prototypes for rct changesmoneromooo-monero2016-08-281-4/+2
|
* rpc: send global indices along with blocks/transacions on refreshmoneromooo-monero2016-08-282-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.
* wallet: better tx input selectionmoneromooo-monero2016-08-282-29/+77
| | | | We try to avoid related inputs, when possible
* wallet: handle 0 change properlymoneromooo-monero2016-08-281-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.
* port get_tx_key/check_tx_key to rctmoneromooo-monero2016-08-284-7/+101
|
* integrate simple rct apimoneromooo-monero2016-08-281-6/+24
|
* wallet: rct specific output selectionmoneromooo-monero2016-08-282-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).
* wallet: make sweep_all work with rct txes toomoneromooo-monero2016-08-281-7/+21
|