Age | Commit message (Collapse) | Author | Files | Lines |
|
readline_buffer: move a local to local scope
Also limit the select fd limit to what we use
Signed-off-by: Jethro Grassie <jtg@xtrabass.com>
|
|
readline_buffer: fix start/stop threads being starved by process
process could run for quite some time re-acquiring the process
lock, leaving start/stop starving. Yielding after unlock in
process is much better but doesn't seem to be enough to reliably
yield, so we sleep for a millisecond, which should be transparent
for user input anyway.
Signed-off-by: Jethro Grassie <jtg@xtrabass.com>
|
|
monero-wallet-cli commands which have multine output sometimes causes
issues with the readline support. This patch fixes show_transfers,
payments and incoming_transfers.
|
|
8261ba69 readline_buffer: fix busy wait (moneromooo-monero)
|
|
21b939e1 readline: fix invalid memory access (moneromooo-monero)
5f8f2905 readline_buffer: add a couple const (moneromooo-monero)
|
|
f4e3dca1 unit_tests: fix build failures after network_address changes (moneromooo-monero)
|
|
e4da88a2 Fixed typo in rpc/core_rpc_server.cpp (Julien Klepatch)
|
|
a85b5759 Upgrade unbound library (Erik de Castro Lopo)
|
|
07c4276c Don't issue a new timedsync while one is already in progress (Howard Chu)
cf3a376c Don't timeout a slow operation that's making progress (Howard Chu)
340830de Fix PR#2039 (Howard Chu)
|
|
11de4d59 Converting README.i18n to Markdown (Jonathan Cross)
|
|
d5f1cef7 simplewallet: removed unneeded LOCK_IDLE_SCOPE() from check_tx_key() (stoffu)
8df918f8 simplewallet: replace assert(m_wallet) with error out (stoffu)
8da82256 crypto: moved boost::lock_guard into a smaller scope (stoffu)
c9e0e944 Signature proving payment to destination by only revealing key derivation, not the actual tx secret key (stoffu)
|
|
It'd eat up a core constantly, due to spending its time jumping
back and forth between userland and kernel. We now wait for up
to a millisecond in kernel, which will be transparent to the user
and drop to idle most of the time.
|
|
|
|
|
|
|
|
not the actual tx secret key
|
|
007937e2 net_utils_base: added missing template keyword (kenshi84)
|
|
m_cout_buf was not initialized
|
|
|
|
|
|
|
|
4e13ab30 wallet_api: fix missing transaction parameter in callback (moneromooo-monero)
|
|
235df7f4 blockchain_db: add a txpool tx getter which returns existence (moneromooo-monero)
|
|
b2319a03 simplewallet: new command to generate a random payment id (moneromooo-monero)
|
|
c3bec61d core_tests: fix tests failing due to new txpool code requitring batch transactions (moneromooo-monero)
|
|
1dd52415 Fix #1991 asm multiply again (Howard Chu)
|
|
ac0714dc add simplewallet --generate-new-wallet arg checks (Michael Shick)
|
|
e1f3dfcc Add readline support to cli (jethro)
|
|
71f8249a Prevent crash if performing certain actions before wallet is initialized (Robby Weinberg)
|
|
3fc22e7b Add histogram to poolstats (Howard Chu)
d09620b0 Fix PR#2039 (Howard Chu)
|
|
6fc2dc39 cryptonote_protocol_handler: fix crash in debug log (moneromooo-monero)
|
|
This PR adds readline support to the daemon and monero-wallet-cli. Only
GNU readline is supported (e.g. not libedit) and there are cmake checks
to ensure this.
There is a cmake variable, Readline_ROOT_DIR that can specify a
directory to find readline, otherwise some default paths are searched.
There is also a cmake option, USE_READLINE, that defaults to ON. If set
to ON, if readline is not found, the build continues but without
readline support.
One negative side effect of using readline is that the color prompt in
the wallet-cli now has no color and just uses terminal default. I know
how to fix this but it's quite a big change so will tackle another time.
|
|
1b75ad91 Add OSX background mining (jethro)
|
|
072102cf abstracted nework addresses (moneromooo-monero)
|
|
|
|
These files were pulled from the 1.6.3 release tarball.
This new version builds against OpenSSL version 1.1 which will be
the default in the new Debian Stable which is due to be released
RealSoonNow (tm).
|
|
A timedsync is issued every minute on a connection, but the input
tineout is 2 minutes. This means a new sync request could be issued
while a slow sync request was already in progress. The additional
request will further clog the network on a slow connection, and
cause a premature timeout.
|
|
If we got at least MIN_BYTES_WANTED (default 512) during any network
poll, reset the timeout to allow more time for data to arrive.
|
|
Missed a crypto -> cncrypto rename
|
|
It was unused, so harmless
Reported by erikd on IRC
|
|
Avoids exception spam for the "nope, not found" case
|
|
This is trivial, but often requested, and possibly hard to do
in Windows. That makes it more user friendly.
|
|
transactions
|
|
Tweak temp variables and constraints. Was working before if not inlined
but newer gcc tends to inline it.
|
|
Implements miner::get_system_times, miner::get_process_time and
miner::on_battery_power for OSX so that background mining works on OSX.
|
|
Add fail-fast paths that reduce frustration around the misuse of
--wallet-file combined with --restore-deterministic-wallet. Flow now
gives more descriptive errors and avoids having users type in their
whole seed before the failure condition is noticed.
|
|
|
|
Missed a crypto -> cncrypto rename
|
|
|
|
|
|
|
|
fa489a26 Fix PR#2039 (Howard Chu)
|
|
6bcd3b2d fix get_upper_transaction rename (schnerchi)
|
|
d17c0fc2 Don't copy blockchain for coinbase_tx_sum (Howard Chu)
|
|
31417d57 tx_pool: add missing blockchain lock in add_tx (moneromooo-monero)
|
|
5414970d Speedup print_pool_stats (Howard Chu)
|
|
Since we're just counting txs, there's no reason to deserialize all the blobs.
|
|
Changed Blockchain::for_all_blocks() to for_blocks_range()
Operate on blockchain in-place instead of building a copy first.
|
|
|
|
Missed a crypto -> cncrypto rename
|
|
|
|
05f3dcf7 simplewallet: fix refresh height for new wallets (moneromooo-monero)
|
|
977c2186 easylogging++: log timestamps in GMT for privacy (moneromooo-monero)
|
|
740bc24c Wallet API: Set seed lang when recovering form keys (Jaquee)
|
|
4b932ff3 changed crypto to cncrypto so it generated libcncrypto (Gentian)
|
|
89e20bb9 Fix typo (xmr-eric)
|
|
89b2f306 tests: fix invalid key image test (moneromooo-monero)
a374a522 wallet2: check key image validity domain in import_key_images (moneromooo-monero)
|
|
45e9838b unbound: update some EVP APIs to new names (Howard Chu)
|
|
dd8e3266 shared libs build (i.e. make debug) (stoffu)
|
|
a5739201 Update sync time copy (xmr-eric)
|
|
e2529347 Correct spelling of 'get_upper_transaction_size_limit' (Nano Akron)
3029d0ef Remove the 1.25x multiplier in max transaction size in just the wallet (Nano Akron)
|
|
8ac2496c corrected typo in help regarding min-outputs-* (stoffu)
|
|
6cb1ad1f wallet fix: ensure iterator to be valid (stoffu)
|
|
0a182576 node_rpc_proxy: fix earliest fork height query for unknown forks (moneromooo-monero)
391c918d wallet2: fix sweep_unmixable assuming wrong minimum mixin at v5 (moneromooo-monero)
|
|
d1db3251 Fix overlooked renaming of Português in the unit tests (Nano Akron)
|
|
b52abd13 Move txpool to the database (moneromooo-monero)
|
|
|
|
With the recent change to wallet creation code, the code was
calling to the daemon before the wallet's daemon address was
initialized, and thus failing. This was causing all new wallets
to refresh from 0 instead of just fetching early block hashes.
|
|
All code which was using ip and port now uses a new IPv4 object,
subclass of a new network_address class. This will allow easy
addition of I2P addresses later (and also IPv6, etc).
Both old style and new style peer lists are now sent in the P2P
protocol, which is inefficient but allows peers using both
codebases to talk to each other. This will be removed in the
future. No other subclasses than IPv4 exist yet.
|
|
|
|
Integration could go further (ie, return_tx_to_pool calls should
not be needed anymore, possibly other things).
poolstate.bin is now obsolete.
|
|
|
|
fix a cmakelist
|
|
|
|
It was using an invalid key image which wasn't in the key image
domain, so the transaction was rejected earlier than the test
was expecting
|
|
|
|
Replace EVP_VerifyInit with EVP_DigestInit, and EVP_VerifyUpdate
with EVP_DigestUpdate. Reported/requested by hyc, changed by mooo.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
The bump to minimum mixin 4 was moved from v5 to v6
|
|
|
|
b7ae0911 GUI: easylogging++ install target (Jaquee)
|
|
|
|
bbf4c210 Wallet API: add spend/view key getters (Jaquee)
|
|
777684e0 Update README.md instructions for Boost 1.64 and a little bit of formatting (Nano Akron)
|
|
6f12b525 Note that this build is community contributed. (Martin Wimpress)
1ff5b5f1 Add snap install instructions (Martin Wimpress)
|
|
7199fc83 Removed some unused epee functions (Lee Clagett)
|
|
5f9353bd Linking i18n internationalization file (Jkat)
|
|
12fff108 Change Old_English to English_Old - 'Old English' is actually a language (Nano Akron)
533187f0 Change all wallet language names into native names (and scripts) (Nano Akron)
|
|
710b2e80 Silence clang++ warnings (Howard Chu)
|
|
8277e67f Add anchor connections (Miguel Herranz)
|
|
5d86c9f4 easylogging++: default to creating categories by default (moneromooo-monero)
|
|
66ecee09 Docs: add VRP link to README (anonimal)
1a66db8f Docs: add Vulnerability Response Process (anonimal)
|
|
6df83b3e wallet: add sweep_below function (moneromooo-monero)
|
|
|
|
As requested this pull request add a note that this snap is community contributed. It also adds some more explanation of what a snap is.
|
|
|
|
Monero is now published in the Snap store, this pull request add instructions for installing the snap.
|
|
|
|
|
|
|
|
|
|
|
|
It sweeps all outputs below the given threshold
This is available via the existing sweep_all RPC, by setting
amount_threshold the desired amount (in atomic units)
|
|
|
|
a6d5bb75 wallet2: refer to triangular distribution for recent zone in comment (moneromooo-monero)
ac1aba90 wallet2: bias fake outs more towards recent outputs (moneromooo-monero)
|
|
7f4beaa4 wallet2: fix removal of wrong txes from unconfirmed_payments (moneromooo-monero)
|
|
a255a540 simplewallet: allow multiline seed (moneromooo-monero)
5fce581c mnemonics: ignore multiple whitespace between words (moneromooo-monero)
|
|
72d113dd Amended software licenses for Portuguese and Spanish (Nano Akron)
54bcd260 Added Simplified Chinese electrum word list (Nano Akron)
|
|
a7d78dda wallet2: fix --generate-from-json in RPC mode (moneromooo-monero)
|
|
e9fb44ed wallet cli: removed some inappropriate return-false (kenshi84)
|
|
934d8b57 changed kenshi84's GPG key (kenshi84)
|
|
5e5b8512 Fix obsolete OpenSSL API usage (hyc)
6c72d6a0 Fix Android recognition (hyc)
e65d66fe Fix ARM64 identification (hyc)
a4673218 Clean up ARMv8-a aes_expand_key() (hyc)
a3d77901 Fix block_longhash_worker thread (hyc)
|
|
6e985996 Easylogging: ELPP_STACKTRACE_ON_CRASH moved to ELPP_FEATURE_CRASH_LOG (MoroccanMalinois)
|
|
7ff19f1e Easylogging: remove invalid static in function member definition (MoroccanMalinois)
|
|
35755a91 Spelling mistake in About this project paragraph (Andrei Muresan)
|
|
aa02ff7f mv "Contributing" above install, compile, etc (Mike C)
a55bb375 Add link to CONTRIBUTING to README.md (Mike C)
09bbf96d Grouping CONTRIBUTING into digestable sections (Mike C)
dc35c736 Rename CONTRIBUTING to CONTRIBUTING.md (Mike C)
|
|
89d70756 wallet2: fix spurious output splitting when not merging destinations (moneromooo-monero)
|
|
10e137be wallet2: mention escaping/quoting --password in help string (moneromooo-monero)
|
|
110b6831 Resolve #92 add ability to create wallets thru RPC (Howard Chu)
|
|
bff90264 Add expected total reward to RPC "getblocktemplate". Only works from V5 fork onward - returns 0 before that block. (assylias)
|
|
93e10f1c Simplified the implementation and features of span (Lee Clagett)
4a8f96f9 Improvements for epee binary to hex functions: (Lee Clagett)
|
|
Using defined(foo) in a macro expansion is undefined.
|
|
This avoids error spews from easylogging++ when we try to log
something before easylogging is initialized, which can happen
when errors happen at command line parsing time
|
|
It was wrongly refering to equiprobable distribution, which I think
I'd originally done, but forgot to update the comment after changing
to triangular
Reported by smooth on IRC
|
|
Two recent papers quantified the real usage bias for the
real output in a ring being the true one, and shows that
the current biasing is much too weak.
While we wait for a better solution, we increase the ratio
of recent-to-total fake outputs, as well as decrease the
time window for recent outputs, so that half the fake outs
are selected within the last 1.8 day. Value plucked from
figure 10, page 11 of An Empirical Analysis of Linkability
in the Monero Blockchain, 2017, Miller et al.
This is also arbitrary, of course, but serves as a stopgap
till a better selection algorithm is chosen.
|
|
Only works from V5 fork onward - returns 0 before that block.
|
|
unconfirmed_payments changed from having the txid as key to
the payment id, and this was not changed to match.
|
|
|
|
|
|
People are likely to enter it in three lines as it is how it
is displayed at creation time
|
|
|
|
The daemon address was initialized too late
|
|
|
|
EVP_dss1() was deprecated and EVP_sha1() is the direct replacement.
Upstream libunbound already has this patch. Note that I haven't
added a test for HAVE_EVP_DSS1 since that was deprecated quite a
long time ago in OpenSSL, there's really no reason to support it.
|
|
The official macro is __ANDROID__; ANDROID may or may not be defined.
|
|
The actual arch flag the compiler recognizes is "armv8-a".
This is true for both gcc and clang.
|
|
The inline asm was lying about its parameters
|
|
Wasn't getting its stack size initialized; crashes on Android
with a default stack size of 1MB.
|
|
|
|
|
|
|
|
|
|
- Performance improvements
- Added `span` for zero-copy pointer+length arguments
- Added `std::ostream` overload for direct writing to output buffers
- Removal of unused `string_tools::buff_to_hex`
|
|
I corrected a spelling mistake in the About this project paragraph.
|
|
Reviewed and squashed. Open/Create is only allowed if no walletfile
was specified at startup.
|
|
eb20f720 daemon: print average fee per byte in print_pool_stats (moneromooo-monero)
37be70bb daemon: add fee/byte when print pool transaction info (moneromooo-monero)
893f5a30 tx_pool: add blob size and fee/byte when logging a new tx (moneromooo-monero)
|
|
5b632468 core: fix blob size cache, and reenable hash and blob size caches (moneromooo-monero)
|
|
548075b1 daemon: new relay_tx command and RPC (moneromooo-monero)
|
|
0a7885bf Wallet API: fix Cold signing split tx (Jaquee)
|
|
f5bd3465 IOS CMAKE build settings (Jaquee)
d8a88d05 add IOS CMAKE toolchain (Jaquee)
|
|
0ee018b4 wallet2: do not go over the target tx size if many destinations (moneromooo-monero)
9ae566d0 simplewallet: fix cold signing of split transactions (moneromooo-monero)
aae14a10 simplewallet: allow setting confirm-missing-payment-id in watch wallets (moneromooo-monero)
|
|
62efe5f6 mlog: direct log category changes to file only (moneromooo-monero)
|
|
a38343bf miner: add a debug log in pause and resume (moneromooo-monero)
|
|
933e08f2 Replace deprecated tmpnam function. (Randi Joseph)
|
|
17c7c62d Add per transaction fee to transfer command (Antti Keränen)
|
|
64377c90 Add other possible paths of AC power status file on Linux (Guillaume LE VAILLANT)
|
|
e251a2d7 readme: update min and rec versions and ND date (Gingeropolous)
cc30639f changed version of recommended monero version (Gingeropolous)
|
|
89e100bc wallet cli: remove redundant password confirm in donate command (kenshi84)
|
|
89949706 simplewallet: factor the per-variable code in set_variable (moneromooo-monero)
|
|
a28950da setThreadName moved in new version of easylogging++ (moneromooo-monero)
ea359b50 Fixup choice of easylogging++ vs libunwind stack trace code (moneromooo-monero)
1e6d8757 easylogging++: do not disable DEBUG level based on _DEBUG/NDEBUG (moneromooo-monero)
7a56fd6c easylogging++: detect DragonFly BSD as a UNIX (moneromooo-monero)
2c8b23e3 easylogging++: fix logging with static const header only data members (moneromooo-monero)
72663f4b easylogging++: allow clipping a common filename prefix (moneromooo-monero)
5bab0449 easylogging++: add file-only logs (moneromooo-monero)
db9dc7c2 eayslogging++: Fix bad memory access before opening any files (moneromooo-monero)
14620ca0 easylogging++: avoid creating directory/filename for the builtin default log file (moneromooo-monero)
0c1ad0ff easylogging++: Print thread ID in a nicer way (moneromooo-monero)
e7fabbd4 easylogging++: add categories (moneromooo-monero)
a8ac4f0a update easylogging++ to latest upstream (moneromooo-monero)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
file
|
|
|
|
|
|
|
|
The section on contributing to the Monero project is buried deep below lots of other information in the main README. This PR moves that section (which is very small since it links to a different document) up to an easier to locate place just below License information.
|
|
|
|
The current document is very much a wall of text. This commit begins to re-structure that information into logical groups.
|
|
Renaming document allows a CONTRIBUTING guide to be better formatted and therefore more accessible.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|