Commit graph

9611 commits

Author SHA1 Message Date
moneromooo-monero
e537161b65
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-07-19 23:26:57 +03:00
moneromooo-monero
705a21aee1
simplewallet: add missing calls to on_command
It resets the inactivity time
2020-07-19 23:26:46 +03:00
moneromooo-monero
57e60e87bd
db_lmdb: test for mmap support at init time
It'll make it clearer when a DB init failure is due to being
on a filesystem which does not support mmap
2020-07-19 23:26:34 +03:00
sumogr
121cdd5012
remove double includes 2020-07-19 23:24:13 +03:00
SomaticFanatic
bcd71a5af9
Update copyright year to 2020
Update copyright year to 2020
2020-07-19 23:23:42 +03:00
mj-xmr
1b9226ecfb
Made ccache optional (opt out) and tidied up the FindCcache.cmake 2020-07-19 23:22:54 +03:00
moneromooo-monero
1b7b438337
performance_tests: some windows fixes
Too many iterations cause std::bad_alloc for the timings vector,
and the micro prefix displays as some other character, so use u.

Reported by iDunk
2020-07-19 23:22:43 +03:00
jwinterm
b1a2668fa9 Merge pull request 'upstream' (#293) from wowario/wownero:upstream into master
Reviewed-on: https://git.wownero.com/wownero/wownero/pulls/293
2020-07-16 18:08:23 +00:00
jwinterm
c255220284 Merge pull request 'degoogle rapidjson submodule' (#291) from wowario/wownero:de-google into master
Reviewed-on: https://git.wownero.com/wownero/wownero/pulls/291
2020-07-16 18:04:32 +00:00
jwinterm
cc395f82e6 Merge pull request 'Update RandomWOW to v1.1.8-wow' (#287) from wowario/wownero:v1.1.8-wow into master
Reviewed-on: https://git.wownero.com/wownero/wownero/pulls/287
2020-07-16 18:03:26 +00:00
selsta
4b1748de17
snap: remove from repo 2020-07-16 17:01:00 +03:00
selsta
ac69df97a7
contrib: remove codefresh pipeline 2020-07-16 16:59:51 +03:00
selsta
052bce16d3
simplewallet: add show_qr_code command
Thanks to iDunk for helping with Windows.
2020-07-16 16:58:57 +03:00
wowario
0e0de44a3a Merge pull request 'add new links' (#286) from wowario/wownero:wowario-patch-1 into master
Reviewed-on: https://git.wownero.com/wownero/wownero/pulls/286
2020-07-14 17:09:20 +00:00
wowario
1f5a4b3ea7
degoogle submodule 2020-07-13 17:04:44 +03:00
wowario
6c0afb8b9d
Update RandomWOW to v1.1.8-wow 2020-07-13 10:10:30 +03:00
wowario
29e7770602 add new links 2020-07-07 09:10:10 +00:00
jwinterm
7e01ba8463 Merge pull request 'update submodule urls' (#284) from wowario/wownero:submodules into master
Reviewed-on: https://git.wownero.com/wownero/wownero/pulls/284
2020-06-30 16:19:56 +00:00
wowario
ef88ad4b6e
update submodule urls 2020-06-30 19:13:28 +03:00
jwinterm
c8a59f82e2 Merge pull request 'remove unused blocks' (#282) from wowario/wownero:blocks into master
Reviewed-on: https://git.wownero.com/wownero/wownero/pulls/282
2020-06-30 15:59:04 +00:00
jwinterm
70bcf1df3b Merge pull request 'remove trezor submodule' (#281) from wowario/wownero:trezor into master
Reviewed-on: https://git.wownero.com/wownero/wownero/pulls/281
2020-06-30 15:58:11 +00:00
wowario
9f099388a9
remove unused blocks 2020-06-29 16:11:15 +03:00
wowario
7a6d90c55a
remove trezor submodule 2020-06-29 15:28:03 +03:00
wowario
c70878b54e
update git urls 2020-06-28 18:01:22 +03:00
jw
c8ed320949
Merge pull request #280 from wowario/gitian
gitian rename to wownero
2020-06-28 07:19:25 -07:00
jw
f7ba826cd2
Merge pull request #279 from wowario/warning
fix warning by removing std::move() on temporary http_client object
2020-06-28 07:19:12 -07:00
jw
e91b041c75
Merge pull request #278 from wowario/checkpoints
build: prepare v0.8.0.1 release
2020-06-28 07:18:43 -07:00
jw
aefce0c5fe
Merge pull request #277 from wowario/off
build: disable trezor
2020-06-28 07:18:27 -07:00
jw
2f8ccfe0ca
Merge pull request #276 from wowario/upstream
Upstream
2020-06-28 07:18:12 -07:00
wowario
a85e6fc276
gitian rename to wownero 2020-06-28 11:12:07 +03:00
woodser
0ce2ef719f
fix warning by removing std::move() on temporary http_client object 2020-06-27 10:16:23 +03:00
wowario
9f5fa3f7f9
update checkpoints 2020-06-27 10:05:27 +03:00
wowario
c5e224944e
build: disable trezor 2020-06-27 04:44:34 +03:00
Dusan Klinec
b5b1463487
add trezor support to sweep_single 2020-06-27 04:04:54 +03:00
moneromooo-monero
ae60c289f9
epee: fix array underflow in unicode parsing
Reported by minerscan

Also independently found by OSS-Fuzz just recently
2020-06-27 04:04:35 +03:00
moneromooo-monero
6da460a8df
tx_pool: mine stem txes in fake chain mode
This fixes the functional tests, since txes would not be mined
after being sent to the daemon (they'd be waiting for the
dandelion timeout first)
2020-06-27 04:04:20 +03:00
moneromooo-monero
72655f78fc
blockchain: fix timestamp/difficulty cache getting out of sync
The cache is discarded when a block is popped, but then gets
rebuilt when the difficulty for next block is requested.
While this is all properly locked, it does not take into account
the delay caused by a database transaction being only committed
(and thus its effects made visible to other threads) later on,
which means another thread could request difficulty between
the pop and the commit, which would end up using stale database
view to build the cache, but that cache would not be invalidated
again when the transaction gets committed, which would cause the
cache to not match the new database data.

To fix this, we now keep track of when the cache is invalidated
so we can invalidate it again upon database transaction commit
to ensure it gets calculated again with fresh data next time it
is nedeed.
2020-06-27 03:58:50 +03:00
Lee Clagett
4be84b7753
Fix D++ block template check 2020-06-27 03:53:37 +03:00
moneromooo-monero
b3847bc194
blockchain: fix total_height in getblocks.bin response 2020-06-27 03:53:19 +03:00
moneromooo-monero
c573ee65f6
rpc: fix loading rpc payment data from file
Got broken after making one of those micro optimizations requested on review..
2020-06-27 03:53:03 +03:00
moneromooo-monero
eb49cb728e
rpc: fix comparison of seconds vs microseconds 2020-06-27 03:52:50 +03:00
moneromooo-monero
fd83d71bc7
functional_tests: add simple relay_tx test 2020-06-27 03:52:37 +03:00
moneromooo-monero
da1720ec30
rpc: fix relay_tx error return mixup 2020-06-27 03:52:22 +03:00
moneromooo-monero
6c652ef1ad
daemon: remove time based "update needed" status string 2020-06-27 03:52:09 +03:00
moneromooo-monero
e592a515db
rpc: don't display invalid json errors on default log level
It's not something the user needs to know, and will display
attacker controlled data
2020-06-27 03:51:55 +03:00
François Colas
5df0ffb57c
Fix incorrect lenght of command INS_PREFIX_HASH
buffer_send[4] (LC) is an unsigned char, len should not
exceed 254 (255 - 1 for the option).
2020-06-27 03:51:41 +03:00
Denis Smirnov
d9939ce2fa
fix typo in pick_preferred_rct_inputs 2020-06-27 03:51:27 +03:00
jw
29ebcc4e7e
Merge pull request #274 from wowario/upstream
Upstream
2020-06-23 07:29:48 -07:00
jw
d759d13815
Merge pull request #272 from 00-matt/readme-gentoo
readme: Add Gentoo install instructions
2020-06-23 07:29:34 -07:00
jw
31ef8e30c4
Merge pull request #271 from wowario/rename
mining_status print output
2020-06-23 07:28:47 -07:00