| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
| |
and all other associated IPC
|
| |
|
|
|
|
|
|
|
| |
This is already the default for the daemon, but by checking a command
line argument and calling a Blockchain member function setter.
Initialize the variable to false so it's not dependent on an external
command-line argument check. This allows utilities like
blockchain_import to have a reasonable default without code changes.
|
| |\
| |
| |
| |
| | |
c2a1fee simplewallet: prompt for private keys when generating wallets (moneromooo-monero)
4513b4c simplewallet: add a new --restore-from-keys option (moneromooo-monero)
|
| | |
| |
| |
| |
| |
| |
| | |
It is similar in use to --restore-from-view-key, but also expects
a spend private key.
Requested by luigi1112, and useful to restore MyMonero wallets.
|
| | | |
|
| | | |
|
| | | |
|
| | |
| |
| |
| | |
Could wrap more later.
|
| | | |
|
| |/ |
|
| |
|
|
| |
To avoid special cases
|
| |
|
|
| |
It can now be set by some other code, and is thus tested
|
| |
|
|
|
|
| |
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.
|
| |
|
|
|
| |
Not doing so will prevent the new genesis block from being
reset if a switch past v1 had occured already.
|
| | |
|
| |
|
|
|
|
|
| |
Ensures the database is consistent.
Also simplifes blockchain_import in that verify mode off has less to
work around.
|
| |
|
|
|
|
| |
This will later allow the HardFork object's DB update functions to be
called when the DB transaction that persists across block add/remove is
open.
|
| | |
|
| |\
| |
| |
| | |
05bfb51 core: move the db lock to the data directory (moneromooo-monero)
|
| | |
| |
| |
| |
| |
| |
| | |
Locking just one db turns out to not have been a good idea, since
the pool and p2p state fdles have to be used anyway.
Also ensure the directory exists before tring to lock.
|
| |\ \
| | |
| | |
| | |
| | |
| | |
| | | |
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)
|
| | | |
| | |
| | |
| | |
| | | |
This differs from the original CN code, and there seems to be
no reason to include the block itself, if it was found
|
| | |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- Blockchain should store if it's running on testnet or not
- moved loading compiled-in block hashes to its own function for clarity
- on handle_get_objects, should now correctly return false if a block's
transactions are missing
- replace instances of BOOST_FOREACH with C++11 for loops in Blockchain.
|
| |/ |
|
| |\
| |
| |
| | |
8b3539b core: prevent the database from being used by multiple daemons (moneromooo-monero)
|
| | |
| |
| |
| |
| |
| |
| |
| | |
A boost lock is used to determine whether more than one process
wants to access the database. The boost file_lock doesn't seem
to like locking directories, so we use an arbitrary file in it.
This allows to still run two daemons if they have different
database directories (ie, LMDB/BDB, different data directories).
|
| |\ \
| | |
| | |
| | |
| | | |
7fc6fa3 wallet: forbid dust altogether in output selection where appropriate (moneromooo-monero)
5e1a739 blockchain: log number of outputs available for a new tx (moneromooo-monero)
|
| | |/ |
|
| |\ \
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
bcac101 daemon: fix a few issues reported by valgrind (moneromooo-monero)
a7e8174 tx_pool: fix serialization of new relayed data (moneromooo-monero)
601ad76 hardfork: fix mixup in indexing variable in get_voting_info (moneromooo-monero)
444e22f blockchain: remove unused timer (moneromooo-monero)
7edfdd8 blockchain: fix m_sync_counter uninitialized variable use (moneromooo-monero)
d97582c epee: use generate_random_bytes for new random uuids (moneromooo-monero)
17c7c9c epee: remove dodgy random code that nobody uses (moneromooo-monero)
|
| | | | |
|
| | | | |
|
| | | | |
|
| | |/
| |
| |
| | |
It counts the number of blocks added since last zeroing
|
| | |
| |
| |
| |
| | |
It can flush a particular tx, or the whole pool (the RPC command
can flush a list of transactions too)
|
| |/ |
|
| |
|
|
|
|
|
|
| |
This is intended to avoid cases where a timed out tx will be
re-relayed by another peer for which it has not timed out yet,
which would cause the tx to stay in the network's pool for a
long time (until all peers time it out before another one
tries to relay it again).
|
| | |
|
| |
|
|
|
| |
Some of it uses hardcoded height, which will need some thinking
for next (voted upon) fork.
|
| | |
|
| | |
|
| |\
| |
| |
| | |
1e07110 Nicer looking exit when blockchain.bin is found (moneromooo-monero)
|
| | |
| |
| |
| |
| | |
Do not print the exception message, and write the important bit
in red, since people will only read the last line otherwise.
|
| |/
|
|
|
|
| |
Fixes intermittent test failures when the pool contains
unexpected transactions that were brought in from the
live pool.
|
| | |
|
| | |
|
| |
|
|
|
|
| |
This ensures this will be done without fail, as the error prone
matching of every return with a call to KILL_IOSERVICE leads to
hard to debug corruption when one is missing.
|
| |
|
|
|
|
|
|
| |
- only try to stop if actually started
- print number of threads before zeroing it
This fixes the suspiciously doubled "Mining has been stopped"
message on exit.
|
| |\
| |
| |
| | |
0953355 blockchain_db: inform user about new format if blockchain.bin is found (moneromooo-monero)
|
| | | |
|
| |\ \
| | |
| | |
| | |
| | |
| | |
| | | |
b39aae7 Tweak 45800a25e9374e63caaabba05c89585c86acd668 (hyc)
4a5a5ff blockchain: always stop the ioservice before returning (moneromooo-monero)
78b65cf db_lmdb: safety close db at exit (moneromooo-monero)
45800a2 db_lmdb: fix a strdup/delete[] mistmatch (moneromooo-monero)
|