Commit Graph
962 Commits
Author SHA1 Message Date
jwandGitHub 1977bc6e2e Merge pull request #39 from wowario/release-v0.2.1.0
Merge branch 'master' into release-v0.2.1.0
2018-05-27 07:10:57 -07:00
jwandGitHub 865ae628d4 Merge pull request #38 from wowario/ftl_check_window
Tighten future time limit and timestamp check window
2018-05-27 07:10:38 -07:00
wowario b8636dd448 Merge branch 'master' into release-v0.2.1.0 2018-05-26 15:47:11 +03:00
wowario 54fe6c3b09 adjust FTL, timestamp check window 2018-05-26 09:46:16 +03:00
wowario 4209b715eb testnet v9 2018-05-26 09:15:19 +03:00
jwandGitHub 0d47bf6574 Merge pull request #36 from wowario/upstream_merge
Upstream merge
2018-05-24 13:40:55 -07:00
stoffuandwowario ebbf84900d cryptonote_tx_util: make destinations properly shuffled 2018-05-24 13:14:01 +03:00
stoffuandwowario 9f39259029 blockchain: pop top if block version disagrees with the ideal fork version 2018-05-24 12:28:17 +03:00
stoffuandwowario 0aa0b8347e Fix output shuffling for multisig 2018-05-24 12:28:16 +03:00
jwandGitHub 2e40272dc3 Merge pull request #34 from wowario/simplewallet
Make simplewallet simple again
2018-05-20 20:48:37 -07:00
wowario 8f8504c76e make simplewallet simple 2018-05-20 23:58:31 +03:00
wowario 9919ee66a2 refactor mixin condition 2018-05-18 10:54:37 +03:00
jwandGitHub 94fc2c514d Merge pull request #31 from wowario/art
add WOW ASCII art
2018-05-17 20:02:30 -07:00
jwandGitHub 0548011ca5 Merge pull request #30 from wowario/mixin
static mixin (protocol level)
2018-05-17 20:02:01 -07:00
wowario bcf485d9a7 add WOW ASCII art 2018-05-18 03:13:25 +03:00
wowario fe94ba558c static mixin 2018-05-17 18:38:36 +03:00
moneromooo-moneroandwowario 23d1007327 speedup get_output_histogram for all amounts when min_count > 0
This skips the vast majority of "dust" output amounts with just
one instance on the chain. Clocks in at 0.15% of the original
time on testnet.
2018-05-16 23:59:48 +03:00
moneromooo-moneroandwowario cf1bc8c98f tx_pool: fix loading with colliding key images
A key image may be present more than once if all but one of the
txes spending that key image are coming from blocks. When loading
a txpool from storage, we must load the one that's not from a
block first to avoid rejection
2018-05-16 22:48:45 +03:00
stoffuandwowario f7dd0ee122 cryptonote_tx_util: make destinations properly shuffled 2018-05-16 21:47:44 +03:00
moneromooo-moneroandwowario 0043d20939 fix lambda compile error on openbsd 2018-05-16 21:47:43 +03:00
Thaer Khawajaandwowario 2d63dd3c1c Only log an error if fork version is higher AND is not known. 2018-05-16 15:39:54 +03:00
moneromooo-moneroandwowario 9360a0e057 cryptonote: make sure outPk setup always happens 2018-05-16 15:19:58 +03:00
moneromooo-moneroandwowario 68b3bb81cf blockchain: invalidate misc caches when popping blocks
Might be a bit heavy handed, but conservative.
2018-05-16 15:17:29 +03:00
Thaer Khawajaandwowario 4a479d2fcc Use median timestamp if current time renders a block invalid. 2018-05-14 00:02:10 +03:00
jwinterm 78f1e84139 Set v8 fork height and change version 2018-04-20 17:56:12 -07:00
wowario 0ac4b8e63e increase ringsize to 10 2018-04-19 04:21:25 +03:00
wowario efe03eb037 added LWMA 2018-04-16 11:57:28 +03:00
jwinterm c473f01310 Initial commit 2018-03-29 19:55:44 -07:00
moneromooo-monero b1398fff40 core: fix use of uninitialised data 2018-03-18 23:37:00 +00:00
moneromooo-monero bb20f104ba Move v7 fork to 1546000 to give more update time 2018-03-18 09:29:31 +00:00
Riccardo Spagni 83651630bc Merge pull request #3418
20a00266 blockchain: forbid bulletproof types before v8 (moneromooo-monero)
2018-03-17 16:51:47 +02:00
moneromooo-monero 20a002667c blockchain: forbid bulletproof types before v8
They were already forbidden implicitely, but let's make that
explicit for robustness
2018-03-16 18:18:34 +00:00
Riccardo Spagni 432480fa42 Merge pull request #3414
524cbdc1 blockchain: fix log message about per-kB fee (stoffu)
2018-03-16 18:09:34 +02:00
Riccardo Spagni 0f27fc57ac Merge pull request #3336
57c0b1ed Fix typos in various files (Dimitris Apostolou)
2018-03-16 18:08:07 +02:00
moneromooo-monero 41f727ce42 add RPC to get a histogram of outputs of a given amount 2018-03-16 10:32:26 +00:00
stoffu 524cbdc1e2 blockchain: fix log message about per-kB fee 2018-03-16 10:43:19 +09:00
Dimitris ApostolouandDimitris Apostolou 57c0b1ed9f Fix typos in various files 2018-03-15 18:25:38 +02:00
Jean Pierre Dudey e1b526b371 Remove the Blockchain::get_all_known_block_ids function.
This function isn't used in the codebase.

Signed-off-by: Jean Pierre Dudey <jeandudey@hotmail.com>
2018-03-14 21:56:19 -04:00
stoffu 8705beaf51 keypair::generate: always require hw::device to avoid possible mistake 2018-03-14 21:00:16 +09:00
stoffu 27a196b126 device: untangle cyclic depenency
When #3303 was merged, a cyclic dependency chain was generated:

    libdevice <- libcncrypto <- libringct <- libdevice

This was because libdevice needs access to a set of basic crypto operations
implemented in libringct such as scalarmultBase(), while libringct also needs
access to abstracted crypto operations implemented in libdevice such as
ecdhEncode(). To untangle this cyclic dependency chain, this patch splits libringct
into libringct_basic and libringct, where the basic crypto ops previously in
libringct are moved into libringct_basic. The cyclic dependency is now resolved
thanks to this separation:

    libcncrypto <- libringct_basic <- libdevice <- libcryptonote_basic <- libringct

This eliminates the need for crypto_device.cpp and rctOps_device.cpp.

Also, many abstracted interfaces of hw::device such as encrypt_payment_id() and
get_subaddress_secret_key() were previously implemented in libcryptonote_basic
(cryptonote_format_utils.cpp) and were then called from hw::core::device_default,
which is odd because libdevice is supposed to be independent of libcryptonote_basic.
Therefore, those functions were moved to device_default.cpp.
2018-03-14 21:00:15 +09:00
Riccardo Spagni 9a63fbcf83 Merge pull request #3371
84decbea core: add v7 for 1539500 on mainnet (moneromooo-monero)
2018-03-14 13:37:25 +02:00
Riccardo Spagni 2e074e2ae7 Merge pull request #3358
978663d4 Stagenet: successive forks up to v7 (stoffu)
2018-03-14 13:36:47 +02:00
Cédric 73dd883d51 Ledger HW Bug fixes
Fix the way the REAL mode is handle:
  Let create_transactions_2 and create_transactions_from construct the vector of transactions.
  Then iterate on it and resign.
  We just need to add 'outs' list in the TX struct for that.

Fix default secret keys value when DEBUG_HWDEVICE mode is off
  The magic value (00...00 for view key and FF..FF for spend key) was not correctly set
  when DEBUG_HWDEVICE was off. Both was set to 00...00.

Add sub-address info in ABP map in order to correctly display destination sub-address on device

Fix DEBUG_HWDEVICE mode:
   - Fix compilation errors.
   - Fix control device init in ledger device.
   - Add more log.

Fix sub addr control

Fix debug Info
2018-03-12 10:43:06 +01:00
stoffu 978663d461 Stagenet: successive forks up to v7 2018-03-09 13:59:11 +09:00
moneromooo-monero 84decbea48 core: add v7 for 1539500 on mainnet 2018-03-07 17:19:50 +00:00
moneromooo-monero 38657fd0e9 Bump min ring size from 5 to 7 from v7 2018-03-07 13:19:04 +00:00
Riccardo Spagni 9841a452e5 Merge pull request #3338
51219457 core: fix sending to the source address with a short payment id (moneromooo-monero)
2018-03-05 19:13:28 +02:00
Riccardo Spagni abcdb7b5c4 Merge pull request #3308
6f8779d2 blockchain: fix random sync failures (moneromooo-monero)
2018-03-05 19:12:05 +02:00
Riccardo Spagni 4f93f74528 Merge pull request #3277
0e7ad2e2 Wallet API: generalize 'bool testnet' to 'NetworkType nettype' (stoffu)
af773211 Stagenet (stoffu)
cc9a0bee command_line: allow args to depend on more than one args (stoffu)
55f8d917 command_line::get_arg: remove 'required' for dependent args as they're always optional (stoffu)
450306a0 command line: allow has_arg to handle arg_descriptor<bool,false,true> #3318 (stoffu)
9f9e095a Use `genesis_tx` parameter in `generate_genesis_block`. #3261 (Jean Pierre Dudey)
2018-03-05 19:11:20 +02:00
Edward Betts fbcc91c2a4 Correct spelling mistakes. 2018-03-05 17:00:40 +00:00