aboutsummaryrefslogtreecommitdiff
path: root/tests (unfollow)
AgeCommit message (Collapse)AuthorFilesLines
2020-04-15Allow wallet2.h to run in WebAssemblywoodser1-0/+5
- Add abstract_http_client.h which http_client.h extends. - Replace simple_http_client with abstract_http_client in wallet2, message_store, message_transporter, and node_rpc_proxy. - Import and export wallet data in wallet2. - Use #if defined __EMSCRIPTEN__ directives to skip incompatible code.
2020-04-06functional_tests: ensure signatures never reuse a timestampmoneromooo-monero1-0/+2
2020-04-06functional_tests: ensure signed timestamps are freshmoneromooo-monero1-1/+3
This fixes a test failure now that timestamps are more constrained
2020-03-31cryptonote_basic: drop unused verification_context::m_not_rct fieldxiphon1-3/+0
2020-03-30Always reject duplicate key-images from second txidLee Clagett1-13/+39
2020-03-30Allow unrestricted rpc calls to get full txpool infoLee Clagett2-12/+26
2020-03-30Fixed string_ref usage bug in epee::from_hex::vectorLee Clagett1-0/+3
2020-03-28Fix network unit tests after epee changesLee Clagett1-2/+2
2020-03-26Adding Dandelion++ support to public networks:Lee Clagett5-29/+1118
- New flag in NOTIFY_NEW_TRANSACTION to indicate stem mode - Stem loops detected in tx_pool.cpp - Embargo timeout for a blackhole attack during stem phase
2020-03-26functional_tests: speed up signature generationmoneromooo-monero2-5/+29
Executing a new binary for each signature can get really slow
2020-03-26functional_tests: update cookie at 10 seconds intervalmoneromooo-monero1-0/+28
Otherwise the daemon will start rejecting
2020-03-22protocol: request txpool contents when syncedmoneromooo-monero2-0/+4
A newly synced Alice sends a (typically quite small) list of txids in the local tpxool to a random peer Bob, who then uses the existing tx relay system to send Alice any tx in his txpool which is not in the list Alice sent
2020-03-20p2p: remove old debug commandsAaron Hook4-2/+2
2020-03-14Correct key image check in tx_poolLee Clagett3-0/+64
2020-03-10Fix receive order leakage with tx fluffingLee Clagett1-8/+12
2020-03-09Move hex->bin conversion to monero copyright files and with less includesLee Clagett1-3/+43
2020-03-05Various improvements to the ZMQ JSON-RPC handling:Lee Clagett2-20/+38
- Finding handling function in ZMQ JSON-RPC now uses binary search - Temporary `std::vector`s in JSON output now use `epee::span` to prevent allocations. - Binary -> hex in JSON output no longer allocates temporary buffer - C++ structs -> JSON skips intermediate DOM creation, and instead write directly to an output stream.
2020-02-28daemon: auto public nodes - cache and prioritize most stable nodesxiphon2-0/+173
2020-02-18unit_tests: fix missing test namesxiphon2-5/+1
2020-02-17remove empty statementsInterchained2-2/+2
Cleaning up a little around the code base.
2020-02-12wipeable_string: split - treat CR, LF and Tabs as separatorsxiphon1-0/+1
2020-01-26serialization: do not write optional fields with default valuemoneromooo-monero1-2/+2
2020-01-26network: log traffic and add a simple traffic analysis scriptmoneromooo-monero3-18/+19
2020-01-26wallet: do not split integrated addresses in address book apimoneromooo-monero2-60/+5
2020-01-19fix tests bug added in #6110Dusan Klinec1-4/+10
- e.g., fixes gen_block_big_major_version test, error: generation failed: what=events not set, cannot compute valid RandomX PoW - ask for events only if difficulty > 1 (when it really matters) - throwing an exception changed to logging, so it is easy to spot a problem if tests start to fail.
2020-01-18net: fix incorrect less operator for top/i2p addressesAaron Hook1-23/+403
2019-12-31wallet: allow message sign/verify for subaddressesmoneromooo-monero1-8/+23
2019-12-12print_coinbase_tx_sum now supports 128 bits sumsmoneromooo-monero1-0/+5
The tail emission will bring the total above 64 bits
2019-12-01unit_tests: remove invalid bulletproofs unit testmoneromooo-monero1-9/+0
It was intended to check a case which is actually valid (0 gamma), but was actually duplicating the bad amount test. Reported by WhatDo_ on IRC.
2019-11-27make_test_signature: exit nicely on top level exceptionmoneromooo-monero1-0/+2
Coverity 205411
2019-11-18Fixed bug in ZMQ JSON-RPC method fieldLee Clagett2-1/+58
2019-11-13tests: fix HF12 chaingen - construct bc object from eventsDusan Klinec3-22/+180
2019-11-12rpc: Only show version string if it matches expected patternNathan Dorfman2-1/+51
2019-11-10core_tests: reset thread pool between testsmoneromooo-monero1-0/+2
Avoids a DB error (leading to an assert) where a thread uses a read txn previously created with an environment that was since closed and reopened. While this usually works since BlockchainLMDB renews txns if it detects the environment has changed, this will not work if objects end up being allocated at the same address as the previous instance, leading to stale data usage. Thanks hyc for the LMDB debugging.
2019-11-04Change to Tx diffusion (Dandelion++ fluff) instead of floodingLee Clagett2-16/+84
2019-11-04Improved performance for epee serialization:Lee Clagett1-3/+3
- Removed copy of field names in binary deserialization - Removed copy of array values in binary deserialization - Removed copy of string values in json deserialization - Removed unhelpful allocation in json string value parsing - Removed copy of blob data on binary and json serialization
2019-11-02Adding support for hidden (anonymity) txpoolLee Clagett10-36/+739
2019-10-31unit_tests: fix use after freemoneromooo-monero1-7/+16
2019-10-31cryptonote: untangle dependency from miner to blockchainmoneromooo-monero1-2/+6
It causes link errors at least on mac
2019-10-31cryptonote: untangle dependency from miner to blockchainmoneromooo-monero1-2/+6
It causes link errors at least on mac
2019-10-30core_tests: remove some useless verbose logsmoneromooo-monero4-5/+0
2019-10-30unit_tests: fix use after freemoneromooo-monero1-7/+16
2019-10-27functional_tests: ensure mining stops on error in mining testmoneromooo-monero1-1/+11
this prevents messing up any subsequent test too
2019-10-25functional_tests: fix rpc_payment tests with python 3moneromooo-monero1-3/+4
2019-10-25daemon, wallet: new pay for RPC use systemmoneromooo-monero7-6/+506
Daemons intended for public use can be set up to require payment in the form of hashes in exchange for RPC service. This enables public daemons to receive payment for their work over a large number of calls. This system behaves similarly to a pool, so payment takes the form of valid blocks every so often, yielding a large one off payment, rather than constant micropayments. This system can also be used by third parties as a "paywall" layer, where users of a service can pay for use by mining Monero to the service provider's address. An example of this for web site access is Primo, a Monero mining based website "paywall": https://github.com/selene-kovri/primo This has some advantages: - incentive to run a node providing RPC services, thereby promoting the availability of third party nodes for those who can't run their own - incentive to run your own node instead of using a third party's, thereby promoting decentralization - decentralized: payment is done between a client and server, with no third party needed - private: since the system is "pay as you go", you don't need to identify yourself to claim a long lived balance - no payment occurs on the blockchain, so there is no extra transactional load - one may mine with a beefy server, and use those credits from a phone, by reusing the client ID (at the cost of some privacy) - no barrier to entry: anyone may run a RPC node, and your expected revenue depends on how much work you do - Sybil resistant: if you run 1000 idle RPC nodes, you don't magically get more revenue - no large credit balance maintained on servers, so they have no incentive to exit scam - you can use any/many node(s), since there's little cost in switching servers - market based prices: competition between servers to lower costs - incentive for a distributed third party node system: if some public nodes are overused/slow, traffic can move to others - increases network security - helps counteract mining pools' share of the network hash rate - zero incentive for a payer to "double spend" since a reorg does not give any money back to the miner And some disadvantages: - low power clients will have difficulty mining (but one can optionally mine in advance and/or with a faster machine) - payment is "random", so a server might go a long time without a block before getting one - a public node's overall expected payment may be small Public nodes are expected to compete to find a suitable level for cost of service. The daemon can be set up this way to require payment for RPC services: monerod --rpc-payment-address 4xxxxxx \ --rpc-payment-credits 250 --rpc-payment-difficulty 1000 These values are an example only. The --rpc-payment-difficulty switch selects how hard each "share" should be, similar to a mining pool. The higher the difficulty, the fewer shares a client will find. The --rpc-payment-credits switch selects how many credits are awarded for each share a client finds. Considering both options, clients will be awarded credits/difficulty credits for every hash they calculate. For example, in the command line above, 0.25 credits per hash. A client mining at 100 H/s will therefore get an average of 25 credits per second. For reference, in the current implementation, a credit is enough to sync 20 blocks, so a 100 H/s client that's just starting to use Monero and uses this daemon will be able to sync 500 blocks per second. The wallet can be set to automatically mine if connected to a daemon which requires payment for RPC usage. It will try to keep a balance of 50000 credits, stopping mining when it's at this level, and starting again as credits are spent. With the example above, a new client will mine this much credits in about half an hour, and this target is enough to sync 500000 blocks (currently about a third of the monero blockchain). There are three new settings in the wallet: - credits-target: this is the amount of credits a wallet will try to reach before stopping mining. The default of 0 means 50000 credits. - auto-mine-for-rpc-payment-threshold: this controls the minimum credit rate which the wallet considers worth mining for. If the daemon credits less than this ratio, the wallet will consider mining to be not worth it. In the example above, the rate is 0.25 - persistent-rpc-client-id: if set, this allows the wallet to reuse a client id across runs. This means a public node can tell a wallet that's connecting is the same as one that connected previously, but allows a wallet to keep their credit balance from one run to the other. Since the wallet only mines to keep a small credit balance, this is not normally worth doing. However, someone may want to mine on a fast server, and use that credit balance on a low power device such as a phone. If left unset, a new client ID is generated at each wallet start, for privacy reasons. To mine and use a credit balance on two different devices, you can use the --rpc-client-secret-key switch. A wallet's client secret key can be found using the new rpc_payments command in the wallet. Note: anyone knowing your RPC client secret key is able to use your credit balance. The wallet has a few new commands too: - start_mining_for_rpc: start mining to acquire more credits, regardless of the auto mining settings - stop_mining_for_rpc: stop mining to acquire more credits - rpc_payments: display information about current credits with the currently selected daemon The node has an extra command: - rpc_payments: display information about clients and their balances The node will forget about any balance for clients which have been inactive for 6 months. Balances carry over on node restart.
2019-10-21Support median block size > 4 GBmoneromooo-monero1-0/+116
add a 128/64 division routine so we can use a > 32 bit median block size in calculations
2019-10-15functional_tests: fix transfer test - long payment ids are gonemoneromooo-monero1-1/+1
2019-10-15unit_tests: fix build after renamemoneromooo-monero1-4/+6
2019-10-14wallet_rpc_server: don't report integrated addresses for 0 payment IDmoneromooo-monero1-1/+1
These are dummy ones
2019-10-14wallet: remove long payment ID sending supportmoneromooo-monero2-10/+15
2019-10-14wallet2: ignore received unencrypted payment IDs (but warn hard)moneromooo-monero1-6/+6
2019-10-13p2p+rpc: don't skip p2p or rpc port bind failure by defaultxiphon2-7/+42
2019-10-11cryptonote: add function to get weight from a pruned txmoneromooo-monero1-0/+37
The weight of the prunable data is deterministic from the unpruned data, so it can be determined from a pruned tx
2019-10-11unit_tests: fix build with boost 1.69moneromooo-monero1-3/+6
2019-10-04unit_tests: fix ringdb unit testsmoneromooo-monero1-5/+11
2019-09-27monerod can now sync from pruned blocksmoneromooo-monero4-17/+35
If the peer (whether pruned or not itself) supports sending pruned blocks to syncing nodes, the pruned version will be sent along with the hash of the pruned data and the block weight. The original tx hashes can be reconstructed from the pruned txes and theur prunable data hash. Those hashes and the block weights are hashes and checked against the set of precompiled hashes, ensuring the data we received is the original data. It is currently not possible to use this system when not using the set of precompiled hashes, since block weights can not otherwise be checked for validity. This is off by default for now, and is enabled by --sync-pruned-blocks
2019-09-25RandomX integrationHoward Chu2-4/+4
Support RandomX PoW algorithm
2019-09-17blockchain: enforce 10 block age for spending outputsmoneromooo-monero3-6/+40
Some custom wallet code apparently ignores this, which causes users of that code to be fingerprinted
2019-09-17functional_tests: fix failure on windows removing filesmoneromooo-monero1-0/+2
2019-09-17fix wallet python test when run with ctestmoneromooo-monero2-1/+3
2019-09-17functional_tests: python3 compatibilitymoneromooo-monero7-15/+15
and add missing tests
2019-09-17functional_tests: pop exactly what we need to test before testingmoneromooo-monero10-10/+20
2019-09-17functional_tests: check for RPC methods which aren't exposedmoneromooo-monero2-0/+54
2019-09-17functional_tests: add get_transaction_pool_statsmoneromooo-monero1-0/+84
Also fix part of the RPC results being returned as binary. This makes the RPC backward incompatible.
2019-09-17functional_tests: add save_bcmoneromooo-monero1-0/+3
2019-09-17functional_tests: add is_key_image_spent testsmoneromooo-monero1-1/+45
2019-09-17functional_tests: add submitblock testmoneromooo-monero1-0/+28
2019-09-17functional_tests: check transaction fee is around what we expectmoneromooo-monero1-2/+9
2019-09-17functional_tests: add tx_notes testsmoneromooo-monero1-0/+18
2019-09-17functional_tests: add wallet attributes testmoneromooo-monero1-0/+23
2019-09-17functional_tests: add rescan_spent/rescan_blockchain testsmoneromooo-monero1-0/+39
2019-09-17functional_tests: add monero: URI testsmoneromooo-monero2-1/+235
2019-09-17wallet: add edit_address_book RPCmoneromooo-monero1-6/+71
2019-09-17functional_tests: add address book testsmoneromooo-monero2-1/+239
2019-09-17functional_tests: add wallet password change, store and tag testsmoneromooo-monero2-9/+165
2019-09-17functional_tests: add spend proof testsmoneromooo-monero1-0/+35
2019-09-17functional_tests: add test for mining via walletmoneromooo-monero1-7/+21
2019-09-17functional_tests: add multisig state testsmoneromooo-monero1-0/+68
2019-09-17functional_tests: add get_transfers testmoneromooo-monero1-0/+23
2019-09-17functional_tests: add missing sweep_dust parameters, and test itmoneromooo-monero1-0/+8
though not a very good test, but we don't have dust handy
2019-09-17functional_tests: move extraneous stuff out of the frameworkmoneromooo-monero1-5/+16
2019-09-16p2p: fix bans taking port into accountmoneromooo-monero1-2/+20
2019-09-16Properly format multiline logsmoneromooo-monero1-0/+17
As a side effect, colouring on Windows should now work regardless of version
2019-09-16Removed Berkeley DB and db switching logicJesus Ramirez1-8/+1
2019-09-09unit tests: replace global var with lambda returning static local varstoffu2-9/+9
Fixes assertion failure (curstate == 1) in random.c in debug mode
2019-09-07tests: rct_mlsag: resolve CID 203914 (UNINIT_CTOR)anonimal1-1/+1
2019-09-05wallet: fix mismatch between two concepts of "balance"moneromooo-monero1-4/+4
One considers the blockchain, while the other considers the blockchain and some recent actions, such as a recently created transaction which spend some outputs, but isn't yet mined. Typically, the "balance" command wants the latter, to reflect the recent action, but things like proving ownership wants the former. This fixes a crash in get_reserve_proof, where a preliminary check and the main code used two concepts of "balance".
2019-09-04unit_tests: fix levin unit test on big endianmoneromooo-monero1-23/+23
2019-09-04difficulty: fix check_hash on big endianmoneromooo-monero2-8/+20
2019-09-02Changed the use of boost:value_initialized for C++ list initializerJesus Ramirez3-4/+4
2019-08-30unit_tests: fix build with CLANG 8 and boost 1.69moneromooo-monero1-6/+12
2019-08-27MLSAG speedup and additional checksSarang Noether3-25/+22
2019-08-27unit_tests: Fix uninitialized valuesMatyas Liptak1-1/+1
- Initialize the `hash` in the `get_block_hash()` function of the `output_distribution` unit test explicitly, to silence `valgrind` warnings.
2019-08-19blockchain: forbid v1 coinbase from v12moneromooo-monero3-0/+28
2019-08-16functional_tests: test creating wallets with local language namesmoneromooo-monero1-2/+3
2019-08-16epee: support unicode in parsed stringsmoneromooo-monero1-0/+17
2019-08-15Replace std::random_shuffle with std::shuffleTom Smeding2-3/+3
According to [1], std::random_shuffle is deprecated in C++14 and removed in C++17. Since std::shuffle is available since C++11 as a replacement and monero already requires C++11, this is a good replacement. A cryptographically secure random number generator is used in all cases to prevent people from perhaps copying an insecure std::shuffle call over to a place where a secure one would be warranted. A form of defense-in-depth. [1]: https://en.cppreference.com/w/cpp/algorithm/random_shuffle
2019-07-29functional_tests: add validate_address testsmoneromooo-monero1-0/+111
2019-07-29Fixed i2p/tor tx flooding bug (white noise disabled)Lee Clagett1-12/+85
2019-07-22Dropping cppzmq dependency; adding some zmq utilsLee Clagett2-1/+132
2019-07-17Added support for "noise" over I1P/Tor to mask Tx transmission.Lee Clagett4-0/+1088
2019-07-16Add ref-counted buffer byte_slice. Currently used for sending TCP data.Lee Clagett3-5/+438
2019-07-16allow blocking whole subnetsmoneromooo-monero2-3/+53
2019-07-09boost: update obsolete usage of endian APImoneromooo-monero1-1/+2
2019-07-09wallet_rpc_server: fix get_bulk_payments with short payment idsmoneromooo-monero1-0/+3
2019-07-04keccak: guard against misaligned memory accesses on ARMmoneromooo-monero1-0/+17
The code generated is exactly the same as the direct access one on x86_64
2019-07-01unit_tests: check return values on test data parsingmoneromooo-monero1-2/+2
Won't trigger in practice, but you never know when that code changes Coverity 199723, 199685
2019-06-19tests: functional: fix python syntaxredfish1-1/+1
2019-06-16unit_tests: add more leeway to the "same distribution" checkmoneromooo-monero1-2/+2
This is an inherently probabilistic check, which occasionally fails for a matching distribution
2019-06-09tests: fixed file exec permissionsston1th1-0/+0
2019-05-29functional_tests: fix python3 compatibilitymoneromooo-monero15-59/+60
Also add missing bans test to the default tests
2019-05-20functional_tests: fix rare get_output_distribution failuremoneromooo-monero1-1/+10
When the wallet auto refreshes after mining the last two blocks but before popping them, it will then try to use outputs which are not unlocked yet. This is really a wallet problem, which will be fixed later.
2019-05-20unit_tests: make the density test a bit less stringentmoneromooo-monero1-1/+1
It's an inherently random test
2019-05-12Made code block usage consistent across all .md filesRohaq2-37/+77
2019-05-10use crypto::rand instead of libc rand in a few testsmoneromooo-monero3-8/+8
We don't need secure randomness here, but it should shut coverity up
2019-05-09python-rpc: add missing getblock RPC parametersmoneromooo-monero1-4/+4
2019-05-02blockchain: keep a rolling long term block weight medianmoneromooo-monero2-0/+203
2019-05-02functional_tests: add tests for pending/out transfer addressesmoneromooo-monero1-0/+59
2019-05-01fix wide difficulty conversion with some versions of boostmoneromooo-monero4-10/+10
2019-05-01wallet2: reject standalone short payment IDs in monero: URI APImoneromooo-monero1-3/+1
2019-05-01difficulty-tests: remove spurious dependency on cryptonote_coremoneromooo-monero1-1/+1
2019-04-29remove unused codemoneromooo-monero1-1/+0
2019-04-29add a few checks where it seems appropriatemoneromooo-monero3-0/+3
2019-04-26functional_tests: add a 3/3 multisig testmoneromooo-monero1-0/+7
2019-04-25unit_tests: fix crash in debug in output_distribution testmoneromooo-monero1-0/+7
updating the block size limit needs recent block sizes, so we feed it dummy ones
2019-04-25rpc: improve get_output_distributionmoneromooo-monero3-12/+236
It can now handle small reorgs without having to rescan the whole blockchain. Also add a test for it.
2019-04-24functional_tests: add get_fee_estimate to blockchain testmoneromooo-monero1-0/+12
2019-04-23consensus: from v12, enforce >= 2 outputsmoneromooo-monero1-0/+1
2019-04-23functional_tests: flush stdout before popening new processmoneromooo-monero1-0/+1
2019-04-23unit_tests: don't delete log file on windows, it will failmoneromooo-monero1-0/+3
2019-04-20functional_tests: reset blockchain on test startmoneromooo-monero8-0/+57
2019-04-19Fix socks tests in windows and handle errors betterLee Clagett1-7/+13
2019-04-18functional_tests: detect requests python modulemoneromooo-monero1-3/+9
2019-04-18wallet2: "output lineup" fake out selectionmoneromooo-monero1-0/+117
Based on python code by sarang: https://github.com/SarangNoether/skunkworks/blob/outputs/outputs/simulate.py
2019-04-17testdb: add override keyword where missingstoffu1-6/+6
and delete obsolete BlockchainBDB::get_tx_output_indices along the way
2019-04-17Remove unneeded SFINAE on check_tx/block verification in core_testsDoyle3-77/+28
2019-04-16unit_tests: undo is_blocked implementation factoringmoneromooo-monero1-1/+12
The is_host_blocked method is not on master yet
2019-04-15functional_tests: add sweep_single testmoneromooo-monero1-0/+50
2019-04-14blockchain_db: fix db txn ending too earlymoneromooo-monero2-2/+21
The db txn in add_block ending caused the entire overarching batch txn to stop. Also add a new guard class so a db txn can be stopped in the face of exceptions. Also use a read only db txn in init when the db itself is read only, and do not save the max tx size in that case.
2019-04-11p2p: fix integer overflow in host bansmoneromooo-monero1-12/+17
2019-04-11ringct: prevent use of full ringct signatures for more than one inputmoneromooo-monero2-142/+57
2019-04-11block_weight: catch exceptions in main for clean exit on errormoneromooo-monero1-0/+2
2019-04-11functional_tests: exit with 1 if any test failsmoneromooo-monero1-0/+2
2019-04-11functional_tests: cold signing key images/outputs import/exportmoneromooo-monero1-0/+6
2019-04-11functional_tests: add double spend detection testsmoneromooo-monero1-0/+61
2019-04-11functional_tests: add alt chains testsmoneromooo-monero1-1/+34
2019-04-11functional_tests: add wallet creation language testsmoneromooo-monero1-0/+21
2019-04-11functional_tests: add more wallet testsmoneromooo-monero2-0/+55
get_transfer_by_txid, get_height, open/close
2019-04-11functional_tests: add describe_transfer testsmoneromooo-monero2-0/+33
2019-04-11functional_tests: add more blockchain related testsmoneromooo-monero1-0/+125
Related to emission, reorgs, getting tx data back, output distribution and histogram
2019-04-11functional_tests: add bans testsmoneromooo-monero1-0/+117
2019-04-10device/trezor: env-configurable portsDusan Klinec1-1/+1
2019-04-10tests: trezor tests fixes and improvementsDusan Klinec4-25/+76
- configurable hardforks via env vars
2019-04-10build: debug and test builds via contribDusan Klinec1-0/+1
2019-04-09unit_tests/long_term_block_weight: some tweaks that seem to make more sensestoffu1-8/+9
2019-04-09tests/block_weight: use integer division when computing medianstoffu1-2/+2
2019-04-09tests/block_weight: remove unused MULTIPLIER_SMALLstoffu1-1/+0
2019-04-07tests: fix test_options initialization errorDusan Klinec5-6/+6
2019-04-05rpc: make wide_difficulty hexadecimalmoneromooo-monero1-7/+7
This should be friendlier for clients which don't have bignum support
2019-04-03tests: add a few try/catch in main to shut coverity upmoneromooo-monero4-0/+15
2019-04-03unit_tests: fix long term block weight test after cache changemoneromooo-monero1-0/+5
2019-04-01block_weight: fix python 2/3 compatibilitymoneromooo-monero2-5/+7
2019-03-28blockchain: simple cache for the long term block weightsmoneromooo-monero1-0/+5
2019-03-26tests: trezor_test fixDusan Klinec1-1/+1
2019-03-25Added socks proxy (tor/i2pd/kovri) support to walletLee Clagett5-4/+94
2019-03-24Make difficulty 128 bit instead of 64 bitmoneromooo-monero11-10/+306
Based on Boolberry work by: jahrsg <jahr@jahr.me> cr.zoidberg <crypto.zoidberg@gmail.com>
2019-03-24test: hmac_keccak - fix number of chunks countingDusan Klinec1-6/+7
2019-03-23python-rpc: add console.pymoneromooo-monero1-1/+1
It allows one to connect to a running daemon or wallet, and use its RPC API from python. Usage: python -i console.py <port> It will detect whether it's talking to a daemon or wallet and initialize itself accordingly.
2019-03-22functional_tests: move RPC API to utils, it is not test specificmoneromooo-monero17-892/+25
2019-03-22functional_tests: add balance testsmoneromooo-monero1-59/+171
2019-03-22functional_tests: add missing parameters to get_balancemoneromooo-monero1-1/+6
2019-03-21functional_tests: add proofs tests (tx key, in/out tx, reserve)moneromooo-monero3-1/+350
2019-03-21functional_tests: add more transfer testsmoneromooo-monero2-6/+60
manual relay, transfer to integrated address, and a few negative transfer tests
2019-03-21functional_tests: add get_bulk_transfer testsmoneromooo-monero2-0/+49
2019-03-21functional_tests: add message signing/verification testsmoneromooo-monero3-1/+110
2019-03-21functional_tests: add multisig and cold signing testsmoneromooo-monero4-2/+544
2019-03-21functional_tests: support several daemons/walletsmoneromooo-monero3-29/+42
2019-03-21functional_tests: add txpool RPC testsmoneromooo-monero3-1/+178
2019-03-21functional_tests: add integrated address testsmoneromooo-monero3-1/+125
2019-03-21functional_tests: add basic transfer testsmoneromooo-monero3-14/+360
2019-03-21functional_tests: plug RPC tests into the cmake machinerymoneromooo-monero2-3/+120
2019-03-21functional_tests: add basic mining testsmoneromooo-monero3-0/+152
2019-03-21functional_tests: add wallet address/subaddress RPC testsmoneromooo-monero2-0/+259
2019-03-21functional_tests: improve RPC blockchain testsmoneromooo-monero6-72/+295
2019-03-20tests/trezor: HF9 and HF10 testsDusan Klinec9-83/+1241
- tests fixes for HF10, builder change, rct_config; fix_chain - get_tx_key test - proper testing after live refresh added - live refresh synthetic test - log available funds for easier test construction - wallet::API tests with mocked daemon
2019-03-20crypto: hmac_keccak addedDusan Klinec2-0/+153
2019-03-19Adding classes, functions, and utilities for common LMDB operations.Lee Clagett2-0/+406
2019-03-14tests: fix path in instructionsmoneromooo-monero1-1/+3
Reported by notmike
2019-03-12tests: disable wallet SSL init for tests involving wallet2moneromooo-monero4-4/+4
2019-03-08blockchain: speed up getting N blocks weights/long term weightsmoneromooo-monero2-0/+24
2019-03-07gtest: build fix for NetBSDmoneromooo-monero2-1/+4
2019-03-07tests: handle any cmake detected python interpretermoneromooo-monero3-6/+13
2019-03-06tests: fix cnv4-jit-test link on macmoneromooo-monero1-1/+0
2019-03-05Update 2019 copyrightbinaryFate156-156/+156
2019-03-05epee: add SSL supportMartijn Otto1-0/+19
RPC connections now have optional tranparent SSL. An optional private key and certificate file can be passed, using the --{rpc,daemon}-ssl-private-key and --{rpc,daemon}-ssl-certificate options. Those have as argument a path to a PEM format private private key and certificate, respectively. If not given, a temporary self signed certificate will be used. SSL can be enabled or disabled using --{rpc}-ssl, which accepts autodetect (default), disabled or enabled. Access can be restricted to particular certificates using the --rpc-ssl-allowed-certificates, which takes a list of paths to PEM encoded certificates. This can allow a wallet to connect to only the daemon they think they're connected to, by forcing SSL and listing the paths to the known good certificates. To generate long term certificates: openssl genrsa -out /tmp/KEY 4096 openssl req -new -key /tmp/KEY -out /tmp/REQ openssl x509 -req -days 999999 -sha256 -in /tmp/REQ -signkey /tmp/KEY -out /tmp/CERT /tmp/KEY is the private key, and /tmp/CERT is the certificate, both in PEM format. /tmp/REQ can be removed. Adjust the last command to set expiration date, etc, as needed. It doesn't make a whole lot of sense for monero anyway, since most servers will run with one time temporary self signed certificates anyway. SSL support is transparent, so all communication is done on the existing ports, with SSL autodetection. This means you can start using an SSL daemon now, but you should not enforce SSL yet or nothing will talk to you.
2019-03-05device/trezor: debugging features, trezor testsDusan Klinec9-110/+3077
2019-03-05cryptonote: avoid double parsing blocks when syncingmoneromooo-monero4-7/+7
2019-03-05save some database calls when getting top block hash and heightmoneromooo-monero2-2/+6
2019-03-05Avoid repeated (de)serialization when syncingmoneromooo-monero3-31/+31
2019-03-04tests: add a CNv4 JIT testmoneromooo-monero2-0/+133