changed DenioD's github lightwalletd links to git.hush.is lightwalletd links
This commit is contained in:
@@ -3,9 +3,9 @@ package parser
|
||||
import (
|
||||
"fmt"
|
||||
|
||||
"git.hush.is/hush/lightwalletd/parser/internal/bytestring"
|
||||
"git.hush.is/hush/lightwalletd/walletrpc"
|
||||
"github.com/pkg/errors"
|
||||
"github.com/DenioD/lightwalletd/parser/internal/bytestring"
|
||||
"github.com/DenioD/lightwalletd/walletrpc"
|
||||
)
|
||||
|
||||
type Block struct {
|
||||
@@ -101,10 +101,10 @@ func (b *Block) GetPrevHash() []byte {
|
||||
func (b *Block) ToCompact() *walletrpc.CompactBlock {
|
||||
compactBlock := &walletrpc.CompactBlock{
|
||||
//TODO ProtoVersion: 1,
|
||||
Height: uint64(b.GetHeight()),
|
||||
Height: uint64(b.GetHeight()),
|
||||
PrevHash: b.hdr.HashPrevBlock,
|
||||
Hash: b.GetEncodableHash(),
|
||||
Time: b.hdr.Time,
|
||||
Hash: b.GetEncodableHash(),
|
||||
Time: b.hdr.Time,
|
||||
}
|
||||
|
||||
// Only Sapling transactions have a meaningful compact encoding
|
||||
|
||||
@@ -7,8 +7,8 @@ import (
|
||||
"log"
|
||||
"math/big"
|
||||
|
||||
"git.hush.is/hush/lightwalletd/parser/internal/bytestring"
|
||||
"github.com/pkg/errors"
|
||||
"github.com/DenioD/lightwalletd/parser/internal/bytestring"
|
||||
)
|
||||
|
||||
const (
|
||||
|
||||
@@ -3,9 +3,9 @@ package parser
|
||||
import (
|
||||
"crypto/sha256"
|
||||
|
||||
"git.hush.is/hush/lightwalletd/parser/internal/bytestring"
|
||||
"git.hush.is/hush/lightwalletd/walletrpc"
|
||||
"github.com/pkg/errors"
|
||||
"github.com/DenioD/lightwalletd/parser/internal/bytestring"
|
||||
"github.com/DenioD/lightwalletd/walletrpc"
|
||||
)
|
||||
|
||||
type rawTransaction struct {
|
||||
|
||||
@@ -9,7 +9,7 @@ import (
|
||||
"strings"
|
||||
"testing"
|
||||
|
||||
"github.com/DenioD/lightwalletd/parser/internal/bytestring"
|
||||
"git.hush.is/hush/lightwalletd/parser/internal/bytestring"
|
||||
)
|
||||
|
||||
// "Human-readable" version of joinSplit struct defined in transaction.go.
|
||||
|
||||
Reference in New Issue
Block a user