Commit Graph

500 Commits

Author SHA1 Message Date
Crypto City
694cb85f97 add integer gaussian probability function (fixed 8000 variance)
relies on a precalculated lookup table to avoid floating point
2023-02-16 14:32:03 +00:00
Crypto City
05aed8c1e7 use boost filesystem copy_options instead of deprecated copy_option
Deprecated since 2014, noisily deprecated as of boost 1.81
2023-01-28 17:03:01 +00:00
Crypto City
0ad0d05d19 fix missing includes 2023-01-28 17:03:00 +00:00
Crypto City
e6f1dfcb27 add levenshtein and damerau/levenshtein distance functions 2023-01-28 17:03:00 +00:00
Crypto City
3987259664 common: update unishox2 for invalid input crashes fixes 2022-08-23 05:20:29 +00:00
Crypto City
6388aba36b small short text compression improvements
enable unishox2 bounds checking
allow defaulting dictionary
move text compression layer to common
2022-08-19 14:43:43 +00:00
Crypto City
088538c160 Merge remote-tracking branch 'origin/master' into HEAD
b6a029f222

Multisig functional test broken
2022-08-08 17:44:32 +00:00
Crypto City
c31c5591f1 update unishox2 to latest 2022-08-08 14:38:47 +00:00
Jeffrey Ryan
a66a52d144
common: update sha256sum to use OpenSSL 3.0 API
As of OpenSSL 3.0, `SHA256_Init`, `SHA256_Update`, and `SHA256_Final`
are deprectaed in favor of the higher-level `EVP_*` class of functions.
This causes compiler warnings, and sooner or later, will cause build
errors as these functions are excluded from distro headers.

Also add some documentation.
2022-05-18 01:34:16 +02:00
Jeffrey
441c860738 Merge functionality of misc_os_dependent into time_helper.h
Actions:
1. Remove unused functions from misc_os_dependent.h
2. Move three remaining functions, get_gmt_time, get_ns_count, and get_tick_count into time_helper.h
3. Remove unused functions from time_helper.h
4. Refactor get_ns_count and get_internet_time_str and get_time_interval_string
5. Remove/add includes as needed

Relevant commits on the old PR:
a9fbe52b02ffab451e90c977459fea4642731cd1
9a59b131c4ed1be8afe238fff3780fe203c65a46
7fa9e2817df9b9ef3f0290f7f86357939829e588
2022-04-18 09:55:21 -05:00
mj-xmr
4db6aed98c CMake: Add missing headers via monero_find_all_headers macro 2022-04-06 08:12:44 +02:00
mj-xmr
da9aa1f7f8
Copyright: Update to 2022 2022-03-04 06:59:20 +01:00
Crypto City
46b30a1e66 utf8: #include <stdint.h> 2021-12-13 09:59:05 +00:00
Crypto City
566362f8d7 fix download object leak 2021-10-14 00:11:01 +00:00
moneromooo-monero
75d05b9448
download: fix leak
A shared_ptr as by value capture will keep the object alive
2021-10-10 19:14:17 +00:00
Crypto City
cf81d94460 download: log non 2xx status codes as INFO, not ERROR 2021-09-29 16:06:42 +00:00
luigi1111
2a02cd0a5f
Merge pull request #7773 from selsta/unbound
external: remove unbound submodule
2021-09-09 15:13:06 -04:00
selsta
ae85ec0285
external: remove unbound submodule 2021-09-03 07:47:35 +02:00
Crypto City
489a261db0 Merge remote-tracking branch 'origin/master' into cc
8fde011dbe
2021-09-01 15:50:02 +00:00
Crypto City
b5e734efd1 switch to existing backward compat code, and go back to glibc 2.25 2021-09-01 15:12:13 +00:00
Crypto City
b53e354a7a blockchain: support for loading hoh data from townforge.net
It's trusted, but speeds up initial sync a lot, which is a fair
tradeoff for a game

Turned off with --no-trusted-block-hashes
2021-08-15 10:37:54 +00:00
rbrunner7
3d3a67142c Daemon: Update average block size table 2021-07-27 13:45:55 +02:00
Crypto City
752f8a41e5 game: add composite coin icons to mint and smelt screens too 2021-05-29 12:32:20 +00:00
Crypto City
61f55a4ace add unishox2 to the build 2021-05-14 16:40:36 +00:00
Crypto City
931773c40e Merge remote-tracking branch 'origin/master' into cc 2021-04-24 13:46:11 +00:00
Crypto City
79600d23e9 ipfs: do not regenerate a SSL key every connection 2021-04-18 19:23:47 +00:00
luigi1111
2218e23e84
Merge pull request #7002
673c6d2 Reduce compilation time of epee/portable_storage_template_helper.h (mj-xmr)
2021-04-16 12:43:42 -05:00
luigi1111
cf1a95b67d
Merge pull request #7088
386ef03 Add TLSA support to DNSSEC fetching (Lee Clagett)
2021-03-29 21:05:00 -04:00
mj-xmr
673c6d2d11 Reduce compilation time of epee/portable_storage_template_helper.h 2021-03-28 15:41:48 +02:00
Crypto City
f69c7f3cac better ipfs integration
More centralized since we have to temporarily cache newly added data
for it to be instantly available, but that is optional, and it'll
still work with only a local ipfs daemon, with just a day's delay
2021-03-23 23:36:38 +00:00
Crypto City
4903cc2f38 ipfs: connect to townforge ipfs node for both get and add 2021-03-23 23:36:38 +00:00
Crypto City
64af90f54e game: simple in-game IPFS image viewer 2021-03-23 23:36:38 +00:00
Crypto City
bc936a65b7 game: allow loading a file to generate IPFS hash 2021-03-13 18:03:58 +00:00
Crypto City
b8d4836f2a add optional hash and MIME type to custom items, and add cc_item_info command 2021-03-13 10:45:46 +00:00
luigi1111
c41e087d46
Merge pull request #6900
aaa3289 add more updates domains and make the voting generic, not just 2/3 (moneromooo-monero)
2021-02-14 18:58:37 -05:00
Crypto City
4956a6aa5e Merge remote-tracking branch 'origin/master' into cc 2021-01-18 01:33:53 +00:00
moneromooo-monero
d2fda6c25f
restrict public node checks a little
do not include blocked hosts in peer lists or public node lists by default,
warn about no https on clearnet and about untrusted peers likely being spies
2020-12-22 23:39:07 +00:00
Alexander Blair
003a06f030
Merge pull request #6923
cc034fe0c util: fix escaping more than one ?* in glob_to_regex (moneromooo-monero)
2020-12-01 14:19:21 -08:00
Crypto City
7ad99aa610 prevent randomx seed hash reuse after enough time 2020-10-22 18:59:00 +00:00
moneromooo-monero
cc034fe0c3
util: fix escaping more than one ?* in glob_to_regex 2020-10-20 16:46:53 +00:00
SChernykh
a25bc71f3f Make Blockchain::get_fee_quantization_mask() compile time
This also removes potential thread safety bug in that function.
2020-10-20 14:16:09 +02:00
Crypto City
43b8112c1e Merge branch 'master' into cc 2020-10-18 00:33:51 +00:00
moneromooo-monero
aaa3289e22
add more updates domains and make the voting generic, not just 2/3 2020-10-15 14:06:44 +00:00
Lee Clagett
386ef03be3 Add TLSA support to DNSSEC fetching 2020-10-07 15:43:31 +00:00
luigi1111
ee0b02d0db
Merge pull request #6757
6a37da8 threadpool: guard against exceptions in jobs, and armour plating (moneromooo-monero)
2020-09-03 12:25:59 -05:00
moneromooo-monero
6a37da837e
threadpool: guard against exceptions in jobs, and armour plating
Those would, if uncaught, exit run and leave the waiter to wait
indefinitely for the number of active jobs to reach 0
2020-09-01 14:33:33 +00:00
Alexander Blair
0b0da2aa81
Merge pull request #6689
afd002c31 daemon: print sampling time in print_net_stats (moneromooo-monero)
ec7bba079 util: fix kilo prefix typo (K instead of k) (moneromooo-monero)
2020-08-16 12:47:36 -07:00
Alexander Blair
236256f114
Merge pull request #6679
2f1ad3b3d updates: mac gui .tar.bz2 -> .dmg (selsta)
2020-08-16 12:46:51 -07:00
Alexander Blair
a0d179e528
Merge pull request #6512
5ef0607da Update copyright year to 2020 (SomaticFanatic)
2020-07-19 03:32:59 -07:00
moneromooo-monero
ec7bba0793
util: fix kilo prefix typo (K instead of k) 2020-06-25 13:03:24 +00:00