This website requires JavaScript.
84c8ed6362
cmd/lncli: expose the final_cltv_delta flag in sendpayment
Olaoluwa Osuntokun
2018-01-19 17:32:32 -08:00
0d75dde153
breacharbiter: also listen for the co-op chan close signal
Olaoluwa Osuntokun
2018-01-19 17:25:06 -08:00
91d45b37ba
contractcourt: on startup, launch a goroutine to finalize co-op chan close if needed
Olaoluwa Osuntokun
2018-01-19 17:24:48 -08:00
db2b9fd9ff
contractcourt: remove the existing ManuallyResolveChannel methiod
Olaoluwa Osuntokun
2018-01-19 17:24:20 -08:00
3ec83cc82f
peer+contractcourt: delegate watching for co-op closes to the chainWatcher
Olaoluwa Osuntokun
2018-01-19 17:23:38 -08:00
1604c75a9c
lnwallet: modify CreateCloseProposal to also return the close txid and local balance
Olaoluwa Osuntokun
2018-01-19 17:18:26 -08:00
bbca53507f
contractcourt: extend the ChainArbitratorConfig with IsOurAddress closure
Olaoluwa Osuntokun
2018-01-19 17:17:14 -08:00
bdbb33344a
contractcourt: extend resolveContract to also stop any active chainWatcher
Olaoluwa Osuntokun
2018-01-19 17:13:41 -08:00
723bfb0eac
contractcourt: channel arbitrators now exit on co-op close of the channel
Olaoluwa Osuntokun
2018-01-19 17:12:33 -08:00
62f951a969
contractcourt: extend the chainWatcher to be able to detect co-op closes
Olaoluwa Osuntokun
2018-01-19 17:12:08 -08:00
ebb4c84b32
channeldb: add new LatestCommitments and RemoteRevocationStore methods
Olaoluwa Osuntokun
2018-01-18 14:16:15 -08:00
239416f242
htlcswitch: update to use new event stream from the chainWatcher
Olaoluwa Osuntokun
2018-01-18 14:15:42 -08:00
69e6ec9954
peer+funding: remove unneeded channel handoff code with the breach arbiter
Olaoluwa Osuntokun
2018-01-18 14:07:56 -08:00
a0cc1d1b2d
breacharbiter: utilize new channel on-chain event stream to watch for breaches
Olaoluwa Osuntokun
2018-01-18 14:06:38 -08:00
defa1bc3e3
peer: when creating new links, obtain an on-chain events subscription
Olaoluwa Osuntokun
2018-01-18 14:03:13 -08:00
b5ae0855d2
contractcourt: add new SubscribeChannelEvents method to ChainArbitrator
Olaoluwa Osuntokun
2018-01-18 14:02:21 -08:00
754d1c1c38
contractcourt: when handling a remote force close, use their view of the HTLC's
Olaoluwa Osuntokun
2018-01-18 14:00:58 -08:00
63f7bf4e65
contractcourt: integrate notifications of the chainWatcher with each channel arb
Olaoluwa Osuntokun
2018-01-18 14:00:35 -08:00
0e14ac2063
contractcourt: add new chainWatcher struct
Olaoluwa Osuntokun
2018-01-18 13:54:52 -08:00
5bbe126c34
lnwallet: add new NewUnilateralCloseSummary function
Olaoluwa Osuntokun
2018-01-18 13:49:35 -08:00
341c1678fc
lnwallet: publicly export NewBreachRetribution
Olaoluwa Osuntokun
2018-01-18 13:48:30 -08:00
30c4196f91
lnwallet: remove the closeObserver from the channel state machine
Olaoluwa Osuntokun
2018-01-18 13:45:30 -08:00
b391049e49
lnd+test: update unit tests to account for recent API changes
Olaoluwa Osuntokun
2018-01-16 20:56:51 -08:00
5758a4e1af
nursery_store: reject duplicate registrations for an output
Olaoluwa Osuntokun
2018-01-16 20:56:22 -08:00
fc8a6568c9
nursery_store: detect Late Registrations when promoting to kindergarten
Olaoluwa Osuntokun
2018-01-16 20:55:57 -08:00
d0f8b5f194
nursery_store: update IncubateOutputs to take a slice of kid outputs
Olaoluwa Osuntokun
2018-01-16 20:52:23 -08:00
2283960000
utxonursery: update output sweeping to be aware of new output types
Olaoluwa Osuntokun
2018-01-16 20:51:38 -08:00
fb17f3aeb4
utxonursery: attempt to republish crib transaction on regraduation
Olaoluwa Osuntokun
2018-01-16 20:48:51 -08:00
12babb3cea
utxonursery: update NurseryReport with details of new output types
Olaoluwa Osuntokun
2018-01-16 20:46:55 -08:00
13b5019cc6
utxonursery: add new absoluteMaturity field to kid outputs
Olaoluwa Osuntokun
2018-01-16 20:44:50 -08:00
eeb6ab0b17
utxonursery: don't mark channel as fully closed in closeAndRemoveIfMature
Olaoluwa Osuntokun
2018-01-16 20:43:24 -08:00
6568330355
utxonursery: modify IncubateOutputs to accept each output type individually
Olaoluwa Osuntokun
2018-01-16 20:33:55 -08:00
e884da4f03
utxonursery: within IncubateOutputs, don't mark channel as fully closed
Olaoluwa Osuntokun
2018-01-16 20:30:40 -08:00
24a16b4f49
lnd: properly initialize entities of new contractcourt package
Olaoluwa Osuntokun
2018-01-16 20:25:34 -08:00
bfbec1c5d3
rpc: properly pass through the FinalCltvDelta param from the proto
Olaoluwa Osuntokun
2018-01-16 20:21:18 -08:00
5b4b6f9c0e
lnrpc: add final_cltv_delta as a SendRequest parameter
Olaoluwa Osuntokun
2018-01-16 20:20:34 -08:00
703057c821
htlcswitch: with debughtlc+hodlhtlc mode, skip all HTLC level checks
Olaoluwa Osuntokun
2018-01-16 20:19:46 -08:00
e34850c7af
htlcswitch: update tests to account for new API changes
Olaoluwa Osuntokun
2018-01-16 20:18:53 -08:00
dbe76a1507
htlcswitch: upon restart, examine all active HTLC's, settle those that we can
Olaoluwa Osuntokun
2018-01-16 20:18:35 -08:00
ca4eb970ec
htlcswitch: move channel re-sync into distinct function
Olaoluwa Osuntokun
2018-01-16 20:15:51 -08:00
2d133acaeb
htlcswitch: after each new state update, notify callers to set of new HTLC's
Olaoluwa Osuntokun
2018-01-16 20:15:08 -08:00
1418d672f9
htlcswitch: notify the ChainArbitrator of fresh signals upon link creation
Olaoluwa Osuntokun
2018-01-16 20:13:42 -08:00
f2642a70db
htlcswitch: once we discover a pre-image, add it to the witness cache
Olaoluwa Osuntokun
2018-01-16 20:13:16 -08:00
9cb3657314
htlcswitch: add new ProcessContractResolution method
Olaoluwa Osuntokun
2018-01-16 20:11:01 -08:00
8807d1d752
fundingmgr: add new function closure to send new channels to the ChainArbitrator
Olaoluwa Osuntokun
2018-01-16 20:05:07 -08:00
3c66d94f87
rpc: route all channel force close requests through the ChainArbitrator
Olaoluwa Osuntokun
2018-01-16 20:03:28 -08:00
884f3459e7
lnd: add new preimageBeacon struct
Olaoluwa Osuntokun
2018-01-16 20:02:25 -08:00
850ff1d970
channeldb: add new WitnessCache structure
Olaoluwa Osuntokun
2018-01-16 19:58:58 -08:00
94504a9d41
breacharbiter: notify the ChainArbitrator of fresh signals for a channel on startup
Olaoluwa Osuntokun
2018-01-16 19:57:04 -08:00
367231320b
breacharbiter: no longer watch for pending close, ChannelArbitrator will
Olaoluwa Osuntokun
2018-01-16 19:56:37 -08:00
31aa7265b7
contractcourt: add new ChainArbitrator struct as central coordinator of package
Olaoluwa Osuntokun
2018-01-16 19:52:22 -08:00
09b6bee8d4
contractcourt: add complete ContractResolver implementations
Olaoluwa Osuntokun
2018-01-16 19:44:45 -08:00
701eb9d4f4
contractcourt: add new briefcase.go file to house persistent arbitrator state
Olaoluwa Osuntokun
2018-01-16 19:38:35 -08:00
b4fc34a93a
channeldb: add ShortChanID to close channel summary
Olaoluwa Osuntokun
2018-01-16 19:37:53 -08:00
5d7119fe9c
channeldb: expose methods to serialize HTLC's on-disk
Olaoluwa Osuntokun
2018-01-16 19:37:41 -08:00
d64ffcb6c8
contractcourt: add new ChannelArbitrator struct
Olaoluwa Osuntokun
2018-01-16 19:37:09 -08:00
71009438b6
contractcourt: create new package, add logger
Olaoluwa Osuntokun
2018-01-16 19:25:45 -08:00
eba6ba0760
routing: properly prune edges that return a FailPermanentChannelFailure
Olaoluwa Osuntokun
2018-01-16 18:54:41 -08:00
b396d438bb
lnwallet: add new TestChannelUnilateralCloseHtlcResolution test case
Olaoluwa Osuntokun
2018-01-16 18:51:06 -08:00
f9d5656d17
lnwallet: update unit tests to be aware of new channel API changes
Olaoluwa Osuntokun
2018-01-16 18:45:54 -08:00
d35709b38e
lnwallet: extend TestForceClose to close with both incoming+outgoing HTLCs
Olaoluwa Osuntokun
2018-01-16 18:45:06 -08:00
1d7a1ac0ee
lnwallet: update channel state machine tests to use distinct keys
Olaoluwa Osuntokun
2018-01-16 18:38:49 -08:00
b5496c52a2
lnwallet: newHtlcResolution now returns both incoming and outgoing HTLC resolutions
Olaoluwa Osuntokun
2018-01-16 18:36:31 -08:00
d98026f579
lnwallet: modify OutgoingHtlcResolution to also account for remote force closes
Olaoluwa Osuntokun
2018-01-16 18:26:11 -08:00
bcfe7192d7
lnwallet: add new IncomingHtlcResolution for resolving incoming HTLC's on-chain
Olaoluwa Osuntokun
2018-01-16 18:23:41 -08:00
ecf6d758a2
lnwallet: add distinct CommitOutputResolution for resolving commit outputs on-chain
Olaoluwa Osuntokun
2018-01-16 18:17:18 -08:00
42cd2fa5be
lnwallet: add new ActiveHtlcs to channel state machine
Olaoluwa Osuntokun
2018-01-16 18:10:58 -08:00
5f6c15cfa4
lnwallet: RevokeCurrentCommitment now returns the set of active HTLC's
Olaoluwa Osuntokun
2018-01-16 18:09:32 -08:00
75d2f09d4c
lnwallet: add a PreimageCache instead of a FeeEstimator as LightningChannel dep
Olaoluwa Osuntokun
2018-01-16 18:08:20 -08:00
b1503adfad
lnwallet: add new PreimageCache interface
Olaoluwa Osuntokun
2018-01-16 18:04:07 -08:00
a9d451e46d
lnwallet: add AcceptedHtlcTimeoutWitnessSize to size.go
Olaoluwa Osuntokun
2018-01-16 18:03:40 -08:00
774ec5b528
lnwallet: rename OfferedHtlcWitnessSize to OfferedHtlcSuccessWitnessSize
Olaoluwa Osuntokun
2018-01-16 18:03:08 -08:00
65619b11aa
lnwallet: modify TxWeightEstimator methods to allow chaining
Olaoluwa Osuntokun
2018-01-16 18:02:46 -08:00
ff872b798c
lnwallet: update WitnessType names to be more descriptive
Olaoluwa Osuntokun
2018-01-16 17:59:43 -08:00
3fa0cde631
lnwallet: export senderHtlcSpendRedeem and make rename HtlcSpendSuccess to HtlcSecondLevelSpend
Olaoluwa Osuntokun
2018-01-16 17:57:03 -08:00
0becaddcd5
lnwallet: Move mocks to separate file and augment mockSigner.
Jim Posen
2017-09-25 21:05:24 -07:00
86133e559b
config: add peer, rpc, and rest listener options
Matt Drollette
2017-12-17 11:28:38 -06:00
8cce2ad630
Merge pull request #573 from wilmerpaulino/parse-data-fields
Johan T. Halseth
2018-01-19 18:40:48 +01:00
8807fb804b
invoice: add unit tests for each parsed tagged field
Wilmer Paulino
2018-01-09 01:14:31 -05:00
07ac278771
invoice: properly parse the field data length
Wilmer Paulino
2018-01-09 07:08:21 -05:00
fa2cc57ca6
invoice: sanity check routing info field
Wilmer Paulino
2018-01-09 01:04:58 -05:00
db7154a401
invoice: sanity check empty fallback addr field
Wilmer Paulino
2018-01-09 01:01:24 -05:00
00d530bd91
invoice: remove duplicate code when parsing the timestamp
Wilmer Paulino
2018-01-09 00:59:06 -05:00
6f5d673679
invoice: refactor parsing tagged fields
Wilmer Paulino
2018-01-09 00:46:29 -05:00
cb7699068b
Merge pull request #591 from AdamISZ/master
Johan T. Halseth
2018-01-19 14:47:22 +01:00
88f5c9ca9c
Merge branch 'master' into master
Johan T. Halseth
2018-01-19 14:04:52 +01:00
e4e6766746
Doc fix: typo in lnd/bitcoind arguments
Deelight-fr
2018-01-18 23:51:35 +01:00
5126e43135
rpcserver: flip inbound bool for display, fix internally later
Conner Fromknecht
2018-01-18 14:10:35 -08:00
92ac81b3b0
lnd+server: Allow configurable Node Alias and Color
Benjamin Congdon
2017-12-15 17:06:20 -06:00
a40ee8fe8a
config: Add settings for Alias and Color
Benjamin Congdon
2017-12-15 17:03:38 -06:00
ecff8f2a07
lnwire: Trim zero-bytes from NodeAlias String representation
Benjamin Congdon
2017-12-15 17:02:04 -06:00
f1f1c8a257
rpc: Remove SetAlias and add Alias to GetInfo Response
Benjamin Congdon
2017-12-15 16:57:34 -06:00
a8728ccb5b
docs: add example of Java gRPC client
Maarten Tutak
2017-12-13 18:46:26 +01:00
d512642c02
Travis: fix sudo required and apt-get update command
romanornr
2018-01-17 17:07:31 +01:00
7b6f4d34b1
docker: fix stray quote in start-lnd.sh
Olaoluwa Osuntokun
2018-01-16 17:19:33 -08:00
ebd97b83f3
discovery: ensure we only send node announcements that have active channels
Olaoluwa Osuntokun
2018-01-16 17:18:15 -08:00
3da0e2011b
docker, docs, sample-lnd.conf: update examples for new command-line options
Alex
2018-01-12 22:34:46 -07:00
1305a4fedf
build: update travis to install bitcoind for running tests
Alex
2018-01-12 11:47:48 -07:00
db55569bac
chainntfns: stop neutrino service before closing DB in interface_test.go
Alex
2018-01-10 17:19:43 -07:00
9a02884d0b
main/lntest: factor out node config options, add options for bitcoind
Alex
2017-12-21 22:23:24 -07:00