Skip to content

lnd v0.5.1-beta-982-gf9ba6759

Pre-release
Pre-release
Compare
Choose a tag to compare
@mrfelton mrfelton released this 22 Mar 16:01
· 10960 commits to master since this release
42c4597

Changelog

9e920f1 Add password length validation on create CLI
c7884d1 Change simtest to testnet for connection to testnet faucet
29fe6e6 Makefile: actually install btcd w/ make btcd
b66f97c Makefile: fix unit test flakehunter when running on specific package
158a32c Merge pull request lightningnetwork#1228 from halseth/fee-estimation-rpc
2bf2261 Merge pull request lightningnetwork#1595 from wpaulino/send-channel-update-reliably
aa1cd04 Merge pull request lightningnetwork#2022 from joostjager/holdinvoice
e1382bd Merge pull request lightningnetwork#2083 from Roasbeef/ln-router-service
81783a6 Merge pull request lightningnetwork#2212 from halseth/autopilot-bos-scores
c8b5e1f Merge pull request lightningnetwork#2411 from cfromknecht/chan-status-manager
9d23d38 Merge pull request lightningnetwork#2419 from cfromknecht/brontide-buffer-pool
b13d8cd Merge pull request lightningnetwork#2434 from valentinewallace/fwding-policy-max-htlc
2a65245 Merge pull request lightningnetwork#2437 from valentinewallace/max-htlc-routing
a6ba965 Merge pull request lightningnetwork#2474 from cfromknecht/read-and-write-pools
b4a1024 Merge pull request lightningnetwork#2490 from aakselrod/tor-null-auth-and-listen-fixes
ad88490 Merge pull request lightningnetwork#2497 from joostjager/querysingleroute
cbe0bf6 Merge pull request lightningnetwork#2501 from cfromknecht/batch-preimage-writes
acd458d Merge pull request lightningnetwork#2549 from halseth/router-ignore-unknown-chanupdate
cee1889 Merge pull request lightningnetwork#2565 from joostjager/sendpayment-refactor
e58fa33 Merge pull request lightningnetwork#2590 from Crypt-iQ/init_message_payload_fix
44b8cd6 Merge pull request lightningnetwork#2602 from lightningnetwork/ticker-queue-modules
f3215e0 Merge pull request lightningnetwork#2610 from halseth/trivial-itest
ec62104 Merge pull request lightningnetwork#2618 from cfromknecht/wtclient
b1ef153 Merge pull request lightningnetwork#2631 from Roasbeef/update-neutrino-sync-conn
36cc1da Merge pull request lightningnetwork#2633 from halseth/autpilot-chansize-allocation
f00a643 Merge pull request lightningnetwork#2634 from halseth/ottosuess-comment_typo_fix
e10fe91 Merge pull request lightningnetwork#2637 from Roasbeef/neutrino-filter-fix
4fce641 Merge pull request lightningnetwork#2639 from halseth/routing-remove-unised-nodeindex-chanindex
8a0d0ec Merge pull request lightningnetwork#2651 from kaplanmaxe/payinvoice-error-exit-code
188df62 Merge pull request lightningnetwork#2656 from Roasbeef/neutrino-op-return-fix
63273e1 Merge pull request lightningnetwork#2661 from Roasbeef/last-unused-addr
c1228ae Merge pull request lightningnetwork#2671 from wpaulino/tx-broadcast-err-handling
b93b4f2 Merge pull request lightningnetwork#2672 from Gfloresechaiz/Gfloresechaiz-patch-1
4de9ffd Merge pull request lightningnetwork#2679 from joostjager/itest-unkeyed
3371c5f Merge pull request lightningnetwork#2680 from grunch/passwd-length-validation-on-create-wallet
c853555 Merge pull request lightningnetwork#2690 from cfromknecht/hwsc-fndg-priority-queue
232dd73 Merge pull request lightningnetwork#2691 from cfromknecht/increase-default-recovery-window
3be894b Merge pull request lightningnetwork#2702 from MDrollette/inactive-overflow
2d87a77 Merge pull request lightningnetwork#2703 from sanket1729/master
abda447 Merge pull request lightningnetwork#2705 from halseth/travis-go-1.12
475103d Merge pull request lightningnetwork#2707 from joostjager/commit-resolver-fix
a2dafde Merge pull request lightningnetwork#2711 from BrownBurger/installation-bip-links
3e11d72 Merge pull request lightningnetwork#2713 from halseth/listchannels-debug-log
8b1321d Merge pull request lightningnetwork#2732 from cfromknecht/revert-write-timeout-reduction
7116184 Merge pull request lightningnetwork#2736 from cfromknecht/config-num-workers
e0886ff Merge pull request lightningnetwork#2739 from wpaulino/make-flake-unit-fix
c7ca387 Merge pull request lightningnetwork#2744 from cfromknecht/disable-before-close
3895a4f Merge pull request lightningnetwork#2745 from cfromknecht/make-install-btcd
9d443a9 Merge pull request lightningnetwork#2746 from joostjager/sendpayment-arg
cfb5e24 Merge pull request lightningnetwork#2749 from Roasbeef/bork-force-close
5ee40df Merge pull request lightningnetwork#2765 from cfromknecht/brar-handle-tower-sweep
5ef95a5 Merge pull request lightningnetwork#2766 from Roasbeef/chain-watcher-fix-off-by-one
d075722 Merge pull request lightningnetwork#2768 from Roasbeef/neutrino-rescan-btcwallet-broadcast-update
9143067 Merge pull request lightningnetwork#2779 from cfromknecht/wtserver-delete-session
15c9b38 Merge pull request lightningnetwork#2781 from joostjager/fix-routerrpc
9fc4335 Merge pull request lightningnetwork#2790 from alexbosworth/patch-11
6440f39 Merge pull request lightningnetwork#2794 from halseth/autopilot-query-heuristic-no-active-agent
6d3b142 Merge pull request lightningnetwork#2800 from Roasbeef/simplify-timeout-resolver
9f6a140 Merge pull request lightningnetwork#2804 from Roasbeef/update-btcwallet-itest-deadlock
928f060 README: remove testnet3 specificity
6f1ccf1 Revert "peer: reduce write timeout to 10s"
0261787 Update INSTALL.md
d481342 autopilot+autopilotrpc: ignore local channels if ignore_local_state set
5dabb1a autopilot+lnrpc: wire up SetNodeScores RPC to set scores of agent
4a1e06b autopilot/agent: distribute available funds among channels
fb5b6ff autopilot/agent_test: add TestAgentChannelSizeAllocation
b71f463 autopilot/agent_test: define testCtx, setup, other helpers
749d9cc autopilot/combinedattach: add SetNodeScores
25f1252 autopilot/externalscoreattach_test: add TestSetNodeScores
b23e53e autopilot/interface+externalscoreattach: define ScoreSettable
dff61fa autopilot: add ExternalScoreAttachment heuristic
dd07230 autopilot: move queryHeuristic out of agent
3641beb breacharbiter: capitalize "unable to" error msgs
997aa3e breacharbiter: detect all spends, add terminal states
9523b42 breacharbiter_test: add table-driven breach spend tests
8ac8d95 brontide/conn: expose ReadNextHeader+ReadNextBody
41940c6 brontide/conn: handle read timeout errors
ca4226d brontide/listener: handle SetReadDeadline errors
93ce4a7 brontide/noise: compose ReadMessage from ReadHeader+ReadBody
2900d8a brontide/noise: take read buffers from pool, return w/ finalizer
04febab brontide/noise: use static default ephemeral keygen closure
7857404 brontide/noise: use statically allocated prologue
5d9514f buffer+pool: add buffer.Read and pool.ReadBuffer
73efc31 build: add routerrpc tag in itest
f95a71f build: bump to psuedo version 0.5.2-99-beta
4608ef9 build: update btcd, btcwallet, btcutil, and neutrino
33b6e7c build: update deps to use ticker and queue modules
c48790f build: update to latest btcwallet with deadlock bug fix, neutrino bump
e65012a build: update to latest neutrino build
eb30870 build: update to latest version of btcutil with Litecoin bug fix
cbf352d build: update to latest version of neutrino
325d77c chancloser+cnct: disable channel before closing
0a3e1cf channeldb+witness_beacon: use sha256 lookup+delete witness
2b012b0 channeldb/graph test: add test for update policy for unknown edge
e8b7f1f channeldb/witness_cache: create AddSha256Witnesses helper + test
56b6bec channeldb/witness_cache_test: test batch preimage insertion
9febc9c channeldb: add gossiper message store key migration
032eacb channeldb: prevent mutating on-disk commitment state if channel is borked
19f7961 channeldb: store hold invoice
32c4201 cmd/lncli: increase default recovery window to 2.5k
29f07a5 cnct+lnwl+hswc: use lntypes.Preimage for witness beacon
f23fdf9 cnct: fix error returning bug
4686db4 config+server+lnd_test: expose chan status manager config options
d81ce61 config: add sanity check to prevent non-negative worker counts
88252d7 config: add sub-server config parsing logic for the new Router service
66a1502 config: default to listening for p2p on localhost when tor enabled
76116f0 config: use CLI worker configuration instead of NumCPU()
48532dc contractcourt: abstract call to GetStateNumHint within the closeObserver
449c3d5 contractcourt: add access to full invoice registry from resolvers
795c9f1 contractcourt: add new TestChainWatcherDataLossProtect test case
db411c2 contractcourt: add new set of tests in htlcTimeoutResolver to exercise refactorings
e1a07b6 contractcourt: extract which timeout HTLC output to watch into new method
6983a9e contractcourt: fix off-by-one error in closeObserver case
bc72691 contractcourt: mark channel as borked before removing the link
b078cea contractcourt: move claimCleanUp from contest resolver to timeout
6b24b6d contractcourt: simplify htlcTimeoutResolver, unify with HTLC contest logic
0ae06c8 discovery+server: send lazy gossip msgs
6e556aa discovery/gossiper_test: prevent race conditions within mockGraphSource
847b064 discovery/message_store: add gossip message store
2f679f6 discovery/reliable_sender: implement message-agnostic reliable sender
f9ba6759 enable mainnet neutrino
fab7421 fix links to BIP 157 and 158
20b3114 htlcswitch+lnwallet+peer: default max htlc in fwding policy of new chans
76cecb1 htlcswitch/link: batch write to preimage cache
f0e6689 htlcswitch/link: verify an htlc is not too large in HtlcSatifiesPolicy
833c31e htlcswitch/link_test+test_utils: add max htlc to forwarding policies
3428fde htlcswitch/link_test: batch preimage write test
0823c79 htlcswitch/test: hodl invoice test
e464ed1 htlcswitch/test: make unknown hash test independent of mock
9643b45 htlcswitch/test: move preimage cache to server level
aeb35d9 htlcswitch/test: use real invoice registry with temp db as mock
1f41a2a htlcswitch: abtract invoice from link
eb598ec htlcswitch: extract exit hop processing to method
c23bb5b htlcswitch: extract settle invoice into method
32f2b04 htlcswitch: hodl invoice
4141773 htlcswitch: resolve invoice cancelation race condition
3b5c2f4 invoices: extract invoice decoding from registry
f450929 invoicesrpc: add SettleInvoice
3f181b3 lncfg/workers: configurable read, write, and sig pool workers
6aae6fd lncli/autopilot: add -ignorelocal state flag to query
a5becc2 lncli: add estimatefee command
22b68e5 lncli: add hold invoice
f6d6794 lncli: add settle invoice command
5b6fdbe lncli: fix command line argument parsing for sendpayment
9bfb822 lncli: returning non 0 exit code when paying invoice fails
1fe6599 lnd+chainregistry: initialize neutrino light client before wallet setup
1091031 lnd: extract neutrino initialization to new function
3f3656a lnd_test: assert htlc sweep is mined
aefc239 lnd_test: assert num channels before state check
81b2e35 lnd_test: convert assertNumOpenChannelsPending to use waitNoError
b19b260 lnd_test: disable mempool check on justice tx rebroadcast
d67b196 lnd_test: remove unkeyed field references
ef41fc6 lnd_test: set valid chan status config flags
8baa6d6 lnd_test: test disable is sent during close
b09adc3 lnrpc+routing: add edges and nodes restrictions to query routes
1e2af38 lnrpc+rpcserver: define and implement EstimateFee RPC
c7ab6f3 lnrpc/autopilotrpc: add ignore_local_state flag
fcdc8f0 lnrpc/invoices: add hold invoice rpc
8392f6d lnrpc/invoicesrpc: remove lnrpc type from add invoice
cfd6a0d lnrpc/routerrpc: add config, implement full RouterServer
38769fb lnrpc/routerrpc: add protos for new Router sub-server
a24eeb9 lnrpc/routerrpc: style fix ups
83edcb7 lnrpc: add API SetScores
e62a8f3 lnrpc: add max_htlc to RoutingPolicy
7703567 lnrpc: add new unused address types for NewAddressRequest
6e10c05 lnrpc: deprecate QueryRoutes with more than one route
99fab52 lnrpc: fix minor comment typo
b9cc165 lnrpc: move add invoice logic to subserver
5d1eaaf lnrpc: rename MaxHtlc to MaxHtlcMsat in lnrpc.RoutingPolicy
2d8bc99 lntypes/preimage: add MakePreimage initializer
10a655b lntypes: add preimage Matches method
c4263e7 lntypes: return a value from constructors
a6cf6f4 lnwallet+peer: remove unnecessary MaxPendingAmount method
6fb664d lnwallet/btcwallet: implement CreateSimpleTx
5c5c542 lnwallet/btcwallet: remove unnecessary tx in mempool/chain checks
bb092bc lnwallet/interface: add CreateSimpleTx to wallet interface
54f1f32 lnwallet/interface_test: add testCreateSimpleTx
8c1181a lnwallet: add LastUnusedAddress to WalletController interface
b409e5d lnwallet: add new TestForceCloseBorkedState test
4645fc0 lnwallet: export ForceStateTransition for tests outside package
dac35c4 lnwallet: properly examine and check error from AppendRemoteCommitChain
306c0c8 lnwallet: return ErrNoOutputs in case no outputs are sent to
33ad645 lnwallet: update TestChanSyncFailure to pass with new borked update restriction
49c38ed lnwallet: update line wrapping to project style where needed
652ebb1 lnwire: add constructor for FinalExpiryTooSoon failure message
7a65be7 lnwire: features "maxAllowedSize" fix
d09d514 lnwire: include init prefix in MaxPayloadLength calculation
3ebc66b mock: add CreateSimpleTx to mockWalletController
6f06c30 mock: support late registration of spend ntfns
6f96d04 multi: add buffer.Write and pool.WriteBuffer, make GCQueue generic
69d3c47 multi: inspect missed errors in scoped if statements
30f61b7 multi: make AddPreimage variadic, optimistically compute key
7946d0a multi: remove ErrDoubleSpend check for PublishTransaction
d86fe39 multi: update build to latest version of neutrino+btcwallet
53797b7 netann/chan_status_manager: adds ChanStatusManager
714e42f netann/chan_status_manager: remove unknown edges from passive disable
cd46719 netann/chan_status_manager_test: adds ChanStatusManager unit tests
b405c87 netann/channel_state: defines ChanStatus and per-channel state
1a7fd6e netann/channel_update: exposes channel update helpers moved from server
a0daf6f netann/channel_update_test: adds unit tests UpdateDisableFlag
559255e netann/interface: defines chan status mgr interfaces
de28217 peer+server+test_utlils: use new ChanStatusManager
9a3c0b8 peer+server: switch to pool.Write from pool.WriteBuffer
603601a peer+server: use peer-level readPool
f39edd8 peer: add SendMessageLazy
660bbaf peer: add message reordering based on priority
2e5bc78 peer: preallocate errchans opt
db2c104 peer: reduce write timeout to 10s
90cbf9f peer: set max htlc when loading active channels on start
32339a9 pool/read: adds Read pool
37d8663 pool/worker: add generic Worker pool
ce1bd4b pool/worker_test: add tests for concrete Worker pools
d2eeee7 pool/write: adds Write pool
9c8b627 queue: add module support
087de7c routerrpc: adapt to changed interfaces of routing subsystem
293971c routerrpc: move query routes into sub server
0c6c104 routing/ntfns+rpcserver: include max htlc in topology notifications
648adae routing/pathfind: ensure max htlc is considered during path finding
01ea797 routing/router test: add TestIgnoreChannelEdgePolicyForUnknownChannel
23ce82f routing/router: don't apply channel policy updates for unknown channels
c62c9d6 routing: add source parameter to query routes
f4cc2e2 routing: add todo describing fee limit bug
6cc82b4 routing: add todo describing route cache bug
4376f3e routing: allow nil maps for ignored edges and nodes
b2b28b4 routing: export RestrictParams and EdgeLocator
4937304 routing: remove redundant fee limit check in newRoute
1259bac routing: remove unused code, nodeIndex and chanIndex
f8721ff routing: sendPayment broken down into multiple functions
7719bc4 routing: take Vertex types as path finding source and target nodes
348a66e routing: update test edge policy fields to include max htlc + new flags
65cdb12 rpc: recognize the new unused prefix address types
675a8b2 rpcserver: include max htlc in DescribeGraph response
7729303 rpcserver: make listchannels debug log
1664617 rpcserver: prevent overflow in channel count
73b4bc4 server+discovery: remove channeldb.DB reference within the gossiper
2277535 server+discovery: replace gossiper message store with MessageStore
12168f0 server+discovery: send channel updates to remote peers reliably
4996d49 server+discovery: use reliableSender to replace existing resend logic
935ea7d server: broadcast using SendMessageLazy, remove unused sendPeerMessages
b50fd33 server: remove unused SendToPeer method
f525d31 test_utils: start chan status manager
8b185e6 test_utils: waitgroup manually spawned goroutines
288870f tor: add support for NULL authentication to controller
0082db4 travis: use go 1.12.x
1cea8d9 utoxnursery: allow nursery to start up if timeout spend happens
4642954 watchtower/wtclient/backup_task: bind to ClientSession instead of SessionInfo
f00b4c5 watchtower/wtclient/client: hook up full client pipeline
80040d9 watchtower/wtclient/client_test: adds client-server upload test
b23bff6 watchtower/wtclient/errors
b190345 watchtower/wtclient/interface: add DB ifaces
04bbf39 watchtower/wtclient/log: adds wtclient logging
95fa765 watchtower/wtclient/session_negotiator: add session negotiation
aa2b211 watchtower/wtclient/session_queue: batch upload state updates
abef9e0 watchtower/wtclient/stats: adds clientStats
65d09fc watchtower/wtclient/task_pipeline: add reliable task aggregator
a8721bc watchtower/wtclient/tower_candidate_iterator: linked-list iterator
8e3a8f2 watchtower/wtclient: fix linter issue
8b0cc48 watchtower/wtdb+wtserver: allow retransmission of last update
9177358 watchtower/wtdb/client_session: add ClientSession
247978d watchtower/wtdb/tower: store wt pk and addrs
87e8700 watchtower/wtmock/client_db: add mock client db
81497ec watchtower/wtmock/peer: create mock net.Conn using bidi MockPeer
05e3a7f watchtower/wtmock/peer: set local pubkey
8e4a20e watchtower/wtserver/interface: add DeleteSession + mock impl
e1e805d watchtower/wtserver/server: fix race condition on Stop
a222a63 watchtower/wtserver/server: no ack updates
0c51977 watchtower/wtserver/server_test: add TestServerDeleteSession
3564406 watchtower/wtserver/server_test: cleanup test framework, remove test case indexes
26adf73 watchtower/wtserver: add DeleteSession handler
25b2a35 watchtower/wtserver: refactor server handlers into own files
9c70f49 watchtower/wtwire/create_session_reply: remove extra Reject from code
99dbbf4 watchtower/wtwire/error_code: add human-readable descriptors
3d934d0 watchtower/wtwire: add DeleteSession and DeleteSessionReply message
2be1051 zpay32: move HopHint and DefaultFinalCLTVDelta