diff options
author | Wei-Ning Huang <w@cobinhood.com> | 2018-09-21 15:06:38 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@byzantine-lab.io> | 2019-06-12 17:21:31 +0800 |
commit | 76ad273b6d2ca081d72879f6284ae69b1013f2df (patch) | |
tree | a600c66d3ed03b067c7d6155d941761f6b30e02d /vendor/github.com/btcsuite | |
parent | 20d12131b5b411a35558fa13a8bc86ec66d7923a (diff) | |
download | go-tangerine-76ad273b6d2ca081d72879f6284ae69b1013f2df.tar go-tangerine-76ad273b6d2ca081d72879f6284ae69b1013f2df.tar.gz go-tangerine-76ad273b6d2ca081d72879f6284ae69b1013f2df.tar.bz2 go-tangerine-76ad273b6d2ca081d72879f6284ae69b1013f2df.tar.lz go-tangerine-76ad273b6d2ca081d72879f6284ae69b1013f2df.tar.xz go-tangerine-76ad273b6d2ca081d72879f6284ae69b1013f2df.tar.zst go-tangerine-76ad273b6d2ca081d72879f6284ae69b1013f2df.zip |
dex: update interface and use static bls lib
Diffstat (limited to 'vendor/github.com/btcsuite')
4 files changed, 0 insertions, 100 deletions
diff --git a/vendor/github.com/btcsuite/btcd/btcec/genprecomps.go b/vendor/github.com/btcsuite/btcd/btcec/genprecomps.go deleted file mode 100644 index d4a9c1b83..000000000 --- a/vendor/github.com/btcsuite/btcd/btcec/genprecomps.go +++ /dev/null @@ -1,63 +0,0 @@ -// Copyright 2015 The btcsuite developers -// Use of this source code is governed by an ISC -// license that can be found in the LICENSE file. - -// This file is ignored during the regular build due to the following build tag. -// It is called by go generate and used to automatically generate pre-computed -// tables used to accelerate operations. -// +build ignore - -package main - -import ( - "bytes" - "compress/zlib" - "encoding/base64" - "fmt" - "log" - "os" - - "github.com/btcsuite/btcd/btcec" -) - -func main() { - fi, err := os.Create("secp256k1.go") - if err != nil { - log.Fatal(err) - } - defer fi.Close() - - // Compress the serialized byte points. - serialized := btcec.S256().SerializedBytePoints() - var compressed bytes.Buffer - w := zlib.NewWriter(&compressed) - if _, err := w.Write(serialized); err != nil { - fmt.Println(err) - os.Exit(1) - } - w.Close() - - // Encode the compressed byte points with base64. - encoded := make([]byte, base64.StdEncoding.EncodedLen(compressed.Len())) - base64.StdEncoding.Encode(encoded, compressed.Bytes()) - - fmt.Fprintln(fi, "// Copyright (c) 2015 The btcsuite developers") - fmt.Fprintln(fi, "// Use of this source code is governed by an ISC") - fmt.Fprintln(fi, "// license that can be found in the LICENSE file.") - fmt.Fprintln(fi) - fmt.Fprintln(fi, "package btcec") - fmt.Fprintln(fi) - fmt.Fprintln(fi, "// Auto-generated file (see genprecomps.go)") - fmt.Fprintln(fi, "// DO NOT EDIT") - fmt.Fprintln(fi) - fmt.Fprintf(fi, "var secp256k1BytePoints = %q\n", string(encoded)) - - a1, b1, a2, b2 := btcec.S256().EndomorphismVectors() - fmt.Println("The following values are the computed linearly " + - "independent vectors needed to make use of the secp256k1 " + - "endomorphism:") - fmt.Printf("a1: %x\n", a1) - fmt.Printf("b1: %x\n", b1) - fmt.Printf("a2: %x\n", a2) - fmt.Printf("b2: %x\n", b2) -} diff --git a/vendor/github.com/btcsuite/btcd/btcjson/CONTRIBUTORS b/vendor/github.com/btcsuite/btcd/btcjson/CONTRIBUTORS deleted file mode 100644 index b8d98b32f..000000000 --- a/vendor/github.com/btcsuite/btcd/btcjson/CONTRIBUTORS +++ /dev/null @@ -1,16 +0,0 @@ -# This is the list of people who have contributed code to the repository. -# -# Names should be added to this file only after verifying that the individual -# or the individual's organization has agreed to the LICENSE. -# -# Names should be added to this file like so: -# Name <email address> - -John C. Vernaleo <jcv@conformal.com> -Dave Collins <davec@conformal.com> -Owain G. Ainsworth <oga@conformal.com> -David Hill <dhill@conformal.com> -Josh Rickmar <jrick@conformal.com> -Andreas Metsälä <andreas.metsala@gmail.com> -Francis Lam <flam@alum.mit.edu> -Geert-Johan Riemer <geertjohan.riemer@gmail.com> diff --git a/vendor/github.com/btcsuite/btcd/rpcclient/CONTRIBUTORS b/vendor/github.com/btcsuite/btcd/rpcclient/CONTRIBUTORS deleted file mode 100644 index 86c2b9938..000000000 --- a/vendor/github.com/btcsuite/btcd/rpcclient/CONTRIBUTORS +++ /dev/null @@ -1,13 +0,0 @@ -# This is the list of people who have contributed code to the repository. -# -# Names should be added to this file only after verifying that the individual -# or the individual's organization has agreed to the LICENSE. -# -# Names should be added to this file like so: -# Name <email address> - -Dave Collins <davec@conformal.com> -Geert-Johan Riemer <geertjohan.riemer@gmail.com> -Josh Rickmar <jrick@conformal.com> -Michalis Kargakis <michaliskargakis@gmail.com> -Ruben de Vries <ruben@rubensayshi.com diff --git a/vendor/github.com/btcsuite/btcd/txscript/data/LICENSE b/vendor/github.com/btcsuite/btcd/txscript/data/LICENSE deleted file mode 100644 index 30d808c58..000000000 --- a/vendor/github.com/btcsuite/btcd/txscript/data/LICENSE +++ /dev/null @@ -1,8 +0,0 @@ -The json files in this directory come from the bitcoind project -(https://github.com/bitcoin/bitcoin) and is released under the following -license: - - Copyright (c) 2012-2014 The Bitcoin Core developers - Distributed under the MIT/X11 software license, see the accompanying - file COPYING or http://www.opensource.org/licenses/mit-license.php. - |