-
e0d94b545c
channeldb: return true for HasChannelEdge unconditionally if edge exists
Olaoluwa Osuntokun
2016-12-26 22:00:35 -06:00
-
1103e252be
channeldb: add method to lookup a channel ID by it's funding outpoint
Olaoluwa Osuntokun
2016-12-26 21:52:03 -06:00
-
68ed4f3661
channeldb: ensure the edge index bucket is created during creation
Olaoluwa Osuntokun
2016-12-26 21:50:23 -06:00
-
f8711659e6
chainntnfs/btcdnotify: populate full conf details for historical dispatch
Olaoluwa Osuntokun
2016-12-26 21:45:01 -06:00
-
6e2fb4e60d
lnd: minor typo fixes
Olaoluwa Osuntokun
2016-12-24 18:51:25 -06:00
-
0313dcfc89
lnwallet: thread through tx conf details in ChannelReservation.DispatchChan()
Olaoluwa Osuntokun
2016-12-24 18:47:09 -06:00
-
702f214972
utxonursery: update inner loop to use new ChainNotifier API
Olaoluwa Osuntokun
2016-12-24 18:44:10 -06:00
-
a09db60a1f
chainntnfs/btcdnotify: update BtcdNotifer to recent ChainNotifier API change
Olaoluwa Osuntokun
2016-12-24 18:42:13 -06:00
-
00b0c273da
chainntnfs: ConfirmationEvent now returns details of tx confirmation
Olaoluwa Osuntokun
2016-12-24 18:39:30 -06:00
-
42c90794ac
channeldb: return proper error in ChannelGraph.ForEachChannel()
Olaoluwa Osuntokun
2016-12-24 18:29:49 -06:00
-
4a0a657eb0
lnwallet/btcwallet: fix bug in implementation of GetUxo
Olaoluwa Osuntokun
2016-12-24 18:26:44 -06:00
-
78ce39692e
lnwire: remove channel graph announcement validation tests
Olaoluwa Osuntokun
2016-12-24 16:57:59 -06:00
-
e5490b55f4
lnwire: modify Alias to only track the non-zero portion of wire msg
Olaoluwa Osuntokun
2016-12-24 16:55:31 -06:00
-
16388aba00
lnwire: temporarily disable chan/node announcement validation
Olaoluwa Osuntokun
2016-12-24 14:58:26 -06:00
-
b85c1c3b2a
lnd: correct minor typo in error message if server fails to start
Olaoluwa Osuntokun
2016-12-24 14:50:16 -06:00
-
1b0a0b6538
lnwire: add tests to check payload estimates for channel announcements
Olaoluwa Osuntokun
2016-12-24 14:49:52 -06:00
-
3dc8cd5659
lnwire: correct max payload estimate for NodeAnnouncement, add test
Olaoluwa Osuntokun
2016-12-24 14:46:42 -06:00
-
4790ce96a8
lnwallet: public expose funding keys in channel state machine
Olaoluwa Osuntokun
2016-12-22 13:27:28 -08:00
-
b49d2827a2
lnwallet/btcwallet: add compile-time interface assertions for Signer+BlockChainIO
Olaoluwa Osuntokun
2016-12-22 12:53:20 -08:00
-
000c334e63
channeldb: add HasLightningNode+HasChannelEdge methods to ChannelGraph
Olaoluwa Osuntokun
2016-12-22 12:49:30 -08:00
-
782fc61dc1
lnwallet+lnrpc: convert GetCurrentHeight to GetBestBlock in BlockChainIO
Olaoluwa Osuntokun
2016-12-22 12:34:51 -08:00
-
3d32c4e90e
lnwire: separate ChannelID into a distinct struct, add tests
Olaoluwa Osuntokun
2016-12-22 12:24:48 -08:00
-
5ee201e712
lnwire: embed ChannelID within the announcement structs rather than pointer
Olaoluwa Osuntokun
2016-12-22 12:17:24 -08:00
-
597b4ee3d3
channeldb: Open is no longer dependant on a specific set of chain params
Olaoluwa Osuntokun
2016-12-22 12:09:19 -08:00
-
587bde5636
channeldb: ensure the cleanUp func is always run during tests
Olaoluwa Osuntokun
2016-12-22 12:04:41 -08:00
-
326c62c6b5
peer: ensure queueMsg won't create deadlock if peer shutting down
Olaoluwa Osuntokun
2016-12-19 17:00:18 -08:00
-
12538ea922
channeldb: add support for channel graph pruning
Olaoluwa Osuntokun
2016-12-19 16:58:27 -08:00
-
cbd26b35e0
channeldb: deleting a channel twice no longer triggers an error
Olaoluwa Osuntokun
2016-12-19 16:49:42 -08:00
-
ddc1eb4c8a
lnwallet: correct comment for logging object
Olaoluwa Osuntokun
2016-12-18 22:14:01 -08:00
-
1119d75996
lnwallet: add additional BlockChainIO methods
Andrey Samokhvalov
2016-12-07 18:49:58 +03:00
-
b440005219
lnwire: add ChannelAnnoucement,NodeAnnoucement,ChannelUpdateAnnoucement messages
Andrey Samokhvalov
2016-12-07 18:46:22 +03:00
-
d5423f007d
channeldb: add option to re-use existing db transaction for graph traversals
Olaoluwa Osuntokun
2016-12-14 18:57:46 -08:00
-
1c7f87c3f1
channeldb: refactor payments code
BitfuryLightning
2016-12-21 04:19:01 -05:00
-
eb4d0e035e
channeldb: save outgoing payments
BitfuryLightning
2016-12-05 06:59:36 -05:00
-
343cd7779f
utxonursery: use a two value read from the epoch chan for graceful shutdown
Olaoluwa Osuntokun
2016-12-15 13:55:15 -08:00
-
f29b496b76
chainntfns/btcdnotify: close channels for all epoch clients on shutdown
Olaoluwa Osuntokun
2016-12-15 13:53:36 -08:00
-
a88b093843
test: due to persistent conn retry, don't consider already connected an error
Olaoluwa Osuntokun
2016-12-14 18:24:01 -08:00
-
e6a0b7bef6
build: update glide to include the connmgr
Olaoluwa Osuntokun
2016-12-14 18:12:29 -08:00
-
bd89a9312d
lnd: switch to using the connmgr for listening and persistent conns
Olaoluwa Osuntokun
2016-12-14 18:11:31 -08:00
-
89326423dc
peer+htlcswitch: fix bandwidth update bug when using --debughtlc
Olaoluwa Osuntokun
2016-12-14 18:03:48 -08:00
-
e3e2ba342c
lnwallet: properly set nodeAddr during channel reservation init
Olaoluwa Osuntokun
2016-12-14 17:48:37 -08:00
-
29f1328948
channeldb: properly check for a nil bucket when fetching LinkNodes
Olaoluwa Osuntokun
2016-12-13 20:48:49 -08:00
-
ad180b4fba
brontide: fix bug in final sender/receiver key derivation
Olaoluwa Osuntokun
2016-12-13 11:31:47 -08:00
-
d01f1b5ff4
fundingmanager+lnwallet: add HTLC dust limit logic
Andrey Samokhvalov
2016-12-06 17:05:46 +03:00
-
c731156ac8
lnwire: add DustLimit to SingleFundingRequest and SingleFundingResponse
Andrey Samokhvalov
2016-12-06 17:12:21 +03:00
-
202fce5501
channeldb: add TheirDustLimit and OurDustLimit fields in OpenChannel
Andrey Samokhvalov
2016-12-06 17:03:14 +03:00
-
5a82240c6a
lnwire+lnwallet+fundingmanager: general improvements
Andrey Samokhvalov
2016-11-24 11:49:18 +03:00
-
a6f7f05323
test: update integration test helper funds to latest btcrpcclient API
Olaoluwa Osuntokun
2016-12-12 15:55:36 -08:00
-
d8e9a378e9
build: update glide to ensure the package hash verifies properly
Olaoluwa Osuntokun
2016-12-12 15:55:15 -08:00
-
e66824ed9b
lnrpc: compile protos with latest version of go-protobuf
Olaoluwa Osuntokun
2016-12-12 15:54:47 -08:00
-
ccf71100fd
chainntfns/btcdnotify: update to newest btcrpcclient interface
Olaoluwa Osuntokun
2016-12-12 15:35:25 -08:00
-
f61f3d0b71
rpcserver: populate block height, chain synced, and testnet in GetInfo
Olaoluwa Osuntokun
2016-12-12 15:34:47 -08:00
-
a011a3f414
lnrpc: add testnet bool to GetInfo RPC, remove lightning_id
Olaoluwa Osuntokun
2016-12-12 15:34:20 -08:00
-
61ddd48255
brontide: set the prologue value as specified within BOLT0008
Olaoluwa Osuntokun
2016-12-12 15:24:46 -08:00
-
b1d28426d5
brontide: properly pack nonce as 96-bit little endian value
Olaoluwa Osuntokun
2016-12-12 15:23:47 -08:00
-
fdb111e867
brontide: switch to using libsecp256k1's public ECDH API
Olaoluwa Osuntokun
2016-12-12 15:22:51 -08:00
-
a92017fe9a
lnrpc: rebuild protos
Olaoluwa Osuntokun
2016-12-08 18:33:24 -08:00
-
85defc3ec3
lnwallet: add new method IsSynced to the WalletController interface
Olaoluwa Osuntokun
2016-12-08 18:29:55 -08:00
-
1e3635b5aa
chainntnfs: properly account for partial historical confirmation dispatch
Olaoluwa Osuntokun
2016-12-08 16:15:58 -08:00
-
a20594b0bf
lnwire: switch to using a fixed 64-byte encoding for signatures (#86)
Alex Akselrod
2016-12-08 13:56:37 -07:00
-
909c3f8df9
chainntfs: add checks for previously confirmed transactions and spends
bryanvu
2016-11-30 00:00:20 -08:00
-
e39dc9eec1
channeldb: add storage of an on-disk directed channel graph
Olaoluwa Osuntokun
2016-12-07 22:47:01 -08:00
-
06347664fc
channeldb: remove route.go
Olaoluwa Osuntokun
2016-12-07 22:40:09 -08:00
-
e0c09a016b
lnwallet: use stored initiator bool to properly construct close tx
Olaoluwa Osuntokun
2016-12-07 22:38:46 -08:00
-
60f66fe2d7
brontide: implement handshake versioning enforcement per the spec
Olaoluwa Osuntokun
2016-11-30 19:11:49 -08:00
-
71c6e837e3
breacharbiter: fix bug, don't exit main loop due to unknown contract
Olaoluwa Osuntokun
2016-11-28 20:07:58 -08:00
-
494fcec874
breacharbiter: introduce new sub-system to watch for breaches
Olaoluwa Osuntokun
2016-11-28 19:43:57 -08:00
-
93cbfdbd60
htlcswitch: add new CloseType enum to account for all closure types
Olaoluwa Osuntokun
2016-11-28 18:44:14 -08:00
-
a5d9ce2fac
utxonursery: remove contract breach retribution duties
Olaoluwa Osuntokun
2016-11-28 16:53:15 -08:00
-
7b016fef0a
chainntfns: extend testSpendNotification to test for multi-client dispatch
Olaoluwa Osuntokun
2016-11-27 19:18:18 -08:00
-
d1f12627d2
chainntfns/btcdnotify: add support for multi-dispatch spend notifications
Olaoluwa Osuntokun
2016-11-27 19:17:27 -08:00
-
0bd5c6790d
chainntfns: specify that implementations must support multiple clients
Olaoluwa Osuntokun
2016-11-27 19:15:48 -08:00
-
60946e4ddc
channeldb: add method to OpenChannel for querying num updates
Olaoluwa Osuntokun
2016-11-27 19:10:05 -08:00
-
5a668c9321
channeldb: fully initialize meta-data bucket during DB creation
Olaoluwa Osuntokun
2016-11-27 18:48:57 -08:00
-
7454b7df95
channeldb: slightly refactor the [Fetch|Put]Meta methods
Olaoluwa Osuntokun
2016-11-27 18:44:14 -08:00
-
5b2f9a5b69
channeldb: modify base DB version to start at 0, not 1
Olaoluwa Osuntokun
2016-11-27 18:37:05 -08:00
-
1e710b73a0
channeldb: properly handle ErrMetaNotFound error within syncVersions
Olaoluwa Osuntokun
2016-11-27 18:36:17 -08:00
-
8312ce587a
channeldb: embed the instance of boltb within DB struct
Olaoluwa Osuntokun
2016-11-27 18:32:45 -08:00
-
327768f4ad
routing: Move tools inside lnd. Refactor and delete unneeded stuff
BitfuryLightning
2016-10-05 16:47:02 -04:00
-
da3028e10c
lnwallet: add HTLC count validation
Andrey Samokhvalov
2016-11-23 11:36:55 +03:00
-
391d5cd401
lnwallet: add commitment transaction estimation
Andrey Samokhvalov
2016-11-23 11:29:05 +03:00
-
5b9e4ae61e
general: fix typos, rename variables, add comments
Andrey Samokhvalov
2016-10-26 15:25:42 +03:00
-
b70d1f8cfe
channeldb: move .SyncVersions() into .Open(), minor migration cleanups
Olaoluwa Osuntokun
2016-11-22 15:57:26 -06:00
-
25167361d2
lnd: add sync logic in lnd main
Andrey Samokhvalov
2016-11-22 23:53:43 +03:00
-
c53ea091dd
channeldb: added channeldb versioning
Andrey Samokhvalov
2016-11-22 23:50:27 +03:00
-
2bf5794645
lnrpc: added rpc support for querying a channel's satoshis sent/received
bryanvu
2016-11-18 16:20:44 -08:00
-
faf9daddf6
lnwallet: calculate channel's total satoshis sent and received
bryanvu
2016-11-17 14:39:38 -08:00
-
61f0d87138
channeldb: persist channel metadata (satoshis sent and received)
bryanvu
2016-11-15 23:59:55 -08:00
-
1199786498
test: ensure all invoices are unique
Olaoluwa Osuntokun
2016-11-21 21:51:58 -06:00
-
862f29c6a2
invoices: properly set pointer in invoiceSubscription to fix panic
Olaoluwa Osuntokun
2016-11-21 21:33:29 -06:00
-
6ff357686f
test: add integration test to excerise uncooperative channel breaches
Olaoluwa Osuntokun
2016-11-21 21:16:44 -06:00
-
5e5bc3884a
test: modify closeChannelAndAssert to allow force close, return txid
Olaoluwa Osuntokun
2016-11-21 21:13:03 -06:00
-
5a678d5beb
test: add a callback to networkHarness.RestartNode
Olaoluwa Osuntokun
2016-11-21 21:08:44 -06:00
-
31e65e3333
peer: add logic to dispatch justice after revoke state broadcast
Olaoluwa Osuntokun
2016-11-21 13:32:19 -06:00
-
a29cd563f6
utxonursery: expand duties to channel contract breach retribution
Olaoluwa Osuntokun
2016-11-21 13:27:50 -06:00
-
cc63db0aee
lnwallet: add detection+handling of contract breaches in channel
Olaoluwa Osuntokun
2016-11-21 00:54:35 -06:00
-
188811cf05
lnwallet: populate the output index of an HTLC in ChannelDeltas
Olaoluwa Osuntokun
2016-11-20 23:54:18 -06:00
-
2d884618aa
lnwallet: ensure all channel state machine methods are thread-safe
Olaoluwa Osuntokun
2016-11-20 21:18:30 -06:00
-
e942e70651
lnwallet: extend the SignDescriptor to include a PrivateTweak
Olaoluwa Osuntokun
2016-11-18 17:11:59 -08:00
-
c81e0a3ebb
lnwallet: convert CommitSpendRevoke+CommitSpendNoDelay to use Signer
Olaoluwa Osuntokun
2016-11-18 15:23:26 -08:00