| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
| |
Reported and tested by smooth
|
| |
|
|
|
|
| |
Ain't nobody got time for link/cmake skullduggery.
This reverts commit fff238ec94ac6d45fc18c315d7bc590ddfaad63d.
|
| |
|
|
| |
Useful for debugging users' logs
|
| |
|
|
| |
They should not have been disabled in the first place
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
Match changed BlockchainDB function declaration.
|
| |\
| |
| |
| | |
5ab33ca unit_tests: update test openalias address (moneromooo-monero)
|
| | |
| |
| |
| | |
It was recently changed
|
| |/
|
|
|
| |
This avoids the need to define that variable in every program
which uses epee.
|
| |\
| |
| |
| | |
d56b2e5 core_tests: fix a compile problem with CLANG (moneromooo-monero)
|
| | |
| |
| |
| |
| |
| |
| | |
It doesn't like const objects from classes that do not have
a user defined ctor, apparently.
Reported by othe.
|
| |/
|
|
| |
Forgot to add them before commit
|
| | |
|
| |
|
|
|
|
| |
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.
|
| | |
|
| | |
|
| |\
| |
| |
| |
| |
| |
| | |
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)
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| |\ \
| | |
| | |
| | |
| | | |
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)
|
| | |/ |
|
| |/ |
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
Needed to add the corresponding (dummy) method to unit test hardfork
|
| |
|
|
| |
open isn't actually called in those tests
|
| | |
|
| |\
| |
| |
| |
| | |
1813736 unit_tests: remove an unused variable (moneromooo-monero)
70dd346 unit_tests: fix hardfork test build (moneromooo-monero)
|
| | | |
|
| | |
| |
| |
| |
| | |
The dummy blockchain class needed to have the newly added
is_read_only virtual function.
|
| |/
|
|
| |
This fixes a use after free by ioservice threads
|
| | |
|
| |
|
|
|
|
| |
Either smaller coin values (as monero has smaller block rewards),
or pre-hard fork values (full reward zone), or post-Bytecoin values
(emission speed).
|
| |
|
|
|
|
|
|
|
|
|
| |
Some tests assume the first output in a transaction goes to the recipient.
However, it can be the change. When it is, the recipient's keys will not
recognize this output. To fix this, we send all we have, to ensure there
is no change, and the first output goes to the recipient.
I'm not sure why this worked with Cryptonote. The tests sent 17 coins,
which seems way smaller than the first Bytecoin block reward, so there
would have been change too. Maybe outputs were not shuffled originally.
|
| |
|
|
|
| |
While the original cryptonote accepted only the current major
version, we can accept higher ones.
|
| |
|
|
|
|
|
| |
Block reward may now be less than the full amount allowed.
This was breaking the bitflipping test.
We now keep track of whether a block which was accepted by the core
has a lower than allowed block reward, and allow this in the test.
|
| |
|
|
|
| |
A couple stopped passing when the hard fork code was made
to reject incoming hard fork versions it did not know about.
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
| |
They were trying to send too much monero, and thus failing.
The parameters were set in such a way that the (simple) output
gathering code could fulfill them for 4 block rewards for the
original Bytecoin emission, but that does not work with monero
so we need to use smaller values.
|
| |
|
|
|
|
| |
The current monero consensus uses 0.01 per kB fees, so use enough
for 2 kB transactions for now. It'll probably have to be either
bumped further or changed to calculate the proper fee.
|
| |
|
|
|
|
|
|
|
|
|
| |
The core tests use the blockchain, and reset it to be able
to add test data to it. This does not play nice with the
databases, since those will save that data without an explicit
save call.
We add a fakechain flag that the tests will set, which tells
the core and blockchain code to use a separate database, as
well as skip a few things like checkpoints and fixup, which
only make sense for real data.
|
| |
|
|
|
| |
This would fail, as the post hard fork settings would yield
different data, and the test expects pre hard fork data.
|