Commit Graph

9588 Commits

Author SHA1 Message Date
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
jw 34779a4047
Merge pull request #270 from 00-matt/fix-boost173
Fix boost compatibility
2020-06-23 07:28:25 -07:00
jw 1b5a28351d
Merge pull request #268 from Aluisyo/patch-5
update ppa keyserver keys
2020-06-23 07:27:15 -07:00
moneromooo-monero c5d7dd9f18
fix a few typos in error messages
Reported by adrelanos
2020-06-23 07:27:04 +03:00
selsta a4e2fac1ff
workflows: update msys2 setup action v0 -> v1 2020-06-23 07:19:45 +03:00
selsta b993d1b833
workflows: fix windows build 2020-06-22 18:41:43 +03:00
Matt Smith d8b68a6369 readme: Add Gentoo install instructions 2020-06-22 15:06:37 +01:00
wowario 7c2b754321
mining_status print output 2020-06-22 17:05:23 +03:00
Lee Clagett da7e511967 Fix boost <1.60 compilation and fix boost 1.73+ warnings 2020-06-22 15:01:41 +01:00
Suzyo Nyirenda 95afa9c538
update ppa keyserver keys 2020-06-10 13:26:58 +02:00
jw c3e70dffc5
Merge pull request #264 from wowario/readme
remove link
2020-06-03 07:42:54 -07:00
清武 博二 72effc5c07
remove link 2020-06-03 08:52:30 +03:00
moneromooo-monero 804c985ecc
rpc: add a sanity limit to a few RPC in restricted mode 2020-05-25 13:09:51 +03:00
moneromooo-monero 1861889b31
rpc: lock access to the rpc payment object 2020-05-25 13:09:37 +03:00
rbrunner7 81f79d900b
[release-v0.16] MMS: New 'config_checksum' subcommand 2020-05-25 13:09:20 +03:00
Doyle e0a9633557
ByteSlice: Fix persisting ptr to std::moved SSO buffer
The Bug:
1. Construct `byte_slice.portion_` with `epee::span(buffer)` which copies a pointer to the SSO buffer to `byte_slice.portion_`
2. It constructs `byte_slice.storage_` with `std::move(buffer)` (normally this swap pointers, but SSO means a memcpy and clear on the original SSO buffer)
3. `slice.data()` returns a pointer from `slice.portion_` that points to the original SSO cleared buffer, `slice.storage_` has the actual string.
2020-05-25 13:07:28 +03:00
moneromooo-monero 19f284ddf9
cryptonote_core: remove "We are most likely forked" message
It's time based and we don't have forks every 6 months anymore
2020-05-25 13:05:32 +03:00
moneromooo-monero 9c10229268
protocol: move the "peer claims higher version" warning to debug
Because there's a neverending supply of cunts claiming a wrong
version just to say "look at me" I guess
2020-05-25 13:05:18 +03:00
moneromooo-monero 18cb1753b7
wallet2: fix multisig data clearing stomping on a vector 2020-05-25 13:05:04 +03:00
moneromooo-monero 4eb2f5c2c8
serialization: fix bad rapidjson api usage 2020-05-25 13:04:50 +03:00
moneromooo-monero e062e1efe3
cryptonote_protocol: stricter limit to number of objects requested
Reported by xnbya
2020-05-25 13:04:32 +03:00
moneromooo-monero 24660441a9
cryptonote_protocol: reject requests/notifications before handshake
Reported by xnbya
2020-05-25 13:04:17 +03:00
moneromooo-monero 1125b332d2
easylogging++: sanitize log payload
Some of it might be coming from untrusted sources

Reported by itsunixiknowthis
2020-05-25 13:04:04 +03:00
moneromooo-monero 009abd48e5
blockchain: detect and log bad difficulty calculations 2020-05-25 13:03:45 +03:00