lnd.xprv/channeldb
Olaoluwa Osuntokun e0d94b545c
channeldb: return true for HasChannelEdge unconditionally if edge exists
This commit modifies the HasChannelEdge function to _always_ return
true if we know of the channel edge, meaning that it was previously
added on announce.

This change fixes a minor bug present in the code which would result in
extraneous re-transmissions of updates received by the new routing
package.
2016-12-27 16:44:15 -08:00
..
channel_test.go channeldb: Open is no longer dependant on a specific set of chain params 2016-12-27 16:43:19 -08:00
channel.go channeldb: add HasLightningNode+HasChannelEdge methods to ChannelGraph 2016-12-27 16:43:29 -08:00
db_test.go channeldb: Open is no longer dependant on a specific set of chain params 2016-12-27 16:43:19 -08:00
db.go channeldb: ensure the edge index bucket is created during creation 2016-12-27 16:44:10 -08: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 support for channel graph pruning 2016-12-27 16:43:12 -08:00
fees.go channeldb: create new channeldb package, update lnwallet to use new API 2015-12-26 12:35:15 -06:00
graph_test.go channeldb: add method to lookup a channel ID by it's funding outpoint 2016-12-27 16:44:13 -08:00
graph.go channeldb: return true for HasChannelEdge unconditionally if edge exists 2016-12-27 16:44:15 -08:00
invoice_test.go channeldb: ensure the cleanUp func is always run during tests 2016-12-27 16:43:17 -08:00
invoices.go channeldb: refactor payments code 2016-12-27 16:42:56 -08:00
log.go multi: create lnd's logging infrastructure 2016-03-22 18:43:10 -07:00
meta_test.go channeldb: ensure the cleanUp func is always run during tests 2016-12-27 16:43:17 -08:00
meta.go channeldb: slightly refactor the [Fetch|Put]Meta methods 2016-11-27 18:44:23 -08:00
nodes_test.go channeldb: add bucket for storing p2p counterparty meta-data 2016-10-25 16:06:32 -07:00
nodes.go channeldb: properly check for a nil bucket when fetching LinkNodes 2016-12-14 17:49:11 -08:00
payments_test.go channeldb: refactor payments code 2016-12-27 16:42:56 -08:00
payments.go channeldb: refactor payments code 2016-12-27 16:42:56 -08:00