Age | Commit message (Collapse) | Author | Files | Lines |
|
and a test to go with it
Remember to run the test when changing word lists, or simplewallet
will throw uncaught if that word list is used.
|
|
Pass relevant information to the base class instead of overwriting
default values later, use objects instead of pointers to objects
to avoid having to new objects unnecessarily.
|
|
6d315459 core: avoid possible reordering bugs wth tx/bloch hash cache (moneromooo-monero)
|
|
2bee92db Fixed typo in v5 hard fork finalized date (Derek Zhang)
d17179d1 Fixed typo in CLI wallet help message (Derek Zhang)
|
|
0ad87db0 wallet: try to save large outputs when using an unneeded second input (moneromooo-monero)
|
|
|
|
|
|
|
|
|
|
When a single input is enough to satisfy a transfer, the code would
previously try to add a second input, to match the "canonical" makeup
of a transaction with two inputs and two outputs. This would cause
wallets to slowly merge outputs till all the monero ends up in a
single output, which causes trouble when making two transactions
one after the other, since change is locked for 10 blocks, and an
increasing portion of the remaining balance would end up locked on
each transaction.
There are two new settings (min-output-count and min-output-value)
which can control when to stop adding such unneeded second outputs.
The idea is that small "dust" outputs will still get added, but
larger ones will not.
Enable with, eg:
set min-output-count 10
set min-output-value 30
to avoid using an unneeded second output of 30 monero or more, if
there would be less than 10 such outputs left.
This does not invalidate any other reason why such outputs would
be used (ie, when they're really needed to satisfy a transfer, or
when randomly picked in the normal course of selection). This may
be improved in the future.
|
|
5a798358 blockchain: offset v5 addition date on testnet (moneromooo-monero)
|
|
a8646b09 Wallet API: add hard fork info functions (Jaquee)
|
|
31616af3 Fixes #1850 - Add French mnemonics wordlist (assylias)
|
|
8bbcbcfb wallet rpc: enable solo mining (stoffu)
|
|
to silence the update warning, since v5 was done very early
on testnet
|
|
|
|
|
|
00cbf720 ringct: move ge_frombytes_vartime failure error to warning (moneromooo-monero)
|
|
91d41090 tx_pool: ensure txes loaded from poolstate.bin have their txid cached (moneromooo-monero)
aaeb164c tx_pool: remove transactions if they're in the blockchain (moneromooo-monero)
558cfc31 core, wallet: faster tx pool scanning (moneromooo-monero)
f065234b core: cache tx and block hashes in the respective classes (moneromooo-monero)
|
|
9bccf1b1 Transfer help (Akademik Prokhor Zakharov)
|
|
c94f8fac daemon: better error reporting in commands (moneromooo-monero)
|
|
2242d8eb tx_pool: silence use of uninitialized warning (moneromooo-monero)
|
|
The txid is not saved, and we want to make sure the transactions
have their txid cached while in the pool, since get_transactions
copies the transaction object, so any txid calculation on those
copies would not benefit any later caller, since the original tx
would be left without a cached txid.
|
|
When starting up, if the pool state was not saved, the pool
might contain transactions which made it into the blockchain,
so these need removing
|
|
Includes a new RPC to get tx pool hashes fast.
|
|
An idea from smooth
|
|
Avoids scaring people when seeing some invalid txes
|
|
New pull request because I couldn't figure out how to change the previous one.
1. For clarity, I want to focus the help text for the 'transfer' command on the most typical use case (a single payment).
2. New users will prefer to use 'transfer', so the older method 'transfer_original' should refer to 'transfer' rather than the other way around.
|
|
|
|
The result is not actually used when uninitialized
|
|
44a5b038 create a foreground non-interactive mode (Noah Watkins)
|
|
995969b1 wallet: fix set_log not handling 0,xxx style settings (moneromooo-monero)
|
|
350e99ae wallet2: cache which pool txes were scanned already (moneromooo-monero)
|
|
c1e9ccc7 wallet2: speed up transactions using remote nodes (moneromooo-monero)
|
|
|
|
This massively speeds up the wallet updating the pool on mainnet,
where the tx backlog is more than 500 txes.
|
|
This ensures we accept txes with a fee that's slightly too small,
to accomodate blockchain median jitter
|
|
|
|
Waiting would mean the fee used is 1x base, but the base will
have suddenly dropped
|
|
Asking for a full histogram from a remote node (since it's
untrusted) is pretty slow, and spams the remote node, so
we replace it by only adding a second input if we have rct
ones, which are for all intents and purposes always mixable.
|
|
|
|
a6f1d8fc core: call {prepare|cleanup}_handle_incoming_blocks when adding a mined block (moneromooo-monero)
|
|
d3aaf740 Partial fix #1876, check thread in block_txn_start() (Howard Chu)
|
|
df810a82 wallet-rpc bugfix: get_transfer_by_txid previously checking against payment id (kenshi84)
|
|
50cd179a Removed boost/asio.hpp include from epee/string_tools.h (Lee Clagett)
|
|
24ae7140 wallet: increase node_rpc_proxy timeout to match wallet2 (moneromooo-monero)
|
|
This ensures that a batch can't also be started/stopped out of
sync by another thread and us getting in the middle
|
|
Don't allow use of existing batch txn if it's from the wrong thread
|
|
|
|
|
|
|
|
c5316d29 update version to 0.10.3.0 (Riccardo Spagni)
|
|
Reported by assylias_ on IRC
|
|
|
|
f9a2b527 simplewallet: allow setting tx priority in watch wallets (moneromooo-monero)
|
|
63d7cd88 daemon: alt_chain_info now prints fork depth (moneromooo-monero)
|
|
e9175cec wallet_rpc_server: make a few RPCs unavailable in restricted mode (moneromooo-monero)
|
|
d0238313 use const references in catch blocks (moneromooo-monero)
|
|
3fa59755 wallet2: call is_key_image_spent in blocks in rescan_spent (moneromooo-monero)
9d134e86 wallet_rpc_server: add a rescan_spent RPC (moneromooo-monero)
|
|
1a666c30 simplewallet: catch case where no transactions are made (moneromooo-monero)
|
|
8d787e24 bump version number (Riccardo Spagni)
|
|
c1c9eeaa p2p: use the fallback seed IPs when not enough seeds are found (moneromooo-monero)
|
|
Those can create unsigned transactions
|
|
|
|
Address book modification, setting tx nodes, importing key images
|
|
|
|
This is a potentially long lasting daemon RPC call
|
|
|
|
This would otherwise be a silent noop, which is confusing.
This can happen if the daemon is started, but not yet ready
to service all requests, and this is a safe catch all.
|
|
In case the DNS seed(s) is/are down, which would otherwise
cause the fallback seeds to never be used. Also if the seeds
resolve to too few IPs.
|
|
|
|
|
|
3396a9f2 Add intervening v5 fork for increased min block size (moneromooo-monero)
|
|
585c9176 Specify "524,288" iterations instead of "500,000" (darentuzi)
|
|
b54e19d0 protocol: fix wrong tx being looked up from fluffy block (moneromooo-monero)
|
|
badec326 Adds a config file option to the wallet (Arne Brutschy)
|
|
Minimum mixin 4 and enforced ringct is moved from v5 to v6.
v5 is now used for an increased minimum block size (from 60000
to 300000) to cater for larger typical/minimum transaction size.
The fee algorithm is also changed to decrease the base per kB
fee, and add a cheap tier for those transactions which we do
not care if they get delayed (or even included in a block).
|
|
CryptoNight does exactly 524,288 iterations over the scratchpad as defined in CNS008, saying 500,000 could be confusing. I know its meant to give a rough idea (around 500k) to the reader but if you are reading the code, might as well know the exact number.
|
|
Found by smooth
|
|
74b216a1 core: don't try to re-relay an empty set of pool transactions (moneromooo-monero)
|
|
09e060fe protocol: fix fluffy to normal block dropping txes (moneromooo-monero)
|
|
|
|
|
|
|
|
BlockchainDB functions virtual again to avoid missing symbols error
|
|
b553c282 rpc: fix BUILD_TAG mispelling (BUILDTAG) (moneromooo-monero)
02097c87 core: print the "new update found" message in cyan, for visibility (moneromooo-monero)
749ebace download: check available disk space before downloading (moneromooo-monero)
f36c5f1e download: give download threads distinct names (moneromooo-monero)
f6211322 core: make update download cancellable (moneromooo-monero)
63f0e074 download: async API (moneromooo-monero)
9bf017ed http_client: allow cancelling a download (moneromooo-monero)
0d90123c http_client: allow derived class to get headers at start (moneromooo-monero)
|
|
cfa2564a blockchain: don't try to load an empty block hash set (moneromooo-monero)
38359036 blockchain_import: make --log-level understand categories (moneromooo-monero)
5fee8561 blockchain_export: make --log-level understand categories (moneromooo-monero)
50ebf661 blockchain_import: error out nicely on exceptions (moneromooo-monero)
87d57d9c blockchain_export: error out nicely on exceptions (moneromooo-monero)
|
|
4b48565c wallet: add password command (moneromooo-monero)
|
|
If the blocks aren't being linked against a binary (such as
one of the blockchain utilities), the symbol will not be
NULL, but the size will be 0. This avoids a apurious warning
about the data hash.
|
|
|
|
|
|
|
|
|
|
This ensures a manual or RPC update tries the right build tag,
rather than source, which is currently not setup
|
|
|
|
We don't check *while* the download happens, so it might
still be that we don't have enough space later
|
|
|
|
|
|
|
|
d18ff58a format_utils: fix typo in assert message (lethos3)
|
|
3964b30f Add dependency for blocksdat.o (Howard Chu)
|
|
223fe5bb wallet: fix get_tranfers with multiple incoming txes with same pid (moneromooo-monero)
|
|
c7dd0b15 Revert "wallet: fix insertion of pool transactions" (moneromooo-monero)
|
|
Also tweak wallet2 password code to verify password without
saying it's a new wallet, because it's assuming things.
|
|
Fix two small typos as mentioned by reddit user nthterm.
|
|
To make sure it gets regenerated whenever checkpoints.dat changes
Likewise for blocks.o and testnet_blocks.o
|
|
|
|
31533493 core: quantize per kB fee to 8 decimals (moneromooo-monero)
|
|
cd71774d tx_pool: log separately "not ready" and "double spend" cases (moneromooo-monero)
|
|
This reverts commit d47dac9a88ddd46b88850a899311363b3261c89e.
Callers actually expect the key to be payment id, so this
needs a lot more changes (like storing payment ids in the
structure, and possibly also to other existing structures
which do the same thing).
|
|
|
|
|
|
Incomplete ifdef cleanup in 9e82b694da120708652871b55f639d1ef306a7ec
|
|
Cleanup of bf1348b7e2b2c72a6d40b23567afaa46b53e6cb7
|
|
|
|
|
|
|
|
db1c7d80 wallet api: add missing mining options (Jaquee)
|
|
2c468dd4 allow user I/O in millinero, micronero, nanonero, piconero (moneromooo-monero)
|
|
d47dac9a wallet: fix insertion of pool transactions (moneromooo-monero)
|
|
7a44f38a Add support for the wallet to refresh pruned blocks (moneromooo-monero)
da18898f ringct: do not require range proof in decodeRct/decodeRctSimple (moneromooo-monero)
b49c6ab4 rpc: add a default category for daemon rpc (moneromooo-monero)
f113b92b core: add functions to serialize base tx info (moneromooo-monero)
6fd4b827 node_rpc_proxy: allow caching daemon RPC version (moneromooo-monero)
b5c74e40 wallet: invalidate node proxy cache when reconnecting (moneromooo-monero)
|
|
1a7e18bf Make gray peer selection uniform (Miguel Herranz)
f3be9991 Make get_random_gray_peer distribution uniform (Miguel Herranz)
|
|
11a00df6 daemon: fix bc_dyn_stats via rpc (moneromooo-monero)
|
|
b8a08f19 wallet: fix --log-file not working (moneromooo-monero)
|
|
378d2bb1 Revert attempt to write to console on daemon shutdown (Nano Akron)
|
|
12adb4a3 core: move hardfork back to cryptonote_core (moneromooo-monero)
|
|
53105743 Wallet API: Add support for daemon rpc login (Jaquee)
|
|
96ce57d5 protocol: tone down a rate limit not implemented yet warning (moneromooo-monero)
|
|
|
|
|
|
They were inserted using payment id as key, not txid
|
|
Prevents the system from always picking the gray peers with the most
recent last_seen.
|
|
|
|
|
|
These fields aren't used, and they'll actually be pruned in
some cases
|
|
|
|
That is, information without signatures (for v1) nor range
proofs and MGs (for v2)
|
|
|
|
|
|
get_random_gray_peer is used to implement feeler connections, described
in: https://eprint.iacr.org/2015/263.pdf 2. Random selection
|
|
|
|
|
|
|
|
should fix a cross dependency betewen cryptonote_basic and
blockchain_db
|
|
it scares users
|
|
subcommands "check", "download", and "update".
update is not yet implemented.
|
|
9a2157d7 update version (Riccardo Spagni)
|
|
|
|
|
|
|
|
ada6a8a2 wallet_rpc_server: new --trusted-daemon flag (moneromooo-monero)
|
|
and remove trusted_daemon fields from transfer RPCs,
it is much friendlier on users
|
|
|
|
e4dbea97 wallet2: fix wrong status on daemon shutdown/startup (Jaquee)
|
|
29b34ed1 blockchain_utilities: link against blockchain_db (moneromooo-monero)
|
|
eabe3bf2 simplewallet: updated help message for 'set ask-password' (kenshi84)
|
|
4d05955d protocol: fix "sync done" message not appearing (moneromooo-monero)
|
|
583a7b5c core: protect precomputed block hashes with SHA256 (moneromooo-monero)
|
|
520756c3 rpc: s/rcp/rpc/ (moneromooo-monero)
|
|
8262da81 rpc: make mining_status RPC work when syncing (moneromooo-monero)
|
|
9effa553 core: bound the amount of entries in bad tx semantics cache (moneromooo-monero)
240054a7 core: remove a couple unused/obsolete bits (moneromooo-monero)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This is to prevent unbounded memory use. Since I don't think there
is a container that has quick insert, quick lookup, and automatic
FIFO, I use two and swap every N, clearing the oldest one.
|
|
|
|
|
|
|
|
700d218c fix broken test data (Riccardo Spagni)
0abddd64 fix broken checkpoints.dat (Riccardo Spagni)
|
|
|
|
|
|
|
|
It need not be any different
|
|
So the user can use https, while the automatic does not have to
|
|
Also print download success message as global log
|
|
|
|
The files are hashed and the hashes signed
|
|
5cfddd74 Add support for smart mining through wallet. (Dion Ahmetaj)
|
|
72deb484 updated fallback nodes (Riccardo Spagni)
33329f5b update version to 0.10.2 (Riccardo Spagni)
04a50a7e update checkpoints.dat (Riccardo Spagni)
c3599fa7 update copyright year, fix occasional lack of newline at line end (Riccardo Spagni)
|
|
Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
efdd783c add openssl to readme (Riccardo Spagni)
058eed36 cmakify openssl (Riccardo Spagni)
|
|
417b126f Fix core_tests breaking on startup (moneromooo-monero)
|
|
|
|
You're wondering how this fixes core tests, aren't you...
It prevents the miner (initialized by cryptonote::core) from
breaking trying to access arguments that were not added.
Since the tests don't use the miner directly, it makes more
sense to have cryptonote_core add those, since it also uses
the miner.
|
|
load_txt_records_from_dns attempts to distribute `a = 0, b = -1` where
(b = dns_urls.size() - 1) and IntType is signed integer. This results in
an infinite recursion which leads to SIGSEGV.
|
|
They're now used by core to determine the data directory to use
for the txpool directory.
This fixes an assert in the core tests, which don't use the RPC
server, which normally initializes the P2P code.
|
|
26bd7aac wallet_api: fix logging init via api (moneromooo-monero)
|
|
67693415 Fix compiler error about nested externs in slow_hash.c by moving declarations (NanoAkron)
|
|
424b76a4 Fix spurious synchronization status msgs (Howard Chu)
|
|
0288310e blockchain_db: add "raw" blobdata getters for block and transaction (moneromooo-monero)
|