Commit Graph
971 Commits
Author SHA1 Message Date
jwandGitHub 74a30ddccd Merge pull request #56 from wowario/lwma-2
Implement LWMA-2 for HF v9
2018-06-13 20:02:44 -07:00
wowario c5d51ca56c add lwma-2 2018-06-14 03:58:11 +03:00
jwandGitHub a0b5b82bb4 Merge pull request #46 from wowario/checkpoints
update checkpoints.dat
2018-06-04 10:03:56 -07:00
wowario 52e2799f6d update checkpoints.dat 2018-06-04 17:44:29 +03:00
moneromooo-moneroandwowario 26acaf82f9 speed up get_output_distribution (and precalc common case) 2018-06-04 11:26:54 +03:00
moneromooo-moneroandwowario 24cd25d87e blockchain: demote a hash-of-hashes validation warning to debug
This data comes from untrusted peers, and validation failures
are therefore normal.
2018-06-03 23:32:21 +03:00
wowario cdb20d58b5 remove whitespace 2018-06-01 13:03:54 +03:00
stoffuandwowario 195e309465 Fix output shuffling for multisig 2018-06-01 12:25:54 +03:00
moneromooo-moneroandwowario 57c006d6f1 core: fix automatic safe db sync mode switching 2018-06-01 11:46:24 +03:00
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