Skip to content

Commit 266a937

Browse files
committed
switch to own btcd library
1 parent fb7d045 commit 266a937

File tree

5 files changed

+15
-10
lines changed

5 files changed

+15
-10
lines changed

extras/crypto/crypto.go

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

1010
"github.com/lbryio/lbry.go/extras/errors"
1111

12-
"github.com/btcsuite/btcutil/base58"
12+
"github.com/nikooo777/btcutil/base58"
1313
"golang.org/x/crypto/sha3"
1414
)
1515

go.mod

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@ module github.com/lbryio/lbry.go
22

33
require (
44
github.com/asaskevich/govalidator v0.0.0-20180720115003-f9ffefc3facf // indirect
5-
github.com/btcsuite/btcd v0.0.0-20190213025234-306aecffea32
6-
github.com/btcsuite/btcutil v0.0.0-20190207003914-4c204d697803
5+
github.com/btcsuite/btcd v0.0.0-20190213025234-306aecffea32 // indirect
76
github.com/davecgh/go-spew v1.1.1
87
github.com/fatih/structs v1.1.0
98
github.com/go-errors/errors v1.0.1
@@ -25,6 +24,8 @@ require (
2524
github.com/lusis/slack-test v0.0.0-20180109053238-3c758769bfa6 // indirect
2625
github.com/lyoshenka/bencode v0.0.0-20180323155644-b7abd7672df5
2726
github.com/mitchellh/mapstructure v0.0.0-20180511142126-bb74f1db0675
27+
github.com/nikooo777/btcd v0.0.0-20190816154301-461b8fe8a3ab
28+
github.com/nikooo777/btcutil v0.0.0-20190816153817-a36a47de17b7
2829
github.com/nlopes/slack v0.5.0
2930
github.com/pkg/errors v0.8.1 // indirect
3031
github.com/sebdah/goldie v0.0.0-20180424091453-8784dd1ab561

go.sum

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,10 @@ github.com/lyoshenka/bencode v0.0.0-20180323155644-b7abd7672df5 h1:mG83tLXWSRdcX
8282
github.com/lyoshenka/bencode v0.0.0-20180323155644-b7abd7672df5/go.mod h1:H0aPCWffGOaDcjkw1iB7W9DVLp6GXmfcJY/7YZCWPA4=
8383
github.com/mitchellh/mapstructure v0.0.0-20180511142126-bb74f1db0675 h1:/rdJjIiKG5rRdwG5yxHmSE/7ZREjpyC0kL7GxGT/qJw=
8484
github.com/mitchellh/mapstructure v0.0.0-20180511142126-bb74f1db0675/go.mod h1:FVVH3fgwuzCH5S8UJGiWEs2h04kUh9fWfEaFds41c1Y=
85+
github.com/nikooo777/btcd v0.0.0-20190816154301-461b8fe8a3ab h1:nCJko+q5hLn6rdpcqJnEF6iosKUa81eEfeeMWdbq2M8=
86+
github.com/nikooo777/btcd v0.0.0-20190816154301-461b8fe8a3ab/go.mod h1:BDq40KtVIbqCFQ0zKweLKEttLuC+A5x/ZAF6nu8yyRY=
87+
github.com/nikooo777/btcutil v0.0.0-20190816153817-a36a47de17b7 h1:QZo/VXbEuP9Q7klNyrjSrfSs/iYoq9Z5RhcsTM21knc=
88+
github.com/nikooo777/btcutil v0.0.0-20190816153817-a36a47de17b7/go.mod h1:tNsG8NJ70xm/RYKUWszG1sXjg8satxIxcIXeJZ6ZYhc=
8589
github.com/nlopes/slack v0.5.0 h1:NbIae8Kd0NpqaEI3iUrsuS0KbcEDhzhc939jLW5fNm0=
8690
github.com/nlopes/slack v0.5.0/go.mod h1:jVI4BBK3lSktibKahxBF74txcK2vyvkza1z/+rRnVAM=
8791
github.com/onsi/ginkgo v1.6.0 h1:Ix8l273rp3QzYgXSR+c8d1fTG7UPgYkOSELPhiY/YGw=

lbrycrd/address.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ import (
55

66
"github.com/lbryio/lbry.go/extras/errors"
77

8-
"github.com/btcsuite/btcd/chaincfg"
9-
"github.com/btcsuite/btcutil"
10-
"github.com/btcsuite/btcutil/base58"
8+
"github.com/nikooo777/btcd/chaincfg"
9+
"github.com/nikooo777/btcutil"
10+
"github.com/nikooo777/btcutil/base58"
1111
"golang.org/x/crypto/ripemd160"
1212
)
1313

lbrycrd/client.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ import (
77

88
"github.com/lbryio/lbry.go/extras/errors"
99

10-
"github.com/btcsuite/btcd/chaincfg"
11-
"github.com/btcsuite/btcd/chaincfg/chainhash"
12-
"github.com/btcsuite/btcd/rpcclient"
13-
"github.com/btcsuite/btcutil"
1410
"github.com/go-ini/ini"
11+
"github.com/nikooo777/btcd/chaincfg"
12+
"github.com/nikooo777/btcd/chaincfg/chainhash"
13+
"github.com/nikooo777/btcd/rpcclient"
14+
"github.com/nikooo777/btcutil"
1515
)
1616

1717
const DefaultPort = 9245

0 commit comments

Comments
 (0)