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" "sync/atomic"
"time" "time"
"github.com/boltdb/bolt" "github.com/coreos/bbolt"
"github.com/lightningnetwork/lnd/channeldb" "github.com/lightningnetwork/lnd/channeldb"
"github.com/lightningnetwork/lnd/lnwire" "github.com/lightningnetwork/lnd/lnwire"
"github.com/roasbeef/btcd/btcec" "github.com/roasbeef/btcd/btcec"

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

@ -8,7 +8,7 @@ channeldb
The channeldb implements the persistent storage engine for `lnd` and The channeldb implements the persistent storage engine for `lnd` and
generically a data storage layer for the required state within the Lightning generically a data storage layer for the required state within the Lightning
Network. The backing storage engine is 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. based off of LMDB.
The package implements an object-oriented storage model with queries and The package implements an object-oriented storage model with queries and

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

16
glide.lock generated

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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