Igor Sirotin
fa25c4fc01
refactor: rename walletdatabase to walletdb and split it
...
Part of the Go project layout migration, item 4.
internal/db/walletdatabase -> internal/db/walletdb, and its one 45-line
file splits along the two jobs it was doing:
open.go DbInitializer, InitializeDB, OpenDB
migrate.go walletCustomSteps, doMigration, MigrateDB
scripts/migration_check.sh listed this migration directory as
"walletdatabase/migrations/sql" and appdatabase's as
"appdatabase/migrations/sql". Neither path has existed since those
packages moved under internal/db/, so the check has been silently
skipping both. Both are corrected here.
refs #7067
2026-08-21 16:46:09 +01:00
osmaczko and Igor Sirotin
67f8720f54
refactor: remove deadcode ( #7279 )
...
Remove code reported by golang.org/x/tools/cmd/deadcode.
Co-authored-by: Igor Sirotin <igor@logos.co >
2026-08-14 09:36:13 +01:00
Igor Sirotin
30935148c4
refactor: project layout (crypto, logutils, rpc, accounts-management) ( #7226 )
...
* refactor: internal/crypto
* refactor: internal/logutils
* chore: internal/rpc
* refactor: internal/accounts-management
2025-12-18 12:24:40 +00:00
Igor Sirotin
a2ac4a97d0
refactor: project layout (testutils, static, t) ( #7223 )
...
* refactor: delete unused files
* refactor: move emojis.txt to protocol/identity/emojihash
* chore: remove t/utils and unused t/config
* refactor: pks/testutils/fake
* refactor: remove unused t/helpers/peers.go
* refactor: move testutils to internal
* refactor: split testutils/fake
* refactor: moved t/helpers to internal/testutils
* fix: fake community
2025-12-17 15:21:08 +00:00
Igor Sirotin
6c9070fbe9
refactor: project layout (databases, abi-spec, connection) ( #7205 )
...
* chore: move databases to internal/db
* chore: move internal/db/sqlite
* chore: internal/abi-spec
* chore: move internal/connection
* chore: internal/circuitbreaker
* chore: internal/transactions
* fix: rebase issues
2025-12-15 12:01:03 +00:00
Igor Sirotin
ea40003a77
chore: project layout (api, node, multiformat, backup) ( #7191 )
...
* chore: delete StatusBackend interface
* chore: rename GethStatusBackend to StatusBackend
* chore: move to pkg/multiformat
* chore: move and rename pkg/backend
* fix(Makefile): lint-fix depends on generate
* chore: move services/pkg
* chore: pkg/backend/node
* chore: testdata/test-0.132.0-account
* fix: rename imports
2025-12-12 21:28:00 +00:00