aboutsummaryrefslogtreecommitdiff
path: root/src (follow)
AgeCommit message (Collapse)AuthorFilesLines
2016-12-05Added confirmation before binding wallet-rpc to external IPLee Clagett2-14/+30
2016-12-04Merge pull request #1399Riccardo Spagni1-2/+1
73ac3b8e wallet2: avoid possible undefined behavior on empty string (moneromooo-monero)
2016-12-04Merge pull request #1398Riccardo Spagni11-27/+27
f4772bae Fix a few minor typos (Pierre Boyer)
2016-12-04Merge pull request #1397Riccardo Spagni6-4/+49
3f7d6fb5 Fix delayed exit when syncing (moneromooo-monero)
2016-12-04Merge pull request #1396Riccardo Spagni1-4/+6
7c0dd5e4 net_node: drop connections from banned IPs after looping through connections (moneromooo-monero)
2016-12-04Merge pull request #1395Riccardo Spagni1-1/+5
59443bf9 ringct: fix MGs serialization to JSON (moneromooo-monero)
2016-12-04Merge pull request #1393Riccardo Spagni1-10/+13
0e18f465 db_lmdb: add info in an error message when we can't get an output (moneromooo-monero) c96f9b02 db_lmdb: guard against going out of sync on unexpected db results (moneromooo-monero) bef51e67 db_lmdb: minor pedantic tweaks (moneromooo-monero) 3465c4eb db_lmdb: set same packing format for output_data_t and pre_rct_output_data_t (moneromooo-monero)
2016-12-04Merge pull request #1392Riccardo Spagni1-1/+7
204b1bff blockchain: use high bound block reward on error where appropriate (moneromooo-monero)
2016-12-04Merge pull request #1389Riccardo Spagni4-17/+43
4adde042 p2p: possibly fix crash in relay_blocks (moneromooo-monero)
2016-12-04Merge pull request #1385Riccardo Spagni6-0/+233
5783dd8c tests: add unit tests for uri parsing (moneromooo-monero) 82ba2108 wallet: add API and RPC to create/parse monero: URIs (moneromooo-monero) d9001b43 epee: add functions to convert from URL format (ie, %XX values) (moneromooo-monero)
2016-12-04Merge pull request #1388Riccardo Spagni3-2/+88
fcd178ef wallet_api: add a few daemon related getters (moneromooo-monero)
2016-12-04Merge pull request #1386Riccardo Spagni1-0/+13
8f6ec90c blockchain: reject invalid pubkeys from v4 (moneromooo-monero)
2016-12-04Merge pull request #1383Riccardo Spagni1-1/+1
00592189 change 'invalid address format' loglevel (Jaquee)
2016-12-04Merge pull request #1380Riccardo Spagni5-0/+14
657a70e0 wallet: add a getter for the filename path (moneromooo-monero)
2016-12-04Merge pull request #1379Riccardo Spagni5-16/+30
d6086f5b Improve daemon RPC version handling (moneromooo-monero)
2016-12-04wallet2: avoid possible undefined behavior on empty stringmoneromooo-monero1-2/+1
2016-12-04Fix a few minor typosPierre Boyer11-27/+27
2016-12-04Fix delayed exit when syncingmoneromooo-monero6-4/+49
2016-12-03net_node: drop connections from banned IPs after looping through connectionsmoneromooo-monero1-4/+6
This keeps the connections lock just for the time of looping and adding connectoins to a list, and the dropping happens after it. This should avoid lengthy delays waiting for the connections lock.
2016-12-02ringct: fix MGs serialization to JSONmoneromooo-monero1-1/+5
2016-12-01p2p: possibly fix crash in relay_blocksmoneromooo-monero4-17/+43
2016-12-01blockchain: use high bound block reward on error where appropriatemoneromooo-monero1-1/+7
If the block reward to use for the fee calculation can't be calculated (should not happen in practice), use a high bound, so we use a fee overestimate that will be accepted by the network.
2016-12-01db_lmdb: add info in an error message when we can't get an outputmoneromooo-monero1-1/+1
Will be useful to debug
2016-12-01db_lmdb: guard against going out of sync on unexpected db resultsmoneromooo-monero1-1/+1
m_num_outputs keeps track of the number of outputs, which should be the same as the size of both the output_txs and output_amounts databases. If one goes out of sync, we need to throw to abort whatever it is we were doing.
2016-12-01db_lmdb: minor pedantic tweaksmoneromooo-monero1-8/+8
Add consts in a few places where it makes sense, avoid unnecessary memory reallocation where we know the full size needed at the outset, simplify and avoid memory copy.
2016-12-01db_lmdb: set same packing format for output_data_t and pre_rct_output_data_tmoneromooo-monero1-0/+3
For safety, though it seems to have been the case already. Also add a comment about the necessary layout identity.
2016-11-29wallet_api: add a few daemon related gettersmoneromooo-monero3-2/+88
Blockchain height, version, Mining hash rate...
2016-11-28blockchain: reject invalid pubkeys from v4moneromooo-monero1-0/+13
2016-11-28wallet: add API and RPC to create/parse monero: URIsmoneromooo-monero6-0/+233
2016-11-27change 'invalid address format' loglevelJaquee1-1/+1
2016-11-26wallet: add a getter for the filename pathmoneromooo-monero5-0/+14
2016-11-26Improve daemon RPC version handlingmoneromooo-monero5-16/+30
Daemon RPC version is now composed of a major and minor number, so that incompatible changes bump the major version, while compatible changes can still bump the minor version without causing clients to unnecessarily complain.
2016-11-25Added command_line::is_yesLee Clagett3-18/+44
2016-11-24Merge pull request #1372Riccardo Spagni2-2/+2
17b6bd6 Fix DNS failures in offline mode preventing daemon startup (moneromooo-monero)
2016-11-24Merge pull request #1369Riccardo Spagni3-54/+11
6d76072 simplewallet: remove double confirmation when submitting signed tx (moneromooo-monero) 92dea04 wallet2: fix wrong change being recorded for cold signed txes (moneromooo-monero)
2016-11-24Merge pull request #1364Riccardo Spagni6-137/+439
f025198 Added task_region - a fork/join task implementation (Lee Clagett)
2016-11-24Merge pull request #1361Riccardo Spagni8-21/+108
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-monero2-2/+2
2016-11-23simplewallet: remove double confirmation when submitting signed txmoneromooo-monero1-51/+0
2016-11-23wallet2: fix wrong change being recorded for cold signed txesmoneromooo-monero2-3/+11
2016-11-23Added task_region - a fork/join task implementationLee Clagett6-137/+439
2016-11-23rpc: do not include output indices for pool txesmoneromooo-monero1-5/+8
Those aren't yet in the blockchain, so will not be found (and aren't yet known, since it depends on where exactly the tx will be mined in the next block or blocks)
2016-11-22rpc: bump version after RPC changesmoneromooo-monero1-1/+1
2016-11-22Add a get_outs (fully text based) version of get_outs.binmoneromooo-monero8-20/+94
2016-11-22rpc: add output indices to gettransactionsmoneromooo-monero2-0/+10
Someone apparently needs that to make a wallet but never asked. If you read that and that's not what you wanted, the bugtracker is at https://github.com/monero-project/monero/issues
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-17Merge pull request #1344Riccardo Spagni6-26/+127
a0131c8 wallet: auto sync outputs and key images in cold signing files (moneromooo-monero) f806611 wallet2: fill key image and pubkey maps when importing outputs (moneromooo-monero) 5fe363c wallet: cast indices to string in logs to be nice to CLANG (moneromooo-monero) 11ae187 wallet2: try all tx keys when scanning a new transaction (moneromooo-monero) 072d646 wallet2: fill in key image map when importing key images (moneromooo-monero) 23d80b1 core: remove any tx pubkey from extra before adding one (moneromooo-monero) d72376d simplewallet: add a verbose flag to incoming_transfers (moneromooo-monero) 47413a5 simplewallet: spell out change when signing a transfer (moneromooo-monero) 14cb088 simplewallet: print public keys too on spendkey/viewkey commands (moneromooo-monero) a99ab49 wallet: fix serialization of new m_key_image_known member (moneromooo-monero)
2016-11-17Merge pull request #1336Riccardo Spagni1-0/+10
bd4da18 simplewallet: include amount sent in transfer confirmation (moneromooo-monero)
2016-11-16wallet: return fee in transfer RPCmoneromooo-monero2-0/+12
2016-11-16wallet: auto sync outputs and key images in cold signing filesmoneromooo-monero4-10/+74
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-monero2-4/+9
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-15core: remove any tx pubkey from extra before adding onemoneromooo-monero1-0/+1
This will happen when signing a transaction from a cold wallet, and we don't want the placeholder the hot wallet put in it.
2016-11-13simplewallet: add a verbose flag to incoming_transfersmoneromooo-monero1-6/+18
Prints pubkey and key image as well
2016-11-13simplewallet: spell out change when signing a transfermoneromooo-monero1-2/+16
Also catch change to multiple addresses, this is unexpected
2016-11-13simplewallet: print public keys too on spendkey/viewkey commandsmoneromooo-monero1-2/+4
2016-11-13wallet: fix serialization of new m_key_image_known membermoneromooo-monero1-2/+16
2016-11-13simplewallet: include amount sent in transfer confirmationmoneromooo-monero1-0/+10
2016-11-13wallet: fix serialization of new m_key_image_known membermoneromooo-monero1-2/+16
2016-11-13Merge pull request #1334Riccardo Spagni1-1/+2
265e460 Fixed generate-from-json bug introduced in 358e068 (Lee Clagett)
2016-11-12Fixed generate-from-json bug introduced in 358e068Lee Clagett1-1/+2
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 Spagni12-689/+876
358e068 Created monero-wallet-rpc, moving functionality from monero-wallet-cli (Lee Clagett)
2016-11-11Merge pull request #1321Riccardo Spagni1-1/+1
0e418d2 rpc: bump RPC version (moneromooo-monero)
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-11Merge pull request #1313Riccardo Spagni3-11/+33
1669621 wallet2_api: support for sweeping all (moneromooo-monero)
2016-11-11Merge pull request #1263Riccardo Spagni11-11/+492
d61bd81 add lightweight block propagation ("fluffy blocks") (Dion Ahmetaj)
2016-11-10rpc: bump RPC versionmoneromooo-monero1-1/+1
I forgot to bump it previously when changing RPC, most notably for the addition of the unlocked field in the histogram RPC. This causes new wallets to not realize when they're talking to an older daemon, and get confused trying to get outputs to use as fake outs. This otherwise gratuitous bump ensures than old daemons will be detected by wallets using this code.
2016-11-10Created monero-wallet-rpc, moving functionality from monero-wallet-cliLee Clagett12-689/+876
2016-11-09wallet2_api: support for sweeping allmoneromooo-monero3-11/+33
2016-11-09add lightweight block propagation ("fluffy blocks")Dion Ahmetaj11-11/+492
Added a new command to the P2P protocol definitions to allow querying for support flags. Implemented handling of new support flags command in net_node. Changed for_each callback template to include support flags. Updated print_connections command to show peer support flags. Added p2p constant for signaling fluffy block support. Added get_pool_transaction function to cryptnote_core. Added new commands to cryptonote protocol for relaying fluffy blocks. Implemented handling of fluffy block command in cryptonote protocol. Enabled fluffy block support in node initial configuration. Implemented get_testnet function in cryptonote_core. Made it so that fluffy blocks only run on testnet.
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 #1312Riccardo Spagni1-1/+1
acf908c thread_group: fix build with asserts enabled (moneromooo-monero)
2016-11-09Merge pull request #1311Riccardo Spagni1-0/+1
5c4cb96 cryptonote_protocol: drop connection when find_blockchain_supplement fails (moneromooo-monero)
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 Spagni3-21/+47
c80f4d4 wallet: fix output collision detection for view wallets (moneromooo-monero)
2016-11-09thread_group: fix build with asserts enabledmoneromooo-monero1-1/+1
See https://github.com/monero-project/monero/pull/1291
2016-11-09cryptonote_protocol: drop connection when find_blockchain_supplement failsmoneromooo-monero1-0/+1
This will be when we can't find common ground between the peer's short chain history and our blockchain. This fixes bad peers claiming a higher blockchain height from never dropped, and keeping the node in synchronizing state forever, since we will never get blocks from that peer.
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 Spagni3-14/+104
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 #1291Riccardo Spagni4-100/+351
64094e5 adding thread_group for managing async tasks (Lee Clagett)
2016-11-08Merge pull request #1285Riccardo Spagni4-17/+22
a970a4e refresh speedup (luigi1111)
2016-11-08Merge pull request #1276Riccardo Spagni9-9/+202
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-monero3-14/+104
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-monero3-21/+47
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-02adding thread_group for managing async tasksLee Clagett4-100/+351
2016-11-02wallet: fix bad amounts/fees againmoneromooo-monero4-5/+39
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-01Merge pull request #1272Riccardo Spagni1-3/+5
48b57d8 monero.supp: valgrind suppressions file (moneromooo-monero) ffd8c41 ringct: check the size of amount_keys is the same as destinations (moneromooo-monero) 836669d ringct: always shutdown the boost io service (moneromooo-monero)
2016-11-01refresh speedupluigi11114-17/+22
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 #1282Riccardo Spagni3-1/+213
f5ccfa4 core: fix removal of extra nonce using wrong type (moneromooo-monero) 3c2cad2 Revert "remove cn_deserialize" (moneromooo-monero)
2016-11-01Merge pull request #1281Riccardo Spagni4-1/+154
bb560dd wallet: new import_outputs/export_outputs commands (moneromooo-monero)
2016-11-01Merge pull request #1277Riccardo Spagni4-11/+44
7e6d3cf wallet: set incoming outputs' key image to 0 on view wallets (moneromooo-monero) 1f9e6a4 wallet: print tx overview on submit_transfer too (moneromooo-monero)
2016-11-01Merge pull request #1275Riccardo Spagni1-0/+2
4bfb81a simplewallet: remove destinations with zero amount in sign_transfer (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-31rpc: add a dynamic fee estimation RPC callmoneromooo-monero5-0/+76
2016-10-31core: dynamic fee algorithm from ArticMinemoneromooo-monero4-5/+84
The fee will vary based on the base reward and the current block size limit: fee = (R/R0) * (M0/M) * F0 R: base reward R0: reference base reward (10 monero) M: block size limit M0: minimum block size limit (60000) F0: 0.002 monero Starts applying at v4
2016-10-30core: fix removal of extra nonce using wrong typemoneromooo-monero1-1/+1
2016-10-30Revert "remove cn_deserialize"moneromooo-monero2-0/+212
This is useful (to me). This reverts commit f968ccb9d3d34d163dc5638006e6b87c78ddfdb3.
2016-10-30wallet: new import_outputs/export_outputs commandsmoneromooo-monero4-1/+154
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-monero4-7/+25
This is on the potentially compromised wallet, but still guards against stupid mistakes.
2016-10-30simplewallet: remove destinations with zero amount in sign_transfermoneromooo-monero1-0/+2
This will happen when sending to another address, after removing the fee.
2016-10-29Changed to ..._HASHBITS everywhere for consistencyNanoAkron1-2/+2
2016-10-29ringct: check the size of amount_keys is the same as destinationsmoneromooo-monero1-0/+2
2016-10-29ringct: always shutdown the boost io servicemoneromooo-monero1-3/+3
Even if no worker threads were started, it needs shutting down or it will cause an invalid access in the io service thread
2016-10-29Merge pull request #1270Riccardo Spagni1-2/+5
fdef09f Wallet API: make sure path exists before searching for wallets (Jacob Brydolf)
2016-10-29Merge pull request #1261Riccardo Spagni3-25/+38
069d688 simplewallet: log transactions to submit in submit_transfer (moneromooo-monero) 31abac4 wallet: fix pre-rct cold wallet signing not splitting change (moneromooo-monero)
2016-10-29Merge pull request #1254Riccardo Spagni1-4/+4
eb4ecd4 daemon: fix min/max tracking using the wrong size (moneromooo-monero)
2016-10-29Merge pull request #1251Riccardo Spagni2-58/+25
59f0d4b ringct: some more small optimizations (moneromooo-monero)
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-monero2-2/+3
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-monero3-23/+35
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-23daemon: fix min/max tracking using the wrong sizemoneromooo-monero1-4/+4
Reported by iDunk
2016-10-23daemon: even when switching branches, compile the damn thing ffsmoneromooo-monero1-1/+1
2016-10-23daemon: do not divide by 0 when the pool is emptymoneromooo-monero1-2/+2
2016-10-23Merge pull request #1245Riccardo Spagni1-256/+43
ff88252 simplewallet: factor locked_transfer, and fix a few rough edges (moneromooo-monero)
2016-10-23Merge pull request #1250Riccardo Spagni5-0/+72
839280d daemon: add a print_pool_stats daemon command (moneromooo-monero)
2016-10-23simplewallet: factor locked_transfer, and fix a few rough edgesmoneromooo-monero1-256/+43
Factor locked_transfer into transfer_main, which brings various improvements for free (multiple addresses, proper detection of multiple payment ids, obeying the prompt settings). Also fix a few things, such as using uint64_t instead of int for block heights, actually checking whether getting blockchain height succeeded, etc.
2016-10-23Merge pull request #1247Riccardo Spagni6-0/+33
10a79ea daemon: report transaction relay status in print_pool* commands (moneromooo-monero) 1e16366 core: notify the txpool when transactions are relayed (moneromooo-monero) f3c374f tx_pool: set relayed flag on relay (moneromooo-monero)
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 #1239Riccardo Spagni1-1/+1
12d8616 perf_timer: format string fix for 32 bits (moneromooo-monero)
2016-10-23Merge pull request #1230Riccardo Spagni2-0/+22
06b642d wallet_api: add address validation functions (moneromooo-monero)
2016-10-23daemon: add a print_pool_stats daemon commandmoneromooo-monero5-0/+72
Helps see what's going on now that Monero is getting used
2016-10-23ringct: some more small optimizationsmoneromooo-monero2-58/+25
2016-10-23daemon: report transaction relay status in print_pool* commandsmoneromooo-monero3-0/+8
2016-10-23core: notify the txpool when transactions are relayedmoneromooo-monero3-0/+22
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 Spagni3-11/+12
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 #1222Riccardo Spagni2-0/+4
5e10fb0 rpc: add blockchain cumulative difficulty to getinfo call (moneromooo-monero)
2016-10-22Merge pull request #1221Riccardo Spagni1-1/+8
094f4c8 rpc: add missing top block hash to json getinfo call (moneromooo-monero)
2016-10-22Merge pull request #1220Riccardo Spagni4-9/+87
e76dcdd wallet: improve error messages when not enough money for transfer (moneromooo-monero)
2016-10-22Merge pull request #1219Riccardo Spagni2-2/+2
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 #1218Riccardo Spagni4-44/+135
3429bfb ringct: thread verRct and verRctSimple (moneromooo-monero) e06a4da ringct: remove unneeded type conversions (moneromooo-monero) afc70df ringct: reserve space in vectors to avoid excessive reallocation (moneromooo-monero) 9ebf7b6 ringct: avoid unnecessary memcpy (moneromooo-monero) 1fe75c1 ringct: add a few consts where possible (moneromooo-monero) ab002a1 ringct: pass vectors by const ref where possible (moneromooo-monero)
2016-10-22Merge pull request #1216Riccardo Spagni1-1/+1
9c73128 Change default dust threshold to equal fee per kb (AwfulCrawler)
2016-10-22Merge pull request #1200Riccardo Spagni2-54/+67
a3748f4 Rewrote add_wallet_create_if_needed for clearer flow and behaviour (NanoAkron)
2016-10-22tx_pool: set relayed flag on relaymoneromooo-monero1-0/+3
2016-10-22wallet: sanity check on selected transfer indices in signed ptxmoneromooo-monero1-0/+7
2016-10-20perf_timer: format string fix for 32 bitsmoneromooo-monero1-1/+1
2016-10-18Merge pull request #1215Riccardo Spagni2-2/+2
a6bc110 patched parameter type bug that was causing failure on 32 bit (Dion Ahmetaj)
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 behaviourNanoAkron2-54/+67
2016-10-15Always confirm transfers defaults to ON/YESNanoAkron2-8/+7
2016-10-15simplewallet: fix sweep_all misreporting sweeped amount for rct outputsmoneromooo-monero3-10/+11
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-monero9-32/+92
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-15rpc: add blockchain cumulative difficulty to getinfo callmoneromooo-monero2-0/+4
2016-10-15rpc: add missing top block hash to json getinfo callmoneromooo-monero1-1/+8
2016-10-15wallet: improve error messages when not enough money for transfermoneromooo-monero4-9/+87
2016-10-15wallet_api: fix wrong amount in tx historymoneromooo-monero1-1/+1
2016-10-15simplewallet: fix wrong amount in show_transfersmoneromooo-monero1-1/+1
2016-10-15ringct: thread verRct and verRctSimplemoneromooo-monero1-17/+119
2016-10-15ringct: remove unneeded type conversionsmoneromooo-monero2-3/+3
2016-10-15ringct: reserve space in vectors to avoid excessive reallocationmoneromooo-monero1-0/+2
2016-10-15ringct: avoid unnecessary memcpymoneromooo-monero1-16/+3
2016-10-15ringct: add a few consts where possiblemoneromooo-monero1-4/+4