Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MWEB Light Client #35

Open
wants to merge 107 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
107 commits
Select commit Hold shift + click to select a range
a594ec8
Go mod
hectorchu Jan 6, 2024
9a8c7c8
Add mweb p2p messages
hectorchu Jan 8, 2024
ce5930a
New message handlers
hectorchu Jan 8, 2024
67dd051
Add mweb inv types
hectorchu Jan 8, 2024
871602c
Fix mwebheader serialization
hectorchu Jan 9, 2024
367a9ec
Implement hash for mweb header
hectorchu Jan 10, 2024
5ba4b71
Use internal varint encoding for mweb header wire serialization
hectorchu Jan 10, 2024
3c78cbb
Add function to verify merkle blocks
hectorchu Jan 10, 2024
d0e64a9
Expose match and index to callers
hectorchu Jan 10, 2024
fbcd9d2
Calculate hashes of mweb outputs
hectorchu Jan 11, 2024
047eff3
Range proof is a fixed size
hectorchu Jan 14, 2024
23a1d61
Add serialization methods
hectorchu Jan 15, 2024
a47afe0
Serialize non-compact outputs as well
hectorchu Jan 15, 2024
437a18e
Added some crypto needed by mweb
hectorchu Jan 17, 2024
00d66e4
Add output rewind code
hectorchu Jan 17, 2024
b292eee
Calculate output key
hectorchu Jan 17, 2024
b9afc06
Add keychain
hectorchu Jan 17, 2024
166bd6c
Forgot to call ToAffine
hectorchu Jan 17, 2024
503cc55
Make BlindingFactor a fixed-size array
hectorchu Jan 18, 2024
693dc98
Added rewind output test
hectorchu Jan 18, 2024
9c685c1
Verify amount and address
hectorchu Jan 18, 2024
c0a1808
Check keychain derived address
hectorchu Jan 18, 2024
3e6b10b
Use == instead of bytes.Equal
hectorchu Jan 18, 2024
aadab19
Derive addresses with only the spend pubkey
hectorchu Jan 19, 2024
248cc6c
Decode mweb addresses
hectorchu Jan 21, 2024
33cb12c
Needed by lnd.NewAddress
hectorchu Jan 21, 2024
16054e9
Add mweb script decoder
hectorchu Jan 23, 2024
7105386
Small change
hectorchu Jan 23, 2024
e9a0569
Split out mweboutput
hectorchu Jan 23, 2024
d60ab2c
Add mweb input
hectorchu Jan 24, 2024
ae8b99e
Add schnorr signing
hectorchu Jan 24, 2024
4cce90d
Create inputs
hectorchu Jan 24, 2024
aa5b260
Create outputs
hectorchu Jan 24, 2024
57d9cf7
Range proof - in progress
hectorchu Jan 25, 2024
7922bf6
Update but will switch to Cgo for range proofs
hectorchu Jan 25, 2024
0c0684f
Add secp256k1-zkp
hectorchu Jan 25, 2024
fc92ece
Range proofs using cgo
hectorchu Jan 26, 2024
c5a0a55
Avoid the need to build secp256k1
hectorchu Jan 26, 2024
0d412ac
Add mweb kernel
hectorchu Jan 26, 2024
2e43d13
Create kernels
hectorchu Jan 26, 2024
d58ff84
Small fix
hectorchu Jan 26, 2024
83458c4
Added error checking
hectorchu Jan 26, 2024
d1eb309
One more
hectorchu Jan 26, 2024
d8c5238
Create mweb tx
hectorchu Jan 27, 2024
17f8938
Tx/TxBody serialization
hectorchu Jan 27, 2024
6c5c7d2
Plug it all in
hectorchu Jan 27, 2024
8b80bb7
More checks
hectorchu Jan 27, 2024
c65e425
Changes to send txns
hectorchu Jan 27, 2024
c05a460
Fee calculator
hectorchu Jan 28, 2024
722be12
Encodings
hectorchu Jan 28, 2024
c15bb3a
Get height with utxo
hectorchu Jan 29, 2024
e55ecdd
Fix mweb output serialization
hectorchu Jan 30, 2024
ad803cb
Include change in fee calc
hectorchu Jan 30, 2024
8bf0703
Return new coins
hectorchu Jan 31, 2024
90f1098
Update
hectorchu Jan 31, 2024
4354b5f
Fix test
hectorchu Jan 31, 2024
65e84d5
Pegout maturity
hectorchu Feb 1, 2024
cd78c49
Detect HogEx through the first txout
hectorchu Feb 1, 2024
941b60b
Pegin detection
hectorchu Feb 2, 2024
d184f4e
Added pegins checker
hectorchu Feb 2, 2024
78753ee
Minor tidy-up
hectorchu Feb 2, 2024
b924301
No longer needed
hectorchu Feb 2, 2024
96ffaf7
Unneeded
hectorchu Feb 2, 2024
14d464d
Fix build
hectorchu Feb 3, 2024
ec20ba6
Service flag for mweb light client support
hectorchu Feb 3, 2024
4b7d506
Fix tx copy
hectorchu Feb 6, 2024
2719d4a
Fix nBits
hectorchu Feb 19, 2024
dcc99a3
Add mweb tx to inv types
hectorchu Feb 21, 2024
dfdfde9
Add signalling stuff
hectorchu Feb 22, 2024
2a4a5c8
Remove height from utxo serialization
hectorchu Feb 24, 2024
325a54d
Fixed testnet nBits
hectorchu Feb 24, 2024
de33052
Move some types from neutrino
hectorchu Feb 26, 2024
13298a4
Minor tidy-up
hectorchu Feb 26, 2024
ee3bbe7
Add block header to leafset
hectorchu Feb 27, 2024
60f990e
Replace secp256k1 with submodule
hectorchu Feb 27, 2024
3eda0e4
Switching to go workspaces
hectorchu Feb 28, 2024
4ddaa13
Change the node bit for light client
hectorchu Feb 29, 2024
5586bcd
Add mweb witness types
hectorchu Mar 1, 2024
d0b1995
Use mweb witness types in header and pegin code
hectorchu Mar 1, 2024
3a1e57a
Fix mweb segwit encode
hectorchu Mar 1, 2024
b183cef
Move HogEx detection to blockchain package
hectorchu Mar 1, 2024
b332858
Fix cgo types
hectorchu Mar 8, 2024
a1f2b7e
Faster scrypt
hectorchu Mar 15, 2024
491681c
Update secp256k1
hectorchu Mar 25, 2024
bd29d78
Update module name
hectorchu May 10, 2024
0528661
go mod tidy
hectorchu May 10, 2024
ed2b684
Move git submodule to go module
hectorchu May 11, 2024
e79e682
go mod tidy
hectorchu May 11, 2024
9cea519
Refactor for HW wallet flow
hectorchu Jun 7, 2024
dd14dde
Tidy up
hectorchu Jun 7, 2024
77dbd53
Allow custom inputs and kernel create func
hectorchu Jun 8, 2024
1a7a8d4
Expose CreateKernel
hectorchu Jun 10, 2024
834903f
Add kernel message function
hectorchu Jun 12, 2024
0d7f2ea
Return shared secret
hectorchu Jul 7, 2024
2b8ea3a
Export CreateInput
hectorchu Jul 13, 2024
e9223ee
Split output create and sign
hectorchu Jul 15, 2024
56cdaea
Fill in commit during input create
hectorchu Jul 16, 2024
d18c0b5
Parameterize rand
hectorchu Jul 16, 2024
b44674e
TxBody sort
hectorchu Jul 19, 2024
e87bcba
Sig verify
hectorchu Aug 31, 2024
c29ca17
More commitment operations
hectorchu Aug 31, 2024
ad3dba9
Tidy up
hectorchu Sep 1, 2024
e6d090e
Verify sig methods
hectorchu Sep 1, 2024
94dfc07
Update rangeproof module
hectorchu Sep 1, 2024
3f6059d
Catch panics
hectorchu Sep 2, 2024
8fd403f
Export kernel serialization methods
hectorchu Sep 3, 2024
79182db
De-mod psbt
hectorchu Sep 3, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
PKG := github.com/ltcsuite/ltcd
PKG := github.com/ltcmweb/ltcd

LINT_PKG := github.com/golangci/golangci-lint/cmd/golangci-lint
GOACC_PKG := github.com/ory/go-acc
Expand Down
4 changes: 2 additions & 2 deletions addrmgr/addrmanager.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ import (
"sync/atomic"
"time"

"github.com/ltcsuite/ltcd/chaincfg/chainhash"
"github.com/ltcsuite/ltcd/wire"
"github.com/ltcmweb/ltcd/chaincfg/chainhash"
"github.com/ltcmweb/ltcd/wire"
)

// AddrManager provides a concurrency safe address manager for caching potential
Expand Down
2 changes: 1 addition & 1 deletion addrmgr/addrmanager_internal_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"testing"
"time"

"github.com/ltcsuite/ltcd/wire"
"github.com/ltcmweb/ltcd/wire"
)

// randAddr generates a *wire.NetAddressV2 backed by a random IPv4/IPv6
Expand Down
4 changes: 2 additions & 2 deletions addrmgr/addrmanager_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ import (
"testing"
"time"

"github.com/ltcsuite/ltcd/addrmgr"
"github.com/ltcsuite/ltcd/wire"
"github.com/ltcmweb/ltcd/addrmgr"
"github.com/ltcmweb/ltcd/wire"
)

// naTest is used to describe a test to be performed against the NetAddressKey
Expand Down
2 changes: 1 addition & 1 deletion addrmgr/internal_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ package addrmgr
import (
"time"

"github.com/ltcsuite/ltcd/wire"
"github.com/ltcmweb/ltcd/wire"
)

func TstKnownAddressIsBad(ka *KnownAddress) bool {
Expand Down
2 changes: 1 addition & 1 deletion addrmgr/knownaddress.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"sync"
"time"

"github.com/ltcsuite/ltcd/wire"
"github.com/ltcmweb/ltcd/wire"
)

// KnownAddress tracks information about a known network address that is used
Expand Down
4 changes: 2 additions & 2 deletions addrmgr/knownaddress_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ import (
"testing"
"time"

"github.com/ltcsuite/ltcd/addrmgr"
"github.com/ltcsuite/ltcd/wire"
"github.com/ltcmweb/ltcd/addrmgr"
"github.com/ltcmweb/ltcd/wire"
)

func TestChance(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion addrmgr/network.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"fmt"
"net"

"github.com/ltcsuite/ltcd/wire"
"github.com/ltcmweb/ltcd/wire"
)

var (
Expand Down
4 changes: 2 additions & 2 deletions addrmgr/network_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ import (
"testing"
"time"

"github.com/ltcsuite/ltcd/addrmgr"
"github.com/ltcsuite/ltcd/wire"
"github.com/ltcmweb/ltcd/addrmgr"
"github.com/ltcmweb/ltcd/wire"
)

// TestIPTypes ensures the various functions which determine the type of an IP
Expand Down
2 changes: 1 addition & 1 deletion blockchain/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ block chain.
## Installation and Updating

```bash
$ go get -u github.com/ltcsuite/ltcd/blockchain
$ go get -u github.com/ltcmweb/ltcd/blockchain
```

## Litecoin Chain Processing Overview
Expand Down
4 changes: 2 additions & 2 deletions blockchain/accept.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ package blockchain
import (
"fmt"

"github.com/ltcsuite/ltcd/database"
"github.com/ltcsuite/ltcd/ltcutil"
"github.com/ltcmweb/ltcd/database"
"github.com/ltcmweb/ltcd/ltcutil"
)

// maybeAcceptBlock potentially accepts a block into the block chain and, if
Expand Down
4 changes: 2 additions & 2 deletions blockchain/bench_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ package blockchain
import (
"testing"

"github.com/ltcsuite/ltcd/ltcutil"
"github.com/ltcsuite/ltcd/wire"
"github.com/ltcmweb/ltcd/ltcutil"
"github.com/ltcmweb/ltcd/wire"
)

// BenchmarkIsCoinBase performs a simple benchmark against the IsCoinBase
Expand Down
8 changes: 4 additions & 4 deletions blockchain/blockindex.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ import (
"sync"
"time"

"github.com/ltcsuite/ltcd/chaincfg"
"github.com/ltcsuite/ltcd/chaincfg/chainhash"
"github.com/ltcsuite/ltcd/database"
"github.com/ltcsuite/ltcd/wire"
"github.com/ltcmweb/ltcd/chaincfg"
"github.com/ltcmweb/ltcd/chaincfg/chainhash"
"github.com/ltcmweb/ltcd/database"
"github.com/ltcmweb/ltcd/wire"
)

// blockStatus is a bit field representing the validation state of the block.
Expand Down
12 changes: 6 additions & 6 deletions blockchain/chain.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ import (
"sync"
"time"

"github.com/ltcsuite/ltcd/chaincfg"
"github.com/ltcsuite/ltcd/chaincfg/chainhash"
"github.com/ltcsuite/ltcd/database"
"github.com/ltcsuite/ltcd/ltcutil"
"github.com/ltcsuite/ltcd/txscript"
"github.com/ltcsuite/ltcd/wire"
"github.com/ltcmweb/ltcd/chaincfg"
"github.com/ltcmweb/ltcd/chaincfg/chainhash"
"github.com/ltcmweb/ltcd/database"
"github.com/ltcmweb/ltcd/ltcutil"
"github.com/ltcmweb/ltcd/txscript"
"github.com/ltcmweb/ltcd/wire"
)

const (
Expand Down
8 changes: 4 additions & 4 deletions blockchain/chain_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ import (
"testing"
"time"

"github.com/ltcsuite/ltcd/chaincfg"
"github.com/ltcsuite/ltcd/chaincfg/chainhash"
"github.com/ltcsuite/ltcd/ltcutil"
"github.com/ltcsuite/ltcd/wire"
"github.com/ltcmweb/ltcd/chaincfg"
"github.com/ltcmweb/ltcd/chaincfg/chainhash"
"github.com/ltcmweb/ltcd/ltcutil"
"github.com/ltcmweb/ltcd/wire"
)

// TestHaveBlock tests the HaveBlock API to ensure proper functionality.
Expand Down
8 changes: 4 additions & 4 deletions blockchain/chainio.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ import (
"sync"
"time"

"github.com/ltcsuite/ltcd/chaincfg/chainhash"
"github.com/ltcsuite/ltcd/database"
"github.com/ltcsuite/ltcd/ltcutil"
"github.com/ltcsuite/ltcd/wire"
"github.com/ltcmweb/ltcd/chaincfg/chainhash"
"github.com/ltcmweb/ltcd/database"
"github.com/ltcmweb/ltcd/ltcutil"
"github.com/ltcmweb/ltcd/wire"
)

const (
Expand Down
4 changes: 2 additions & 2 deletions blockchain/chainio_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ import (
"reflect"
"testing"

"github.com/ltcsuite/ltcd/database"
"github.com/ltcsuite/ltcd/wire"
"github.com/ltcmweb/ltcd/database"
"github.com/ltcmweb/ltcd/wire"
)

// TestErrNotInMainChain ensures the functions related to errNotInMainChain work
Expand Down
2 changes: 1 addition & 1 deletion blockchain/chainview_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"reflect"
"testing"

"github.com/ltcsuite/ltcd/wire"
"github.com/ltcmweb/ltcd/wire"
)

// testNoncePrng provides a deterministic prng for the nonce in generated fake
Expand Down
8 changes: 4 additions & 4 deletions blockchain/checkpoints.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ import (
"fmt"
"time"

"github.com/ltcsuite/ltcd/chaincfg"
"github.com/ltcsuite/ltcd/chaincfg/chainhash"
"github.com/ltcsuite/ltcd/ltcutil"
"github.com/ltcsuite/ltcd/txscript"
"github.com/ltcmweb/ltcd/chaincfg"
"github.com/ltcmweb/ltcd/chaincfg/chainhash"
"github.com/ltcmweb/ltcd/ltcutil"
"github.com/ltcmweb/ltcd/txscript"
)

// CheckpointConfirmations is the number of blocks before the end of the current
Expand Down
14 changes: 7 additions & 7 deletions blockchain/common_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ import (
"strings"
"time"

"github.com/ltcsuite/ltcd/chaincfg"
"github.com/ltcsuite/ltcd/chaincfg/chainhash"
"github.com/ltcsuite/ltcd/database"
_ "github.com/ltcsuite/ltcd/database/ffldb"
"github.com/ltcsuite/ltcd/ltcutil"
"github.com/ltcsuite/ltcd/txscript"
"github.com/ltcsuite/ltcd/wire"
"github.com/ltcmweb/ltcd/chaincfg"
"github.com/ltcmweb/ltcd/chaincfg/chainhash"
"github.com/ltcmweb/ltcd/database"
_ "github.com/ltcmweb/ltcd/database/ffldb"
"github.com/ltcmweb/ltcd/ltcutil"
"github.com/ltcmweb/ltcd/txscript"
"github.com/ltcmweb/ltcd/wire"
)

const (
Expand Down
4 changes: 2 additions & 2 deletions blockchain/compress.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
package blockchain

import (
"github.com/ltcsuite/ltcd/btcec/v2"
"github.com/ltcsuite/ltcd/txscript"
"github.com/ltcmweb/ltcd/btcec/v2"
"github.com/ltcmweb/ltcd/txscript"
)

// -----------------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion blockchain/difficulty.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"math/big"
"time"

"github.com/ltcsuite/ltcd/chaincfg/chainhash"
"github.com/ltcmweb/ltcd/chaincfg/chainhash"
)

var (
Expand Down
10 changes: 5 additions & 5 deletions blockchain/example_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ import (
"os"
"path/filepath"

"github.com/ltcsuite/ltcd/blockchain"
"github.com/ltcsuite/ltcd/chaincfg"
"github.com/ltcsuite/ltcd/database"
_ "github.com/ltcsuite/ltcd/database/ffldb"
"github.com/ltcsuite/ltcd/ltcutil"
"github.com/ltcmweb/ltcd/blockchain"
"github.com/ltcmweb/ltcd/chaincfg"
"github.com/ltcmweb/ltcd/database"
_ "github.com/ltcmweb/ltcd/database/ffldb"
"github.com/ltcmweb/ltcd/ltcutil"
)

// This example demonstrates how to create a new chain instance and use
Expand Down
12 changes: 6 additions & 6 deletions blockchain/fullblocks_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ import (
"os"
"path/filepath"

"github.com/ltcsuite/ltcd/blockchain"
"github.com/ltcsuite/ltcd/chaincfg"
"github.com/ltcsuite/ltcd/database"
_ "github.com/ltcsuite/ltcd/database/ffldb"
"github.com/ltcsuite/ltcd/txscript"
"github.com/ltcsuite/ltcd/wire"
"github.com/ltcmweb/ltcd/blockchain"
"github.com/ltcmweb/ltcd/chaincfg"
"github.com/ltcmweb/ltcd/database"
_ "github.com/ltcmweb/ltcd/database/ffldb"
"github.com/ltcmweb/ltcd/txscript"
"github.com/ltcmweb/ltcd/wire"
)

const (
Expand Down
2 changes: 1 addition & 1 deletion blockchain/fullblocktests/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ of blocks that exercise the consensus validation rules.
## Installation and Updating

```bash
$ go get -u github.com/ltcsuite/ltcd/blockchain/fullblocktests
$ go get -u github.com/ltcmweb/ltcd/blockchain/fullblocktests
```

## License
Expand Down
14 changes: 7 additions & 7 deletions blockchain/fullblocktests/generate.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@ import (
"runtime"
"time"

"github.com/ltcsuite/ltcd/blockchain"
"github.com/ltcsuite/ltcd/btcec/v2"
"github.com/ltcsuite/ltcd/chaincfg"
"github.com/ltcsuite/ltcd/chaincfg/chainhash"
"github.com/ltcsuite/ltcd/ltcutil"
"github.com/ltcsuite/ltcd/txscript"
"github.com/ltcsuite/ltcd/wire"
"github.com/ltcmweb/ltcd/blockchain"
"github.com/ltcmweb/ltcd/btcec/v2"
"github.com/ltcmweb/ltcd/chaincfg"
"github.com/ltcmweb/ltcd/chaincfg/chainhash"
"github.com/ltcmweb/ltcd/ltcutil"
"github.com/ltcmweb/ltcd/txscript"
"github.com/ltcmweb/ltcd/wire"
)

const (
Expand Down
6 changes: 3 additions & 3 deletions blockchain/fullblocktests/params.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ import (
"math/big"
"time"

"github.com/ltcsuite/ltcd/chaincfg"
"github.com/ltcsuite/ltcd/chaincfg/chainhash"
"github.com/ltcsuite/ltcd/wire"
"github.com/ltcmweb/ltcd/chaincfg"
"github.com/ltcmweb/ltcd/chaincfg/chainhash"
"github.com/ltcmweb/ltcd/wire"
)

// newHashFromStr converts the passed big-endian hex string into a
Expand Down
2 changes: 1 addition & 1 deletion blockchain/indexers/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ via an RPC interface.
## Installation

```bash
$ go get -u github.com/ltcsuite/ltcd/blockchain/indexers
$ go get -u github.com/ltcmweb/ltcd/blockchain/indexers
```

## License
Expand Down
14 changes: 7 additions & 7 deletions blockchain/indexers/addrindex.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@ import (
"fmt"
"sync"

"github.com/ltcsuite/ltcd/blockchain"
"github.com/ltcsuite/ltcd/chaincfg"
"github.com/ltcsuite/ltcd/chaincfg/chainhash"
"github.com/ltcsuite/ltcd/database"
"github.com/ltcsuite/ltcd/ltcutil"
"github.com/ltcsuite/ltcd/txscript"
"github.com/ltcsuite/ltcd/wire"
"github.com/ltcmweb/ltcd/blockchain"
"github.com/ltcmweb/ltcd/chaincfg"
"github.com/ltcmweb/ltcd/chaincfg/chainhash"
"github.com/ltcmweb/ltcd/database"
"github.com/ltcmweb/ltcd/ltcutil"
"github.com/ltcmweb/ltcd/txscript"
"github.com/ltcmweb/ltcd/wire"
)

const (
Expand Down
2 changes: 1 addition & 1 deletion blockchain/indexers/addrindex_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"fmt"
"testing"

"github.com/ltcsuite/ltcd/wire"
"github.com/ltcmweb/ltcd/wire"
)

// addrIndexBucket provides a mock address index database bucket by implementing
Expand Down
2 changes: 1 addition & 1 deletion blockchain/indexers/blocklogger.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"time"

"github.com/btcsuite/btclog"
"github.com/ltcsuite/ltcd/ltcutil"
"github.com/ltcmweb/ltcd/ltcutil"
)

// blockProgressLogger provides periodic logging for other services in order
Expand Down
Loading