From 4a29f56a3f41ab78dcd74a740472156be7763f26 Mon Sep 17 00:00:00 2001 From: Olaoluwa Osuntokun Date: Wed, 28 Nov 2018 17:12:03 -0800 Subject: [PATCH 1/9] build: add new go.mod and go.sum files for go modules usage --- go.mod | 58 +++++++++++++++++++++++ go.sum | 142 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 200 insertions(+) create mode 100644 go.mod create mode 100644 go.sum diff --git a/go.mod b/go.mod new file mode 100644 index 000000000..60e4da8a2 --- /dev/null +++ b/go.mod @@ -0,0 +1,58 @@ +module github.com/lightningnetwork/lnd + +require ( + git.schwanenlied.me/yawning/bsaes.git v0.0.0-20180720073208-c0276d75487e // indirect + github.com/NebulousLabs/fastrand v0.0.0-20180208210444-3cf7173006a0 // indirect + github.com/NebulousLabs/go-upnp v0.0.0-20180202185039-29b680b06c82 + github.com/Yawning/aez v0.0.0-20180114000226-4dad034d9db2 + github.com/aead/chacha20 v0.0.0-20180709150244-8b13a72661da // indirect + github.com/aead/siphash v1.0.1 // indirect + github.com/btcsuite/btcd v0.0.0-20180824064422-79e00513b101 + github.com/btcsuite/btclog v0.0.0-20170628155309-84c8d2346e9f + github.com/btcsuite/btcutil v0.0.0-20180706230648-ab6388e0c60a + github.com/btcsuite/btcwallet v0.0.0-20181116030035-55c7c6399321 + github.com/btcsuite/fastsha256 v0.0.0-20160815193821-637e65642941 + github.com/btcsuite/go-socks v0.0.0-20170105172521-4720035b7bfd // indirect + github.com/btcsuite/golangcrypto v0.0.0-20150304025918-53f62d9b43e8 // indirect + github.com/btcsuite/goleveldb v1.0.0 // indirect + github.com/btcsuite/websocket v0.0.0-20150119174127-31079b680792 // indirect + github.com/coreos/bbolt v0.0.0-20180223184059-4f5275f4ebbf + github.com/davecgh/go-spew v1.1.1 + github.com/fsnotify/fsnotify v1.4.7 // indirect + github.com/go-errors/errors v1.0.1 + github.com/golang/protobuf v1.2.0 + github.com/grpc-ecosystem/grpc-gateway v0.0.0-20170724004829-f2862b476edc + github.com/hpcloud/tail v1.0.0 // indirect + github.com/jackpal/gateway v1.0.4 + github.com/jackpal/go-nat-pmp v0.0.0-20170405195558-28a68d0c24ad + github.com/jessevdk/go-flags v0.0.0-20170926144705-f88afde2fa19 + github.com/jrick/logrotate v1.0.0 + github.com/juju/clock v0.0.0-20180808021310-bab88fc67299 // indirect + github.com/juju/errors v0.0.0-20181118221551-089d3ea4e4d5 // indirect + github.com/juju/loggo v0.0.0-20180524022052-584905176618 // indirect + github.com/juju/retry v0.0.0-20180821225755-9058e192b216 // indirect + github.com/juju/testing v0.0.0-20180920084828-472a3e8b2073 // indirect + github.com/juju/utils v0.0.0-20180820210520-bf9cc5bdd62d // indirect + github.com/juju/version v0.0.0-20180108022336-b64dbd566305 // indirect + github.com/kkdai/bstream v0.0.0-20161212061736-f391b8402d23 + github.com/lightninglabs/gozmq v0.0.0-20180324010646-462a8a753885 // indirect + github.com/lightninglabs/neutrino v0.0.0-20181026005035-9a42f7df21be + github.com/lightningnetwork/lightning-onion v0.0.0-20180605012408-ac4d9da8f1d6 + github.com/ltcsuite/ltcd v0.0.0-20180701083835-cdab10132e8c + github.com/miekg/dns v0.0.0-20171125082028-79bfde677fa8 + github.com/rogpeppe/fastuuid v0.0.0-20150106093220-6724a57986af // indirect + github.com/tv42/zbase32 v0.0.0-20160707012821-501572607d02 + github.com/urfave/cli v1.18.0 + golang.org/x/crypto v0.0.0-20180820150726-614d502a4dac + golang.org/x/net v0.0.0-20180826012351-8a410e7b638d + golang.org/x/sys v0.0.0-20180905080454-ebe1bf3edb33 // indirect + golang.org/x/time v0.0.0-20180412165947-fbb02b2291d2 + google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8 + google.golang.org/grpc v1.15.0 + gopkg.in/errgo.v1 v1.0.0 // indirect + gopkg.in/fsnotify.v1 v1.4.7 // indirect + gopkg.in/macaroon-bakery.v2 v2.0.1 + gopkg.in/macaroon.v2 v2.0.0 + gopkg.in/mgo.v2 v2.0.0-20180705113604-9856a29383ce // indirect + gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 // indirect +) diff --git a/go.sum b/go.sum new file mode 100644 index 000000000..eb629b139 --- /dev/null +++ b/go.sum @@ -0,0 +1,142 @@ +cloud.google.com/go v0.26.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= +git.schwanenlied.me/yawning/bsaes.git v0.0.0-20180720073208-c0276d75487e h1:F2x1bq7RaNCIuqYpswggh1+c1JmwdnkHNC9wy1KDip0= +git.schwanenlied.me/yawning/bsaes.git v0.0.0-20180720073208-c0276d75487e/go.mod h1:BWqTsj8PgcPriQJGl7el20J/7TuT1d/hSyFDXMEpoEo= +github.com/NebulousLabs/fastrand v0.0.0-20180208210444-3cf7173006a0 h1:g/ETZwHx5wN2fqKWS3gCUrEU7dLko+DvVs3hakQCfyE= +github.com/NebulousLabs/fastrand v0.0.0-20180208210444-3cf7173006a0/go.mod h1:Bdzq+51GR4/0DIhaICZEOm+OHvXGwwB2trKZ8B4Y6eQ= +github.com/NebulousLabs/go-upnp v0.0.0-20180202185039-29b680b06c82 h1:MG93+PZYs9PyEsj/n5/haQu2gK0h4tUtSy9ejtMwWa0= +github.com/NebulousLabs/go-upnp v0.0.0-20180202185039-29b680b06c82/go.mod h1:GbuBk21JqF+driLX3XtJYNZjGa45YDoa9IqCTzNSfEc= +github.com/Yawning/aez v0.0.0-20180114000226-4dad034d9db2 h1:2be4ykKKov3M1yISM2E8gnGXZ/N2SsPawfnGiXxaYEU= +github.com/Yawning/aez v0.0.0-20180114000226-4dad034d9db2/go.mod h1:9pIqrY6SXNL8vjRQE5Hd/OL5GyK/9MrGUWs87z/eFfk= +github.com/aead/chacha20 v0.0.0-20180709150244-8b13a72661da h1:KjTM2ks9d14ZYCvmHS9iAKVt9AyzRSqNU1qabPih5BY= +github.com/aead/chacha20 v0.0.0-20180709150244-8b13a72661da/go.mod h1:eHEWzANqSiWQsof+nXEI9bUVUyV6F53Fp89EuCh2EAA= +github.com/aead/siphash v1.0.1 h1:FwHfE/T45KPKYuuSAKyyvE+oPWcaQ+CUmFW0bPlM+kg= +github.com/aead/siphash v1.0.1/go.mod h1:Nywa3cDsYNNK3gaciGTWPwHt0wlpNV15vwmswBAUSII= +github.com/btcsuite/btcd v0.0.0-20180824064422-79e00513b101 h1:/xe0TaCPKYG1hw3IffeXdmiJfw8x6SFBDKnr83vtVbw= +github.com/btcsuite/btcd v0.0.0-20180824064422-79e00513b101/go.mod h1:Dmm/EzmjnCiweXmzRIAiUWCInVmPgjkzgv5k4tVyXiQ= +github.com/btcsuite/btclog v0.0.0-20170628155309-84c8d2346e9f h1:bAs4lUbRJpnnkd9VhRV3jjAVU7DJVjMaK+IsvSeZvFo= +github.com/btcsuite/btclog v0.0.0-20170628155309-84c8d2346e9f/go.mod h1:TdznJufoqS23FtqVCzL0ZqgP5MqXbb4fg/WgDys70nA= +github.com/btcsuite/btcutil v0.0.0-20180706230648-ab6388e0c60a h1:RQMUrEILyYJEoAT34XS/kLu40vC0+po/UfxrBBA4qZE= +github.com/btcsuite/btcutil v0.0.0-20180706230648-ab6388e0c60a/go.mod h1:+5NJ2+qvTyV9exUAL/rxXi3DcLg2Ts+ymUAY5y4NvMg= +github.com/btcsuite/btcwallet v0.0.0-20181116030035-55c7c6399321 h1:RYidO91vylcYH/Iva/vGrScjrdp8x5RB1XjhOq/TZss= +github.com/btcsuite/btcwallet v0.0.0-20181116030035-55c7c6399321/go.mod h1:+q7/nPeXqu8jJ0ah0fcMOlWGZ2GeL2QoL6c7nCFUEVA= +github.com/btcsuite/fastsha256 v0.0.0-20160815193821-637e65642941 h1:kij1x2aL7VE6gtx8KMIt8PGPgI5GV9LgtHFG5KaEMPY= +github.com/btcsuite/fastsha256 v0.0.0-20160815193821-637e65642941/go.mod h1:QcFA8DZHtuIAdYKCq/BzELOaznRsCvwf4zTPmaYwaig= +github.com/btcsuite/go-socks v0.0.0-20170105172521-4720035b7bfd h1:R/opQEbFEy9JGkIguV40SvRY1uliPX8ifOvi6ICsFCw= +github.com/btcsuite/go-socks v0.0.0-20170105172521-4720035b7bfd/go.mod h1:HHNXQzUsZCxOoE+CPiyCTO6x34Zs86zZUiwtpXoGdtg= +github.com/btcsuite/golangcrypto v0.0.0-20150304025918-53f62d9b43e8 h1:nOsAWScwueMVk/VLm/dvQQD7DuanyvAUb6B3P3eT274= +github.com/btcsuite/golangcrypto v0.0.0-20150304025918-53f62d9b43e8/go.mod h1:tYvUd8KLhm/oXvUeSEs2VlLghFjQt9+ZaF9ghH0JNjc= +github.com/btcsuite/goleveldb v1.0.0 h1:Tvd0BfvqX9o823q1j2UZ/epQo09eJh6dTcRp79ilIN4= +github.com/btcsuite/goleveldb v1.0.0/go.mod h1:QiK9vBlgftBg6rWQIj6wFzbPfRjiykIEhBH4obrXJ/I= +github.com/btcsuite/snappy-go v1.0.0 h1:ZxaA6lo2EpxGddsA8JwWOcxlzRybb444sgmeJQMJGQE= +github.com/btcsuite/snappy-go v1.0.0/go.mod h1:8woku9dyThutzjeg+3xrA5iCpBRH8XEEg3lh6TiUghc= +github.com/btcsuite/websocket v0.0.0-20150119174127-31079b680792 h1:R8vQdOQdZ9Y3SkEwmHoWBmX1DNXhXZqlTpq6s4tyJGc= +github.com/btcsuite/websocket v0.0.0-20150119174127-31079b680792/go.mod h1:ghJtEyQwv5/p4Mg4C0fgbePVuGr935/5ddU9Z3TmDRY= +github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw= +github.com/coreos/bbolt v0.0.0-20180223184059-4f5275f4ebbf h1:tJpA9/rXV/dIbGH2eWW6Cptwwz5ax6ft2DAuHR/qfNQ= +github.com/coreos/bbolt v0.0.0-20180223184059-4f5275f4ebbf/go.mod h1:iRUV2dpdMOn7Bo10OQBFzIJO9kkE559Wcmn+qkEiiKk= +github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= +github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= +github.com/fsnotify/fsnotify v1.4.7 h1:IXs+QLmnXW2CcXuY+8Mzv/fWEsPGWxqefPtCP5CnV9I= +github.com/fsnotify/fsnotify v1.4.7/go.mod h1:jwhsz4b93w/PPRr/qN1Yymfu8t87LnFCMoQvtojpjFo= +github.com/go-errors/errors v1.0.1 h1:LUHzmkK3GUKUrL/1gfBUxAHzcev3apQlezX/+O7ma6w= +github.com/go-errors/errors v1.0.1/go.mod h1:f4zRHt4oKfwPJE5k8C9vpYG+aDHdBFUsgrm6/TyX73Q= +github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b h1:VKtxabqXZkF25pY9ekfRL6a582T4P37/31XEstQ5p58= +github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod h1:SBH7ygxi8pfUlaOkMMuAQtPIUF8ecWP5IEl/CR7VP2Q= +github.com/golang/lint v0.0.0-20180702182130-06c8688daad7/go.mod h1:tluoj9z5200jBnyusfRPU2LqT6J+DAorxEvtC7LHB+E= +github.com/golang/mock v1.1.1/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A= +github.com/golang/protobuf v1.2.0 h1:P3YflyNX/ehuJFLhxviNdFxQPkGK5cDcApsge1SqnvM= +github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= +github.com/grpc-ecosystem/grpc-gateway v0.0.0-20170724004829-f2862b476edc h1:3NXdOHZ1YlN6SGP3FPbn4k73O2MeEp065abehRwGFxI= +github.com/grpc-ecosystem/grpc-gateway v0.0.0-20170724004829-f2862b476edc/go.mod h1:RSKVYQBd5MCa4OVpNdGskqpgL2+G+NZTnrVHpWWfpdw= +github.com/hpcloud/tail v1.0.0 h1:nfCOvKYfkgYP8hkirhJocXT2+zOD8yUNjXaWfTlyFKI= +github.com/hpcloud/tail v1.0.0/go.mod h1:ab1qPbhIpdTxEkNHXyeSf5vhxWSCs/tWer42PpOxQnU= +github.com/jackpal/gateway v1.0.4 h1:LS5EHkLuQ6jzaHwULi0vL+JO0mU/n4yUtK8oUjHHOlM= +github.com/jackpal/gateway v1.0.4/go.mod h1:lTpwd4ACLXmpyiCTRtfiNyVnUmqT9RivzCDQetPfnjA= +github.com/jackpal/go-nat-pmp v0.0.0-20170405195558-28a68d0c24ad h1:heFfj7z0pGsNCekUlsFhO2jstxO4b5iQ665LjwM5mDc= +github.com/jackpal/go-nat-pmp v0.0.0-20170405195558-28a68d0c24ad/go.mod h1:QPH045xvCAeXUZOxsnwmrtiCoxIr9eob+4orBN1SBKc= +github.com/jessevdk/go-flags v0.0.0-20170926144705-f88afde2fa19 h1:k9/LaykApavRKKlaWkunBd48Um+vMxnUNNsIjS7OJn8= +github.com/jessevdk/go-flags v0.0.0-20170926144705-f88afde2fa19/go.mod h1:4FA24M0QyGHXBuZZK/XkWh8h0e1EYbRYJSGM75WSRxI= +github.com/jrick/logrotate v1.0.0 h1:lQ1bL/n9mBNeIXoTUoYRlK4dHuNJVofX9oWqBtPnSzI= +github.com/jrick/logrotate v1.0.0/go.mod h1:LNinyqDIJnpAur+b8yyulnQw/wDuN1+BYKlTRt3OuAQ= +github.com/juju/clock v0.0.0-20180808021310-bab88fc67299 h1:K9nBHQ3UNqg/HhZkQnGG2AE4YxDyNmGS9FFT2gGegLQ= +github.com/juju/clock v0.0.0-20180808021310-bab88fc67299/go.mod h1:nD0vlnrUjcjJhqN5WuCWZyzfd5AHZAC9/ajvbSx69xA= +github.com/juju/errors v0.0.0-20181118221551-089d3ea4e4d5 h1:rhqTjzJlm7EbkELJDKMTU7udov+Se0xZkWmugr6zGok= +github.com/juju/errors v0.0.0-20181118221551-089d3ea4e4d5/go.mod h1:W54LbzXuIE0boCoNJfwqpmkKJ1O4TCTZMetAt6jGk7Q= +github.com/juju/loggo v0.0.0-20180524022052-584905176618 h1:MK144iBQF9hTSwBW/9eJm034bVoG30IshVm688T2hi8= +github.com/juju/loggo v0.0.0-20180524022052-584905176618/go.mod h1:vgyd7OREkbtVEN/8IXZe5Ooef3LQePvuBm9UWj6ZL8U= +github.com/juju/retry v0.0.0-20180821225755-9058e192b216 h1:/eQL7EJQKFHByJe3DeE8Z36yqManj9UY5zppDoQi4FU= +github.com/juju/retry v0.0.0-20180821225755-9058e192b216/go.mod h1:OohPQGsr4pnxwD5YljhQ+TZnuVRYpa5irjugL1Yuif4= +github.com/juju/testing v0.0.0-20180920084828-472a3e8b2073 h1:WQM1NildKThwdP7qWrNAFGzp4ijNLw8RlgENkaI4MJs= +github.com/juju/testing v0.0.0-20180920084828-472a3e8b2073/go.mod h1:63prj8cnj0tU0S9OHjGJn+b1h0ZghCndfnbQolrYTwA= +github.com/juju/utils v0.0.0-20180820210520-bf9cc5bdd62d h1:irPlN9z5VCe6BTsqVsxheCZH99OFSmqSVyTigW4mEoY= +github.com/juju/utils v0.0.0-20180820210520-bf9cc5bdd62d/go.mod h1:6/KLg8Wz/y2KVGWEpkK9vMNGkOnu4k/cqs8Z1fKjTOk= +github.com/juju/version v0.0.0-20180108022336-b64dbd566305 h1:lQxPJ1URr2fjsKnJRt/BxiIxjLt9IKGvS+0injMHbag= +github.com/juju/version v0.0.0-20180108022336-b64dbd566305/go.mod h1:kE8gK5X0CImdr7qpSKl3xB2PmpySSmfj7zVbkZFs81U= +github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck= +github.com/kkdai/bstream v0.0.0-20161212061736-f391b8402d23 h1:FOOIBWrEkLgmlgGfMuZT83xIwfPDxEI2OHu6xUmJMFE= +github.com/kkdai/bstream v0.0.0-20161212061736-f391b8402d23/go.mod h1:J+Gs4SYgM6CZQHDETBtE9HaSEkGmuNXF86RwHhHUvq4= +github.com/kr/pretty v0.1.0 h1:L/CwN0zerZDmRFUapSPitk6f+Q3+0za1rQkzVuMiMFI= +github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo= +github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= +github.com/kr/text v0.1.0 h1:45sCR5RtlFHMR4UwH9sdQ5TC8v0qDQCHnXt+kaKSTVE= +github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= +github.com/lightninglabs/gozmq v0.0.0-20180324010646-462a8a753885 h1:fTLuPUkaKIIV0+gA1IxiBDvDxtF8tzpSF6N6NfFGmsU= +github.com/lightninglabs/gozmq v0.0.0-20180324010646-462a8a753885/go.mod h1:KUh15naRlx/TmUMFS/p4JJrCrE6F7RGF7rsnvuu45E4= +github.com/lightninglabs/neutrino v0.0.0-20181026005035-9a42f7df21be h1:wZMh0rYDoZ7r2S0ylgBVHEMWL0+t7LcP+ZGEig7UDHk= +github.com/lightninglabs/neutrino v0.0.0-20181026005035-9a42f7df21be/go.mod h1:KJq43Fu9ceitbJsSXMILcT4mGDNI/crKmPIkDOZXFyM= +github.com/lightningnetwork/lightning-onion v0.0.0-20180605012408-ac4d9da8f1d6 h1:ONLGrYJVQdbtP6CE/ff1KNWZtygRGEh12RzonTiCzPs= +github.com/lightningnetwork/lightning-onion v0.0.0-20180605012408-ac4d9da8f1d6/go.mod h1:8EgEt4a/NUOVQd+3kk6n9aZCJ1Ssj96Pb6lCrci+6oc= +github.com/ltcsuite/ltcd v0.0.0-20180701083835-cdab10132e8c h1:rdKAF0qixVZQy+Hkrojg2vHTZOxJEHns2ymbevTDPms= +github.com/ltcsuite/ltcd v0.0.0-20180701083835-cdab10132e8c/go.mod h1:EHxR9R4IfKfcjAQ/nQiimQSLaRxdyNz926as4KTtNTg= +github.com/miekg/dns v0.0.0-20171125082028-79bfde677fa8 h1:PRMAcldsl4mXKJeRNB/KVNz6TlbS6hk2Rs42PqgU3Ws= +github.com/miekg/dns v0.0.0-20171125082028-79bfde677fa8/go.mod h1:W1PPwlIAgtquWBMBEV9nkV9Cazfe8ScdGz/Lj7v3Nrg= +github.com/onsi/ginkgo v1.6.0 h1:Ix8l273rp3QzYgXSR+c8d1fTG7UPgYkOSELPhiY/YGw= +github.com/onsi/ginkgo v1.6.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= +github.com/onsi/gomega v1.4.1 h1:PZSj/UFNaVp3KxrzHOcS7oyuWA7LoOY/77yCTEFu21U= +github.com/onsi/gomega v1.4.1/go.mod h1:C1qb7wdrVGGVU+Z6iS04AVkA3Q65CEZX59MT0QO5uiA= +github.com/rogpeppe/fastuuid v0.0.0-20150106093220-6724a57986af h1:gu+uRPtBe88sKxUCEXRoeCvVG90TJmwhiqRpvdhQFng= +github.com/rogpeppe/fastuuid v0.0.0-20150106093220-6724a57986af/go.mod h1:XWv6SoW27p1b0cqNHllgS5HIMJraePCO15w5zCzIWYg= +github.com/tv42/zbase32 v0.0.0-20160707012821-501572607d02 h1:tcJ6OjwOMvExLlzrAVZute09ocAGa7KqOON60++Gz4E= +github.com/tv42/zbase32 v0.0.0-20160707012821-501572607d02/go.mod h1:tHlrkM198S068ZqfrO6S8HsoJq2bF3ETfTL+kt4tInY= +github.com/urfave/cli v1.18.0 h1:m9MfmZWX7bwr9kUcs/Asr95j0IVXzGNNc+/5ku2m26Q= +github.com/urfave/cli v1.18.0/go.mod h1:70zkFmudgCuE/ngEzBv17Jvp/497gISqfk5gWijbERA= +golang.org/x/crypto v0.0.0-20180820150726-614d502a4dac h1:7d7lG9fHOLdL6jZPtnV4LpI41SbohIJ1Atq7U991dMg= +golang.org/x/crypto v0.0.0-20180820150726-614d502a4dac/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= +golang.org/x/lint v0.0.0-20180702182130-06c8688daad7/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= +golang.org/x/net v0.0.0-20180719180050-a680a1efc54d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/net v0.0.0-20180826012351-8a410e7b638d h1:g9qWBGx4puODJTMVyoPrpoxPFgVGd+z1DZwjfRu4d0I= +golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= +golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f h1:wMNYb4v58l5UBM7MYRLPG6ZhfOqbKu7X5eyFl8ZhKvA= +golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= +golang.org/x/sys v0.0.0-20180905080454-ebe1bf3edb33 h1:I6FyU15t786LL7oL/hn43zqTuEGr4PN7F4XJ1p4E3Y8= +golang.org/x/sys v0.0.0-20180905080454-ebe1bf3edb33/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= +golang.org/x/text v0.3.0 h1:g61tztE5qeGQ89tm6NTjjM9VPIm088od1l6aSorWRWg= +golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= +golang.org/x/time v0.0.0-20180412165947-fbb02b2291d2 h1:+DCIGbF/swA92ohVg0//6X2IVY3KZs6p9mix0ziNYJM= +golang.org/x/time v0.0.0-20180412165947-fbb02b2291d2/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= +golang.org/x/tools v0.0.0-20180828015842-6cd1fcedba52/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= +google.golang.org/appengine v1.1.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM= +google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8 h1:Nw54tB0rB7hY/N0NQvRW8DG4Yk3Q6T9cu9RcFQDu1tc= +google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc= +google.golang.org/grpc v1.15.0 h1:Az/KuahOM4NAidTEuJCv/RonAA7rYsTPkqXVjr+8OOw= +google.golang.org/grpc v1.15.0/go.mod h1:0JHn/cJsOMiMfNA9+DeHDlAU7KAAB5GDlYFpa9MZMio= +gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= +gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127 h1:qIbj1fsPNlZgppZ+VLlY7N33q108Sa+fhmuc+sWQYwY= +gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= +gopkg.in/errgo.v1 v1.0.0 h1:n+7XfCyygBFb8sEjg6692xjC6Us50TFRO54+xYUEwjE= +gopkg.in/errgo.v1 v1.0.0/go.mod h1:CxwszS/Xz1C49Ucd2i6Zil5UToP1EmyrFhKaMVbg1mk= +gopkg.in/fsnotify.v1 v1.4.7 h1:xOHLXZwVvI9hhs+cLKq5+I5onOuwQLhQwiu63xxlHs4= +gopkg.in/fsnotify.v1 v1.4.7/go.mod h1:Tz8NjZHkW78fSQdbUxIjBTcgA1z1m8ZHf0WmKUhAMys= +gopkg.in/macaroon-bakery.v2 v2.0.1 h1:0N1TlEdfLP4HXNCg7MQUMp5XwvOoxk+oe9Owr2cpvsc= +gopkg.in/macaroon-bakery.v2 v2.0.1/go.mod h1:B4/T17l+ZWGwxFSZQmlBwp25x+og7OkhETfr3S9MbIA= +gopkg.in/macaroon.v2 v2.0.0 h1:LVWycAfeJBUjCIqfR9gqlo7I8vmiXRr51YEOZ1suop8= +gopkg.in/macaroon.v2 v2.0.0/go.mod h1:+I6LnTMkm/uV5ew/0nsulNjL16SK4+C8yDmRUzHR17I= +gopkg.in/mgo.v2 v2.0.0-20180705113604-9856a29383ce h1:xcEWjVhvbDy+nHP67nPDDpbYrY+ILlfndk4bRioVHaU= +gopkg.in/mgo.v2 v2.0.0-20180705113604-9856a29383ce/go.mod h1:yeKp02qBN3iKW1OzL3MGk2IdtZzaj7SFntXj72NppTA= +gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 h1:uRGJdciOHaEIrze2W8Q3AKkepLTh2hOroT7a+7czfdQ= +gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7/go.mod h1:dt/ZhP58zS4L8KSrWDmTeBkI65Dw0HsyUHuEVlX15mw= +gopkg.in/yaml.v2 v2.2.1 h1:mUhvW9EsL+naU5Q3cakzfE91YhliOondGd6ZrsDBHQE= +gopkg.in/yaml.v2 v2.2.1/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= +honnef.co/go/tools v0.0.0-20180728063816-88497007e858/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= From ebff57a1f7fcbbbb579260390e130c7c39e21ff4 Mon Sep 17 00:00:00 2001 From: Olaoluwa Osuntokun Date: Wed, 28 Nov 2018 17:12:41 -0800 Subject: [PATCH 2/9] build: remove old stale dep files --- Gopkg.lock | 571 ----------------------------------------------------- Gopkg.toml | 127 ------------ 2 files changed, 698 deletions(-) delete mode 100644 Gopkg.lock delete mode 100644 Gopkg.toml diff --git a/Gopkg.lock b/Gopkg.lock deleted file mode 100644 index 2d905b92c..000000000 --- a/Gopkg.lock +++ /dev/null @@ -1,571 +0,0 @@ -# This file is autogenerated, do not edit; changes may be undone by the next 'dep ensure'. - - -[[projects]] - branch = "master" - digest = "1:1825a371f557bcbc26b3e88bd6ab19ab42435e11e9b3b248bf1e0882cf5d5d0a" - name = "git.schwanenlied.me/yawning/bsaes.git" - packages = [ - "ct32", - "ct64", - "ghash", - "internal/modes", - ] - pruneopts = "UT" - revision = "c0276d75487ef7aceab140c9eb31601dd7d18bd4" - -[[projects]] - branch = "master" - digest = "1:9a112e9f617878a9a643fdfcb7c31afaf0cf8859b8c179bf6bf53f9f881be695" - name = "github.com/NebulousLabs/fastrand" - packages = ["."] - pruneopts = "UT" - revision = "3cf7173006a0b7d2371fa1a220da7f9d48c7827c" - -[[projects]] - digest = "1:a940cbe66b93cfbd21916d06dca51a4f68cf0fccb95d7f0d80f4e127347e6e5e" - name = "github.com/NebulousLabs/go-upnp" - packages = [ - ".", - "goupnp", - "goupnp/dcps/internetgateway1", - "goupnp/httpu", - "goupnp/scpd", - "goupnp/soap", - "goupnp/ssdp", - ] - pruneopts = "UT" - revision = "29b680b06c82d044ebea91bf3069038eb562df2a" - -[[projects]] - digest = "1:c9ef1fba766e914747fa05a9947a6312fb0ee0ddb89218b1d96dd28b5d17b67e" - name = "github.com/Yawning/aez" - packages = ["."] - pruneopts = "UT" - revision = "4dad034d9db2caec23fb8f69b9160ae16f8d46a3" - -[[projects]] - branch = "master" - digest = "1:e05c7b72aeba7570b1d2f9c6dc9f0373d224b16b70fa886c504de867bffe1c2e" - name = "github.com/aead/chacha20" - packages = [ - ".", - "chacha", - ] - pruneopts = "UT" - revision = "8b13a72661dae6e9e5dea04f344f0dc95ea29547" - -[[projects]] - digest = "1:1c10bf6793afd790b0949d5384403d8d4850bf8f5f72ab6fc232277daaa5057b" - name = "github.com/aead/siphash" - packages = ["."] - pruneopts = "UT" - revision = "83563a290f60225eb120d724600b9690c3fb536f" - -[[projects]] - digest = "1:e0ab2aba19fe77b2367828b186e46a5efa57d35a94df282ae25adf624136ae5c" - name = "github.com/btcsuite/btcd" - packages = [ - "addrmgr", - "blockchain", - "btcec", - "btcjson", - "chaincfg", - "chaincfg/chainhash", - "connmgr", - "database", - "integration/rpctest", - "peer", - "rpcclient", - "txscript", - "wire", - ] - pruneopts = "UT" - revision = "79e00513b1011888b1e675157ab89f527f901cae" - -[[projects]] - digest = "1:30d4a548e09bca4a0c77317c58e7407e2a65c15325e944f9c08a7b7992f8a59e" - name = "github.com/btcsuite/btclog" - packages = ["."] - pruneopts = "UT" - revision = "84c8d2346e9fc8c7b947e243b9c24e6df9fd206a" - -[[projects]] - digest = "1:9986a18c52a15d321aeae4c0dacf99e0d3edd2815d76489a847c4196731ef974" - name = "github.com/btcsuite/btcutil" - packages = [ - ".", - "base58", - "bech32", - "gcs", - "gcs/builder", - "hdkeychain", - "txsort", - ] - pruneopts = "UT" - revision = "ab6388e0c60ae4834a1f57511e20c17b5f78be4b" - -[[projects]] - digest = "1:cada140f48c07269d60b507af4e57abc0cf1f47c1f63bafc7bffd2649eb8cefe" - name = "github.com/btcsuite/btcwallet" - packages = [ - "chain", - "internal/helpers", - "internal/legacy/keystore", - "internal/legacy/rename", - "internal/prompt", - "internal/zero", - "snacl", - "waddrmgr", - "wallet", - "wallet/internal/txsizes", - "wallet/txauthor", - "wallet/txrules", - "walletdb", - "walletdb/bdb", - "walletdb/migration", - "wtxmgr", - ] - pruneopts = "UT" - revision = "7ad4f1e81d7831b5b4bc8597fe9db731fbb3be22" - -[[projects]] - branch = "master" - digest = "1:f5a785a2836dce1d5a46a313275fe868c332090a3709b5aa58b84e1368ae006f" - name = "github.com/btcsuite/fastsha256" - packages = ["."] - pruneopts = "UT" - revision = "637e656429416087660c84436a2a035d69d54e2e" - -[[projects]] - branch = "master" - digest = "1:1e6b2f7aa98b082c30a1303c29a702c369b2ec6d86b74a599bc8bbe2333db299" - name = "github.com/btcsuite/go-socks" - packages = ["socks"] - pruneopts = "UT" - revision = "4720035b7bfd2a9bb130b1c184f8bbe41b6f0d0f" - -[[projects]] - branch = "master" - digest = "1:0335dbfdb3935233b69e61cdf94435206ddb97df88de5a505523194fb34e9a8f" - name = "github.com/btcsuite/golangcrypto" - packages = [ - "nacl/secretbox", - "pbkdf2", - "poly1305", - "salsa20/salsa", - "scrypt", - "ssh/terminal", - ] - pruneopts = "UT" - revision = "53f62d9b43e87a6c56975cf862af7edf33a8d0df" - -[[projects]] - branch = "master" - digest = "1:0b2242fd2f4f51fb491e97e204464f75da680897a0db10ec7554c87b71b5afc3" - name = "github.com/btcsuite/websocket" - packages = ["."] - pruneopts = "UT" - revision = "31079b6807923eb23992c421b114992b95131b55" - -[[projects]] - digest = "1:e802928326e2d631840a238c372417c3ade751b79ff491c5f0a4755c912643cd" - name = "github.com/coreos/bbolt" - packages = ["."] - pruneopts = "UT" - revision = "4f5275f4ebbf6fe7cb772de987fa96ee674460a7" - -[[projects]] - digest = "1:ffe9824d294da03b391f44e1ae8281281b4afc1bdaa9588c9097785e3af10cec" - name = "github.com/davecgh/go-spew" - packages = ["spew"] - pruneopts = "UT" - revision = "8991bc29aa16c548c550c7ff78260e27b9ab7c73" - -[[projects]] - digest = "1:aacef5f5e45685f2aeda5534d0a750dee6859de7e9088cdd06192787bb01ae6d" - name = "github.com/go-errors/errors" - packages = ["."] - pruneopts = "UT" - revision = "a6af135bd4e28680facf08a3d206b454abc877a4" - -[[projects]] - digest = "1:52f82517e64acdc35d16c476fb8bd9191aa205eb36a450a3fc0dd5b3fe27a4ab" - name = "github.com/golang/protobuf" - packages = [ - "jsonpb", - "proto", - "protoc-gen-go/descriptor", - "ptypes", - "ptypes/any", - "ptypes/duration", - "ptypes/struct", - "ptypes/timestamp", - ] - pruneopts = "UT" - revision = "bbd03ef6da3a115852eaf24c8a1c46aeb39aa175" - -[[projects]] - digest = "1:983bdae4397d2a7c88316865e7de6b76bbedd8c33342004931829eba0975d9ed" - name = "github.com/grpc-ecosystem/grpc-gateway" - packages = [ - "runtime", - "runtime/internal", - "utilities", - ] - pruneopts = "UT" - revision = "f2862b476edcef83412c7af8687c9cd8e4097c0f" - -[[projects]] - digest = "1:6b8866cc9496eada254debc24199981e21fd70fd0031ff7a581ac91be47187bb" - name = "github.com/jackpal/gateway" - packages = ["."] - pruneopts = "UT" - revision = "3e333950771011fed13be63e62b9f473c5e0d9bf" - version = "v1.0.4" - -[[projects]] - digest = "1:e4615e78931f6067795aec8fd1ba51ee03a6f64900de01ed3ae31973ae4273d7" - name = "github.com/jackpal/go-nat-pmp" - packages = ["."] - pruneopts = "UT" - revision = "28a68d0c24adce1da43f8df6a57340909ecd7fdd" - -[[projects]] - digest = "1:580a0575cc73027105fcac15aa61aeef0bc15760a7718bd1d3e0c9f2660be559" - name = "github.com/jessevdk/go-flags" - packages = ["."] - pruneopts = "UT" - revision = "f88afde2fa19a30cf50ba4b05b3d13bc6bae3079" - -[[projects]] - digest = "1:4b6a85c651ea3faa6dfb4e6de5249b602226270b9eb3dfb8f49ec91fa3ef08ff" - name = "github.com/jrick/logrotate" - packages = ["rotator"] - pruneopts = "UT" - revision = "a93b200c26cbae3bb09dd0dc2c7c7fe1468a034a" - -[[projects]] - branch = "master" - digest = "1:a330103bc9731260ee9fa14764e9e3fce46e02de19d6aca3eeba1d425badfbf0" - name = "github.com/juju/loggo" - packages = ["."] - pruneopts = "UT" - revision = "584905176618da46b895b176c721b02c476b6993" - -[[projects]] - digest = "1:ed05f40f6e39c5040819444f4379192346008107ddcc79f02f0729985b5160b4" - name = "github.com/kkdai/bstream" - packages = ["."] - pruneopts = "UT" - revision = "f391b8402d23024e7c0f624b31267a89998fca95" - -[[projects]] - branch = "master" - digest = "1:a86b813d259a63f7a15c4aa9c24c60f082e2ee28197b07bc67d7d2aa8a94c1ce" - name = "github.com/lightninglabs/gozmq" - packages = ["."] - pruneopts = "UT" - revision = "462a8a75388506b68f76661af8d649f0b88e5301" - -[[projects]] - digest = "1:9d36cf09ab96eba14b70775f1284fa9741a212d2b49c08750b7112f9545a807b" - name = "github.com/lightninglabs/neutrino" - packages = [ - ".", - "cache", - "cache/lru", - "filterdb", - "headerfs", - "headerlist", - ] - pruneopts = "UT" - revision = "9a42f7df21be82a69f04caa83bce4034dca72764" - -[[projects]] - digest = "1:58ab6d6525898cbeb86dc29a68f8e9bfe95254b9032134eb9458779574872260" - name = "github.com/lightningnetwork/lightning-onion" - packages = ["."] - pruneopts = "UT" - revision = "ac4d9da8f1d67c95f1fafdc65e1a4902d6f5a940" - -[[projects]] - digest = "1:3402f61a37575d808e4499dbfda1ab756d570c66cdfed492b84a936bbb909533" - name = "github.com/ltcsuite/ltcd" - packages = [ - "chaincfg", - "chaincfg/chainhash", - "wire", - ] - pruneopts = "UT" - revision = "cdab10132e8c6e4a3ffd112dba54791946d28906" - -[[projects]] - digest = "1:a0bf6f18ffeb4a45fd00d5eb16d918769bbe0e2dc7824e95abf05a3306f60102" - name = "github.com/miekg/dns" - packages = [ - ".", - "internal/socket", - ] - pruneopts = "UT" - revision = "79bfde677fa81ff8d27c4330c35bda075d360641" - -[[projects]] - branch = "master" - digest = "1:d673e95129a1107bfd04e093751a5e1267faabc27d218d824fb013f57ac08f55" - name = "github.com/rogpeppe/fastuuid" - packages = ["."] - pruneopts = "UT" - revision = "6724a57986aff9bff1a1770e9347036def7c89f6" - -[[projects]] - digest = "1:4cc492dc59eae18d3b05efc89f7ed68788258e34c5b0ea48834769fc823849e6" - name = "github.com/tv42/zbase32" - packages = ["."] - pruneopts = "UT" - revision = "501572607d0273fc75b3b261fa4904d63f6ffa0e" - -[[projects]] - digest = "1:46ed28d956228a4113be4e08ba8fae6d78b154bbf78cb7c2108ab157faaac8dc" - name = "github.com/urfave/cli" - packages = ["."] - pruneopts = "UT" - revision = "1efa31f08b9333f1bd4882d61f9d668a70cd902e" - -[[projects]] - digest = "1:270627be1fb5b0875bdbf8a96f86a551adc0aeba97fb63af3caaa21c0a39c499" - name = "golang.org/x/crypto" - packages = [ - "blake2b", - "chacha20poly1305", - "curve25519", - "hkdf", - "internal/chacha20", - "internal/subtle", - "nacl/box", - "nacl/secretbox", - "pbkdf2", - "poly1305", - "ripemd160", - "salsa20", - "salsa20/salsa", - "scrypt", - "ssh/terminal", - ] - pruneopts = "UT" - revision = "614d502a4dac94afa3a6ce146bd1736da82514c6" - -[[projects]] - digest = "1:0764abb1e99bb977d1b9f320d02859d4a737252da3e1fd233c4ae0f9522e7446" - name = "golang.org/x/net" - packages = [ - "context", - "html", - "html/atom", - "html/charset", - "http2", - "http2/hpack", - "idna", - "internal/timeseries", - "lex/httplex", - "proxy", - "trace", - ] - pruneopts = "UT" - revision = "ae89d30ce0c63142b652837da33d782e2b0a9b25" - -[[projects]] - digest = "1:576f8d82185dc836ec6d10c0e5568dc4ff94e4d9f101d33ed5d6bae0cbba65b2" - name = "golang.org/x/sys" - packages = [ - "cpu", - "unix", - "windows", - ] - pruneopts = "UT" - revision = "ebe1bf3edb3325c393447059974de898d5133eb8" - -[[projects]] - digest = "1:436b24586f8fee329e0dd65fd67c817681420cda1d7f934345c13fe78c212a73" - name = "golang.org/x/text" - packages = [ - "collate", - "collate/build", - "encoding", - "encoding/charmap", - "encoding/htmlindex", - "encoding/internal", - "encoding/internal/identifier", - "encoding/japanese", - "encoding/korean", - "encoding/simplifiedchinese", - "encoding/traditionalchinese", - "encoding/unicode", - "internal/colltab", - "internal/gen", - "internal/tag", - "internal/triegen", - "internal/ucd", - "internal/utf8internal", - "language", - "runes", - "secure/bidirule", - "transform", - "unicode/bidi", - "unicode/cldr", - "unicode/norm", - "unicode/rangetable", - ] - pruneopts = "UT" - revision = "f21a4dfb5e38f5895301dc265a8def02365cc3d0" - version = "v0.3.0" - -[[projects]] - digest = "1:c9e7a4b4d47c0ed205d257648b0e5b0440880cb728506e318f8ac7cd36270bc4" - name = "golang.org/x/time" - packages = ["rate"] - pruneopts = "UT" - revision = "fbb02b2291d28baffd63558aa44b4b56f178d650" - -[[projects]] - digest = "1:c2dee8dbcc504d1a7858f5dbaed7c8b256c512c5e9e81480158c30185bbd2792" - name = "google.golang.org/genproto" - packages = [ - "googleapis/api/annotations", - "googleapis/rpc/status", - ] - pruneopts = "UT" - revision = "df60624c1e9b9d2973e889c7a1cff73155da81c4" - -[[projects]] - digest = "1:ab8e92d746fb5c4c18846b0879842ac8e53b3d352449423d0924a11f1020ae1b" - name = "google.golang.org/grpc" - packages = [ - ".", - "balancer", - "balancer/base", - "balancer/roundrobin", - "codes", - "connectivity", - "credentials", - "encoding", - "encoding/proto", - "grpclog", - "internal", - "internal/backoff", - "internal/channelz", - "internal/envconfig", - "internal/grpcrand", - "internal/transport", - "keepalive", - "metadata", - "naming", - "peer", - "resolver", - "resolver/dns", - "resolver/passthrough", - "stats", - "status", - "tap", - ] - pruneopts = "UT" - revision = "8dea3dc473e90c8179e519d91302d0597c0ca1d1" - -[[projects]] - digest = "1:9f0c81ca4b497d3723d0a66495d8a1efe277068b77ef3ad2d6460e480bf09bb3" - name = "gopkg.in/errgo.v1" - packages = ["."] - pruneopts = "UT" - revision = "b20caedf0710d0988e92b5f2d76843ad1f231f2d" - -[[projects]] - digest = "1:f75654fe9e7a52c9df4c13d3c362a02e9dd0ab5e1ef336212ae68964c05ff53f" - name = "gopkg.in/macaroon-bakery.v2" - packages = [ - "bakery", - "bakery/checkers", - "bakery/internal/macaroonpb", - ] - pruneopts = "UT" - revision = "94012773d2874a067572bd16d7d11ae02968b47b" - -[[projects]] - digest = "1:0622939c131fd6ca6fc9dfb25adda2f195062975045baba7ad94607e6f3c52b7" - name = "gopkg.in/macaroon.v2" - packages = ["."] - pruneopts = "UT" - revision = "bed2a428da6e56d950bed5b41fcbae3141e5b0d0" - -[solve-meta] - analyzer-name = "dep" - analyzer-version = 1 - input-imports = [ - "github.com/NebulousLabs/go-upnp", - "github.com/Yawning/aez", - "github.com/btcsuite/btcd/blockchain", - "github.com/btcsuite/btcd/btcec", - "github.com/btcsuite/btcd/btcjson", - "github.com/btcsuite/btcd/chaincfg", - "github.com/btcsuite/btcd/chaincfg/chainhash", - "github.com/btcsuite/btcd/connmgr", - "github.com/btcsuite/btcd/integration/rpctest", - "github.com/btcsuite/btcd/rpcclient", - "github.com/btcsuite/btcd/txscript", - "github.com/btcsuite/btcd/wire", - "github.com/btcsuite/btclog", - "github.com/btcsuite/btcutil", - "github.com/btcsuite/btcutil/bech32", - "github.com/btcsuite/btcutil/gcs/builder", - "github.com/btcsuite/btcutil/hdkeychain", - "github.com/btcsuite/btcutil/txsort", - "github.com/btcsuite/btcwallet/chain", - "github.com/btcsuite/btcwallet/snacl", - "github.com/btcsuite/btcwallet/waddrmgr", - "github.com/btcsuite/btcwallet/wallet", - "github.com/btcsuite/btcwallet/wallet/txrules", - "github.com/btcsuite/btcwallet/walletdb", - "github.com/btcsuite/btcwallet/walletdb/bdb", - "github.com/btcsuite/btcwallet/wtxmgr", - "github.com/btcsuite/fastsha256", - "github.com/coreos/bbolt", - "github.com/davecgh/go-spew/spew", - "github.com/go-errors/errors", - "github.com/golang/protobuf/jsonpb", - "github.com/golang/protobuf/proto", - "github.com/grpc-ecosystem/grpc-gateway/runtime", - "github.com/grpc-ecosystem/grpc-gateway/utilities", - "github.com/jackpal/gateway", - "github.com/jackpal/go-nat-pmp", - "github.com/jessevdk/go-flags", - "github.com/jrick/logrotate/rotator", - "github.com/kkdai/bstream", - "github.com/lightninglabs/neutrino", - "github.com/lightningnetwork/lightning-onion", - "github.com/ltcsuite/ltcd/chaincfg", - "github.com/ltcsuite/ltcd/wire", - "github.com/miekg/dns", - "github.com/tv42/zbase32", - "github.com/urfave/cli", - "golang.org/x/crypto/chacha20poly1305", - "golang.org/x/crypto/hkdf", - "golang.org/x/crypto/ripemd160", - "golang.org/x/crypto/salsa20", - "golang.org/x/crypto/scrypt", - "golang.org/x/crypto/ssh/terminal", - "golang.org/x/net/context", - "golang.org/x/net/proxy", - "golang.org/x/time/rate", - "google.golang.org/genproto/googleapis/api/annotations", - "google.golang.org/grpc", - "google.golang.org/grpc/codes", - "google.golang.org/grpc/credentials", - "google.golang.org/grpc/grpclog", - "google.golang.org/grpc/metadata", - "google.golang.org/grpc/peer", - "google.golang.org/grpc/status", - "gopkg.in/macaroon-bakery.v2/bakery", - "gopkg.in/macaroon-bakery.v2/bakery/checkers", - "gopkg.in/macaroon.v2", - ] - solver-name = "gps-cdcl" - solver-version = 1 diff --git a/Gopkg.toml b/Gopkg.toml deleted file mode 100644 index 978efa5a7..000000000 --- a/Gopkg.toml +++ /dev/null @@ -1,127 +0,0 @@ -[[override]] - name = "github.com/aead/siphash" - revision = "83563a290f60225eb120d724600b9690c3fb536f" - -[[constraint]] - name = "github.com/btcsuite/btclog" - revision = "84c8d2346e9fc8c7b947e243b9c24e6df9fd206a" - -[[constraint]] - name = "github.com/coreos/bbolt" - revision = "4f5275f4ebbf6fe7cb772de987fa96ee674460a7" - -[[constraint]] - name = "github.com/davecgh/go-spew" - revision = "8991bc29aa16c548c550c7ff78260e27b9ab7c73" - -[[constraint]] - name = "github.com/go-errors/errors" - revision = "a6af135bd4e28680facf08a3d206b454abc877a4" - -[[constraint]] - name = "github.com/golang/protobuf" - revision = "bbd03ef6da3a115852eaf24c8a1c46aeb39aa175" - -[[constraint]] - name = "github.com/grpc-ecosystem/grpc-gateway" - revision = "f2862b476edcef83412c7af8687c9cd8e4097c0f" - -[[constraint]] - name = "github.com/jackpal/go-nat-pmp" - revision = "28a68d0c24adce1da43f8df6a57340909ecd7fdd" - -[[constraint]] - name = "github.com/jessevdk/go-flags" - revision = "f88afde2fa19a30cf50ba4b05b3d13bc6bae3079" - -[[constraint]] - name = "github.com/jrick/logrotate" - revision = "a93b200c26cbae3bb09dd0dc2c7c7fe1468a034a" - -[[constraint]] - name = "github.com/kkdai/bstream" - revision = "f391b8402d23024e7c0f624b31267a89998fca95" - -[[constraint]] - name = "github.com/lightninglabs/neutrino" - revision = "9a42f7df21be82a69f04caa83bce4034dca72764" - -[[constraint]] - name = "github.com/lightningnetwork/lightning-onion" - revision = "ac4d9da8f1d67c95f1fafdc65e1a4902d6f5a940" - -[[constraint]] - name = "github.com/ltcsuite/ltcd" - revision = "cdab10132e8c6e4a3ffd112dba54791946d28906" - -[[constraint]] - name = "github.com/miekg/dns" - revision = "79bfde677fa81ff8d27c4330c35bda075d360641" - -[[constraint]] - name = "github.com/NebulousLabs/go-upnp" - revision = "29b680b06c82d044ebea91bf3069038eb562df2a" - -[[constraint]] - name = "github.com/btcsuite/btcutil" - revision = "ab6388e0c60ae4834a1f57511e20c17b5f78be4b" - -[[constraint]] - name = "github.com/btcsuite/btcd" - revision = "79e00513b1011888b1e675157ab89f527f901cae" - -[[constraint]] - name = "github.com/btcsuite/btcwallet" - revision = "7ad4f1e81d7831b5b4bc8597fe9db731fbb3be22" - -[[constraint]] - name = "github.com/tv42/zbase32" - revision = "501572607d0273fc75b3b261fa4904d63f6ffa0e" - -[[constraint]] - name = "github.com/urfave/cli" - revision = "1efa31f08b9333f1bd4882d61f9d668a70cd902e" - -[[constraint]] - name = "github.com/Yawning/aez" - revision = "4dad034d9db2caec23fb8f69b9160ae16f8d46a3" - -[[constraint]] - name = "golang.org/x/crypto" - revision = "614d502a4dac94afa3a6ce146bd1736da82514c6" - -[[constraint]] - name = "golang.org/x/net" - revision = "ae89d30ce0c63142b652837da33d782e2b0a9b25" - -[[override]] - name = "golang.org/x/sys" - revision = "ebe1bf3edb3325c393447059974de898d5133eb8" - -[[constraint]] - name = "golang.org/x/time" - revision = "fbb02b2291d28baffd63558aa44b4b56f178d650" - -[[constraint]] - name = "google.golang.org/genproto" - revision = "df60624c1e9b9d2973e889c7a1cff73155da81c4" - -[[constraint]] - name = "google.golang.org/grpc" - revision = "8dea3dc473e90c8179e519d91302d0597c0ca1d1" - -[[override]] - name = "gopkg.in/errgo.v1" - revision = "b20caedf0710d0988e92b5f2d76843ad1f231f2d" - -[[constraint]] - name = "gopkg.in/macaroon-bakery.v2" - revision = "94012773d2874a067572bd16d7d11ae02968b47b" - -[[constraint]] - name = "gopkg.in/macaroon.v2" - revision = "bed2a428da6e56d950bed5b41fcbae3141e5b0d0" - -[prune] - go-tests = true - unused-packages = true From ca28c0b5a14cae613d62c6bcff0ad94f2d592992 Mon Sep 17 00:00:00 2001 From: Olaoluwa Osuntokun Date: Wed, 28 Nov 2018 17:13:24 -0800 Subject: [PATCH 3/9] docs/MAKEFILE: remove dep section In this commit, we remove the dep section as we no longer use it, and instead use go modues. --- docs/MAKEFILE.md | 5 ----- 1 file changed, 5 deletions(-) diff --git a/docs/MAKEFILE.md b/docs/MAKEFILE.md index c7c60ecc7..0a798e4df 100644 --- a/docs/MAKEFILE.md +++ b/docs/MAKEFILE.md @@ -79,11 +79,6 @@ Removes compiled versions of both `./lnd` and `./lncli`, and removes the --------- Alias for [`scratch`](#scratch). -`dep` ------- -Ensures that [`github.com/golang/dep/cmd/dep`][dep] is installed, then -updates then dependencies in the `vendor` tree using `dep ensure`. - `flake-unit` ------------ Runs the unit test endlessly until a failure is detected. From f09a4daeb1bf4f5954af96f06906e7e9496af6ec Mon Sep 17 00:00:00 2001 From: Olaoluwa Osuntokun Date: Wed, 28 Nov 2018 17:14:22 -0800 Subject: [PATCH 4/9] docs/MAKEFILE: remove obsolete travis section In this commit, we remove the travis section as the directive has been removed from the makefile. --- docs/MAKEFILE.md | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/docs/MAKEFILE.md b/docs/MAKEFILE.md index 0a798e4df..0582a4fa1 100644 --- a/docs/MAKEFILE.md +++ b/docs/MAKEFILE.md @@ -137,16 +137,6 @@ Compiles all dependencies and builds the `./lnd` and `./lncli` binaries. Equivalent to [`lint`](#lint) [`dep`](#dep) [`btcd`](#btcd) [`unit-race`](#unit-race). -`travis` --------- -**Note**: This must be run with either `RACE=true` or `RACE=false`. -- `RACE=true` runs [`lint`](#lint) [`scratch`](#scratch) [`btcd`](#btcd) - [`unit-race`](#unit-race). -- `RACE=false` runs [`lint`](#lint) [`scratch`](#scratch) [`itest`](#itest) - [`unit-cover`](#unit-cover). Afterwards, - [`github.com/mattn/goveralls`][goveralls] is installed, and the coverage stats - are uploaded to [coveralls.io](https://coveralls.io). - `unit` ------ Runs the unit test suite. By default, this will run all known unit tests. From e6c22d658d337b59e1bac669c8aa226a36c65703 Mon Sep 17 00:00:00 2001 From: Olaoluwa Osuntokun Date: Wed, 28 Nov 2018 17:14:59 -0800 Subject: [PATCH 5/9] docs: update contribution guidelines to reference latest version of Go with '#' will be ignored, and an empty message aborts the commit. --- docs/code_contribution_guidelines.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/code_contribution_guidelines.md b/docs/code_contribution_guidelines.md index 5d93e0ab8..1aaad73ba 100644 --- a/docs/code_contribution_guidelines.md +++ b/docs/code_contribution_guidelines.md @@ -451,7 +451,7 @@ Rejoice as you will now be listed as a [contributor](https://github.com/lightnin #### 6.1. Contribution Checklist -- [  ] All changes are Go version 1.9 compliant +- [  ] All changes are Go version 1.11 compliant - [  ] The code being submitted is commented according to the [Code Documentation and Commenting](#CodeDocumentation) section - [  ] For new code: Code is accompanied by tests which exercise both From e5f4b7ca66b2869d938c47da1dd8cd9ec189894e Mon Sep 17 00:00:00 2001 From: Olaoluwa Osuntokun Date: Wed, 28 Nov 2018 17:15:32 -0800 Subject: [PATCH 6/9] travis: remove dep directive from travis, as we use go modules now --- .travis.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index efe8dfb93..568af1400 100644 --- a/.travis.yml +++ b/.travis.yml @@ -27,7 +27,6 @@ install: script: # Common for all builds. - - make dep - make btcd # Run linter if LINT=true. From e2e73379c7d9b3a71c6611d3736be2e59862c259 Mon Sep 17 00:00:00 2001 From: Olaoluwa Osuntokun Date: Wed, 28 Nov 2018 17:17:38 -0800 Subject: [PATCH 7/9] build: update makefile to be aware of go modules, remove dep support In this commit, we update the makefile to be aware of go modules. Along the way, we remove all references to dep as we no longer use it within this project. Note that in order to allow usage of go modules within the $GOPATH directory, we set the `GO111MODULE=on` environment variable. --- Makefile | 31 ++++++++++--------------------- 1 file changed, 10 insertions(+), 21 deletions(-) diff --git a/Makefile b/Makefile index 349686f58..7894d1206 100644 --- a/Makefile +++ b/Makefile @@ -1,20 +1,17 @@ PKG := github.com/lightningnetwork/lnd ESCPKG := github.com\/lightningnetwork\/lnd -DEP_PKG := github.com/golang/dep/cmd/dep BTCD_PKG := github.com/btcsuite/btcd GLIDE_PKG := github.com/Masterminds/glide GOVERALLS_PKG := github.com/mattn/goveralls LINT_PKG := gopkg.in/alecthomas/gometalinter.v2 GO_BIN := ${GOPATH}/bin -DEP_BIN := $(GO_BIN)/dep BTCD_BIN := $(GO_BIN)/btcd GLIDE_BIN := $(GO_BIN)/glide GOVERALLS_BIN := $(GO_BIN)/goveralls LINT_BIN := $(GO_BIN)/gometalinter.v2 -HAVE_DEP := $(shell command -v $(DEP_BIN) 2> /dev/null) HAVE_BTCD := $(shell command -v $(BTCD_BIN) 2> /dev/null) HAVE_GLIDE := $(shell command -v $(GLIDE_BIN) 2> /dev/null) HAVE_GOVERALLS := $(shell command -v $(GOVERALLS_BIN) 2> /dev/null) @@ -26,14 +23,15 @@ COMMIT := $(shell git describe --abbrev=40 --dirty) LDFLAGS := -ldflags "-X $(PKG)/build.Commit=$(COMMIT)" GLIDE_COMMIT := 84607742b10f492430762d038e954236bbaf23f7 -BTCD_COMMIT := $(shell cat Gopkg.toml | \ - grep -A1 $(BTCD_PKG) | \ +BTCD_COMMIT := $(shell cat go.sum | \ + grep $(BTCD_PKG) | \ tail -n1 | \ - awk '{ print $$3 }' | \ - tr -d '"') + awk -F " " '{ print $$2 }' | \ + awk -F "-" '{ print $$3 }' | \ + awk -F "/" '{ print $$1 }') -GOBUILD := go build -v -GOINSTALL := go install -v +GOBUILD := GO111MODULE=on go build -v +GOINSTALL := GO111MODULE=on go install -v GOTEST := go test -v GOLIST := go list $(PKG)/... | grep -v '/vendor/' @@ -93,10 +91,6 @@ all: scratch check install # DEPENDENCIES # ============ -$(DEP_BIN): - @$(call print, "Fetching dep.") - go get -u $(DEP_PKG) - $(GLIDE_BIN): @$(call print, "Fetching glide.") go get -d $(GLIDE_PKG) @@ -111,10 +105,6 @@ $(LINT_BIN): @$(call print, "Fetching gometalinter.v2") go get -u $(LINT_PKG) -dep: $(DEP_BIN) - @$(call print, "Compiling dependencies.") - dep ensure -v - $(BTCD_DIR): @$(call print, "Fetching btcd.") go get -d github.com/btcsuite/btcd @@ -137,10 +127,10 @@ build: install: @$(call print, "Installing lnd and lncli.") - go install -v -tags="$(PROD_TAGS)" $(LDFLAGS) $(PKG) - go install -v -tags="$(PROD_TAGS)" $(LDFLAGS) $(PKG)/cmd/lncli + $(GOINSTALL) -tags="$(PROD_TAGS)" $(LDFLAGS) $(PKG) + $(GOINSTALL) -tags="$(PROD_TAGS)" $(LDFLAGS) $(PKG)/cmd/lncli -scratch: dep build +scratch: build # ======= @@ -219,7 +209,6 @@ clean: .PHONY: all \ btcd \ default \ - dep \ build \ install \ scratch \ From f65b1a4d6e515e9237cfe5dfa71b8f46dc4081c6 Mon Sep 17 00:00:00 2001 From: Olaoluwa Osuntokun Date: Wed, 28 Nov 2018 17:18:21 -0800 Subject: [PATCH 8/9] travis: force go modules support in $GOPATH, cache modules directory --- .travis.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.travis.yml b/.travis.yml index 568af1400..6b4b61c6c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,6 +3,7 @@ cache: directories: - vendor/ - $GOCACHE + - $GOPATH/pkg/mod - $GOPATH/src/github.com/btcsuite - $GOPATH/src/github.com/golang - $GOPATH/src/gopkg.in/alecthomas @@ -26,6 +27,8 @@ install: - export PATH=$PATH:$PWD/linux-amd64/ script: + - env GO111MODULE=on + # Common for all builds. - make btcd From eda45adb5b6d83651fe489ef1cb45865f21faff1 Mon Sep 17 00:00:00 2001 From: Olaoluwa Osuntokun Date: Wed, 28 Nov 2018 17:18:50 -0800 Subject: [PATCH 9/9] docs: update docs to reflect new go modules usage and building --- docs/INSTALL.md | 29 ++++++++++++++--------------- 1 file changed, 14 insertions(+), 15 deletions(-) diff --git a/docs/INSTALL.md b/docs/INSTALL.md index fe837a6a8..bd4f1b18e 100644 --- a/docs/INSTALL.md +++ b/docs/INSTALL.md @@ -7,7 +7,7 @@ * **Go:** `lnd` is written in Go. To install, run one of the following commands: - **Note**: The minimum version of Go supported is Go 1.10. We recommend that + **Note**: The minimum version of Go supported is Go 1.11. We recommend that users use the latest version of Go, which at the time of writing is [`1.11`](https://blog.golang.org/go1.11). @@ -16,9 +16,9 @@ ``` sudo apt-get install golang-1.11-go ``` - > Note that golang-1.10-go puts binaries in /usr/lib/go-1.10/bin. If you want them on your PATH, you need to make that change yourself. Alternatively, you can run: + > Note that golang-1.11-go puts binaries in /usr/lib/go-1.11/bin. If you want them on your PATH, you need to make that change yourself. Alternatively, you can run: ``` - sudo ln -s /usr/lib/go-1.10/bin/go /usr/local/bin/go + sudo ln -s /usr/lib/go-1.11/bin/go /usr/local/bin/go ``` On Mac OS X: @@ -49,15 +49,12 @@ We recommend placing the above in your .bashrc or in a setup script so that you can avoid typing this every time you open a new terminal window. - * **dep:** This project uses `dep` to manage dependencies as well - as to provide *reproducible builds*. + * **go modules:** This project uses [go modules](https://github.com/golang/go/wiki/Modules) + to manage dependencies as well as to provide *reproducible builds*. - **Note**: `dep` is automatically installed via the `make`. To fetch `dep` - manually, use the following command (assumes you already have Go properly - installed): - ``` - go get -u github.com/golang/dep/cmd/dep - ``` + Usage of go modules (with go 1.11) means that you no longer need to clone + `lnd` into your `$GOPATH` for development purposes. Instead, your `lnd` + repo can now live anywhere! ### Installing lnd @@ -69,6 +66,10 @@ cd $GOPATH/src/github.com/lightningnetwork/lnd make && make install ``` +**NOTE**: Our instructions still use the `$GOPATH` directory from prior +versions of Go, but with go 1.11, it's now possible for `lnd` to live +_anywhere_ on your file system. + For Windows WSL users, make will need to be referenced directly via /usr/bin/make/, or alternatively by wrapping quotation marks around make, like so: @@ -84,8 +85,7 @@ On FreeBSD, use gmake instead of make. Alternatively, if one doesn't wish to use `make`, then the `go` commands can be used directly: ``` -dep ensure -v -go install -v ./... +GO111MODULE=on go install -v ./... ``` **Updating** @@ -105,8 +105,7 @@ used directly: ``` cd $GOPATH/src/github.com/lightningnetwork/lnd git pull -dep ensure -v -go install -v ./... +GO111MODULE=on go install -v ./... ``` **Tests**