-
7caf3ceb49
lnrpc: add new color field to LightningNode
Olaoluwa Osuntokun
2017-12-02 18:35:49 -08:00
-
37c54153fa
discovery: properly set node's color when syncing graph state
Olaoluwa Osuntokun
2017-12-02 18:33:05 -08:00
-
ee7c3ff01c
discovery: properly set node's color field when adding NodeAnnouncement to router
Olaoluwa Osuntokun
2017-12-02 18:28:26 -08:00
-
4b6ada98d6
lnwire: use color.RGBA instead of custom type in NodeAnnouncment
Olaoluwa Osuntokun
2017-12-02 18:23:05 -08:00
-
724adb158c
server: lookup DNS seeds directly by active chain's genesis hash
Olaoluwa Osuntokun
2017-12-02 18:05:43 -08:00
-
30b4ab2c74
chains: use proper genesis hash for Bitcoin's testnet
Olaoluwa Osuntokun
2017-12-02 18:04:03 -08:00
-
e8590b12ba
lnwallet/channel: handle error from sigpool start
Conner Fromknecht
2017-11-28 12:55:33 -08:00
-
-
-
f196c72aa4
Merge pull request #439 from Roasbeef/copy-right
Olaoluwa Osuntokun
2017-12-01 19:34:25 -08:00
-
-
ccd1dad71e
peer: set HtlcPoint to nil within logWireMessage
Olaoluwa Osuntokun
2017-12-01 19:27:38 -08:00
-
3802cb90df
discovery: publicly export announcement validation related functions
Olaoluwa Osuntokun
2017-12-01 19:24:33 -08:00
-
7bd2cd0a16
rpc: only cancel closeObserver if force close succeeds
Olaoluwa Osuntokun
2017-12-01 19:11:09 -08:00
-
4d6cd2ee36
chain: the default minHTLC policy is now 1
Olaoluwa Osuntokun
2017-11-30 22:54:17 -08:00
-
9314aa2e7d
funding: route back full lnwire.Error to caller upon funding flow failure
Olaoluwa Osuntokun
2017-11-30 22:53:19 -08:00
-
c081b386d2
funding: when crafting our ChannelUpdate use the remote party's minHTLC
Olaoluwa Osuntokun
2017-11-30 22:52:28 -08:00
-
55bdf25235
funding: attempt to send error back to caller within CancelPeerReservations
Olaoluwa Osuntokun
2017-11-30 22:42:20 -08:00
-
9b53d7bd95
channeldb: treat Flags field in ChannelEdgePolicy as a bitfield
Olaoluwa Osuntokun
2017-11-30 22:41:46 -08:00
-
12a0488bc6
discovery: use lnwire.ChanUpdateFlag masks when examinig ChannelUpdate msgs
Olaoluwa Osuntokun
2017-11-30 22:37:16 -08:00
-
3e3de26ac9
discovery: set proper flag within createChanAnnouncement
Olaoluwa Osuntokun
2017-11-30 22:32:53 -08:00
-
a78ff8ba04
routing: during path finding skip edges that are marked disabled
Olaoluwa Osuntokun
2017-11-30 22:31:18 -08:00
-
b61670fe23
routing: during path finding skip edge if amount < edge.MinHTLC
Olaoluwa Osuntokun
2017-11-30 22:29:38 -08:00
-
73ccb76853
routing: update ChannelUpdate handling to recognize lnwire.ChanUpdateFlag
Olaoluwa Osuntokun
2017-11-30 22:24:27 -08:00
-
5e3dbfcd78
lnwire: add new ChanUpdateFlag for the ChannelUpdate flag bitmask
Olaoluwa Osuntokun
2017-11-30 22:21:27 -08:00
-
c3ec32e67b
peer: display lnwire.Error body as ascii string in messageSummary
Olaoluwa Osuntokun
2017-11-30 22:19:12 -08:00
-
260ff8831a
htlcswitch: update UpdateFee usage due to recent API change
Olaoluwa Osuntokun
2017-11-30 22:17:48 -08:00
-
b8bed9a677
lnwallet: in BtcdFeeEstimator is sat/byte is too low, fallback to default rate
Olaoluwa Osuntokun
2017-11-30 22:12:50 -08:00
-
c27e87f168
lnwallet: update UpdateFee msg usage to latest API changes
Olaoluwa Osuntokun
2017-11-30 22:10:36 -08:00
-
4bec706b11
lnwallet: fix bug in htlcIsDust, outgoing HTLC on remote commit is htlcSuccess
Olaoluwa Osuntokun
2017-11-30 22:09:35 -08:00
-
d0a356c948
lnwire: the FeePerKw is a uint32, not a btcutil.Amount
Olaoluwa Osuntokun
2017-11-30 22:07:42 -08:00
-
87840f215b
server: disable network bootstrapping for regtest
Olaoluwa Osuntokun
2017-11-30 22:07:01 -08:00
-
c0b8c29382
discovery: continue in loop after processing announcement signatures
Olaoluwa Osuntokun
2017-11-29 18:35:11 -08:00
-
4ab16b5c91
discovery: process AnnouncementSignatures msgs serially
Olaoluwa Osuntokun
2017-11-29 17:53:16 -08:00
-
7757721a92
routing: don't dispatch notification if error is non nil after processing ann
Olaoluwa Osuntokun
2017-11-29 17:52:39 -08:00
-
3067d05ae8
discovery: validate incoming announcements in parallel
Olaoluwa Osuntokun
2017-11-29 16:45:08 -08:00
-
5bc9f07d12
routing: validate incoming announcements in parallel
Olaoluwa Osuntokun
2017-11-29 16:44:08 -08:00
-
fcd5e4aa41
routing: when updating chain view filter on restart, use best height as height hint
Olaoluwa Osuntokun
2017-11-29 16:26:32 -08:00
-
978023ab1d
routing: ensure notifyTopologyChange is theadsafe
Olaoluwa Osuntokun
2017-11-29 16:24:27 -08:00
-
33ce4e5689
routing: add new ValidationBarrier to allow for safe parallel validation of announcements
Olaoluwa Osuntokun
2017-11-29 16:23:49 -08:00
-
2dcd2b8a6d
discovery: add a mutex in order to make deDupedAnnouncements thread-safe
Olaoluwa Osuntokun
2017-11-29 16:21:08 -08:00
-
f4f476fe9f
chainregistry: also disable fee estimation for regtest
Olaoluwa Osuntokun
2017-11-29 16:15:00 -08:00
-
94ba7f964d
channel: properly roll over fee from commit tx during co-op chan close
Olaoluwa Osuntokun
2017-11-29 16:14:17 -08:00
-
4b05bad4f1
utxn: log the CSV value of kindergarten outputs on state transition
Olaoluwa Osuntokun
2017-11-29 16:10:19 -08:00
-
92f4f4fbda
walletunlocker: check that password is at least 8 characters
johan
2017-11-14 04:12:49 +00:00
-
63c8c299ed
lnwallet: use remote height as reference when gauging channel breaches
Olaoluwa Osuntokun
2017-11-28 12:25:33 -08:00
-
5b7abee92e
lnwire: correct incorrect type numbers for UpdateFee, Shutdown, and ClosingSigned
Olaoluwa Osuntokun
2017-11-28 12:15:21 -08:00
-
-
-
b98e993d76
lnallet: remove a TODO from signer.go
Micah Lerner
2017-11-27 23:09:05 -05:00
-
58ab3f5f83
peer: show conf depth in message summary for AcceptChannel
Olaoluwa Osuntokun
2017-11-27 15:32:06 -08:00
-
e572c549be
Merge pull request #438 from Roasbeef/mac-docs
Alex Akselrod
2017-11-27 17:22:04 -07:00
-
-
0952b68e64
multi: retain original copyright on files copied/modified from btcsuite
Olaoluwa Osuntokun
2017-11-27 16:12:09 -08:00
-
4066571590
LICENSE: update date on primary copyright
Olaoluwa Osuntokun
2017-11-27 16:19:04 -08:00
-
-
-
03d2d098b4
docs: add new section for macaroons
Olaoluwa Osuntokun
2017-11-27 12:24:00 -08:00
-
-
2fb7f5d4f3
lnwallet: fix typos
Liu-Cheng Xu
2017-11-28 07:24:45 +08:00
-
029c44a562
docker: add missing word in README
Philipp Gillé
2017-11-28 00:18:30 +01:00
-
a3a02495fe
docs: fix tutorial link in INSTALL.md
34ro
2017-11-28 08:16:24 +09:00
-
de6e511539
docker: btcd requires Go 1.8 or newer and fails to build with 1.7
mlerner
2017-11-19 21:19:20 -08:00
-
bc1e0cd8dd
docker: add missing backslash to start-lnd.sh
mlerner
2017-11-23 00:06:48 -08:00
-
483dc3f96a
lnwallet: only the initiator needs to validate new fee updates
Olaoluwa Osuntokun
2017-11-27 12:24:00 -08:00
-
3e90000e2a
lnwallet: reject UpdateFee messages if it puts initiator below the water
Olaoluwa Osuntokun
2017-11-26 13:50:39 -06:00
-
807784a1c4
lnwallet: fix ChanReserve calculation in createTestChannels to be non-random
Olaoluwa Osuntokun
2017-11-26 13:40:33 -06:00
-
7d3e1308e4
lnwallet: add ability to properly retransmit UpdateFee state transitions
Olaoluwa Osuntokun
2017-11-26 13:40:12 -06:00
-
52e6cb1a06
lnwallet: correct BTC -> SAT conversion in BtcdFeeEstimator
Olaoluwa Osuntokun
2017-11-26 13:35:25 -06:00
-
91bb95991e
lnwallet: make 1% reservation computation clearer
Olaoluwa Osuntokun
2017-11-26 13:34:25 -06:00
-
24ad3e17de
lnwallet: reject funding flows if local amount is insufficient w.r.t fees
Olaoluwa Osuntokun
2017-11-26 13:32:57 -06:00
-
c986e52da7
funding+server: ensure we cancel all reservations when a peer disconnects
Olaoluwa Osuntokun
2017-11-26 13:25:26 -06:00
-
7016f5ba1e
build: update to latest btcd
Olaoluwa Osuntokun
2017-11-23 23:32:41 -06:00
-
56632235fd
peer: set FeeEstimator in ChannelLinkConfig when creating link
Olaoluwa Osuntokun
2017-11-23 23:08:38 -06:00
-
caf824bbc4
build: update to latest btcwallet
Olaoluwa Osuntokun
2017-11-23 22:32:04 -06:00
-
62473009b5
htlcswitch: within link, with each new block, check to see if commit fee should change
Olaoluwa Osuntokun
2017-11-23 22:31:45 -06:00
-
c560200ba1
htlcswitch: add new shouldAdjustCommitFee helper function
Olaoluwa Osuntokun
2017-11-23 22:21:46 -06:00
-
5a1a3c7277
lnwallet: add IsInitiator and CommitFeeRate methods to LightningChannel
Olaoluwa Osuntokun
2017-11-23 22:02:55 -06:00
-
1b716e6c87
lnwallet: update testListTransactionDetails to account for tx fee
Olaoluwa Osuntokun
2017-11-23 22:02:33 -06:00
-
c437f42227
build: update glide to latest btcd+btcwallet
Olaoluwa Osuntokun
2017-11-23 13:55:21 -06:00
-
39295dc5aa
lnwallet+peer: add new ResetState method to channel state machine
Olaoluwa Osuntokun
2017-11-23 13:49:48 -06:00
-
923cbe62a0
breacharbiter: also cancel the channel's observer in case of close, or hand-off
Olaoluwa Osuntokun
2017-11-23 13:41:42 -06:00
-
1d65839bca
peer: update cooperative closure unit tests to latest negotiation policy
Olaoluwa Osuntokun
2017-11-23 13:41:20 -06:00
-
385023f0b7
cmd/lncli: add new --target_conf and --sat_per_byte args for relevant commands
Olaoluwa Osuntokun
2017-11-23 13:40:14 -06:00
-
530c49f12e
funding: sent channel to breachArbiter as soon as it's open
Olaoluwa Osuntokun
2017-11-23 13:39:04 -06:00
-
6e3d231619
funding: properly pass in channel state as argument of closure in Start
Olaoluwa Osuntokun
2017-11-23 13:38:52 -06:00
-
a3cd248404
funding+utxonursery+breacharbiter: use new FeeEstimator API
Olaoluwa Osuntokun
2017-11-23 13:38:08 -06:00
-
ad364ae9a1
chains+server: if not in simnet mode, use BtcdFeeEstimator
Olaoluwa Osuntokun
2017-11-23 13:36:12 -06:00
-
5a51600f95
htlcswitch: update CloseLink to accept ideal fee rate
Olaoluwa Osuntokun
2017-11-23 01:28:16 -06:00
-
259a01b29d
peer: integrate new channelCloser state machine for co-cop channel closes
Olaoluwa Osuntokun
2017-11-23 01:21:07 -06:00
-
1cf1d250b3
peer: update WipeChannel method to match recent htlcswitch API change
Olaoluwa Osuntokun
2017-11-23 01:15:48 -06:00
-
25082f0b5b
htlcswitch: update WipeChannel on Peer interface to simply take the chanPoint
Olaoluwa Osuntokun
2017-11-23 01:15:21 -06:00
-
3aabbce551
htlcswitch: update tests to adhere to new FeeEstimator changes
Olaoluwa Osuntokun
2017-11-23 01:12:53 -06:00
-
3c4a6f42fa
server: update OpenChannel to properly pass in custom funding fee
Olaoluwa Osuntokun
2017-11-23 00:57:52 -06:00
-
afaa1681c8
rpc: OpenChannel, CloseChannel, SendMany/SendCoins now respect fee args
Olaoluwa Osuntokun
2017-11-23 00:57:23 -06:00
-
050500388c
chancloser: add new state machine to handle details of cooperative channel closure
Olaoluwa Osuntokun
2017-11-23 00:54:28 -06:00
-
661f27a404
lnwallet: update test due to recent API changes
Olaoluwa Osuntokun
2017-11-23 00:47:43 -06:00
-
98cba87fb1
lnwallet: decouple closeObserver from main quit channel in LightningChannel
Olaoluwa Osuntokun
2017-11-23 00:40:38 -06:00
-
98a8951e5b
lnwallet: CompleteCooperativeClose now accepts final fee in btcutil.Amount
Olaoluwa Osuntokun
2017-11-23 00:36:40 -06:00
-
e96c62db65
lnwallet: no longer return fee from CreateCloseProposal
Olaoluwa Osuntokun
2017-11-23 00:36:20 -06:00
-
6d10677ef5
lnwallet: allow callers to specify fee for funding transaction in funding flow
Olaoluwa Osuntokun
2017-11-23 00:30:57 -06:00
-
36256f3f39
lnwallet/btcwallet: update SendOutputs implementation due to recent API changes
Olaoluwa Osuntokun
2017-11-23 00:29:32 -06:00
-
8b6842c760
lnwallet: update interface level tests to adhere to recent API changes
Olaoluwa Osuntokun
2017-11-23 00:29:08 -06:00
-
4a277276fd
lnwallet: update SendOutputs method on WalletController to accept fee
Olaoluwa Osuntokun
2017-11-23 00:28:56 -06:00
-
a1c0e30051
lnwire: the FeeSatoshis field in the ClosingSigned message is now btcutil.Amount
Olaoluwa Osuntokun
2017-11-23 00:27:26 -06:00
-
78ccfb4989
lnwallet: add BtcdFeeEstimator implementation of FeeEstimator interface
Olaoluwa Osuntokun
2017-11-23 00:26:07 -06:00
-
e20448ebc6
lnwallet: update StaticFeeEstimator to adhere to new FeeEstimator interface
Olaoluwa Osuntokun
2017-11-23 00:11:42 -06:00
-
b4855b687e
lnwallet: add Start() and Stop() method to the FeeEstimator interface
Olaoluwa Osuntokun
2017-11-23 00:11:21 -06:00
-
0713c8c7ce
lnwallet: extend FeeEstimator methods to be able to return an error
Olaoluwa Osuntokun
2017-11-23 00:11:02 -06:00