Riccardo Spagni
aefa7740c3
Merge pull request #6111
...
d20ff4f64
functional_tests: add a large (many randomx epochs) p2p reorg test (moneromooo-monero)
6a0b3b1f8
functional_tests: add randomx tests (moneromooo-monero)
9d42649d5
core: fix mining from a block that's not the current top (moneromooo-monero)
2020-09-06 15:49:37 +02:00
moneromooo-monero
6a0b3b1f8a
functional_tests: add randomx tests
2020-08-27 15:13:03 +00:00
Sarang Noether
4b328c6616
CLSAG signatures
2020-08-27 12:43:29 +00:00
Alexander Blair
e2e09d00c2
Merge pull request #6337
...
a11ec4ac1
Support for supercop ASM in wallet, and benchmark for supercop (Lee Clagett)
2020-08-16 12:38:44 -07:00
Sarang Noether
6bfcd31015
Updates InProofV1, OutProofV1, and ReserveProofV1 to new V2 variants that include all public proof parameters in Schnorr challenges, along with hash function domain separators. Includes new randomized unit tests.
2020-08-09 18:42:15 -04:00
Alexander Blair
bb0241da6e
Merge pull request #6538
...
7178bb5c8
keccak: remove aligned check (moneromooo-monero)
2020-07-19 03:38:53 -07:00
moneromooo-monero
7178bb5c84
keccak: remove aligned check
...
Some tools report the alignment check as UB, which seems a bit
dubious, but since the performance difference between the two
versions is minimal, I'll go with the safe version
2020-05-16 12:28:27 +00:00
Lee Clagett
a11ec4ac1d
Support for supercop ASM in wallet, and benchmark for supercop
2020-05-16 10:25:17 +00:00
SomaticFanatic
5ef0607da6
Update copyright year to 2020
...
Update copyright year to 2020
2020-05-06 22:36:54 -04:00
luigi1111
b4023dcfc5
Merge pull request #6441
...
613071f
use memwipe on secret k/alpha values (moneromooo-monero)
2020-05-05 23:39:32 -05:00
moneromooo-monero
613071f4fa
use memwipe on secret k/alpha values
...
Reported by UkoeHB_ and sarang
2020-04-15 01:16:31 +00:00
luigi1111
0253f86fde
Merge pull request #6298
...
fe92fa1
[randomx] Add missing randomx_vm_set_cache() (cohcho)
2020-03-31 13:36:21 -05:00
Lee Clagett
02d887c2e5
Adding Dandelion++ support to public networks:
...
- New flag in NOTIFY_NEW_TRANSACTION to indicate stem mode
- Stem loops detected in tx_pool.cpp
- Embargo timeout for a blackhole attack during stem phase
2020-03-26 15:01:30 +00:00
Alexander Blair
6742c4acb7
Merge pull request #6223
...
c3613031
Silence miner debugmsg spam (Howard Chu)
2020-02-28 19:45:55 -08:00
cohcho
fe92fa1391
[randomx] Add missing randomx_vm_set_cache()
2020-01-17 19:25:26 +00:00
Howard Chu
c361303184
Silence miner debugmsg spam
...
Don't try to allocate the dataset repeatedly if it has already failed.
2019-12-09 15:59:52 +00:00
Bert Peters
b2ad757f48
Replace memset with memwipe.
2019-11-13 18:00:50 +01:00
tevador
ea813cfb1b
RandomX: update to v1.1.4
...
* Faster cache initialization with SSSE3/AVX2
* Automatic detection of CPU capabilities in RandomX
* Fixed a possible out-of-bounds access in superscalar program generator
* Use MONERO_RANDOMX_UMASK to manually disable RandomX flags in monerod
2019-10-13 18:43:27 +02:00
Howard Chu
f54301dd75
Fix for miners on reorg
...
Make sure dataset gets re-init'd if a reorg changes the epoch
2019-10-07 09:50:00 +01:00
Howard Chu
2675cf4483
Update to RandomX v1.1.3, simplify
...
We don't need to detect if the cache has changed, just always
call to set it on the VM. The call will be a no-op if the cache
hasn't changed.
2019-10-05 18:51:20 +01:00
Howard Chu
1c600a492f
Fix randomx cache selection for RPCs
...
Was using the wrong cache slot, and returning invalid PoW hashes to RPC clients
2019-10-03 20:05:17 +01:00
Howard Chu
81c2ad6d5b
RandomX integration
...
Support RandomX PoW algorithm
2019-09-25 21:29:42 +01:00
luigi1111
ee6e849627
Merge pull request #5877
...
2cd4fd8
Changed the use of boost:value_initialized for C++ list initializer (JesusRami)
4ad191f
Removed unused boost/value_init header (whyamiroot)
928f4be
Make null hash constants constexpr (whyamiroot)
2019-09-24 10:08:44 -05:00
Lev Sizov
928f4be953
Make null hash constants constexpr
...
Simplify m_template initialization in miner
2019-09-05 17:37:19 +02:00
moneromooo-monero
54fd97ae3f
slow-hash: fix CNv2+ on big endian
2019-09-04 14:53:59 +00:00
Lev Sizov
4ad191ffa9
Removed unused boost/value_init header
2019-09-02 14:38:29 +02:00
Jesus Ramirez
2cd4fd8972
Changed the use of boost:value_initialized for C++ list initializer
2019-09-02 14:16:29 +02:00
luigi1111
8f6f674753
Merge pull request #5609
...
1dc3b1a
wallet: add --extra-entropy command line flag (moneromooo-monero)
2019-08-27 15:14:15 -05:00
moneromooo-monero
1dc3b1a516
wallet: add --extra-entropy command line flag
...
It lets the user add custom entropy to the PRNG.
It does this by hashing the new data and xoring the resulting
hash with the PRNG state.
2019-08-22 11:12:57 +00:00
luigi1111
0a42fddde4
Merge pull request #5807
...
4b1df4e
Fix for biased signature nonce (SarangNoether)
2019-08-21 15:38:35 -05:00
luigi1111
8956e90c63
Merge pull request #5731
...
c393e82
CryptonightR_JIT: fix return value on error (selene-kovri)
2019-08-21 15:09:48 -05:00
Sarang Noether
4b1df4e50f
Fix for biased signature nonce
2019-08-12 15:58:15 -04:00
luigi1111
bb37e434fc
Merge pull request #5624
...
6b41bd8
Delete more include string.h (wepeng)
2019-07-24 14:39:40 -05:00
luigi1111
e3de4aa68b
Merge pull request #5502
...
25a7cfd
add a few checks where it seems appropriate (moneromooo-monero)
1a66a86
remove unused code (moneromooo-monero)
2019-07-24 13:57:06 -05:00
moneromooo-monero
c2238327d0
keccak: guard against misaligned memory accesses on ARM
...
The code generated is exactly the same as the direct access
one on x86_64
2019-07-04 22:13:16 +00:00
selene
c393e824d6
CryptonightR_JIT: fix return value on error
...
The value was positive rather than zero, but the caller only
checks for negative errors
2019-07-04 12:49:54 +01:00
moneromooo-monero
0564da5fdc
ensure no NULL is passed to memcpy
...
NULL is valid when size is 0, but memcpy uses nonnull attributes,
so let's not poke the bear
2019-06-14 08:47:29 +00:00
moneromooo-monero
a00cabd4f3
tree-hash: allocate variable memory on heap, not stack
...
Large amounts might run out of stack
Reported by guidov
2019-06-14 08:47:20 +00:00
Your Name
6b41bd8eb5
Delete more include string.h
2019-06-11 16:08:42 +08:00
moneromooo-monero
1a66a86f94
remove unused code
2019-04-29 20:52:40 +00:00
stoffu
a2195b9b7f
crypto: replace rand<T>()%N idiom with unbiased rand_idx(N)
2019-04-04 22:38:19 +09:00
Nathan Dorfman
9f49722c4d
Fix build on FreeBSD
2019-03-24 01:12:06 -06:00
Riccardo Spagni
6c0c7d796d
Merge pull request #5252
...
7ac33342
slow-hash: cache TLS references locally once at function start (moneromooo-monero)
2019-03-21 14:48:24 +02:00
Riccardo Spagni
39107e18d5
Merge pull request #5251
...
7632dede
crypto: fix PaX issue on NetBSD with CNv4 JIT (moneromooo-monero)
89b1630e
gtest: build fix for NetBSD (moneromooo-monero)
fa43b547
tests: handle any cmake detected python interpreter (moneromooo-monero)
2019-03-21 14:47:43 +02:00
Riccardo Spagni
56feda84d3
Merge pull request #5250
...
a48e49aa
aesb: avoid stomping on an existing define on NetBSD (moneromooo-monero)
2019-03-21 14:47:11 +02:00
Riccardo Spagni
f9b1c4f962
Merge pull request #5213
...
efb2bdd3
slow-hash: default to JIT on x86_64 (moneromooo-monero)
2019-03-21 14:44:26 +02:00
Riccardo Spagni
48e3a341f8
Merge pull request #5211
...
c9b13fbb
tests/trezor: HF9 and HF10 tests (Dusan Klinec)
a1fd1d49
device/trezor: HF10 support added, wallet::API (Dusan Klinec)
d74d26f2
crypto: hmac_keccak added (Dusan Klinec)
2019-03-21 14:44:04 +02:00
moneromooo-monero
efb2bdd309
slow-hash: default to JIT on x86_64
2019-03-21 11:29:08 +00:00
Dusan Klinec
d74d26f2c9
crypto: hmac_keccak added
2019-03-20 21:11:01 +01:00
Riccardo Spagni
c3de019f56
Merge pull request #5192
...
d0e07b3d
performance_tests: fix NetBSD build (moneromooo-monero)
7d88d8f2
discontinue use of alloca (moneromooo-monero)
2019-03-17 17:56:52 +02:00