Releases: LN-Zap/lnd
lnd v0.5-beta-21-g25145acc
Changelog
25145ac Merge pull request lightningnetwork#1738 from joostjager/validation
9a3e19b Merge pull request lightningnetwork#1916 from guggero/crash-on-listchaintxns
032234c Merge pull request lightningnetwork#1925 from cfromknecht/migration-efficiency
8a2b3bf Merge pull request lightningnetwork#1932 from Desuuuu/tor-controller-parse-fix
974ec02 channeldb/migrations: improve performance of edge update migration
3b2c807 channeldb: fix bug in migration from 0.4 to 0.5
b5fd32f discovery+routing: move validation logic to routing package
ac8a3af routing: add channel update validation test
47d2e1e routing: add option to specify explicit id for test channels
c5c580a routing: add private key map to test graph instance
5daf75b routing: restructure test context creation
2d255e3 routing: use fixed time value in tests
a7fec82 routing: validate channel update in failure message
10b9761 rpcserver: handle unconfirmed TX properly when listing all transactions
23c03cc tor/controller: fix response parsing for values containing the '=' character
lnd v0.5-beta-108-g61e86774
Changelog
1881ccd Makefile: merge build+install tags with DEV/PROD_TAGS, trim whitespace
ecc5d26 Makefile: use git describe for better commit versions
b341dea Merge pull request lightningnetwork#1108 from sangaman/sever-server
f430509 Merge pull request lightningnetwork#1295 from joostjager/forget
79ed4e8 Merge pull request lightningnetwork#1733 from cfromknecht/persist-network-watcher
3fda102 Merge pull request lightningnetwork#1786 from Roasbeef/golang-1.1
835617b Merge pull request lightningnetwork#1799 from tailnode/fix-markdown-issue
68774e3 Merge pull request lightningnetwork#1807 from wpaulino/retransmit-zero-stale-channels
b96745e Merge pull request lightningnetwork#1847 from halseth/kidoutput-height-hint
6afee3d Merge pull request lightningnetwork#1856 from maurycy/typos
c508365 Merge pull request lightningnetwork#1905 from halseth/fundinglocked-htlc-mismatch
6d759bd Merge pull request lightningnetwork#1911 from wpaulino/tor-controller-if-inbound
54deb00 Merge pull request lightningnetwork#1922 from roeierez/payments_rpc
a9398ac Merge pull request lightningnetwork#1943 from joostjager/nursery-test
a3edcf9 Merge pull request lightningnetwork#1951 from cfromknecht/reorder-commit-hints-and-notify
1494c9e Merge pull request lightningnetwork#1952 from joostjager/chanarb-test
8cb9301 Merge pull request lightningnetwork#1953 from cfromknecht/remove-neutrino-shadowed-height
13802b4 Merge pull request lightningnetwork#1963 from wpaulino/create-chan-buckets-once
7fe095c Merge pull request lightningnetwork#1970 from Roasbeef/more-abandon-channel-details
e44e588 Merge pull request lightningnetwork#1987 from wpaulino/remove-newwitnessaddress-rpc
e9809c7 Merge pull request lightningnetwork#2001 from Roasbeef/new-neutrino-parallel-sync
8dfcbc1 Merge pull request lightningnetwork#703 from cfromknecht/build
fc1cca8 README: fix typo
c5bebb3 add value_sat and value_msat to the outgoing payment response
2332467 build+docs: bump to golang 1.11
738ba45 build/deployment: add prod+dev targets
9654a1c build/log: add log types + NewSubLogger
4ea1a40 build/loglevel: add build flag hooks for log levels
1e64070 build/version: move version.go to build pkg
61e8677 build: remove --broken in new git commit extraction
8bc6169 build: update build file to exclude go 1.10 from linting
a24a2eb build: update neutrino version to new version with parallel block+filterheader sync
fb7b12a chainntnfs/bitcoind: commit spend hints before notifying
e498a83 chainntnfs/btcd: commit spend hints before notifying
7dceac9 chainntnfs/neutrino: commit spend hints before notifying
b5b8602 chainntnfs/neutrinonotify/neutrino: remove height shadowing
91b0e9c chainntnfs/txconfnotifier: commit conf hints before notifying
3403794 chainntnfs: switch debug tag to dev
f13c1d2 channeldb: ensure channel buckets are only created once
97fd56c cmd/lncli: display build.Version() for commit hash
f34ffab cnct: add channel_arbitor test that exercises the htlcOutgoingContestResolver
a98cdfd config_debug: remove in favor of build.Deployment
5706c12 config_production: remove in favor of build.Deployment
3a67fe2 contractcourt+server: make IncubateOutputs take broadcastHeight
16ec80e contractcourt: update tests to use new IncubateOutputs API
6f0fad7 discovery/gossiper: check ErrNoGraphEdgesFound for restransmitStaleChannels
c2d9cb1 docs/MAKEFILE: add log params to unit test targets
0eefd00 fix markdown issues in docker/README.md
addb4ae funding+server: make FindChannel return OpenChannel instead of LightningChannel
a433e70 fundingmanager test: satisfy new interfaces
3b6f7fd gitignore: ignore visual studio code config
54a608d htlcswitch+discovery mock: adhere to new lnpeer interface
ece3051 htlcswitch/hodl: switch from debug tag to dev
f07260a htlcswitch: fix lint under go 1.11
bbceec8 lnd: log shutdown before closing rotator
a75b0c8 lnd_test: add AbandonChannel test
652ec89 lntest/node: persist network subscription state across restarts
f594a57 lnwallet: remove need for lnwallet to have access to the private key
bfcda6e log: initialize subloggers w/ build.LogWriter
0903fe3 main+lnd: display build.Version() for commit hash
10b35a8 main: remove disable log in testing + clean up imports
57ec035 make/testing_flags: add LOG_TAGS, set using log envvar
bab5242 make/testing_flags: make DEV_TAGS+PROD_TAGS, switch debug to dev
f1590a1 makefile: dump all goroutines on panic
1977d45 multi: fix function references in comments and clarify grammar
e207f9a multi: fix sever/server typos
ac24b12 multi: fix various typos in comments
59b4596 multi: init subsystem loggers via build pkg
d8e6085 multi: update to go 1.11 gofmt
b712b86 peer: make AddNewChannel take OpenChannel
240318b peer: return error on newChanReq
828ecfe peer: skip sending active channel updates for pending open channels
4b1334a rpc: populate additional information in AbandonChannel close summary
bdcc847 rpc: remove NewWitnessAddress RPC
ab67b9a rpcserver+lnrpc+lncli: add AbandonChannel rpc call
2e489fc rpcserver: replace DebugBuild cmp w/ IsDevBuild in AbandonChannel
99a4952 server+peer: check ErrEdgeNotFound when enabling/disabling a channel
fb059dd server: start tor controller if we should listen for inbound connections over Tor
6bc0138 udpate code to include the value_sat and value_msat fields in payments
6d0deed utxonursery test: run tests in parallel
83a5ea0 utxonursery: add test coverage for outgoing htlc
8b515f8 utxonursery: add test for commitment output
b89db6d utxonursery: assert empty database
b5da791 utxonursery: assert lingering goroutines
77d6a66 utxonursery: check for quit channel
0a5f982 utxonursery: pass broadcastHeight to registerPreschoolConf
9f6fb1e utxonursery: test restart behaviour
lnd v0.5-beta-rc1-52-gbaee07ef
Changelog
9aaf046 Makefile: add tags env argument to build and install
32b0f3f Merge pull request lightningnetwork#1770 from cfromknecht/prevent-goroutine-fail
de087d7 Merge pull request lightningnetwork#1774 from cfromknecht/onchain-close-race
a1f5497 Merge pull request lightningnetwork#1798 from wpaulino/premature-chan-ann-fetch
99a5fd9 Merge pull request lightningnetwork#1809 from wpaulino/autopilot-balance-update
8d02d74 Merge pull request lightningnetwork#1810 from wpaulino/switch-no-links-found
4f43c1c Merge pull request lightningnetwork#1811 from Roasbeef/autopilot-cpu-usage-fix
2b448be Merge pull request lightningnetwork#1812 from cfromknecht/wait-predicate-pending-channels
554bc31 Merge pull request lightningnetwork#1821 from wpaulino/prune-edge-update-index
450cabf Merge pull request lightningnetwork#1822 from Roasbeef/chan-update-compat
6aebd05 Merge pull request lightningnetwork#1823 from cfromknecht/dont-dc-on-link-fail
7435fba Merge pull request lightningnetwork#1836 from cfromknecht/reconnect-to-all-known-addrs
12aadd4 Merge pull request lightningnetwork#1837 from Roasbeef/btcsuite-dep-catchup-5
309e656 Merge pull request lightningnetwork#1839 from cfromknecht/assume-channel-valid
45c607c Merge pull request lightningnetwork#1840 from cfromknecht/backoff-short-conns
16b5a67 Merge pull request lightningnetwork#1842 from wpaulino/dedup-chan-updates-horizon
baee07e Merge pull request lightningnetwork#1846 from roeierez/invoice_amt_paid
f0201fb amount paid should be in satoshies as other fields used for amount
1217992 autopilot: optimize heavy loaded agent by fetching raw bytes for ChannelEdge
a429c56 autopilot: update the Node interface to return a raw bytes, not the key
e1a376d autopilot: use updateBalance rather than tracking balance explicitly
0724772 build: update to latest versions of neutrino+btcwallet
3f58c2d channeldb/graph: dedup channel edges returned from ChanUpdatesInHorizon
492d581 channeldb/graph: fix off-by-one public key slice
aa3e2b6 channeldb/graph: identify edge chan id on failure
2f22e6c channeldb/graph: properly determine old update timestamp for an edge
06344da channeldb/graph: refactor UpdateEdgePolicy to use existing db transaction
d3cf316 channeldb/graph_test: ensure policies for an edge have different timestamps
c1633da channeldb/graph_test: extend prune edge update index test to update edges
8dec659 channeldb/graph_test: properly check entries within edge update index
85ea08f channeldb: add migration to properly prune edge update index
af0265f config: add experimental assumechanvalid flag
d706e40 contractcourt/channel_arbitrator: handle onchain close race on restart
a1b1b06 discovery/gossiper: remove optimistic channel announcement request
8f843c5 discovery: update autopilot.Node usage to match recent API changes
33dda07 htlcswitch: return concrete error from GetLinksByInterface
95a98d8 lnd_test: add wait predicates to pending channel checks
c569c40 lnd_test: prevent calling Fatal in goroutine
2f1b024 lnrpc: change lightning-api repo link redirect
2c8914e lnwallet: ensure that each backend uses a distinct seed in integration tests
31e92c4 lnwire: add new compatibility parsing more for onion error chan updates
48dc38d peer: ensure link failures are processed in peer life cycle
edf304a peer: ensure we unlock the msgCond during peer msgConsumer exit
0a29863 pilot: improve error when unable to reach any of a peer's addresses
e1a4657 pilot: remove disconnection logic from chanController
8911365 routing/conf: add experimental assume valid conf
1e473b2 routing/router: add assume chan valid
8d7eb41 server: always backoff for unstable peers
9c35528 server: attempt reconnection to all known addresses
16b412f server: avoid logging error if no links are found
f33cfda server: pass AssumeChannelValid to router
09992f3 server: remove unused lightningID field
lnd v0.4.2-beta-913-g26f68da5
Changelog
c9bead7 Merge pull request lightningnetwork#1278 from wpaulino/persistent-chain-notifiers
47788c3 Merge pull request lightningnetwork#1696 from halseth/contractcourt-handoff3
f028eaa Merge pull request lightningnetwork#1698 from cfromknecht/switch-fwdpkg-cleanup
4f20905 Merge pull request lightningnetwork#1719 from cfromknecht/duplicate-payments
a1a6845 Merge pull request lightningnetwork#1731 from halseth/link-policy-persist
8de84c4 Merge pull request lightningnetwork#1754 from halseth/fndmgr-gossiper-handoff
e5a6118 Merge pull request lightningnetwork#1757 from cfromknecht/parallel-link-shutdown
9f46852 Merge pull request lightningnetwork#1763 from valentinewallace/listinvoices-pagination
5cf911a Merge pull request lightningnetwork#1764 from cfromknecht/isolate-fwdpkg-to-live-links
c41ea48 Merge pull request lightningnetwork#1769 from cfromknecht/increase-fwdpkg-gc-test-interval
646e812 Merge pull request lightningnetwork#1771 from halseth/contractcourt-handoff-coop-trigger
625b210 Merge pull request lightningnetwork#1776 from cfromknecht/autopilot-add-node-trigger
d90b599 Merge pull request lightningnetwork#1778 from cfromknecht/txindex-proper-fallback
26f68da Merge pull request lightningnetwork#1785 from Roasbeef/ensure-peer-quit
6028567 autopilot/agent: add OnNodeUpdates signal
1898e57 autopilot/agent_test: test that agent recovers from initial empty graph
e718016 build: update btcd+btcwallet+neutrino to latest versions
169cb72 build: update dep for golang.org/x/crypto to compile under golang 1.11
a91466e chainntnfs/bitcoind tests: check found mempool case
f82fd5f chainntnfs/bitcoind: fallback to scan manually only in case of err != nil
16a321f chainntnfs/bitcoind: initialize with height hint cache
89c3373 chainntnfs/bitcoind: remove unnecessary check for tx==nil
31dc387 chainntnfs/btcd+bitcoind tests: use common TxConfStatus
79b2ee7 chainntnfs/btcd+bitcoind: use common TxConfStatus
01d8953 chainntnfs/btcd: fallback to scan manually only in case of err != nil
4a60887 chainntnfs/btcd: remove unnecessary check for tx==nil
ecc9130 chainntnfs/btcdnotify: initialize with height hint cache
20ba489 chainntnfs/interface: fix TxConfStatus godocs for linter
2f644d9 chainntnfs/neutrinonotify: disable disconnected block ntfns while rescanning
9b6b78a chainntnfs/neutrinonotify: update to latest API changes
cb3ec07 chainntnfs/test_util: set 10ms trickleInterval for miner
b78cd53 chainntnfs: add height hint cache interfaces and channeldb implementation
30fd219 chainntnfs: add height hint caches to chain notifiers
6be642a chainntnfs: cache confirm hints within TxConfNotifier
94beabf chainntnfs: cache spend hints within the different chain notifiers
b552984 chainntnfs: define common TxConfStatus type
7895f01 chainntnfs: ensure proper fallback to scanning tx manually
f88f6f6 chainntnfs: extract helper test vars and functions
cb688de chainntnfs: guard test chain notifier under debug flag
7e87256 chainntnfs: query the hint cache before registering a conf ntfn
4c2a097 chainregistry: modify backends to use a height hint cache
af6c4e5 channeldb/channel: adds readLogKey for chanids
8177866 channeldb/channel: expose AckAddHtlc and AckSettleFail
79a4203 channeldb/db: add comment describing migration
090e97c channeldb/db_test: move migration helper back to meta_test
215a47e channeldb/forwarding_package: loosen Add/SettleFailRef acking
9f46727 channeldb/meta_test: restore migration helper + godocs
11bb568 channeldb/migrations: mark locally-sourced payments as InFlight...
93e5f9a channeldb/migrations: touch up documentation
0865ac7 channeldb/migrations_test: assert locally-sourced circuits...
3a579f3 channeldb/migrations_test: touch up docs
86b347c channeldb/payments: make payment status helper methods
e7c0f4c channeldb/payments: touch up docs
f405376 channeldb: add migration for payment statuses for completed payments
7296cfb channeldb: add payment statuses: ground, in flight, completed
41e31e0 channeldb: applying payment statuses migration to current database
24e3310 channeldb: payment statuses migration test
f315b5b channeldb: support querying for invoices within a specific time range
7f6fbd4 channeldb: test of payment statuses transitions
56504d2 cmd/lncli: add flags to determine the macaroon for the active network
0339964 cmd/lncli: add pagination flags for listinvoices command
ebc9550 cmd/lncli: properly parse cert and macaroon paths for all config variants
dadf13e cmd/lncli: rename parseArgs to extractPathArgs, return error
4ba6a59 cmd/lncli: retrieve the macaroon for the current chain and network
6ddae25 config+cmd/lncli: make cleanAndExpandPath return empty string on empty path
9981fd8 config+lnd: create macaroons files under the network dir
b9db220 config: properly show list of sub-systems for show debuglevel
e1726ec config: remove default macaroon path
4d74fa3 config: update comment for network directory
53286b8 contractcourt test: add TestChannelArbitratorCommitFailure
6b24ca0 contractcourt test: add TestChannelArbitratorPeristence
1758ad8 contractcourt/[chain|channel]_arbitrator: define IsPendingClose
3549f2b contractcourt/[channel|chain]_arbitrator: define MarkChannelClosed
b031d87 contractcourt/briefcase: test FetchContractResolutions error when no resolutions logged
8344b05 contractcourt/chanarb test: expand TestChannelArbitratorCommitFailure to coop and local force close
4933120 contractcourt/channel arbitrator: add coopCloseTrigger on startup for pendingClose channel
bb71856 contractcourt/channel_arbitrator test: add TestChannelArbitratorEmptyResolutions
862c7ae contractcourt/channel_arbitrator test: check both respChan and errChan
c11e094 contractcourt/channel_arbitrator test: test new coop close actions
740db47 contractcourt/channel_arbitrator test: test state transitions
06c683d contractcourt/channel_arbitrator: move next state commit out of stateStep
f2a033e contractcourt/channel_arbitrator: override trigger on startup if IsClosing
245dae0 contractcourt/channel_arbitrator: properly commit to next state
6df302d contractcourt/channel_arbitrator: remove state callback
ed5db96 contractcourt/channel_arbittrator: ignore noResolutions error on startup
ad1d788 contractcourt: move responsibility for closing coop close channel to chanArb
75df58c contractcourt: move responsibility for closing force closes to chanArb
54f67f7 discovery/gossiper: define ErrGossiperShuttingDown
0bc415c discovery/gossiper: don't return on errChan for ChannelUpdate not yet processed
c560820 discovery/gossiper: formatting
c8ce2aa discovery/gossiper: reaturn early of no premature to process
d0e8aee discovery/gossiper: return on errChan in case of ChanAnn/Upd on wrong chain
7bbb2bb discovery/gossiper: return on errChan on ValidationBarrier error
13a6d41 discovery: select on peer's QuitSignal to allow caller to unblock if disconnecting
3d4843e docker: update docker README to account for recent lncli/macaroon changes
6a6d3ff funding tests: account for returned err channel
0e510c8 funding+peer: don't attempt to deliver messages if the peer is shutting down
0b5a403 funding: add caller quit channel to waitUntilChannelOpen
67d36eb funding: make SendAnnouncement return error chan instead of error
e069dd7 fundingmanager test: test that custom MinHTLC is in ChannelUpdate
e174fbd fundingmanager: use value the remote require us to use in ChannelUpdate
0c65719 fundingmgr: check quit channel when sending update
19552b0 htlcswitch+funding+discovery: update mock peers to add new QuitSignal method
98d2ffb htlcswitch/control_tower: add strict mode toggling
8b2237f htlcswitch/control_tower: move from switch_control
5dc2a4a htlcswitch/control_tower: use one db txn for transitions
971ae3c htlcswitch/control_tower_test: move from switch_control_test
2027444 htlcswitch/control_tower_test: test strict and non-strict ctrltwrs
81b4af2 htlcswitch/link: cleanup spurious fail/settle responses
211a029 htlcswitch/link: only resovle+gc fwdpkgs for live channels
5d131e5 htlcswitch/link_test: assert delete spurious response
22793e4 htlcswitch/link_test: increase fwdpkg gc interval
9b52c51 htlcswitch/mock: remove new line to satisfy linter
6a8507c htlcswitch/switch: ignore pending/local responses on reforward
b59fea4 htlcswitch/switch: make local response handling async
9c5c1d0 htlcswitch/switch: prevent panic for unknown error decryptor
d6083e0 htlcswitch/switch: reorder persistent calls and app ntfn...
4e093a6 htlcswitch/switch: shutdown links concurrently
2dd8f07 htlcswitch/switch: use non-strict PaymentControl
8751285 htlcswitch/switch_control: expand godocs and add ErrUnknownPaymentStatus
3f0dfd4 htlcswitch/switch_control_test: extend tests + godocs
033fd3c htlcswitch: add test for integrated control tower
a3d32be htlcswitch: control tower implementation
3502877 htlcswitch: control tower test of payment statuses transitions
21fc7aa htlcswitch: integration of control tower to htlc switch
4c15353 lnd test: make waitForChannelUpdate take array of updates
76dbe67 lnd: add integration test checks unavailability to pay same preimage
7eee09c lnd_test: check ChannelUpdate for custom min_htlc
80814cf lnd_test: satisfy linter alignment
030eca2 lnd_test: test payment failing because < min_htlc
1364dca lnpeer: extend Peer interface with new QuitSignal method
1c7f10a lnrpc: add pagination fields for ListInvoices RPC protos
fd7b1c2 lntest/lnd test: make OpenChannel take channel param struct
f4f7b64 lnwallet/channel: add FwdMinHtlc(), returning MinHTLC from localChanCfg
05308ec lnwallet/channel: concrete HTLC errors and ack AddRefs
0dca373 lnwallet/errors: create concrete errors for settle/fail
2931b2d lnwallet: add height hint cache to backend tests
de92dac lnwallet: fix logging message for fee floor
fa6a0a7 lnwire: recognize required query sync feature bit
856500d macaroons: ensure path for macaroon DB exists
191c4f3 multi: enable txindex on miner harness
19e3a19 peer+server: make fetchLastChanUpdate always fetch our own update
7f480f7 peer: add QuitSignal to ensure peer struct adheres to lnpeer.Peer interface
5130949 peer: allow msgConsumers to ...
lnd v0.4.2-beta-752-g6c903393
Changelog
cad8b8e Merge pull request lightningnetwork#1747 from cfromknecht/fwdpkg-add-cleanup
dddda7e Merge pull request lightningnetwork#1748 from cfromknecht/relax-circuit-deletion
21841c9 Merge pull request lightningnetwork#1749 from cfromknecht/htlcswitch-code-health
648d644 build: exec git fetch before git checkout
8baf172 build: update the version of ltcd
0372bf9 htlcswitch/circuit_map: prevent spewing secp curve in trace
a213810 htlcswitch/circuit_map: prune stray locally-initiated keystones
c2055d4 htlcswitch/circuit_map: relax circuit deletion
7843941 htlcswitch/circuit_test: test for relaxed DeleteCircuits
3fb6a31 htlcswitch/link: remove circuit deletion forgiveness
cd7e4f9 htlcswitch/link_test: check fwdpkg cleanup for failed adds
53b58a1 htlcswitch/mock: drop messages if link is not online
9047eee htlcswitch/switch: adds concrete ErrSwitchExisting
0d49a60 htlcswitch/switch: remove go-errors pkg
48b6166 htlcswitch/switch: remove unnecessary defer closure
4f2137e htlcswitch/switch: set SourceRef of failed packets
f636ff8 htlcswitch/test_utils: bump fwdpkg gc timeout to 15s
7535371 htlcswitch: implement strict forwarding for locally dispatched payments
44e97ee htlcswitch: remove no longer needed destNode field in htlcPacket
6c90339 router+server: use first hop channel id rather than node key
3f5ec99 server: properly unlock within openchannel if peer not found
lnd v0.4.2-beta-731-g14759604
Changelog
5efc122 Merge pull request lightningnetwork#1439 from valentinewallace/historical-block-epoch-ntfns
999f4a7 Merge pull request lightningnetwork#1460 from rawtxapp/lncli-confirm-payreq
7a113d4 Merge pull request lightningnetwork#1551 from cfromknecht/switch-revert-replace-link
86e2e3f Merge pull request lightningnetwork#1608 from halseth/htlc-expiry-off-by-one
15eeded Merge pull request lightningnetwork#1658 from cfromknecht/async-peer-start
1475960 Merge pull request lightningnetwork#1687 from halseth/disable-inactive-channels
4731e1a Merge pull request lightningnetwork#1692 from wpaulino/unadvertised-autopilot
4c51f9b Merge pull request lightningnetwork#1693 from wpaulino/autopilot-zero-conf-inputs
643618b Merge pull request lightningnetwork#1694 from wpaulino/autopilot-reachability-test
35363ee Merge pull request lightningnetwork#1725 from wpaulino/manual-fee-floor
fc8626c Merge pull request lightningnetwork#1726 from Roasbeef/fix-closed-chan-summaries-and-chancfg
4492cb9 Merge pull request lightningnetwork#1732 from wpaulino/no-macaroons-change-password
fb92744 Merge pull request lightningnetwork#1739 from Roasbeef/graph-private-chan-node-cleanup
c6318eb Merge pull request lightningnetwork#1741 from halseth/autopilot-no-dc
9c4d069 Merge pull request lightningnetwork#1742 from halseth/remove-render-option
1113684 Revert "htlcswitch: in event of duplicate link add, prefer newer link"
89325a1 autopilot+config: support opening private channels with autopilot agent
454b549 autopilot+pilot: refactor connection logic out of OpenChannel
956acdf autopilot/agent_test: pass in agent's quit chan to heuristic
aa7c2e6 autopilot: add OnChannelPendingOpen state update
2a3b525 autopilot: check if already connected before returning error
2fbe95e autopilot: modify OpenChannel to no longer take in set of addrs
dd5b639 autopilot: read quit chan when sending state updates
1ff596e build: update btcwallet to point to latest version
b59139f build: update to latest version of neutrino
f400517 chainntnfs/interface: add ChainConn interface
dea22eb chainntnfs/interface_test: add test for client catchup on block ntfns
f6ba640 chainntnfs/interface_test: utilize TestChainNotifier interface in tests
02ee565 chainntnfs/neutrino: add neutrino ChainConn implementation
b3a5b3b chainntnfs: add ChainNotifier test interface for test methods
71a81f5 chainntnfs: allow clients to pass in best block
a5e1cf9 chainntnfs: dispatch historical block ntfns to clients
79cbea1 chainntnfs: enable notifiers to catch up on missed blocks
3df5b26 chainntnfs: notify clients after block connect has succeeded
cbf1799 chainntnfs: rewind chain on missed disconnected blocks
d4cf271 chainntnfs: track best block in btcd and bitcoind
fb7deac chaintnfs/interface_test: test notifiers handling missed blocks
ad68009 chancloser: remove error returned from unregisterChannel
90cdc9d channeldb: add String() method for EdgePoint
06d03b5 channeldb: add new TestNodePruningUpdateIndexDeletion test
9353ab0 channeldb: ensure that we remove update index entries for nodes upon deletion
26032f5 channeldb: extend TestFetchClosedChannels to populate local chan cfg properly
8e15b48 cmd/lncli: expose min confs parameter for OpenChannel command
7724d86 config+pilot: add flag to specify min confs for autopilot agent
9e44b38 config: define InactiveChanTimeout
5476f6d contractcourt/contract_resolvers: correct off-by-one HTLC expiry
e97e4c1 contractcourt: set auxiliary chan recovery info for all created chan close summaries
a57a972 dep: remove gographviz dependency
bd62ef6 funding: properly log pubkey of peer within handleInitFundingMsg
c37c9db funding: properly set auxiliary channel recovery info in close chan summaries
ae3e66d fundingmanager+lnwallet: allow specifying number of min confs for coin selection
d76f97d fundingmanager+lnwallet: make InitChannelReservation take in req rather than many args
b507d26 htlcswitch/link: only update contract signals on start if live link
0fef1c7 htlcswitch/link: pass link quit to ForwardPackets
d08003b htlcswitch/link_test: adds TestChannelLinkShutdownDuringForward
11f02de htlcswitch/link_test: removes unnecessary WaitForShutdown
887722f htlcswitch/switch: add method HasActiveLink
f84cd14 htlcswitch/switch: permit link shutdown mid-forwarding
c78e81d htlcswitch/switch: synchronous stop of links after removal
258019e htlcswitch/switch_test: update reverted test to use...
ad25ae1 keychain: ensure we properly set the KeyLocator for keys from DeriveNextKey
cf06b04 keychain: extend TestKeyRingDerivation to check KeyLocators of derived keys
917f929 keychain: use t.Helper() instead of manually fetching the line no from the runtime
0ae2683 lncli: add confirmPayreq used when paying
c39c2d7 lncli: remove --render option from describegraph
7b1ac0a lnd test: check inactive channel disables in testSendUpdateDisableChannel
169ebad lnd_test: add test for funding channels with unconfirmed outputs
6e33115 lnd_test: return err from assertNumActiveHtlcs, print predErr
940d073 lnd_test: use dave to listen for ChannelUpdates in testSendUpdateDisableChannel
53d319a lnd_test: use shutdownAndAssert
8572920 lnrpc: add MinConfs field to OpenChannelRequest proto
130124b lntest: add SendCoinsUnconfimed method
52941ce lntest: add SuspendNode
9ec6433 lntest: extend OpenChannel to specify whether confirmed funds should be used
0a335bb lntest: extract WaitForBalance into a method
51fc193 lnwallet/wallet: export InitFundingReserveMsg and required fields
b06dabf lnwallet: properly set auxiliary channel recovery info in NewUnilateralCloseSummary
5c414bb multi: make OpenChannel take in openChanReq
1ffc3bb multi: update to latest RegisterBlockEpochNtfn interface
a1abb11 peer: add ready chan arg to WaitForDisconnect
5f90973 peer: always purge link before adding new one
5deffd2 peer: call disableChannel with disabled=false after loading channels
d4d9097 peer: increase peer write timeout to 50 seconds
29efb02 rpcserver: enforce fee floor for fee rates input by the user
a3cec7e rpcserver: set minConfs field in openChanReq
b5bfdd7 server+peer: rename disableChannel->announceChanStatus
0ee0abc server: add async peer Start() + safer cleanup
e9cc749 server: add goroutine watchChannelStatus
2908f67 server: add minConfs field to openChanReq
4581aa3 server: handle case where both policies are not present in fetchLastChanUpdateByOutPoint
8826db3 server: let gossiper hand policy update to router
304577f server: make sure timestamp always increases when creating new ChannelUpdate
1212529 server: rearrange peer lifecyle helpers for readability
a6e7b35 server: use blocking RemoveLink to shutdown links
b3edc5c walletunlocker: avoid returning error if macaroon files don't exist
lnd v0.4.2-beta-635-g72aa7969
Changelog
72aa796 Merge pull request lightningnetwork#1722 from halseth/chan-status-print
64c2c6b peer: print ChanStatus return value, not address
lnd v0.4.2-beta-633-g6989316b
Changelog
05e55c4 Makefile: reorder definitions before include + proper tabbing
536a381 Merge pull request lightningnetwork#1716 from cfromknecht/makefile-definition-order
6989316 Merge pull request lightningnetwork#1717 from wpaulino/start-bitcoind-conn
dae5382 chainregistry: correctly establish connection to bitcoind
lnd v0.4.2-beta-628-gc520f892
Changelog
8bb4337 Makefile: run coverage tests with -tags=debug
fab87e5 Makefile: switch to gometalinter.v2
30b156c Merge pull request lightningnetwork#1566 from wpaulino/bitcoind-rescan-client
d64bb59 Merge pull request lightningnetwork#1635 from halseth/funding-broadcast-fail
d2612e5 Merge pull request lightningnetwork#1644 from wpaulino/kw-fees
d5863d0 Merge pull request lightningnetwork#1660 from lightningnetwork/fetch-allll-channels
d3b1b9a Merge pull request lightningnetwork#1668 from cfromknecht/interface-tickers
8379bba Merge pull request lightningnetwork#1673 from cfromknecht/prevent-db-reversions
97f9759 Merge pull request lightningnetwork#1675 from cfromknecht/peer-backoff-backoff
518b0d2 Merge pull request lightningnetwork#1679 from cfromknecht/move-linter-v2
bb310a3 Merge pull request lightningnetwork#1681 from cfromknecht/lock-chain-arb-shutdown
33a5567 Merge pull request lightningnetwork#1691 from wpaulino/sync-gopkg
8a56b33 Merge pull request lightningnetwork#1702 from wpaulino/peer-bootstrapper-backoff
61681a5 Merge pull request lightningnetwork#1705 from Roasbeef/neutrino-update
61f5b3e Merge pull request lightningnetwork#1709 from Empact/noisedial
ecf009a Merge pull request lightningnetwork#1712 from cfromknecht/run-coverage-with-debug-tag
cc63480 Merge pull request lightningnetwork#1714 from Roasbeef/update-btcd-neutrino-fix
896128e Move noiseDial from config.go to server.go
c520f89 Revert "Makefile: run coverage tests with -tags=debug"
17556f4 build: sync Gopkg.lock with Gopkg.toml
533a455 build: update to btcwallet with bitcoind conn changes
a368205 build: update to latest version neutrino
bf4283f build: update to use latest btcd
e23fc40 channeldb/db: check for db reversions on startup
5aa9675 channeldb/db: return all channels if multiple chains exist
ee34b9c channeldb/error: adds ErrDBReversion error
dff7706 channeldb/meta_test: adds TestMigrationReversion
0f3c0cc channeldb: add new FetchOtherNode method to ChannelEdgeInfo
0109672 channeldb: add new db field for ChannelEdgeInfo to allow new methods
ce7bfae channeldb: ensure we always check error from fetchChanEdgePolicy
6c918a1 channeldb: store unknown policies in database
75192a1 config: parse different ZMQ hosts for block and tx notifications
8758671 contractcourt/chain_arbitrator: fix potential shutdown race
b437d03 fundingmanager test: add TestFundingManagerMaxPendingChannels
b885e8d fundingmanager test: check reservation canceled after tx broadcast
8b6e7b2 fundingmanager: count channels pending open when checking MaxPending
8865bcf fundingmanager: delete active reservation after channel is in DB
b608fca htlcswitch/circuit_test: use CircuitKey field names
1c456a5 htlcswitch/link: replace batch ticker with...
2651136 htlcswitch/link_test: replace mockTicker with ticker.Mock
6a70952 htlcswitch/mock: remove mockTicker, use ticker.MockNew
e3253a4 htlcswitch/switch: add log/fwd event tickers to Config
c90ec19 htlcswitch/test_utils: repalce mockTicker with new MockTicker
2a77b57 lnwallet + funding: move funding tx publish to fundingmgr
5b77ebd lnwallet test: account for funding tx being published by fundingmanager
31117e6 lnwallet: lower timeout for waitForWalletSync back to 10s
b3d5d7a lnwallet: switch fee estimation to return sat/kw fee rates
3afa16b mock: make ListUnspentWitness return new outpoints each call
a63677a multi: switch to transaction weight to calculate transaction fees
936fcc1 multi: update to latest BitcoindClient interface
9d2eeb6 multi: update to latest fee estimation interface
60edca1 peer: adds StartTime() used to compute backoff relaxation
2762546 peer: replace NewBatchTicker with ticker.New
a76b9a8 routing/chainview/interface_test: use EdgePoint field names
3e7473f routing: backward searching
29b6bae routing: convert fee limit test to table-driven
3438baa routing: eliminate nested db transactions by using new FetchOtherNode method
e52d829 routing: path finding test refactored
336f1c1 rpcserver: convert sat/vbyte fee rates input by the user to sat/kw
a704c67 server: compute backoff with connection duration relaxation
d5d01dd server: configure switch w/ default log/fwd tickers
0de0a39 server: prevent increasing epochErrors if conn was established
8cc4681 test_utils: init switch with default fwd/log tickers
da521c7 tests: ensure build halts if tests fail during coverage mode
eeab500 ticker/mock: adds debug Mock Ticker
f8fe26f ticker/ticker: adds resumable Ticker interface
83353b4 ticker/ticker_test: adds Ticker interface tests
f4849b0 ticker: fix linter error
c35a701 ticker: remove debug build tag from mock.go
lnd v0.4.2-beta-573-gbb310a3d
Changelog
8379bba Merge pull request lightningnetwork#1673 from cfromknecht/prevent-db-reversions
97f9759 Merge pull request lightningnetwork#1675 from cfromknecht/peer-backoff-backoff
bb310a3 Merge pull request lightningnetwork#1681 from cfromknecht/lock-chain-arb-shutdown
33a5567 Merge pull request lightningnetwork#1691 from wpaulino/sync-gopkg
8a56b33 Merge pull request lightningnetwork#1702 from wpaulino/peer-bootstrapper-backoff
61681a5 Merge pull request lightningnetwork#1705 from Roasbeef/neutrino-update
17556f4 build: sync Gopkg.lock with Gopkg.toml
a368205 build: update to latest version neutrino
e23fc40 channeldb/db: check for db reversions on startup
ee34b9c channeldb/error: adds ErrDBReversion error
dff7706 channeldb/meta_test: adds TestMigrationReversion
8758671 contractcourt/chain_arbitrator: fix potential shutdown race
31117e6 lnwallet: lower timeout for waitForWalletSync back to 10s
60edca1 peer: adds StartTime() used to compute backoff relaxation
a704c67 server: compute backoff with connection duration relaxation
0de0a39 server: prevent increasing epochErrors if conn was established