Fix hash encoding, change module names
This commit is contained in:
@@ -4,8 +4,8 @@ import (
|
||||
"fmt"
|
||||
|
||||
"github.com/pkg/errors"
|
||||
"github.com/zcash-hackworks/lightwalletd/parser/internal/bytestring"
|
||||
"github.com/zcash-hackworks/lightwalletd/walletrpc"
|
||||
"github.com/adityapk00/lightwalletd/parser/internal/bytestring"
|
||||
"github.com/adityapk00/lightwalletd/walletrpc"
|
||||
)
|
||||
|
||||
type Block struct {
|
||||
@@ -62,7 +62,7 @@ func (b *Block) HasSaplingTransactions() bool {
|
||||
return false
|
||||
}
|
||||
|
||||
// see https://github.com/zcash-hackworks/lightwalletd/issues/17#issuecomment-467110828
|
||||
// see https://github.com/adityapk00/lightwalletd/issues/17#issuecomment-467110828
|
||||
const genesisTargetDifficulty = 520617983
|
||||
|
||||
// GetHeight() extracts the block height from the coinbase transaction. See
|
||||
|
||||
@@ -8,7 +8,7 @@ import (
|
||||
"math/big"
|
||||
|
||||
"github.com/pkg/errors"
|
||||
"github.com/zcash-hackworks/lightwalletd/parser/internal/bytestring"
|
||||
"github.com/adityapk00/lightwalletd/parser/internal/bytestring"
|
||||
)
|
||||
|
||||
const (
|
||||
|
||||
@@ -4,8 +4,8 @@ import (
|
||||
"crypto/sha256"
|
||||
|
||||
"github.com/pkg/errors"
|
||||
"github.com/zcash-hackworks/lightwalletd/parser/internal/bytestring"
|
||||
"github.com/zcash-hackworks/lightwalletd/walletrpc"
|
||||
"github.com/adityapk00/lightwalletd/parser/internal/bytestring"
|
||||
"github.com/adityapk00/lightwalletd/walletrpc"
|
||||
)
|
||||
|
||||
type rawTransaction struct {
|
||||
|
||||
@@ -9,7 +9,7 @@ import (
|
||||
"strings"
|
||||
"testing"
|
||||
|
||||
"github.com/zcash-hackworks/lightwalletd/parser/internal/bytestring"
|
||||
"github.com/adityapk00/lightwalletd/parser/internal/bytestring"
|
||||
)
|
||||
|
||||
// "Human-readable" version of joinSplit struct defined in transaction.go.
|
||||
|
||||
Reference in New Issue
Block a user