Somnath Banerjee
9b4a1c6ba8
Fix build ( #1119 )
...
Seems like an parallel edits caused build to fail @mh0lt
2023-09-10 16:56:28 +00:00
Mark Holt
7f9f12acab
Added BorFinality to kv table definitions to support polygon milestones ( #1116 )
2023-09-10 08:49:51 +00:00
Alex Sharov
3cee4ac5c8
Downloader: don't fail when see unusual file, skip it (backward/forward compatibility) ( #1117 )
2023-09-10 15:46:27 +07:00
Alex Sharov
dde477f603
shutdown deadlock ( #1107 )
2023-09-06 10:19:00 +07:00
Alex Sharov
0cdb085f51
Torrent: add trackers list ( #1084 )
2023-08-25 03:45:05 +00:00
ledgerwatch
3aa5249d48
Add BorEvents snapshot type ( #1051 )
...
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro-2.local>
2023-08-18 15:33:09 +00:00
Alex Sharov
797e6dda5f
fsync: don't skip error, ability to disable in tests ( #1043 )
2023-07-11 06:09:05 +00:00
Alex Sharov
9a408d5d41
Downloader fix no race between .Download() and .Stats() ( #1004 )
2023-06-01 09:04:06 +00:00
Alex Sharov
7b91b91ad5
downloader: speedup "--downloader.verify" mode ( #997 )
...
deduplicate logic
create more producer goroutines (torrent lib does limiting internally
amount of consumers/disk-readers/hashers by 2, and it's enough because
we can verify multiple files in parallel)
move flag from "downloader torrent_hashes --verify" to "downloader
--verify"
2023-05-17 09:52:34 +00:00
Alex Sharov
a4034d5cea
enable more linters ( #954 )
2023-03-25 05:13:20 +00:00
Alex Sharov
f110e80dab
go 1.19 atomics ( #951 )
2023-03-23 05:11:20 +00:00
Alex Sharov
a5ebd0c5ff
torrent: suppress some warning ( #941 )
2023-03-17 03:53:30 +00:00
Alex Sharov
335efa7d12
torrent: don't cancel storage, because lib can't handle such error and can graceful-shutdown anyway ( #938 )
2023-03-14 08:41:43 +00:00
Alex Sharov
474982ecaf
torrent: don't cancel storage, because lib can't handle such error and can graceful-shutdown anyway ( #937 )
2023-03-14 08:40:30 +00:00
Alex Sharov
460699ca6b
Downloader main loop wait on close ( #931 )
2023-03-13 02:12:26 +00:00
Alex Sharov
f985e94553
--torrent.staticpeers ( #923 )
2023-03-08 08:29:42 +00:00
Alex Sharov
3bb18282be
downloader: suspend cancelation warning ( #899 )
2023-02-22 04:30:29 +00:00
Alex Sharov
565acd3624
e3: read files list from db ( #885 )
2023-02-13 05:16:58 +00:00
Alex Sharov
3e933bc456
Downloader: "incomplete" markers are more important than "complete", so commit them with fsync ( #883 )
...
On power-off recent "no-sync" txs may be lost. It will cause 2. cases:
- Good piece on disk and recent "complete" db marker lost. Self-Heal by
re-download.
- Bad piece on dis and recent "incomplete" db marker lost. No Self-Heal.
So, can't afford loosing recent "incomplete" markers.
2023-02-10 13:20:13 +07:00
Alex Sharov
27c56f2de8
Torrent: reduce network chunk, some routers are unhappy ( #829 )
2023-01-11 13:30:13 +07:00
Max Revitt
3833e2503b
hotfix(downloader): detect ipv6 only on linux #6117 ( #745 )
...
Prevent port scan warnings on Hetzner and potentially other hosting
providers by only detecting ipv6 for linux by reading from
/sys/module/ipv6/parameters/disable
2022-11-24 20:43:41 +07:00
Alex Sharov
0eb4f8388a
Downloader extract, step2 ( #739 )
2022-11-20 10:41:20 +07:00