Skip to content

Commit 36bef25

Browse files
committed
refactor: rename module from bitcoin-lfn to bitcoin-slimnode
1 parent eed21ba commit 36bef25

65 files changed

Lines changed: 138 additions & 138 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,8 @@ sudo dnf install fuse3
7575
## Build
7676

7777
```bash
78-
git clone https://github.com/asheswook/bitcoin-lfn.git
79-
cd bitcoin-lfn
78+
git clone https://github.com/asheswook/bitcoin-slimnode.git
79+
cd bitcoin-slimnode
8080
make build
8181

8282
# Binaries:

cmd/slimnode-server/main.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ import (
1010

1111
flags "github.com/jessevdk/go-flags"
1212

13-
"github.com/asheswook/bitcoin-lfn/internal/daemon"
14-
"github.com/asheswook/bitcoin-lfn/internal/manifest"
15-
s3pkg "github.com/asheswook/bitcoin-lfn/internal/s3"
16-
"github.com/asheswook/bitcoin-lfn/internal/server"
13+
"github.com/asheswook/bitcoin-slimnode/internal/daemon"
14+
"github.com/asheswook/bitcoin-slimnode/internal/manifest"
15+
s3pkg "github.com/asheswook/bitcoin-slimnode/internal/s3"
16+
"github.com/asheswook/bitcoin-slimnode/internal/server"
1717
)
1818

1919
type ManifestGenCmd struct {

cmd/slimnode/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77

88
"github.com/jessevdk/go-flags"
99

10-
"github.com/asheswook/bitcoin-lfn/internal/cmd"
10+
"github.com/asheswook/bitcoin-slimnode/internal/cmd"
1111
)
1212

1313
type options struct {

go.mod

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
1-
module github.com/asheswook/bitcoin-lfn
1+
module github.com/asheswook/bitcoin-slimnode
22

33
go 1.25.0
44

55
require (
6+
github.com/aws/aws-sdk-go-v2 v1.41.1
7+
github.com/aws/aws-sdk-go-v2/config v1.32.9
8+
github.com/aws/aws-sdk-go-v2/feature/s3/manager v1.22.2
9+
github.com/aws/aws-sdk-go-v2/service/s3 v1.96.0
610
github.com/hanwen/go-fuse/v2 v2.9.0
711
github.com/jessevdk/go-flags v1.6.1
812
github.com/klauspost/compress v1.18.4
@@ -12,12 +16,9 @@ require (
1216
)
1317

1418
require (
15-
github.com/aws/aws-sdk-go-v2 v1.41.1 // indirect
1619
github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.7.4 // indirect
17-
github.com/aws/aws-sdk-go-v2/config v1.32.9 // indirect
1820
github.com/aws/aws-sdk-go-v2/credentials v1.19.9 // indirect
1921
github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.18.17 // indirect
20-
github.com/aws/aws-sdk-go-v2/feature/s3/manager v1.22.2 // indirect
2122
github.com/aws/aws-sdk-go-v2/internal/configsources v1.4.17 // indirect
2223
github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.7.17 // indirect
2324
github.com/aws/aws-sdk-go-v2/internal/ini v1.8.4 // indirect
@@ -26,7 +27,6 @@ require (
2627
github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.9.8 // indirect
2728
github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.13.17 // indirect
2829
github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.19.17 // indirect
29-
github.com/aws/aws-sdk-go-v2/service/s3 v1.96.0 // indirect
3030
github.com/aws/aws-sdk-go-v2/service/signin v1.0.5 // indirect
3131
github.com/aws/aws-sdk-go-v2/service/sso v1.30.10 // indirect
3232
github.com/aws/aws-sdk-go-v2/service/ssooidc v1.35.14 // indirect

internal/cache/cache.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import (
1010
"sync"
1111
"time"
1212

13-
"github.com/asheswook/bitcoin-lfn/internal/store"
13+
"github.com/asheswook/bitcoin-slimnode/internal/store"
1414
)
1515

1616
// DiskCache implements the Cache interface using local disk storage.

internal/cache/cache_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import (
1212
"testing"
1313
"time"
1414

15-
"github.com/asheswook/bitcoin-lfn/internal/store"
15+
"github.com/asheswook/bitcoin-slimnode/internal/store"
1616
"github.com/stretchr/testify/assert"
1717
"github.com/stretchr/testify/require"
1818
)

internal/cmd/compact.go

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@ import (
77
"path/filepath"
88
"time"
99

10-
"github.com/asheswook/bitcoin-lfn/internal/cache"
11-
"github.com/asheswook/bitcoin-lfn/internal/config"
12-
"github.com/asheswook/bitcoin-lfn/internal/daemon"
13-
"github.com/asheswook/bitcoin-lfn/internal/manifest"
14-
"github.com/asheswook/bitcoin-lfn/internal/remote"
15-
"github.com/asheswook/bitcoin-lfn/internal/store"
10+
"github.com/asheswook/bitcoin-slimnode/internal/cache"
11+
"github.com/asheswook/bitcoin-slimnode/internal/config"
12+
"github.com/asheswook/bitcoin-slimnode/internal/daemon"
13+
"github.com/asheswook/bitcoin-slimnode/internal/manifest"
14+
"github.com/asheswook/bitcoin-slimnode/internal/remote"
15+
"github.com/asheswook/bitcoin-slimnode/internal/store"
1616
)
1717

1818
// CompactCmd implements the `slimnode compact` subcommand.

internal/cmd/helpers_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ import (
1111
"github.com/stretchr/testify/assert"
1212
"github.com/stretchr/testify/require"
1313

14-
"github.com/asheswook/bitcoin-lfn/internal/manifest"
15-
"github.com/asheswook/bitcoin-lfn/internal/remote"
14+
"github.com/asheswook/bitcoin-slimnode/internal/manifest"
15+
"github.com/asheswook/bitcoin-slimnode/internal/remote"
1616
)
1717

1818
type mockRC struct {

internal/cmd/iface.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import (
44
"context"
55
"io"
66

7-
"github.com/asheswook/bitcoin-lfn/internal/manifest"
7+
"github.com/asheswook/bitcoin-slimnode/internal/manifest"
88
)
99

1010
type manifestFetcher interface {

internal/cmd/iface_check_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package cmd
22

33
import (
4-
"github.com/asheswook/bitcoin-lfn/internal/remote"
4+
"github.com/asheswook/bitcoin-slimnode/internal/remote"
55
)
66

77
var _ manifestFetcher = (*remote.HTTPClient)(nil)

0 commit comments

Comments
 (0)