Conner Fromknecht
1e64070a1d
build/version: move version.go to build pkg
2018-10-05 13:04:45 +09:00
Conner Fromknecht
bbceec8bea
lnd: log shutdown before closing rotator
2018-10-05 13:04:45 +09:00
Conner Fromknecht
bfcda6e205
log: initialize subloggers w/ build.LogWriter
...
and build.NewSubLogger
2018-10-05 13:04:45 +09:00
Conner Fromknecht
59b459674d
multi: init subsystem loggers via build pkg
2018-10-05 13:04:45 +09:00
Conner Fromknecht
9654a1c619
build/log: add log types + NewSubLogger
2018-10-05 13:04:45 +09:00
Conner Fromknecht
4ea1a40a88
build/loglevel: add build flag hooks for log levels
2018-10-05 13:04:45 +09:00
Conner Fromknecht
738ba45bcf
build/deployment: add prod+dev targets
2018-10-05 13:04:45 +09:00
Conner Fromknecht
10b35a8f20
main: remove disable log in testing + clean up imports
2018-10-05 13:04:45 +09:00
Conner Fromknecht
bab52421fa
make/testing_flags: make DEV_TAGS+PROD_TAGS, switch debug to dev
2018-10-05 13:04:45 +09:00
Conner Fromknecht
ece3051237
htlcswitch/hodl: switch from debug tag to dev
2018-10-05 13:04:45 +09:00
Conner Fromknecht
3403794e81
chainntnfs: switch debug tag to dev
...
This avoids collisions with the logging level tags
2018-10-05 12:59:34 +09:00
Olaoluwa Osuntokun
a3edcf9cd5
Merge pull request #1951 from cfromknecht/reorder-commit-hints-and-notify
...
chainntnfs: Reorder commit hints and notify
2018-10-02 17:43:11 -07:00
Conner Fromknecht
91b0e9cae5
chainntnfs/txconfnotifier: commit conf hints before notifying
2018-10-02 01:09:26 -07:00
Conner Fromknecht
7dceac92d2
chainntnfs/neutrino: commit spend hints before notifying
2018-10-02 01:09:26 -07:00
Conner Fromknecht
e498a837a3
chainntnfs/btcd: commit spend hints before notifying
2018-10-02 01:09:26 -07:00
Conner Fromknecht
fb7b12a7db
chainntnfs/bitcoind: commit spend hints before notifying
2018-10-01 16:47:01 -07:00
Olaoluwa Osuntokun
7fe095c541
Merge pull request #1970 from Roasbeef/more-abandon-channel-details
...
rpc: populate additional information in AbandonChannel close summary
2018-09-30 20:41:46 -07:00
Olaoluwa Osuntokun
79ed4e8b60
Merge pull request #1733 from cfromknecht/persist-network-watcher
...
lntest/node: persist network subscription state across restarts
2018-09-28 17:16:37 -07:00
Olaoluwa Osuntokun
13802b4218
Merge pull request #1963 from wpaulino/create-chan-buckets-once
...
channeldb: ensure channel buckets are only created once
2018-09-28 17:06:39 -07:00
Olaoluwa Osuntokun
4b1334ad49
rpc: populate additional information in AbandonChannel close summary
...
In this commit, we extend the AbandonChannel RPC method to store as much
information as possible within the CloseSummary. Most importantly, we
store the current and next (if available) revocation of the remote party
along with the channel config for the local party. With this
information, we have enough data to be able to generate a custom signer
for a new commitment state, or to prove that the channel was indeed
ours if needed.
2018-09-28 16:43:17 -07:00
Olaoluwa Osuntokun
c508365bcc
Merge pull request #1905 from halseth/fundinglocked-htlc-mismatch
...
Defer channel restoration until after channel active check.
2018-09-28 16:34:18 -07:00
Olaoluwa Osuntokun
e44e588a36
Merge pull request #1987 from wpaulino/remove-newwitnessaddress-rpc
...
rpc: remove NewWitnessAddress RPC
2018-09-28 15:43:56 -07:00
Wilmer Paulino
bdcc847a44
rpc: remove NewWitnessAddress RPC
...
In this commit, we remove the unnecessary NewWitnessAddress RPC. We do
this as, at the moment, we only expose the wallet to generate witness
addresses. Now that the RPC has been removed, its REST endpoint has been
assigned to the NewAddress RPC, which should be the de facto way of
having the wallet generate any type of supported address.
Fixes #1986 .
2018-09-28 02:52:09 -07:00
Johan T. Halseth
54a608d09d
htlcswitch+discovery mock: adhere to new lnpeer interface
2018-09-28 09:05:18 +02:00
Johan T. Halseth
a433e70575
fundingmanager test: satisfy new interfaces
2018-09-28 09:05:01 +02:00
Johan T. Halseth
b712b861f8
peer: make AddNewChannel take OpenChannel
...
This commit makes the AddNewChannel expect a OpenChannel instead of a
LightningChannel struct. This moves the responsibility for starting the
LightningChannel from the fundingmanager to the peer, and we can defer
the channel restoration until we know that the channel is not already
active.
2018-09-28 08:59:27 +02:00
Johan T. Halseth
addb4aed89
funding+server: make FindChannel return OpenChannel instead of LightningChannel
2018-09-28 08:59:27 +02:00
Johan T. Halseth
240318befe
peer: return error on newChanReq
...
Previously the errors weren't returned back to the sender of the new
channel, making it impossible to tell whether it suceeded or not.
2018-09-28 08:59:26 +02:00
Olaoluwa Osuntokun
b341dea373
Merge pull request #1108 from sangaman/sever-server
...
multi: fix sever/server typos
2018-09-27 22:23:45 -07:00
Dave Kerr
1977d45de5
multi: fix function references in comments and clarify grammar
2018-09-27 20:59:59 -07:00
CirroStorm
f594a57c94
lnwallet: remove need for lnwallet to have access to the private key
...
This paves the way for lnd to work with hardware wallets, in which case it will not have access to the private key.
2018-09-27 20:58:46 -07:00
Olaoluwa Osuntokun
6afee3d099
Merge pull request #1856 from maurycy/typos
...
multi: fix various typos in comments
2018-09-27 20:38:10 -07:00
Olaoluwa Osuntokun
54deb00846
Merge pull request #1922 from roeierez/payments_rpc
...
Add value_sat and value_msat to Payment
2018-09-27 20:32:59 -07:00
Olaoluwa Osuntokun
a9398ac01c
Merge pull request #1943 from joostjager/nursery-test
...
utxonursery: add test coverage
2018-09-27 20:16:19 -07:00
Roei Erez
6bc01384d6
udpate code to include the value_sat and value_msat fields in payments
2018-09-27 08:58:18 +03:00
Roei Erez
c5bebb3b32
add value_sat and value_msat to the outgoing payment response
2018-09-27 08:58:18 +03:00
Johan T. Halseth
835617b576
Merge pull request #1799 from tailnode/fix-markdown-issue
...
docs:fix markdown issues in docker/README.md
2018-09-26 10:02:08 +02:00
Olaoluwa Osuntokun
16ec80e163
contractcourt: update tests to use new IncubateOutputs API
2018-09-25 21:49:10 -07:00
Olaoluwa Osuntokun
68774e3ae4
Merge pull request #1807 from wpaulino/retransmit-zero-stale-channels
...
discovery/gossiper: check ErrNoGraphEdgesFound for restransmitStaleChannels
2018-09-25 21:14:23 -07:00
Patrick
fc1cca8332
README: fix typo
2018-09-25 21:12:14 -07:00
Olaoluwa Osuntokun
1494c9e67f
Merge pull request #1952 from joostjager/chanarb-test
...
cnct: add channel_arbitor htlcOutgoingContestResolver test
2018-09-25 21:05:43 -07:00
Joost Jager
77d6a6697d
utxonursery: check for quit channel
2018-09-24 20:40:23 -07:00
Joost Jager
8b515f83b3
utxonursery: add test for commitment output
2018-09-23 15:52:47 -07:00
Joost Jager
b89db6d614
utxonursery: assert empty database
2018-09-23 15:52:46 -07:00
Joost Jager
b5da791271
utxonursery: assert lingering goroutines
2018-09-23 15:52:46 -07:00
Joost Jager
f1590a15e7
makefile: dump all goroutines on panic
...
To provide more diagnostic information when unit tests panic.
2018-09-23 15:52:46 -07:00
Joost Jager
9f6fb1e128
utxonursery: test restart behaviour
2018-09-23 15:52:45 -07:00
Joost Jager
83a5ea0c31
utxonursery: add test coverage for outgoing htlc
2018-09-23 15:51:35 -07:00
Wilmer Paulino
828ecfe343
peer: skip sending active channel updates for pending open channels
...
In this commit, we skip sending active channel update for pending open
channels as they are not yet part of the graph.
2018-09-21 17:26:37 -07:00
Wilmer Paulino
99a4952239
server+peer: check ErrEdgeNotFound when enabling/disabling a channel
...
In this commit, we also check ErrEdgeNotFound when attempting to send an
active/inactive channel update for a channel to the network. We do this
as it's possible that a channel has confirmed, but it still does not
meet the required number of confirmations to be publicly announced.
2018-09-21 17:24:36 -07:00