aboutsummaryrefslogtreecommitdiff
path: root/tests (follow)
AgeCommit message (Collapse)AuthorFilesLines
2016-11-25Added command_line::is_yesLee Clagett2-0/+51
2016-11-24Merge pull request #1371Riccardo Spagni1-2/+2
8dadf02 Fixed undefined behavior in TestDB (Lee Clagett)
2016-11-24Merge pull request #1364Riccardo Spagni2-0/+178
f025198 Added task_region - a fork/join task implementation (Lee Clagett)
2016-11-23Fixed undefined behavior in TestDBLee Clagett1-2/+2
2016-11-23Added task_region - a fork/join task implementationLee Clagett2-0/+178
2016-11-20tests: fix uninitialized data valgrind reports in levin testsmoneromooo-monero1-0/+1
2016-11-20tests: fix uninitialized data valgrind reports in serialization testsmoneromooo-monero1-1/+4
2016-11-13tests: fix another fee test on 32 bitmoneromooo-monero1-1/+1
2016-11-11tests: fix tests builds after fluffy blocks mergemoneromooo-monero2-0/+6
2016-11-10tests: fix fee unit tests on 32 bitmoneromooo-monero1-3/+5
2016-11-08Merge pull request #1296Riccardo Spagni1-2/+0
e59caf8 performance_tests: re-enable them... (moneromooo-monero)
2016-11-08Merge pull request #1276Riccardo Spagni2-0/+122
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-04performance_tests: re-enable them...moneromooo-monero1-2/+0
I think I'm the only one to review things here...
2016-11-01Merge pull request #1272Riccardo Spagni2-2/+4
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-10-31core: dynamic fee algorithm from ArticMinemoneromooo-monero2-0/+122
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-29ringct: check the size of amount_keys is the same as destinationsmoneromooo-monero2-2/+4
2016-10-26tests: add performance test for keypair::generatemoneromooo-monero3-0/+56
2016-10-23core: notify the txpool when transactions are relayedmoneromooo-monero2-0/+2
2016-10-19unit_tests: fix build after get_output_histogram signature changemoneromooo-monero1-1/+1
2016-10-09Merge pull request #1195Riccardo Spagni1-6/+9
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-08tests: add performance test for ge_frombytes_vartimemoneromooo-monero3-0/+73
At luigi1111's request
2016-10-08tests: add performance tests for rct signaturesmoneromooo-monero6-36/+69
2016-10-06libwallet_api: test: adjusted mixin_count=4 as it's minumum allowedIlya Kitaev1-3/+4
2016-10-06libwallet_api: some renamingsIlya Kitaev1-6/+8
2016-10-04Merge pull request #1152Riccardo Spagni1-7/+145
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 Spagni1-4/+4
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-01libwallet_api: do not use fast-refresh on recoveryIlya Kitaev1-11/+53
2016-10-01tests: fix build after addition of cryptonote_core::get_block_sync_sizemoneromooo-monero2-0/+2
2016-09-30libwallet_api: fast-refresh in case of opening non-synced walletIlya Kitaev1-1/+25
2016-09-30libwallet_api: fast-refresh for new walletIlya Kitaev1-3/+28
2016-09-28libwallet_api: test for create/init wallet on mainnetIlya Kitaev1-3/+50
2016-09-28libwallet_api: tests: fixed WalletCallbackReceived testIlya Kitaev1-3/+7
2016-09-27libwallet_api: tests: test fixed according implementationIlya Kitaev1-1/+0
2016-09-27libwallet_api: tests: compilation errors fixedIlya Kitaev1-2/+2
2016-09-27wallet: cold wallet transaction signingmoneromooo-monero1-4/+4
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-26wallet2_api: added Wallet::daemonBlockChainHeight()Ilya Kitaev2-5/+21
2016-09-26libwallet_api: Wallet::blockChainHeight, WalletListener::newBlockIlya Kitaev1-2/+49
2016-09-23libwallet_api: simple documentation on testing environmentIlya Kitaev2-3/+25
2016-09-22libwallet_api: tests: env variables for WALLETS_ROOT_DIR andIlya Kitaev1-13/+36
TESTNET_DAEMON_ADDRESS
2016-09-22libwallet_api: tests: changed testwallets path, uncommitted all testsIlya Kitaev1-12/+14
2016-09-20wallet2_api: getter and setter for "refresh interval"Ilya Kitaev1-6/+13
2016-09-18cmake: transitive deps and remove deprecated LINK_*redfish12-44/+35
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-14rct: rework serialization to avoid storing vector sizesmoneromooo-monero1-2/+5
2016-09-04tests: block reward: disable 64-bit-only tests on 32-bit systemsredfish1-0/+2
Issue #1008
2016-09-03fix remaining bitmonero and simplewallet bitsRiccardo Spagni10-10/+10
2016-09-01cmake: exclude tests from runningredfish1-11/+3
Minimize special cases in cmake script, likely to be forgotten.
2016-09-01Merge pull request #1018Riccardo Spagni1-1/+1
6cf8ca2 core: faster find_blockchain_supplement (moneromooo-monero)
2016-08-31core: faster find_blockchain_supplementmoneromooo-monero1-1/+1
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-30tests: cmake: fix building with system gtestredfish5-8/+9
Issues #980 #983
2016-08-30tests: cmake: use a list for enabled testsredfish1-6/+12
Avoid replicating common logic.
2016-08-30cmake: tests: gtest target is not always defined #983redfish1-2/+9
2016-08-29Prevent core_tests from building under TravisJacob Torrey1-1/+3
2016-08-28Merge pull request #992Riccardo Spagni1-2/+10
f1ba51c remove -Wall from coverage arguments (Jacob Torrey) f017fec Build the core_tests under Travis (Jacob Torrey) e0bf02a Streamline release-test target (Jacob Torrey) baf4574 Update badge to point to monero's coveralls (Jacob Torrey) d1dc2c3 Re-enable Travis IRC notifications (Jacob Torrey) 9c71b9e Silence coveralls to prevent 4MB logs (Jacob Torrey) 65041fb Disabled libwallet_api_test until Issue #895 resolved (Jacob Torrey) a450138 Disable core_tests on Travis-CI (Jacob Torrey) 650afac Added -j2 to Makefile and clean up matrix (Jacob Torrey) 256dec0 Streamline test building target (Jacob Torrey) 14915c2 Ensure tests are built prior to testing (Jacob Torrey) fe4992b Added coverage g++ commands (Jacob Torrey) 497b24f Update .travis.yml (Jacob Torrey) 678467d Update for the current make environment (Jacob Torrey) abcac26 Fixed tab/space issue on YAML (Jacob Torrey) 7351a11 Converted to a build matrix for testing and release (Jacob Torrey) 342dbfb Prep for coveralls (Jacob Torrey)
2016-08-28tests: hard fork list must end with a 0moneromooo-monero3-4/+4
2016-08-28New "Halfway RingCT" outputs for coinbase transactionsmoneromooo-monero10-11/+28
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-monero2-16/+17
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-monero2-39/+41
Nothing is pruned, but this allows easier changes later.
2016-08-28rct: rework the verification preparation processmoneromooo-monero1-4/+4
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-monero2-2/+2
for future expansion
2016-08-28rct: avoid the need for the last II elementShen Noether1-4/+2
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-monero2-1/+6
Saves some substantial space. Also avoid calculating tx hashes we don't need.
2016-08-28rct: do not serialize senderPk - it is not used anymoremoneromooo-monero1-1/+3
2016-08-28core_tests: fix a couple pre-rct tests using rctmoneromooo-monero1-2/+2
2016-08-28change fork settings to allow pre-rct txes for one more fork cyclemoneromooo-monero2-9/+9
2016-08-28rct: make the amount key derivable by a third party with the tx keymoneromooo-monero3-20/+35
Scheme design from luigi1114.
2016-08-28rct: do not serialize public keys in outPkmoneromooo-monero1-1/+2
They can be reconstructed from vout
2016-08-28tests: add tests for wallet output selectionmoneromooo-monero2-1/+100
2016-08-28port get_tx_key/check_tx_key to rctmoneromooo-monero1-2/+4
2016-08-28tests: add basic tests for simple rct apimoneromooo-monero1-44/+378
2016-08-28integrate simple rct apimoneromooo-monero3-7/+65
2016-08-28move the rct commitments to the output_amounts databasemoneromooo-monero1-5/+1
Since these are needed at the same time as the output pubkeys, this is a whole lot faster, and takes less space. Only outputs of 0 amount store the commitment. When reading other outputs, a fake commitment is regenerated on the fly. This avoids having to rewrite the database to add space for fake commitments for existing outputs. This code relies on two things: - LMDB must support fixed size records per key, rather than per database (ie, all records on key 0 are the same size, all records for non 0 keys are same size, but records from key 0 and non 0 keys do have different sizes). - the commitment must be directly after the rest of the data in outkey and output_data_t.
2016-08-28rct: add the tx prefix hash into the MLSAGmoneromooo-monero5-6/+39
to protect the non-signatures parts of the tx from tampering.
2016-08-28ringct: do not serialize what can be reconstructedmoneromooo-monero2-21/+13
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-28Add rct core testsmoneromooo-monero7-10/+764
2016-08-28tests: test for ringct rctSig data sizesmoneromooo-monero1-3/+44
ie, more data or less data than expected in various fields
2016-08-28add rct to the protocolmoneromooo-monero8-35/+26
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-28make rct tx serialization workmoneromooo-monero1-0/+201
It may be suboptimal, but it's a pain to have to rebuild everything when some of this changes. Also, no clue why there seems to be two different code paths for serializing a tx...
2016-08-28ringct: allow no outputs, and add tests for this and feesmoneromooo-monero1-31/+75
2016-08-28ringct: txn fee stuffShen Noether1-0/+61
2016-08-28blockchain_db: add functions for adding/removing/getting rct commitmentsmoneromooo-monero1-0/+4
2016-08-28tests: new ringct test for checking H2 valuesShen Noether1-0/+11
Ported from Shen's RingCT repo
2016-08-28tests: zero inputs/outputs are in fact supposed to be acceptedmoneromooo-monero1-14/+14
2016-08-28ringct: add a test for prooveRange being non deterministicmoneromooo-monero1-0/+9
2016-08-28tests: more ringct range proof testsmoneromooo-monero1-0/+245
2016-08-28remove original Cryptonote blockchain_storage blockchain formatmoneromooo-monero2-3/+1
2016-08-28tests: add some more ringct building block testsmoneromooo-monero1-1/+50
2016-08-28tests: add Shen Noether's basic ringct testsmoneromooo-monero2-1/+209
2016-08-27Build the core_tests under TravisJacob Torrey1-4/+1
2016-08-26Disabled libwallet_api_test until Issue #895 resolvedJacob Torrey1-1/+3
Signed-off-by: Jacob Torrey <discipleofranok@gmail.com>
2016-08-26Disable core_tests on Travis-CIJacob Torrey1-2/+11
Signed-off-by: Jacob Torrey <discipleofranok@gmail.com>
2016-08-23libwallet_api: tests: checking for result while opening walletIlya Kitaev1-4/+6
2016-08-23libwallet_api: Wallet::amountFromString fixedIlya Kitaev1-0/+23
2016-08-22libwallet_api: tests: removed logged passwordsIlya Kitaev1-2/+2
2016-08-22libwallet_api: do not store wallet on close if status is not okIlya Kitaev1-2/+67
2016-08-11Fake outs set is now decided by the walletmoneromooo-monero1-3/+3
This plugs a privacy leak from the wallet to the daemon, as the daemon could previously see what input is included as a transaction input, which the daemon hadn't previously supplied. Now, the wallet requests a particular set of outputs, including the real one. This can result in transactions that can't be accepted if the wallet happens to select too many outputs with non standard unlock times. The daemon could know this and select another output, but the wallet is blind to it. It's currently very unlikely since I don't think anything uses non default unlock times. The wallet requests more outputs than necessary so it can use spares if any of the returns outputs are still locked. If there are not enough spares to reach the desired mixin, the transaction will fail.
2016-07-26tests: fix a bitflag test typomoneromooo-monero1-1/+1
2016-07-26unit_tests: check adding checkpoints succeededmoneromooo-monero1-3/+3
2016-07-23Merge pull request #915Riccardo Spagni2-45/+199
d7597c5 refreshing wallet even if error happened (Ilya Kitaev) 6d32a3d wallet_api: async init, Wallet::connected status, log level (Ilya Kitaev) 193d251 libwallet_api cmake: conditionally creating libwallet_merged2 only for STATIC build (Ilya Kitaev) 10c06dd wallet_api: segfault on refresh fixed (Ilya Kitaev) 9d2cb4f WalletListener functionality (Ilya Kitaev) d27b883 hack to successfull linking for MSYS2 (Ilya Kitaev) 083380c Transaction fee multiplier aka priority integraged (Ilya Kitaev) 00ed12b Wallet::paymentIdValid (Ilya Kitaev)
2016-07-22Tests: fix signed/unsigned comparison in hash-targetanonimal1-1/+1
* References #886
2016-07-18wallet_api: async init, Wallet::connected status, log levelIlya Kitaev1-20/+81
2016-07-18WalletListener functionalityIlya Kitaev2-39/+90
2016-07-18Transaction fee multiplier aka priority integragedIlya Kitaev1-0/+42
2016-07-13remove hf_starting_height dbmoneromooo-monero1-31/+1
It's not really needed, it used to be an optimization for when that code was not using the db and needed to recalculate things fast on startup.
2016-06-23Merge branch 'master' of https://github.com/mbg033/bitmoneroIlya Kitaev1-11/+6
2016-06-23Wallet: payment id and integrated addressIlya Kitaev1-3/+76
2016-06-23Wallet::createTransaction: added mixin_count paramIlya Kitaev1-1/+40
2016-06-23double/string to monero integer convertion methodsIlya Kitaev1-2/+14
2016-06-23wallet::default_mixin exposed to public interface asIlya Kitaev1-0/+2
Wallet::setDefaultMixin, Wallet::defaultMixin; wallet::create_transaction_2 used in Wallet::createTransaction
2016-06-23Wallet::filename, Wallet::keysFilename, tests for move walletIlya Kitaev1-0/+29
2016-06-23Wallet API : WalletManager::findWallets() addedIlya Kitaev4-15/+29
2016-06-23scripts for faster test wallets generationIlya Kitaev11-19/+120
2016-06-23regenerated test wallets, basic functions got brokenIlya Kitaev1-17/+20
2016-06-23WalletListener::moneyReceived testIlya Kitaev1-12/+38
2016-06-23WalletListener::moneySpent testIlya Kitaev1-53/+154
2016-06-23TransactionHistory continuedIlya Kitaev1-11/+55
2016-06-23Wallet API : transaction history in progressIlya Kitaev1-0/+28
2016-06-23Wallet::createTransaction API introducedIlya Kitaev1-3/+11
Transaction API continued TODOs for Transaction/Transfer interface
2016-06-23Wallet::transfer in progressIlya Kitaev1-0/+16
2016-06-23Wallet::refresh + testsIlya Kitaev1-0/+12
2016-06-23testnet option, Wallet::balance(), Wallet::unlockedBalance()Ilya Kitaev1-11/+12
2016-06-23- testnet option added to api;Ilya Kitaev1-24/+44
2016-06-23wallet2::store() implemented within wallet2::store_toIlya Kitaev1-0/+25
2016-06-20Wallet::createTransaction: added mixin_count paramIlya Kitaev1-1/+40
2016-06-16double/string to monero integer convertion methodsIlya Kitaev1-2/+14
2016-06-10wallet::default_mixin exposed to public interface asIlya Kitaev1-0/+2
Wallet::setDefaultMixin, Wallet::defaultMixin; wallet::create_transaction_2 used in Wallet::createTransaction
2016-06-10Wallet::filename, Wallet::keysFilename, tests for move walletIlya Kitaev1-0/+29
2016-06-03Wallet API : WalletManager::findWallets() addedIlya Kitaev4-15/+29
2016-06-01scripts for faster test wallets generationIlya Kitaev11-19/+120
2016-05-27regenerated test wallets, basic functions got brokenIlya Kitaev1-17/+20
2016-05-27Merge remote-tracking branch 'upstream/master'Ilya Kitaev8-29/+91
2016-05-18fix: error: -Werror=misleading-indentationmoneroexample1-1/+3
Compilation of bitmonero on Arch with gcc 6.1 results in the following error: /home/mwo/bitmonero/tests/unit_tests/hardfork.cpp: In member function ‘virtual void TestDB::set_hard_fork_version(uint64_t, uint8_t)’: /home/mwo/bitmonero/tests/unit_tests/hardfork.cpp:132:5: error: this ‘if’ clause does not guard... [-Werror=misleading-indentation] if (versions.size() <= height) versions.resize(height+1); versions[height] = version; This can be fixed by simply unfolding this line into three lines.
2016-05-17Merge pull request #831Riccardo Spagni7-25/+86
9ef8c7b tests: fix tests broken by the removal of the block reward accumulation loop (moneromooo-monero) a6e717e cn_deserialize: deserialize tx_extra too (moneromooo-monero) 3eff37f unit_tests: add a write_varint/read_varint test (moneromooo-monero) 7a66387 unit_tests: fix UNBOUND_LIBRARIES/UNBOUND_LIBRARY typo (moneromooo-monero) d6bce4b core: move tx_extra parsing errors to log level 1 (moneromooo-monero)
2016-05-17WalletListener::moneyReceived testIlya Kitaev1-12/+38
2016-05-16WalletListener::moneySpent testIlya Kitaev1-53/+154
2016-05-12Merge remote-tracking branch 'upstream/master'Ilya Kitaev1-1/+2
2016-05-01tests: fix tests broken by the removal of the block reward accumulation loopmoneromooo-monero5-23/+17
The tests for rejection of unmixable outputs in v2 are commented out, as there are no unmixable outputs created anymore. This should be restored at some point.
2016-05-01unit_tests: add a write_varint/read_varint testmoneromooo-monero2-1/+68
2016-05-01unit_tests: fix UNBOUND_LIBRARIES/UNBOUND_LIBRARY typomoneromooo-monero1-1/+1
2016-04-29Merge branch 'performance' of https://github.com/LMDB/bitmoneroRiccardo Spagni1-4/+5
2016-04-29TransactionHistory continuedIlya Kitaev1-11/+55
2016-04-26Merge remote-tracking branch 'upstream/master' into developIlya Kitaev4-4/+61
2016-04-22Wallet API: transaction history in progressIlya Kitaev1-4/+4
2016-04-22Wallet API : transaction history in progressIlya Kitaev1-0/+28
2016-04-17tests: fix compile failure on wallet2::transfermoneromooo-monero1-1/+2
2016-04-14Merge pull request #786Riccardo Spagni1-0/+4
5092e45 tests: unbound API is only accessible in static builds (moneromooo-monero)
2016-04-14Merge pull request #783Riccardo Spagni1-1/+1
48d0747 wallet: better output selection for transfer/transfer_new (moneromooo-monero)
2016-04-12TODOs for Transaction/Transfer interfaceIlya Kitaev1-4/+4
2016-04-06Transaction API continuedIlya Kitaev1-0/+2
2016-04-05Merge branch 'performance' into masterHoward Chu1-4/+5
2016-04-05CleanupHoward Chu1-4/+5
drop obsolete remove_output() fix get_output_key(global), fix crash in blockchain_dump
2016-04-05Wallet::createTransaction API introducedIlya Kitaev1-2/+8
2016-04-04Wallet::transfer() continuedIlya Kitaev1-0/+16
2016-04-02tests: fix build with older GCCJavier Smooth1-2/+4
2016-04-02tests: unbound API is only accessible in static buildsmoneromooo-monero1-0/+4
2016-04-02wallet: better output selection for transfer/transfer_newmoneromooo-monero1-1/+1
This now requests the set of outputs that can be mixed first, to avoid trying non dust but unmixable outputs, which we know will fail.
2016-03-31Wallet::refresh + testsIlya Kitaev1-0/+12
2016-03-31testnet option, Wallet::balance(), Wallet::unlockedBalance()Ilya Kitaev1-11/+12
2016-03-31Merge remote-tracking branch 'upstream/master'Ilya Kitaev3-2/+3
2016-03-29tests: add test for needed OpenSSL algorithms in unboundmoneromooo-monero2-1/+52
These can be compiled out of libunbound, leading to failure to check DNSSEC validity.
2016-03-26tests: obligatory hardfork unit build fix after interface changemoneromooo-monero1-1/+1
2016-03-26New RPC and daemon command to get output histogrammoneromooo-monero1-0/+1
This is a list of existing output amounts along with the number of outputs of that amount in the blockchain. The daemon command takes: - no parameters: all outputs with at least 3 instances - one parameter: all outputs with at least that many instances - two parameters: all outputs within that many instances The default starts at 3 to avoid massive spamming of all dust outputs in the blockchain, and is the current minimum mixin requirement. An optional vector of amounts may be passed, to request histogram only for those outputs.
2016-03-25- testnet option added to api;Ilya Kitaev1-24/+44
2016-03-21core_tests: fix compile failure with GCC 4.8.4moneromooo-monero1-1/+1
Reported and tested by smooth
2016-03-21wallet2::store() implemented within wallet2::store_toIlya Kitaev1-0/+25
2016-03-21Revert "Print stack trace upon exceptions"moneromooo-monero10-17/+13
Ain't nobody got time for link/cmake skullduggery. This reverts commit fff238ec94ac6d45fc18c315d7bc590ddfaad63d.
2016-03-19Print stack trace upon exceptionsmoneromooo-monero10-13/+17
Useful for debugging users' logs
2016-03-17tests: enable core tests againmoneromooo-monero1-1/+1
They should not have been disabled in the first place
2016-03-16fixed "undefined reference" for boost::system libraryIlya Kitaev1-1/+2
2016-03-16Wallet::store_to(path, password) implemented;Ilya Kitaev1-1/+64
2016-03-16Wallet::address implementedIlya Kitaev1-0/+8
2016-03-16WalletManager::recoveryWallet implementedIlya Kitaev1-5/+14
2016-03-16Wallet::setPassword() method for wallet2_apiIlya Kitaev1-4/+22
2016-03-16changes in wallet2_api + implemented WalletManager::openWalletIlya Kitaev1-5/+25
2016-03-16get_seed() included to interfaceIlya Kitaev1-9/+34
2016-03-16tests for wallet2_apiIlya Kitaev3-1/+130
2016-03-05unit_tests: fix hard fork unit test compilationwarptangent1-1/+1
Match changed BlockchainDB function declaration.
2016-02-29Merge pull request #689Riccardo Spagni1-1/+1
5ab33ca unit_tests: update test openalias address (moneromooo-monero)
2016-02-23unit_tests: update test openalias addressmoneromooo-monero1-1/+1
It was recently changed
2016-02-22move g_test_dbg_lock_sleep from a global to a function level staticmoneromooo-monero7-14/+0
This avoids the need to define that variable in every program which uses epee.
2016-02-17Merge pull request #659Riccardo Spagni1-1/+1
d56b2e5 core_tests: fix a compile problem with CLANG (moneromooo-monero)
2016-02-13core_tests: fix a compile problem with CLANGmoneromooo-monero1-1/+1
It doesn't like const objects from classes that do not have a user defined ctor, apparently. Reported by othe.
2016-02-13Add the new test filesmoneromooo-monero2-0/+295
Forgot to add them before commit
2016-02-08unit_tests: fix blockchain unit test after hard fork import fixmoneromooo-monero1-1/+10
2016-02-08core_tests: add tests for hard fork behaviors (MRL-0004)moneromooo-monero4-7/+22
We also replace the --fakechain option with an optional structure containing details about configuration for the core/blockchain, for test purposes. This seems more future friendly.
2016-02-08core_tests: allow setting miner tx max_outs when creating a blockmoneromooo-monero2-4/+6
2016-02-08unit_tests: fix hard fork unit test compilationmoneromooo-monero1-0/+4
2016-02-08Merge pull request #641Riccardo Spagni1-13/+9
7658ac0 blockchain: revert handle_get_objects adding block id on tx not found (moneromooo-monero) 3a0f4d8 berkeleydb: fix delete/free mismatch (moneromooo-monero) 1642be2 minor bugfixes and refactoring (Thomas Winget) 098dcf2 unit_tests: fix mnemonics unit test testing invalid seeds (moneromooo-monero)
2016-02-08Merge pull request #639Riccardo Spagni1-30/+68
119eb10 unit_tests: fix hard fork unit tests and add a test for major too (moneromooo-monero) 64a2aa3 hardfork: allow passing chain height in get(height) for convenience (moneromooo-monero)
2016-02-01unit_tests: fix mnemonics unit test testing invalid seedsmoneromooo-monero1-13/+9
Some word triplets, such as "mugged names nail", are not valid results from any 32 bit value. If used to decode a 32 bit value, the result will therefore encode to a different word triplet. Fix this by using random words converted from an actual random bitstring, ensuring we always get valid triplets.
2016-02-01unit_tests: fix hard fork unit tests and add a test for major toomoneromooo-monero1-30/+68
2016-01-31tests: fix compilation failure after V1 define renamemoneromooo-monero1-1/+1
2016-01-25updated gtest (added missing files)Riccardo Spagni5-0/+525
2016-01-25updated gtestRiccardo Spagni17-888/+884
2016-01-21OpenBSD support for Monero.me0wmix2-4/+4
2016-01-16Fix 30f92f5630bbc7507708275a29a9ae7acf633a5bHoward Chu1-0/+1
Needed to add the corresponding (dummy) method to unit test hardfork
2016-01-02unit_tests: initialize db object in ctor, not openmoneromooo-monero1-1/+2
open isn't actually called in those tests
2015-12-31updated copyright yearRiccardo Spagni98-98/+98
2015-12-31Merge pull request #580Riccardo Spagni1-1/+1
1813736 unit_tests: remove an unused variable (moneromooo-monero) 70dd346 unit_tests: fix hardfork test build (moneromooo-monero)
2015-12-30unit_tests: remove an unused variablemoneromooo-monero1-1/+0
2015-12-30unit_tests: fix hardfork test buildmoneromooo-monero1-0/+1
The dummy blockchain class needed to have the newly added is_read_only virtual function.