moneromooo-monero
9ef8c7b694
tests: fix tests broken by the removal of the block reward accumulation loop
...
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.
8 years ago
moneromooo-monero
3eff37f931
unit_tests: add a write_varint/read_varint test
8 years ago
moneromooo-monero
7a663873ce
unit_tests: fix UNBOUND_LIBRARIES/UNBOUND_LIBRARY typo
8 years ago
moneromooo-monero
672162d9e2
tests: fix compile failure on wallet2::transfer
8 years ago
Riccardo Spagni
b52148201b
Merge pull request #786
...
5092e45
tests: unbound API is only accessible in static builds (moneromooo-monero)
8 years ago
Riccardo Spagni
6bfb8799c3
Merge pull request #783
...
48d0747
wallet: better output selection for transfer/transfer_new (moneromooo-monero)
8 years ago
Javier Smooth
17cac41968
tests: fix build with older GCC
8 years ago
moneromooo-monero
5092e45e3f
tests: unbound API is only accessible in static builds
8 years ago
moneromooo-monero
48d0747d00
wallet: better output selection for transfer/transfer_new
...
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.
8 years ago
moneromooo-monero
34957fcbb9
tests: add test for needed OpenSSL algorithms in unbound
...
These can be compiled out of libunbound, leading to failure
to check DNSSEC validity.
8 years ago
moneromooo-monero
d5d46e6d6d
tests: obligatory hardfork unit build fix after interface change
8 years ago
moneromooo-monero
600a3cf0c0
New RPC and daemon command to get output histogram
...
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.
8 years ago
moneromooo-monero
4b425a397c
core_tests: fix compile failure with GCC 4.8.4
...
Reported and tested by smooth
8 years ago
moneromooo-monero
f7301c3563
Revert "Print stack trace upon exceptions"
...
Ain't nobody got time for link/cmake skullduggery.
This reverts commit fff238ec94
.
8 years ago
moneromooo-monero
fff238ec94
Print stack trace upon exceptions
...
Useful for debugging users' logs
8 years ago
moneromooo-monero
498ad73729
tests: enable core tests again
...
They should not have been disabled in the first place
8 years ago
Ilya Kitaev
7df2baf6b0
fixed "undefined reference" for boost::system library
8 years ago
Ilya Kitaev
62606f11f5
Wallet::store_to(path, password) implemented;
8 years ago
Ilya Kitaev
19fcc74912
Wallet::address implemented
8 years ago
Ilya Kitaev
180ac6e438
WalletManager::recoveryWallet implemented
8 years ago
Ilya Kitaev
5a4f099540
Wallet::setPassword() method for wallet2_api
8 years ago
Ilya Kitaev
57d7ffc4d6
changes in wallet2_api + implemented WalletManager::openWallet
8 years ago
Ilya Kitaev
f1f9279d90
get_seed() included to interface
8 years ago
Ilya Kitaev
930bed7074
tests for wallet2_api
8 years ago
warptangent
dfca2ae1b5
unit_tests: fix hard fork unit test compilation
...
Match changed BlockchainDB function declaration.
8 years ago
Riccardo Spagni
95b3b09e11
Merge pull request #689
...
5ab33ca
unit_tests: update test openalias address (moneromooo-monero)
8 years ago
moneromooo-monero
5ab33cabf6
unit_tests: update test openalias address
...
It was recently changed
8 years ago
moneromooo-monero
5e3557d2c3
move g_test_dbg_lock_sleep from a global to a function level static
...
This avoids the need to define that variable in every program
which uses epee.
8 years ago
Riccardo Spagni
8a6d93be25
Merge pull request #659
...
d56b2e5
core_tests: fix a compile problem with CLANG (moneromooo-monero)
9 years ago
moneromooo-monero
d56b2e5baf
core_tests: fix a compile problem with CLANG
...
It doesn't like const objects from classes that do not have
a user defined ctor, apparently.
Reported by othe.
9 years ago
moneromooo-monero
c7cfc764c4
Add the new test files
...
Forgot to add them before commit
9 years ago
moneromooo-monero
5cb03a15be
unit_tests: fix blockchain unit test after hard fork import fix
9 years ago
moneromooo-monero
a333c42cde
core_tests: add tests for hard fork behaviors (MRL-0004)
...
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.
9 years ago
moneromooo-monero
945fe90e08
core_tests: allow setting miner tx max_outs when creating a block
9 years ago
moneromooo-monero
8e4c2e6ebe
unit_tests: fix hard fork unit test compilation
9 years ago
Riccardo Spagni
cea6f6fb9c
Merge pull request #641
...
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)
9 years ago
Riccardo Spagni
c1378881ef
Merge pull request #639
...
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)
9 years ago
moneromooo-monero
098dcf2885
unit_tests: fix mnemonics unit test testing invalid seeds
...
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.
9 years ago
moneromooo-monero
119eb10d7c
unit_tests: fix hard fork unit tests and add a test for major too
9 years ago
moneromooo-monero
6827061d5f
tests: fix compilation failure after V1 define rename
9 years ago
Riccardo Spagni
3b0f67c629
updated gtest (added missing files)
9 years ago
Riccardo Spagni
4df6aa5d12
updated gtest
9 years ago
me0wmix
28f95eb001
OpenBSD support for Monero.
9 years ago
Howard Chu
4cf6e2b2c3
Fix 30f92f5630
...
Needed to add the corresponding (dummy) method to unit test hardfork
9 years ago
moneromooo-monero
a8caab1af1
unit_tests: initialize db object in ctor, not open
...
open isn't actually called in those tests
9 years ago
Riccardo Spagni
de03926850
updated copyright year
9 years ago
Riccardo Spagni
be7a93f51f
Merge pull request #580
...
1813736
unit_tests: remove an unused variable (moneromooo-monero)
70dd346
unit_tests: fix hardfork test build (moneromooo-monero)
9 years ago
moneromooo-monero
1813736562
unit_tests: remove an unused variable
9 years ago
moneromooo-monero
70dd34634c
unit_tests: fix hardfork test build
...
The dummy blockchain class needed to have the newly added
is_read_only virtual function.
9 years ago
moneromooo-monero
b245215193
core_tests: deinit core before destroying it
...
This fixes a use after free by ioservice threads
9 years ago