Lawrence, Rendall
08686d74b7
update dependencies and fix lint warnings
2026-02-18 18:12:58 +03:00
Lawrence, Rendall
5513f1357d
fix lint warnings
...
replace naked returns with arguments (gofumpt@v0.9.1)
2025-09-22 17:11:05 +03:00
Lawrence, Rendall
95b7f5530f
change math/rand to crypto/rand in non-test code
2024-03-05 11:01:18 +03:00
Lawrence, Rendall
772ac47e9c
update dependencies
...
* add script for release pack
* fix lint warnings
2024-03-05 10:32:30 +03:00
Lawrence, Rendall
665899017e
(untested) move unsafe string conversion to pkg
...
* fix invalid UDP f/e start when no workers provided
* add bench for entire server
2023-03-22 17:51:13 +03:00
Lawrence, Rendall
d1ad0eb687
Merge branch 'fasthttp' into ctxCancel
2023-03-19 20:36:38 +03:00
Lawrence, Rendall
63e0b93db4
remove randseed package
2023-03-19 20:13:44 +03:00
Lawrence, Rendall
88f1ef7ca5
suppress context canceled error
2023-03-19 19:52:52 +03:00
Lawrence, Rendall
3e5a26dd50
fix lint warnings, update wf go version
2023-03-03 12:21:57 +03:00
Lawrence, Rendall
d8d6f2cf4b
refactor code for context fallthrough
2022-11-01 17:02:24 +03:00
Lawrence, Rendall
d6de38bdbd
(wip) pass context from frontend request down to store
2022-10-31 18:57:57 +03:00
Lawrence, Rendall
8c12cd9b35
(partially tested) fix pg tests, add postgres service in workflows
2022-06-20 17:19:23 +03:00
Lawrence, Rendall
64b27c2df6
(tested) preserve all addresses of peer
...
* add multiple addresses in request structures and frontend parsers
* move per-ip peer fetch/store from storage to internal hooks
* fetch/store both v1 and v2 info hashes
2022-04-27 00:52:17 +03:00
Lawrence, Rendall
b365abd296
(untested) sanitize code
...
* remove peer argument from scrape swarm storage call
* replace Peer field with netip.Addr in ScrapeRequest
* add man for keydb storage
* update readme
2022-04-25 19:05:41 +03:00
Lawrence, Rendall
22f459315b
(wip) implement keydb store
...
* make redis store reusable for keydb
* replace redis HKeys calls in AnnouncePeers with HRandField
* change signature of storage.ScrapeSwarm
2022-04-24 02:23:18 +03:00
Lawrence, Rendall
f9c72341c0
(minor) refactor redis GC and fix TX calls,
...
add indicator that metrics are running
2022-04-17 00:57:30 +03:00
Lawrence, Rendall
01064fd21a
(tested) split storage to data and peer interfaces,
...
add option for persisting (or not) torrent approval data
2022-04-16 18:50:19 +03:00
Lawrence, Rendall
965df2a9c3
(untested) Merge commit 24ab4ae from https://github.com/jzelinskie/chihaya
2022-04-16 01:22:24 +03:00
Lawrence, Rendall
397e106396
(tested) fix redis to pass tests
...
* delete info hash count key from redis (replaced with SCARD on infohash set)
* add GC test
* add peer.Addr() functio to always return unwrapped address if 4to6 appear
2022-04-15 01:33:45 +03:00
Lawrence, Rendall
5c2471ca9b
(untested) Merge commit e56ad81 from https://github.com/jzelinskie/chihaya
...
* rename/replace redis keys
2022-04-14 19:14:12 +03:00
Lawrence, Rendall
781fa9440f
(done) replace redigo with go-redis
...
* replace redis keys with RawString encoded values (delete SerializedPeer)
* merge peers got from pre-hools with store data
2022-04-14 01:13:18 +03:00
Lawrence, Rendall
64eaf9d733
Fix lint gosec and ifshort issues
2022-04-12 18:51:03 +03:00
Lawrence, Rendall
c1956d68f6
Remove YAML/MD lint configs, reformat stdlib imports
2022-04-12 18:10:51 +03:00
Širhoe Biazhkovič
c7edbb52f2
Merge commits 129aac230aa..828edb8fd8b from https://github.com/chihaya/chihaya
2022-04-12 15:58:14 +03:00
Lawrence, Rendall
4dbbb4ad83
Rename to MoChi
2021-12-21 15:24:25 +03:00
Širhoe Biazhkovič
360ac9d08d
Add man to exported functions/fields
2021-12-21 15:24:25 +03:00
Širhoe Biazhkovič
0a5ac35c4d
Fix e2e execution, append 2to1 hash in approvals, update dependencies
2021-12-21 15:24:25 +03:00
Širhoe Biazhkovič
9122aefdd7
Fix storage tests
...
* reformat sources #JR1356
2021-12-21 15:24:25 +03:00