Age | Commit message (Collapse) | Author | Files | Lines |
|
* src/cryptnote_config.h: The constant `config::testnet::GENESIS_TX` was
changed to be the same as `config::GENESIS_TX` (the mainnet's transaction)
because the mainnet's transaction was being used for both networks.
* src/cryptonote_core/cryptonote_tx_utils.cpp: The `generate_genesis_block` function
was ignoring the `genesis_tx` parameter, and instead it was using the `config::GENESIS_TX`
constant. That's why the testnet genesis transaction was changed. Also five lines of unused
code were removed.
Signed-off-by: Jean Pierre Dudey <jeandudey@hotmail.com>
|
|
e745c1e3 Code modifications to integrate Ledger HW device into monero-wallet-cli. (cslashm)
|
|
The basic approach it to delegate all sensitive data (master key, secret
ephemeral key, key derivation, ....) and related operations to the device.
As device has low memory, it does not keep itself the values
(except for view/spend keys) but once computed there are encrypted (with AES
are equivalent) and return back to monero-wallet-cli. When they need to be
manipulated by the device, they are decrypted on receive.
Moreover, using the client for storing the value in encrypted form limits
the modification in the client code. Those values are transfered from one
C-structure to another one as previously.
The code modification has been done with the wishes to be open to any
other hardware wallet. To achieve that a C++ class hw::Device has been
introduced. Two initial implementations are provided: the "default", which
remaps all calls to initial Monero code, and the "Ledger", which delegates
all calls to Ledger device.
|
|
54c256bc unit_tests.serialization: refactored with ASSERT_EQ_MAP (stoffu)
e6a60938 unit_tests: added gtest utility ASSERT_EQ_MAP for easily testing key-value map (stoffu)
|
|
df5273de wallet2: fix auto_low_priority field name typo on load (moneromooo-monero)
|
|
6514f0ed db_lmdb: fix return code mixup in for_all_* (moneromooo-monero)
|
|
fd57e13a simplewallet: typo in generate-from-multisig-keys (stoffu)
|
|
4a78a99f cryptonote_core: change wording of fork warning message (moneromooo-monero)
|
|
b372ec43 ITS#8324 More for Win32 NTDLL junk (Howard Chu)
|
|
1d28c0d8 p2p: restore m_testnet assignment lost during rebase (whythat)
|
|
4789f859 wipeable_string: don't try to wipe an empty buffer (moneromooo-monero)
|
|
10f78f63 p2p: need libcryptonote_core due to arg_testnet_on being used (stoffu)
|
|
bb19386b README.md: bump minimum cmake version to 3.2.0 (iDunk5400)
|
|
d4e728c9 simplewallet: reword donate command message for clarity (Serhack)
|
|
b2d4bb9b Remove `voting_version` parameter documentation. (Jean Pierre Dudey)
|
|
da25757b simplewallet: do nothing in on_skip_transaction (wallet2 already logs warnings) (stoffu)
|
|
3962bcb2 Closes #2886: really ignore battery checking (Timothy D. Prime)
|
|
37ee966c add reference to localization workgroup in README.i18n.md (erciccione)
|
|
89ad162a wallet2: remove unused m_subaddresses_inv (moneromooo-monero)
f2c4c399 wallet2: speed up subaddress generation (by about a third) (moneromooo-monero)
|
|
3c33e131 wallet2: don't store invalid key image when watch-only (stoffu)
0133b348 wallet2: don't throw when spent amount is inconsistent (stoffu)
|
|
2bc8c3db epee get_ns_count: cast to uint64_t before multiplying 10^9 to avoid overflow (stoffu)
|
|
6866ed46 Add default value to max_height, otherwise it's 0 (Michał Sałaban)
|
|
|
|
|
|
An udpate may or may not be available now, but should be soon if not.
This will prevent too many people freaking out.
|
|
Use GetProcAddress at runtime, avoid buildtime NTDLL link issues
|
|
|
|
memset_s doesn't like it
|
|
|
|
de397e3f refresh language files (erciccione)
264a8756 fix build error removing <> from payment_id (erciccione)
|
|
ed6c68db crypto: add missing include (WIN32) (iDunk5400)
|
|
a4b50a6f handle ^D and ^C while password prompting (Jethro Grassie)
|
|
dfabc005 memwipe: add missing #include <stdio.h> (stoffu)
|
|
b3b2d4d2 options: add testnet option dependencies (whythat)
c5f55bb4 common: implement dynamic option dependencies mechanism (whythat)
05a12ccc options: remove testnet-* options (whythat)
c33cb60e common: implement dependent option descriptor (whythat)
|
|
3607d467 core: add --no-fluffy-blocks, and enable fluffy blocks by default (moneromooo-monero)
|
|
7c1a607c txpool: Don't bail out when blob_size == tx_size_limit (Leon Klingele)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Previously, when blob_size == tx_size_limit, the "m_too_big" property was set
and the transaction was rejected. This should not have been the case.
|
|
|
|
|
|
eda9fb5b p2p: fix testnet/mainnet port mixup (moneromooo-monero)
|
|
30ce8c59 cn_deserialize: check for raw tx_extra (moneromooo-monero)
|
|
e4646379 keccak: fix mdlen bounds sanity checking (moneromooo-monero)
2e3e90ac pass large parameters by const ref, not value (moneromooo-monero)
61defd89 blockchain: sanity check number of precomputed hash of hash blocks (moneromooo-monero)
9af6b2d1 ringct: fix infinite loop in unused h2b function (moneromooo-monero)
8cea8d0c simplewallet: double check a new multisig wallet is multisig (moneromooo-monero)
9b98a6ac threadpool: catch exceptions in dtor, to avoid terminate (moneromooo-monero)
24803ed9 blockchain_export: fix buffer overflow in exporter (moneromooo-monero)
f3f7da62 perf_timer: rewrite to make it clear there is no division by zero (moneromooo-monero)
c6ea3df0 performance_tests: remove add_arg call stray extra param (moneromooo-monero)
fa6b4566 fuzz_tests: fix an uninitialized var in setup (moneromooo-monero)
03887f11 keccak: fix sanity check bounds test (moneromooo-monero)
ad11db91 blockchain_db: initialize m_open in base class ctor (moneromooo-monero)
bece67f9 miner: restore std::cout precision after modification (moneromooo-monero)
1aabd14c db_lmdb: check hard fork info drop succeeded (moneromooo-monero)
|
|
f689a77e Fix #602 Turn on socket keepalive (Howard Chu)
|
|
d6a0ae96 blockchain: don't try to use hash check array after it's freed (moneromooo-monero)
|
|
b81e276c connection_context: initialize m_last_request_time to current time (moneromooo-monero)
|
|
84a8b2da Don't create readtxn until after txn_safe gate check (Howard Chu)
|
|
928c1825 cryptonote_protocol: guard against all threads in standby (moneromooo-monero)
|
|
71806327 dns: change default DNS to a worldwide selection (moneromooo-monero)
|
|
2e584dcb p2p: do not try to connect to peers in offline mode (moneromooo-monero)
|
|
fde4489e wipeable_string: call memwipe directly (moneromooo-monero)
|
|
5c99608d Fix coverity issues in performance_tests/main.cpp (h908714124)
|
|
214d251c wallet: suggest the use of sweep_unmixable when not_enough_outs_to_mix is thrown (stoffu)
|
|
39992134 txpool: Properly bail out when outputs_amount == inputs_amount (Leon Klingele)
|
|
a99ef176 wallet-rpc: take subaddress account as arg for get_transfer_by_txid (stoffu)
77125096 wallet-rpc: rename *_INDEX_OUTOFBOUND into *_INDEX_OUT_OF_BOUNDS (stoffu)
|
|
bc61ae69 tx_pool: add a max pool size, settable with --max-txpool-size (moneromooo-monero)
3b4e6b35 txpool: increase unmined tx expiry to three days (moneromooo-monero)
|
|
49c803ad Dockerfile: build dependencies with -fPIC (MoroccanMalinois)
|
|
f90c76be Return appropriate error code when there's no connection to daemon (Michał Sałaban)
3cb65b3f Return appropriate error code when not enough money for tx (Michał Sałaban)
|
|
9017084a cmake: add -DHAVE_ defines to the command line (moneromooo-monero)
|
|
851bd057 call _exit instead of abort in release mode (moneromooo-monero)
|
|
32d5e731 Update translation source from create to generate (Maxithi)
|
|
e3f0980a daemon: don't drop RPC with busy error when running offline (moneromooo-monero)
|
|
1dfed567 Fixed #if instead of #ifdef (Matt Little)
7c442453 Support building cncrypto lib with msvc (Matt Little)
|
|
3be98036 wallet-cli: Do not ask for scan_from_height if it explicitly is set to zero. (Maximilian Lupke)
|
|
402c9eef cryptonote_tx_utils: fixed logic bug in get_destination_view_key_pub (stoffu)
|
|
7539603f Bootstrap daemon (stoffu)
|
|
628b78ae Fix in_peers/out_peers RPC operations (Erik de Castro Lopo)
ece9bcf5 rpc_client: Fix error handling (Erik de Castro Lopo)
8f30350d Fix method name in invoke_http_json_rpc (Erik de Castro Lopo)
32c0f908 Allow the number of incoming connections to be limited (Erik de Castro Lopo)
d609a2c1 Rename delete_connections to delete_out_connections (Erik de Castro Lopo)
b927c0fc Rename connections_count to max_out_connection_count (Erik de Castro Lopo)
|
|
78a2e15b daemon: exit with 0 when successful (moneromooo-monero)
|
|
a3c5a73c Update readme with correct tag version (Calvin Liang)
|
|
a85dbb3f Fixed typos and wording tweaks (Maxithi)
|
|
|
|
|
|
|
|
19ff243f wallets: reorg 61 more days on testnet (moneromooo-monero)
c70f03ca blockchain: move bulletproofs to v8 (moneromooo-monero)
|
|
3f1a3fac bulletproofs: more robust challenge computation (moneromooo-monero)
|
|
b8090589 ringct: pseudoOuts moved to prunable in the simple bulletproof case (moneromooo-monero)
|
|
Signed-off-by: Jean Pierre Dudey <jeandudey@hotmail.com>
|
|
|
|
Move option test first.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
It's freed when we've synced past its end, but we might still
find an old chain somewhere
|
|
|
|
DNSSEC aware servers picked from https://wiki.ipfire.org/dns/public-servers
|
|
|
|
|
|
|
|
|
|
found by h908714124
|
|
|
|
This prevents spurious early peer drops
|
|
|
|
Coverity 136394 136397 136409 136526 136529 136533 175302
|
|
Coverity 142951
|
|
Coverity 146775
|
|
Coverity 182493
|
|
If an exception is thrown, it is ignored. While this may hide
a bug, this should only be system exceptions in boost, which
is pretty unlikely. Morever, wait should be called manually
before the dtor anyway. Add an error message if the dtor has
to wait in case some such cases creep in so they get fixed.
Coverity 182538
|
|
Coverity 182550
|
|
It could have happened if epee::misc_utils::get_ns_count
is buggy, at a push
Coverity 182561
|
|
Coverity 182572
|
|
and comment it out, it's only used to generate a starting test case
Coverity 182506
|
|
Nothing calls this with those inputs
|
|
It's cleaner this way, since it's a base class field
Coverity 136568
|
|
Coverity 136462
|
|
Coverity 136364
|
|
|
|
|
|
|
|
Avoids cores being created, as they're nowadays often piped
to some call home system
|
|
Previously, when outputs_amount == inputs_amount, the "m_overspend" property
was set, whereas "m_fee_too_low" would have been the correct property to set.
This is unlikely to ever occur and just something I've noticed while reading
through the code.
|
|
|
|
Changes from sarang, from a recommendation by an anonymous reviewer
|
|
Saves 64 bytes non prunable data per typical tx
This breaks v7 consensus, will require a testnet reorg from v6
|
|
|
|
and set v7 height to 1057027 on testnet (one block earlier)
This is to easily dump current nodes since we're going to change
the v7 rules with this.
|
|
since the original reason for the indirect call (that memwipe
was not in contrib) is now gone
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Original implementations could never have worked.
|
|
Previous code was unable to distingush between a connection error
and a communication error.
|
|
Previously, the method name was printed as an exmpty string because
the input string had already been moved with `std::move`.
|
|
It was already possible to limit outgoing connections. One might want
to do this on home network connections with high bandwidth but low
usage caps.
|
|
This rename is needed so that delete_in_connections can be added.
|
|
This is needed so that a max_in_connection_count can be added.
|
|
1c99a628 Tests: Fix building of two fuzz tests on Windows (iDunk5400)
|
|
7ed62e63 cryptonote_protocol: fix std::move usage on different types (moneromooo-monero)
|
|
|
|
|
|
|
|
|
|
since there's no config.h here
|
|
fbc0a6dd Bugfix : Missing i18n import in simplewallet (Neozaru)
|
|
fccd1df1 performance_tests: fix build after merging two conflicting patches (moneromooo-monero)
|
|
30c44bce wallet: automatically use low priority if safe (no backlog & recent blocks not full) (stoffu)
c903df5e simplewallet: bug fix for backlog estimate (stoffu)
2f5a9b6b wallet2: split estimate_backlog to allow for raw fee levels (moneromooo-monero)
|
|
not full)
|
|
|
|
|
|
269ba252 wallet2::import_blockchain fix import loop (Jaquee)
|
|
95171614 Remove is_pod trait, and replace with is_standard_layout requirement (Lee Clagett)
|
|
ab2e9953 unit_tests: do not ASSERT_TRUE(decodeRct(...)) (moneromooo-monero)
|
|
fd1dfac5 p2p: don't lookup seed IPs if using an exclusive peer (moneromooo-monero)
b50182ae p2p: don't connect to seeds if using an exclusive peer (moneromooo-monero)
|
|
42f86624 rpc: expose recent median block size in getinfo (moneromooo-monero)
|
|
ba6d2975 cryptonote_core: add --disable-dns-checkpoints flag (moneromooo-monero)
|
|
a9cae0ab Wallet API: remove unused enum Priority from UnsignedTransaction (stoffu)
|
|
3160a930 wallet2: remove {set|get}_default_decimal_point and use the same funcs under cryptonote:: instead (stoffu)
7d1088d3 wallet2: make scan_output const and omit keys arg (stoffu)
bc1ee2c2 wallet2: make member functions const when possible (stoffu)
|
|
e0404d35 rpc: default do_not_relay to false in sendrawtransaction (moneromooo-monero)
|
|
6fbb0b06 cmake: set API header install path to what Qt wallet expects (redfish)
|
|
6cf56682 perf_timer: add faster x86_64 timers, and pause/resume (moneromooo-monero)
411da337 perf_timer: use std::unique_ptr instead of new/delete (moneromooo-monero)
|
|
c4f43779 crypto: add a ge_p3_identity constant (moneromooo-monero)
13b4c90e crypto: add scalar mult functions returning ge_p3 instead of ge_p2 (moneromooo-monero)
|
|
ca336c62 simplewallet: check file overwrite when exporting stuff (stoffu)
|
|
fb5c971c Allow retrieving spend key via RPC (Michał Sałaban)
|
|
ffc2e570 wallet rpc: show fees when querying incoming transfers (stoffu)
|
|
939629e8 Wallet API: all recover options with password (m2049r)
|
|
3050a4f0 simplewallet: fix typo get_tx_proof_out to get_tx_proof (stoffu)
|
|
935e39c7 levin_protocol_handler_async: erase from back of vector instead of front (stoffu)
|
|
84a7f6a4 Readd copyright starting date (xmr-eric)
18216f19 Update 2018 copyright (xmr-eric)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
cryptonote:: instead
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5ae617d5 simplewallet: single out 0 amount destinations as dummy ones (moneromooo-monero)
c1d19f3c wallet2: fix sweep_all sending an atomic unit (moneromooo-monero)
|
|
5f5a51a6 util: warn if unbound was not built with threads (moneromooo-monero)
|
|
d507167f Removed unused mac-specific output folder path (Maxithi)
|
|
21bd2157 remove unnecessary include (Jethro Grassie)
|
|
ab58b150 p2p: fix picking peers off an empty gray list (moneromooo-monero)
|
|
ff5626d7 ringct: handle exceptions verifying bulletproofs in worker threads (moneromooo-monero)
|
|
b56f4645 cryptonote_protocol: fix size_t used in wire format (moneromooo-monero)
|
|
d188840c Improved terminology from create to generate (Maxithi)
|
|
8b50209c fix for warning (Onur Altun)
|
|
c6775868 Ignore cmake-build-debug folder (Maxithi)
|
|
0811b924 fix some confirmation dialog, add missing symbols (AJIekceu4)
|
|
301ec15c Change cryptonote::COMMAND_RPC_SET_LIMIT::response to use int64_t (Nick Johnson)
|
|
3e635a3c wallet2: allow failing parse_tx_extra (moneromooo-monero)
|