Commit Graph

9542 Commits

Author SHA1 Message Date
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
moneromooo-monero 60cf237210
protocol: don't drop a connection if we can't get a compatible chain
This can now happen if:
- we have a pruned db
- we have not connected to the monero network for a while
- we connect to a node
- that node asks us for history
- we only have a pruned version of the most recent common block

In that case, it's better to not reply but keep the connection alive,
so we can sync off it.
2020-05-25 12:59:32 +03:00
moneromooo-monero 4ef1ab3e38
epee: use memwipe rather than memset for md5 secrets
That's used by HTTP auth now
2020-05-25 12:59:18 +03:00
jw a37da20bc7
Merge pull request #261 from wowario/fix
build: fix boost 1.73 compatibility
2020-05-22 11:32:55 -07:00
selsta 7f868fafcc
build: fix boost 1.73 compatibility 2020-05-22 21:27:12 +03:00
jw 1271a7e3a9
Merge pull request #259 from wowario/comment
comment out v16 fork
2020-05-19 11:51:20 -07:00
wowario 7a545ddc2d
comment out v16 fork 2020-05-19 06:51:48 +03:00
jw 16a1f497e3
Merge pull request #258 from fuwa0529/SHA-3-tests
Sha 3 tests
2020-05-18 15:04:20 -07:00
jw 70804bd639
Merge pull request #257 from wowario/readme
add fork date to README.md
2020-05-18 15:04:10 -07:00
jw 3b1c27db69
Merge pull request #256 from wowario/SHA-3
switch to SHA-3 PoW
2020-05-18 15:03:57 -07:00
fuwa ac29d15fc3 hash_tests: add sha3 2020-05-15 22:02:05 +08:00
fuwa 4b5eda696f hash_tests: disable slow-4, since wow uses cn-r 2020-05-15 22:01:59 +08:00
fuwa 533f58dae6 tests: fix build for wow 2020-05-15 22:01:56 +08:00
wowario eeffe5c719
add fork date to README.md 2020-05-15 08:50:40 +03:00
wowario 87dcc37776
switch to SHA-3 PoW
Co-authored-by: fuwa <fuwa0529@users.noreply.github.com>
2020-05-15 08:37:36 +03:00
jw 6e43f020ae
Merge pull request #255 from wowario/last
upstream
2020-05-14 08:40:03 -07:00
jw 57a5022f7d
Merge pull request #254 from wowario/build
build: prepare v0.8.0.0 release
2020-05-14 08:39:46 -07:00
Lee Clagett 4c757a7a2a
Fixed bugs for take_slice and byte_stream->byte_slice 2020-05-14 18:25:49 +03:00
moneromooo-monero febb8df4bb
blockchain: fix theoretical race getting bulk timestamps 2020-05-14 18:25:14 +03:00
moneromooo-monero e74aff06c2
simplewallet: don't complain about incoming payment ids on change 2020-05-14 18:24:45 +03:00
wowario 7e3dbdde05
build: prepare v0.8.0.0 release 2020-05-14 17:44:48 +03:00
jw 116d29906c
Merge pull request #253 from wowario/testforks
add testnet fork heights
2020-05-11 09:22:15 -07:00
wowario 9d31efa09e
add testnet fork heights 2020-05-11 18:37:41 +03:00
jw 12a2a4084b
Merge pull request #252 from wowario/testnet
refactor difficulty for testnet
2020-05-11 07:35:01 -07:00
jw d1859d6224
Merge pull request #251 from wowario/upstream
Upstream
2020-05-11 07:05:44 -07:00
wowario 193c15ecce
refactor difficulty for testnet 2020-05-09 23:22:28 +03:00
xiphon eeadc8b723
p2p: startup speedup, init seed nodes on first 'connect_to_seed()' 2020-05-09 12:14:03 +03:00
moneromooo-monero 3a8f49f79c
cryptonote_core: take out the time based upgrade warning
It doesn't really work anymore since we don't have a fork soon
2020-05-09 11:41:37 +03:00
xiphon 1e981f5be6
wallet2: fix keys file deserialization exception handling 2020-05-09 11:41:04 +03:00
moneromooo-monero b59ef9a359
cryptonote_protocol: do not request pruned borromean sig txes
We don't have a function to calculate their weight from a pruned
version (yet).
2020-05-09 11:40:31 +03:00
Lee Clagett e1bba18cc5
Fixes for ZMQ JSON-RPC endpoint names for raw tx 2020-05-09 11:40:06 +03:00
moneromooo-monero a018e01370
wallet2: fix subaddress expansion when receiving monero 2020-05-09 11:39:42 +03:00
moneromooo-monero 014bc83b5e
message_store: don't print an error when there is no mms file
It confuses people
2020-05-09 11:39:15 +03:00
xiphon a0048e2a49
rpc: fix 'use_bootstrap_daemon_if_necessary' return value 2020-05-09 11:38:49 +03:00
xiphon 30ed4a23bf
wallet2: check_connection return false on get_version status != OK 2020-05-09 11:38:25 +03:00
Lee Clagett 0e59f26064
Used legacy category to match insert_key_images behavior 2020-05-09 11:38:05 +03:00
Lee Clagett a3fc63fa78
Revert functional test changes in babf25d2e and 571546067 2020-05-09 11:37:44 +03:00
moneromooo-monero 0c201ab438
cryptonote: fix reuse of non default tx data when relaying
An automatic tx variable is initialized properly on the first
run through the loop, but not the second. Moving the variable
inside the loop ensures the ctor is called again to init it.
2020-05-09 11:37:19 +03:00
xiphon 4cb99f9365
cryptonote_core: skip dns checkpoints on startup if not enforced 2020-05-09 11:36:53 +03:00
moneromooo-monero c26c40472d
simplewallet: report timestamp based expected unlock time on balance 2020-05-09 11:36:23 +03:00
moneromooo-monero 9ac662cb14
use memwipe on secret k/alpha values
Reported by UkoeHB_ and sarang
2020-05-09 11:35:47 +03:00
Lee Clagett 0b8e49a0aa
Add byte_stream for zero-copy serialization, and add support in ZMQ-JSON. 2020-05-09 11:35:23 +03:00
jw f879d48df7
Merge pull request #250 from wowario/upstream
Upstream
2020-05-04 08:27:07 -07:00
jw 603ca020ed
Merge pull request #249 from fuwa0529/remove-unbound-rebased
Remove remove unbound
2020-05-04 08:26:40 -07:00
Sarang Noether ecc2c3b707
Bulletproofs: verification speedup 2020-05-04 17:45:02 +03:00
Sumo Gr 8347fb8d58
unit_tests: fix gcc+ warning 2020-05-04 17:45:02 +03:00
xiphon 2b8bab2132
bootstrap_daemon: fix missing virtual destructor and lambda capture (clang warning) 2020-05-04 17:45:02 +03:00