Skip to content

Commit

Permalink
Merge pull request #42 from gcash/schnorr
Browse files Browse the repository at this point in the history
Update depenencies to use schnorr sigs
  • Loading branch information
cpacia authored May 16, 2019
2 parents 8e6b732 + 0c2348c commit b8cef5f
Show file tree
Hide file tree
Showing 5 changed files with 54 additions and 51 deletions.
79 changes: 39 additions & 40 deletions Gopkg.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 12 additions & 8 deletions Gopkg.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,16 +26,16 @@


[[constraint]]
branch = "master"
name = "github.com/btcsuite/golangcrypto"
name = "github.com/boltdb/bolt"
version = "1.3.1"

[[constraint]]
branch = "master"
name = "github.com/btcsuite/websocket"
name = "github.com/btcsuite/golangcrypto"

[[constraint]]
branch = "master"
name = "github.com/boltdb/bolt"
name = "github.com/btcsuite/websocket"

[[constraint]]
branch = "master"
Expand All @@ -59,7 +59,7 @@

[[constraint]]
name = "github.com/golang/protobuf"
version = "1.2.0"
version = "1.3.1"

[[constraint]]
name = "github.com/jessevdk/go-flags"
Expand All @@ -73,6 +73,10 @@
branch = "master"
name = "github.com/lightninglabs/gozmq"

[[constraint]]
name = "github.com/miekg/dns"
version = "1.1.9"

[[constraint]]
name = "github.com/tyler-smith/go-bip39"
version = "1.0.0"
Expand All @@ -87,11 +91,11 @@

[[constraint]]
name = "google.golang.org/grpc"
version = "1.16.0"
version = "1.20.1"

[[constraint]]
name = "github.com/miekg/dns"
version = "1.1.3"
name = "gopkg.in/jarcoal/httpmock.v1"
version = "1.0.4"

[prune]
go-tests = true
Expand Down
2 changes: 1 addition & 1 deletion pymtproto/paymentprotocol.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ package pymtproto
import (
"bytes"
"crypto/x509"
"errors"
"fmt"
"github.com/gcash/bchd/chaincfg"
"github.com/gcash/bchd/txscript"
"github.com/gcash/bchd/wire"
"github.com/gcash/bchutil"
"github.com/gcash/bchwallet/pymtproto/payments"
"github.com/go-errors/errors"
"github.com/golang/protobuf/proto"
"golang.org/x/net/proxy"
"io/ioutil"
Expand Down
2 changes: 1 addition & 1 deletion votingpool/withdrawal.go
Original file line number Diff line number Diff line change
Expand Up @@ -888,7 +888,7 @@ func getRawSigs(transactions []*withdrawalTx) (map[Ntxid]TxSigs, error) {
}
log.Debugf("Generating raw sig for input %d of tx %s with privkey of %s",
inputIdx, ntxid, pubKey.String())
sig, err = txscript.RawTxInSignature(
sig, err = txscript.RawTxInECDSASignature(
msgtx, inputIdx, redeemScript, txscript.SigHashAll, ecPrivKey, int64(input.Amount.ToUnit(bchutil.AmountSatoshi)))
if err != nil {
return nil, newError(ErrRawSigning, "failed to generate raw signature", err)
Expand Down
2 changes: 1 addition & 1 deletion waddrmgr/scoped_manager.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package waddrmgr

import (
"errors"
"fmt"
"github.com/go-errors/errors"
"sync"

"github.com/gcash/bchd/bchec"
Expand Down

0 comments on commit b8cef5f

Please sign in to comment.