mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-09-13 14:13:52 +02:00
`BaseIndex` currently uses the same name for logs, `getindexinfo`, prune locks, and the sync thread. Linux truncates system thread names to 15 visible bytes after the `b-` prefix, so long indexer names are clipped in system tools. Pass a separate thread name explicitly at each `BaseIndex` call site and shorten the OS-visible indexer names to `txidx`, `blkfltbscidx`, `coinstatsidx`, and `txospenderidx`. Add an `Assume` to `ThreadRename()` so future OS-visible thread names keep fitting the same Linux limit. The public index names, `getindexinfo` keys, command-line options, and on-disk paths stay unchanged. Co-authored-by: winterrdog <winterrdog@users.noreply.github.com> Co-authored-by: Hodlinator <172445034+hodlinator@users.noreply.github.com> Co-authored-by: sedited <seb.kung@gmail.com> Co-authored-by: MarcoFalke <*~=`'#}+{/-|&$^_@721217.xyz>
1.7 KiB
1.7 KiB