Files
Igor Sirotin f9cc782a6f refactor: move services to pkg/services
Part of the Go project layout migration, item 31.

Pure move plus import-path rewrite across 687 files. No API or behaviour
change.

The services keep their grouping under pkg/services/<name> rather than
being promoted to pkg/<name>: 27 top-level directories in pkg/ would read
worse than what we have, and the grouping is what makes "an RPC service"
identifiable at a glance.

Paths that follow the move: the logosstorage test target and generate
step, the two wallet token-list tools, the migration-order check (and the
pre-rebase hook symlinked to it), and the storage env helper.

refs #7067
2026-08-21 10:11:05 +02:00
..

History archive build toggles: USE_TORRENT=true enables build tag: use_torrent USE_LOGOS_STORAGE=true enables build tag: use_logos_storage USE_LOGOS_STORAGE=true also wires libstorage include/lib/runtime paths

Backend-specific test targets: make test-torrent make test-storage

Make variables: USE_LOGOS_STORAGE (default: false) USE_TORRENT (default: false) LOGOS_STORAGE_SOURCE_DIR (source-build default: ../logos-storage-nim) LOGOS_STORAGE_LIB_DIR (default: $(LOGOS_STORAGE_SOURCE_DIR)/build unless provided, e.g. by Nix) LOGOS_STORAGE_INC_DIR (default: $(LOGOS_STORAGE_SOURCE_DIR)/library unless provided, e.g. by Nix) FUNCTIONAL_TESTS_BUILD_TAGS (default: gowaku_no_rln)

Functional test toggles: USE_LOGOS_STORAGE=true appends use_logos_storage to FUNCTIONAL_TESTS_BUILD_TAGS and passes use_logos_storage=true to Docker/Make USE_TORRENT=true appends use_torrent to FUNCTIONAL_TESTS_BUILD_TAGS and passes use_torrent=true to Docker/Make

Examples: make test-unit USE_LOGOS_STORAGE=true make test-unit USE_TORRENT=true make test-unit USE_LOGOS_STORAGE=true USE_TORRENT=true make fetch-storage make build-storage make test-torrent make test-storage USE_LOGOS_STORAGE=true ./scripts/run_functional_tests.sh USE_TORRENT=true ./scripts/run_functional_tests.sh