lnd.xprv/channeldb
Olaoluwa Osuntokun cb328e65c4
channeldb: switch to using a full public key to identity channel->node
This commit slightly modifies the existing structure of the channeldb
scheme to replace the former concept of a “nodeID” with simply the
compressed public key of the remote node. This change paves the way for
adding useful indexes mapping a node to all it’s active channels and
the other way around.

Additionally, the current channeldb code was written before it was
agreed by many of those implementing Lightning that a node’s ID will
simply be its compressed public key.
2016-10-25 16:11:30 -07:00
..
channel_test.go channeldb: switch to using a full public key to identity channel->node 2016-10-25 16:11:30 -07:00
channel.go channeldb: switch to using a full public key to identity channel->node 2016-10-25 16:11:30 -07:00
db_test.go channeldb: remove hardcoded netparams 2016-04-24 12:35:52 -07:00
db.go channeldb: switch to using a full public key to identity channel->node 2016-10-25 16:11:30 -07:00
doc.go channeldb: create new channeldb package, update lnwallet to use new API 2015-12-26 12:35:15 -06:00
error.go channeldb: add bucket for storing p2p counterparty meta-data 2016-10-25 16:06:32 -07:00
fees.go channeldb: create new channeldb package, update lnwallet to use new API 2015-12-26 12:35:15 -06:00
invoice_test.go channeldb: store optional invoice fields as variable length byte arrays 2016-09-23 15:15:26 -07:00
invoices.go channeldb: store optional invoice fields as variable length byte arrays 2016-09-23 15:15:26 -07:00
log.go multi: create lnd's logging infrastructure 2016-03-22 18:43:10 -07:00
nodes_test.go channeldb: add bucket for storing p2p counterparty meta-data 2016-10-25 16:06:32 -07:00
nodes.go channeldb: add bucket for storing p2p counterparty meta-data 2016-10-25 16:06:32 -07:00
route.go channeldb: create new channeldb package, update lnwallet to use new API 2015-12-26 12:35:15 -06:00