github.com/decred/dcrlnd@v0.7.6/channeldb/README.md (about)

     1  channeldb
     2  ==========
     3  
     4  [![Build Status](http://img.shields.io/travis/decred/dcrlnd.svg)](https://travis-ci.org/decred/dcrlnd) 
     5  [![MIT licensed](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/decred/dcrlnd/blob/master/LICENSE)
     6  [![GoDoc](https://img.shields.io/badge/godoc-reference-blue.svg)](http://godoc.org/github.com/decred/dcrlnd/channeldb)
     7  
     8  The channeldb implements the persistent storage engine for `lnd` and
     9  generically a data storage layer for the required state within the Lightning
    10  Network. The backing storage engine is
    11  [boltdb](https://github.com/coreos/bbolt), an embedded pure-go key-value store
    12  based off of LMDB.
    13  
    14  The package implements an object-oriented storage model with queries and
    15  mutations flowing through a particular object instance rather than the database
    16  itself. The storage implemented by the objects includes: open channels, past
    17  commitment revocation states, the channel graph which includes authenticated
    18  node and channel announcements, outgoing payments, and invoices
    19  
    20  ## Installation and Updating
    21  
    22  ```bash
    23  $ go get -u github.com/decred/dcrlnd/channeldb
    24  ```