build+multi: switch from bolt to bbolt

In this commit, we switch from boltbd/bolt to coreos/bbolt as the
former is no longer being actively maintained.
This commit is contained in:
Olaoluwa Osuntokun 2018-03-10 19:00:57 -08:00
parent 602048ae5c
commit 800eea931f
No known key found for this signature in database
GPG Key ID: 964EA263DD637C21
36 changed files with 47 additions and 47 deletions

@ -7,7 +7,7 @@ import (
"sync/atomic"
"time"
"github.com/boltdb/bolt"
"github.com/coreos/bbolt"
"github.com/lightningnetwork/lnd/channeldb"
"github.com/lightningnetwork/lnd/lnwire"
"github.com/roasbeef/btcd/btcec"

@ -8,7 +8,7 @@ import (
"sync"
"sync/atomic"
"github.com/boltdb/bolt"
"github.com/coreos/bbolt"
"github.com/davecgh/go-spew/spew"
"github.com/lightningnetwork/lnd/chainntnfs"
"github.com/lightningnetwork/lnd/channeldb"

@ -8,7 +8,7 @@ channeldb
The channeldb implements the persistent storage engine for `lnd` and
generically a data storage layer for the required state within the Lightning
Network. The backing storage engine is
[boltdb](https://github.com/boltdb/bolt), an embedded pure-go key-value store
[boltdb](https://github.com/coreos/bbolt), an embedded pure-go key-value store
based off of LMDB.
The package implements an object-oriented storage model with queries and

@ -8,7 +8,7 @@ import (
"net"
"sync"
"github.com/boltdb/bolt"
"github.com/coreos/bbolt"
"github.com/lightningnetwork/lnd/keychain"
"github.com/lightningnetwork/lnd/lnwire"
"github.com/lightningnetwork/lnd/shachain"

@ -8,7 +8,7 @@ import (
"path/filepath"
"sync"
"github.com/boltdb/bolt"
"github.com/coreos/bbolt"
"github.com/go-errors/errors"
"github.com/roasbeef/btcd/btcec"
"github.com/roasbeef/btcd/wire"

@ -6,7 +6,7 @@ import (
"sort"
"time"
"github.com/boltdb/bolt"
"github.com/coreos/bbolt"
"github.com/lightningnetwork/lnd/lnwire"
)

@ -6,7 +6,7 @@ import (
"fmt"
"io"
"github.com/boltdb/bolt"
"github.com/coreos/bbolt"
"github.com/go-errors/errors"
"github.com/lightningnetwork/lnd/lnwire"
)

@ -7,7 +7,7 @@ import (
"runtime"
"testing"
"github.com/boltdb/bolt"
"github.com/coreos/bbolt"
"github.com/lightningnetwork/lnd/channeldb"
"github.com/lightningnetwork/lnd/lnwire"
"github.com/roasbeef/btcd/wire"

@ -10,7 +10,7 @@ import (
"net"
"time"
"github.com/boltdb/bolt"
"github.com/coreos/bbolt"
"github.com/lightningnetwork/lnd/lnwire"
"github.com/roasbeef/btcd/btcec"
"github.com/roasbeef/btcd/chaincfg/chainhash"

@ -14,7 +14,7 @@ import (
"testing"
"time"
"github.com/boltdb/bolt"
"github.com/coreos/bbolt"
"github.com/davecgh/go-spew/spew"
"github.com/lightningnetwork/lnd/lnwire"
"github.com/roasbeef/btcd/btcec"

@ -8,7 +8,7 @@ import (
"io"
"time"
"github.com/boltdb/bolt"
"github.com/coreos/bbolt"
"github.com/lightningnetwork/lnd/lnwire"
"github.com/roasbeef/btcd/wire"
)

@ -1,7 +1,7 @@
package channeldb
import (
"github.com/boltdb/bolt"
"github.com/coreos/bbolt"
)
var (

@ -4,7 +4,7 @@ import (
"bytes"
"testing"
"github.com/boltdb/bolt"
"github.com/coreos/bbolt"
"github.com/go-errors/errors"
)

@ -6,7 +6,7 @@ import (
"net"
"time"
"github.com/boltdb/bolt"
"github.com/coreos/bbolt"
"github.com/roasbeef/btcd/btcec"
"github.com/roasbeef/btcd/wire"
)

@ -5,7 +5,7 @@ import (
"encoding/binary"
"io"
"github.com/boltdb/bolt"
"github.com/coreos/bbolt"
"github.com/lightningnetwork/lnd/lnwire"
)

@ -7,7 +7,7 @@ import (
"bytes"
"github.com/boltdb/bolt"
"github.com/coreos/bbolt"
"github.com/go-errors/errors"
"github.com/lightningnetwork/lnd/lnwire"
)

@ -4,7 +4,7 @@ import (
"crypto/sha256"
"fmt"
"github.com/boltdb/bolt"
"github.com/coreos/bbolt"
)
var (

@ -6,7 +6,7 @@ import (
"fmt"
"io"
"github.com/boltdb/bolt"
"github.com/coreos/bbolt"
"github.com/lightningnetwork/lnd/channeldb"
"github.com/lightningnetwork/lnd/lnwallet"
"github.com/roasbeef/btcd/chaincfg/chainhash"

@ -10,7 +10,7 @@ import (
prand "math/rand"
"github.com/boltdb/bolt"
"github.com/coreos/bbolt"
"github.com/davecgh/go-spew/spew"
"github.com/lightningnetwork/lnd/channeldb"
"github.com/lightningnetwork/lnd/lnwallet"

@ -9,7 +9,7 @@ import (
"sync/atomic"
"time"
"github.com/boltdb/bolt"
"github.com/coreos/bbolt"
"github.com/davecgh/go-spew/spew"
"github.com/go-errors/errors"
"github.com/lightningnetwork/lnd/chainntnfs"

@ -12,7 +12,7 @@ import (
"golang.org/x/crypto/salsa20"
"github.com/boltdb/bolt"
"github.com/coreos/bbolt"
"github.com/davecgh/go-spew/spew"
"github.com/go-errors/errors"
"github.com/lightningnetwork/lnd/chainntnfs"

16
glide.lock generated

@ -1,5 +1,5 @@
hash: fc72dd5b6c928784fccc85a36392bd230a1c6c8dda0179e2d77b0346e5047958
updated: 2018-03-10T16:40:14.507372914-08:00
hash: c214d062c3fd6f1fe3596c3a7bbe8f456308c7123c0868a5e13d21c9c223480a
updated: 2018-03-10T18:59:00.939821514-08:00
imports:
- name: git.schwanenlied.me/yawning/bsaes.git
version: e06297f34865a50b8e473105e52cb64ad1b55da8
@ -22,8 +22,6 @@ imports:
- lexer
- parser
- token
- name: github.com/boltdb/bolt
version: 2f1ce7a837dcb8da3ec595b1dac9d0632f0f99e8
- name: github.com/btcsuite/btclog
version: 84c8d2346e9fc8c7b947e243b9c24e6df9fd206a
- name: github.com/btcsuite/fastsha256
@ -44,6 +42,8 @@ imports:
- ssh/terminal
- name: github.com/btcsuite/websocket
version: 31079b6807923eb23992c421b114992b95131b55
- name: github.com/coreos/bbolt
version: 4f5275f4ebbf6fe7cb772de987fa96ee674460a7
- name: github.com/davecgh/go-spew
version: 346938d642f2ec3594ed81d874461961cd0faa76
subpackages:
@ -67,7 +67,7 @@ imports:
- name: github.com/howeyc/gopass
version: bf9dde6d0d2c004a008c27aaee91170c786f6db8
- name: github.com/jessevdk/go-flags
version: f88afde2fa19a30cf50ba4b05b3d13bc6bae3079
version: 1679536dcc895411a9f5848d9a0250be7856448c
- name: github.com/jrick/logrotate
version: a93b200c26cbae3bb09dd0dc2c7c7fe1468a034a
subpackages:
@ -79,12 +79,12 @@ imports:
- name: github.com/lightninglabs/gozmq
version: 0d266ba6d55ea65c18c7a02d8992c89355149e80
- name: github.com/lightninglabs/neutrino
version: c933ad49936ac3e5bc1b42e855f2da69745e34cc
version: 601b7eda6e5c9e8ca91c097f0bb7be2664802ab3
subpackages:
- filterdb
- headerfs
- name: github.com/lightningnetwork/lightning-onion
version: efe4c3416ea16d52510edb0ac98764ff0796cc9a
version: 6d4b1353e2835def84ee240f40499464521c6046
- name: github.com/ltcsuite/ltcd
version: 5f654d5faab99ee2b3488fabba98e5f7a5257ee3
subpackages:
@ -126,7 +126,7 @@ imports:
- hdkeychain
- txsort
- name: github.com/roasbeef/btcwallet
version: b3efdffeccf966d294b87f05d760d3946afcfe0c
version: 46f7390abe89576059b52588d91b82212e753493
subpackages:
- chain
- internal/helpers

@ -1,7 +1,7 @@
package: github.com/lightningnetwork/lnd
import:
- package: github.com/boltdb/bolt
version: ^1.2.1
- package: github.com/coreos/bbolt
version: 4f5275f4ebbf6fe7cb772de987fa96ee674460a7
- package: github.com/btcsuite/btclog
version: 84c8d2346e9fc8c7b947e243b9c24e6df9fd206a
- package: github.com/jessevdk/go-flags
@ -36,7 +36,7 @@ import:
- hdkeychain
- txsort
- package: github.com/roasbeef/btcwallet
version: b3efdffeccf966d294b87f05d760d3946afcfe0c
version: 46f7390abe89576059b52588d91b82212e753493
subpackages:
- chain
- waddrmgr
@ -59,7 +59,7 @@ import:
- package: google.golang.org/grpc
version: b3ddf786825de56a4178401b7e174ee332173b66
- package: github.com/lightningnetwork/lightning-onion
version: efe4c3416ea16d52510edb0ac98764ff0796cc9a
version: 6d4b1353e2835def84ee240f40499464521c6046
- package: github.com/grpc-ecosystem/grpc-gateway
version: f2862b476edcef83412c7af8687c9cd8e4097c0f
- package: github.com/go-errors/errors
@ -74,7 +74,7 @@ import:
subpackages:
- chaincfg
- package: github.com/lightninglabs/neutrino
version: c933ad49936ac3e5bc1b42e855f2da69745e34cc
version: 601b7eda6e5c9e8ca91c097f0bb7be2664802ab3
- package: gopkg.in/macaroon.v2
- package: gopkg.in/macaroon-bakery.v2
- package: github.com/juju/loggo

@ -5,7 +5,7 @@ import (
"fmt"
"sync"
"github.com/boltdb/bolt"
"github.com/coreos/bbolt"
"github.com/go-errors/errors"
"github.com/lightningnetwork/lnd/channeldb"
"github.com/lightningnetwork/lnd/lnwire"

@ -3,7 +3,7 @@ package htlcswitch
import (
"sync"
"github.com/boltdb/bolt"
"github.com/coreos/bbolt"
"github.com/go-errors/errors"
"github.com/lightningnetwork/lnd/channeldb"
)

@ -9,7 +9,7 @@ import (
"crypto/sha256"
"github.com/boltdb/bolt"
"github.com/coreos/bbolt"
"github.com/davecgh/go-spew/spew"
"github.com/roasbeef/btcd/btcec"

@ -14,7 +14,7 @@ import (
"testing"
"time"
"github.com/boltdb/bolt"
"github.com/coreos/bbolt"
"github.com/btcsuite/fastsha256"
"github.com/go-errors/errors"
"github.com/lightningnetwork/lightning-onion"

@ -16,7 +16,7 @@ import (
"testing"
"time"
"github.com/boltdb/bolt"
"github.com/coreos/bbolt"
"github.com/davecgh/go-spew/spew"
"github.com/lightninglabs/neutrino"

@ -14,7 +14,7 @@ import (
"golang.org/x/net/context"
"github.com/boltdb/bolt"
"github.com/coreos/bbolt"
)
var (

@ -7,7 +7,7 @@ import (
"golang.org/x/net/context"
"github.com/boltdb/bolt"
"github.com/coreos/bbolt"
"github.com/roasbeef/btcwallet/snacl"
)

@ -7,7 +7,7 @@ import (
"path"
"testing"
"github.com/boltdb/bolt"
"github.com/coreos/bbolt"
"github.com/lightningnetwork/lnd/macaroons"

@ -5,7 +5,7 @@ import (
"errors"
"fmt"
"github.com/boltdb/bolt"
"github.com/coreos/bbolt"
"github.com/lightningnetwork/lnd/channeldb"
"github.com/roasbeef/btcd/chaincfg/chainhash"
"github.com/roasbeef/btcd/wire"

@ -8,7 +8,7 @@ import (
"container/heap"
"github.com/boltdb/bolt"
"github.com/coreos/bbolt"
"github.com/lightningnetwork/lightning-onion"
"github.com/lightningnetwork/lnd/channeldb"
"github.com/lightningnetwork/lnd/lnwire"

@ -9,7 +9,7 @@ import (
"sync/atomic"
"time"
"github.com/boltdb/bolt"
"github.com/coreos/bbolt"
"github.com/davecgh/go-spew/spew"
"github.com/lightningnetwork/lnd/channeldb"
"github.com/lightningnetwork/lnd/htlcswitch"

@ -18,7 +18,7 @@ import (
"sync"
"sync/atomic"
"github.com/boltdb/bolt"
"github.com/coreos/bbolt"
"github.com/davecgh/go-spew/spew"
"github.com/lightningnetwork/lnd/channeldb"
"github.com/lightningnetwork/lnd/htlcswitch"

@ -15,7 +15,7 @@ import (
"sync/atomic"
"time"
"github.com/boltdb/bolt"
"github.com/coreos/bbolt"
"github.com/lightningnetwork/lightning-onion"
"github.com/lightningnetwork/lnd/autopilot"
"github.com/lightningnetwork/lnd/brontide"