Johan T. Halseth
d40cf6b592
autopilot: split channel definition into LocalChannel/ChannelEdge
...
Since non-local channels won't have a balance field, we split the
definitions in anticipation of adding one.
2020-10-05 12:24:07 +02:00
Johan T. Halseth
3e1755ee99
autopilot: remove unimpleneted SpliceIn/Out methods
2020-10-05 12:16:50 +02:00
Johan T. Halseth
392d6ccc9f
autopilot: remove unused channel field FundedAmt
2020-10-05 12:16:50 +02:00
Johan T. Halseth
b6c161bcfc
Merge pull request #4671 from Roasbeef/health-check-logging
...
healthcheck: bump logging for failed healthchecks to info
2020-10-05 10:59:09 +02:00
Olaoluwa Osuntokun
35a2dbcabb
healthcheck: bump logging for failed healthchecks to info
...
In this commit, we bump up the logging for failed healthchecks from
`debug` to `info`. This should help us get to the bottom of the current
set of reported false positives that are causing `lnd` nodes to
erroneously shutdown.
2020-10-04 16:31:51 -07:00
Oliver Gugger
f8e3b41d10
Merge pull request #4389 from guggero/psbt-signing
...
walletrpc: add new PSBT creation+signing RPCs
2020-10-03 11:47:55 +02:00
Oliver Gugger
84dfed3fe2
docs: update PSBT documentation
2020-10-03 10:34:57 +02:00
Oliver Gugger
eb280fd248
itest: use new PSBT functions for funding flow
...
Now that we have all functions that we need to complete the whole
PSBT channel funding flow, we change the itest to use Dave's wallet
to fund the channel from Carol to Dave through a PSBT.
2020-10-03 10:34:56 +02:00
Oliver Gugger
f114fb3c8d
itest: use require library
...
We rewrite the test to use the require library to make it a
bit more condensed.
2020-10-03 10:34:56 +02:00
Oliver Gugger
c206d062d5
lncli: add new PSBT wallet commands
2020-10-03 10:34:55 +02:00
Oliver Gugger
9a063355e2
walletrpc: disallow locking with internal ID
...
The internal lock ID that the wallet kit subserver uses to lock inputs
for itself shouldn't be allowed to be used when locking inputs manually
over the RPC.
2020-10-03 10:34:55 +02:00
Oliver Gugger
6229609be7
lnrpc+walletrpc: add RPCs for new PSBT methods
2020-10-03 10:34:53 +02:00
Oliver Gugger
f947576f33
lnwallet+mock: add new PSBT methods
2020-10-03 10:34:39 +02:00
Oliver Gugger
9f5f98e736
btcwallet: use new base wallet methods
2020-10-03 10:34:39 +02:00
Oliver Gugger
936a83858b
chanfunding: use util functions from psbt package
2020-10-03 10:34:39 +02:00
Oliver Gugger
8e0a162b8b
mod: update to latest btcwallet version
2020-10-03 10:34:34 +02:00
Conner Fromknecht
652ac7fa3f
Merge pull request #4652 from MrManPew/patch-3
...
lnd: show debug level at startup
2020-10-02 13:16:23 -07:00
Eugene
10a84f2c75
Merge pull request #4649 from Crypt-iQ/fmgr_abstract
...
multi: add fmgr.Manager interface, change usage in peer to use Manager
2020-10-02 08:21:15 -04:00
Johan T. Halseth
ef0bca7a8e
Merge pull request #4660 from yyforyongyu/add-temp-miner-logs
...
itest: save temp miner's logs
2020-10-02 12:43:22 +02:00
Johan T. Halseth
1a73bc7d74
Merge pull request #4653 from LN-Zap/feat/spend-unconfirmed
...
Ability to spend unconfirmed coins when making onchain transactions
2020-10-02 08:40:45 +02:00
MrManPew
72e4eab3b9
Update lnd.go
2020-10-01 18:02:16 -04:00
yyforyongyu
310f87e271
itest: save temp miner's logs
2020-10-02 00:04:47 +08:00
eugene
e0859e121f
multi: add fmgr.Manager interface, change usage in peer to use Manager
...
This gets rid of several config functions in the peer and should pave
the way for easier testing of the funding manager and peer.
2020-10-01 10:27:13 -04:00
Tom Kirkpatrick
73a5f325b6
lnrpc: ability to spend unconfirmed coins
2020-10-01 13:27:03 +01:00
Johan T. Halseth
d560f9eab0
Merge pull request #4662 from Roasbeef/neutrino-dep-update-sept
...
build: update neutrino to latest version
2020-10-01 14:26:09 +02:00
Olaoluwa Osuntokun
ef96b97a0a
build: update neutrino to latest version
...
Includes a fix for #4016 in addition to some other bug fixes and
enhancements.
2020-09-30 17:59:02 -07:00
Olaoluwa Osuntokun
c1d7b7f84d
Merge pull request #4659 from joostjager/random-non-strict
...
htlcswitch: randomize non-strict forwarding
2020-09-29 19:39:57 -07:00
Conner Fromknecht
aa9fbadf0f
Merge pull request #4657 from yyforyongyu/fix-itest-whitelist
...
itest: update log error whitelist
2020-09-29 10:25:58 -07:00
Joost Jager
2236813c95
htlcswitch: randomize non-strict forwarding
2020-09-29 11:05:53 +02:00
yyforyongyu
089e7557be
itest: update log error whitelist
2020-09-29 05:55:36 +08:00
MrManPew
f5e0922c31
Show debug level at startup
...
I think it is efficient to also show the debug level at the startup. To verify that indeed the correct settings of the debuglevel started correctly. Especially when trying to capture rare bugs.
2020-09-27 12:39:20 -04:00
Oliver Gugger
fd962d322a
Merge pull request #4650 from guggero/lncli-no-macaroons
...
lncli: fix macaroon usage when unlocking or using --no-macaroons
2020-09-26 10:01:32 +02:00
Conner Fromknecht
68ddba7cb7
Merge pull request #4512 from yyforyongyu/channel-balance-verbose
...
display verbose result in ChannelBalance
2020-09-25 13:31:01 -07:00
Eugene
0a8f06651a
Merge pull request #4645 from Crypt-iQ/peer_messageconn
...
peer: abstractions to aid in unit testing
2020-09-25 13:58:02 -04:00
eugene
fada3dd871
server.go + peer: use MessageConn interface instead of brontide.Conn
2020-09-25 12:05:36 -04:00
Oliver Gugger
b28bf29c5f
lncli: don't read macaroons when not using them
...
When we either don't use macaroons (because the global --no-macaroons
flag is set) or don't need them (for the wallet unlocker commands), we
don't try to read the file at all to avoid running into an error if the
file doesn't exist (which it doesn't in those two cases).
2020-09-25 15:54:10 +02:00
Oliver Gugger
44524fd2e5
lncli: fix go vet recommendations
2020-09-25 15:18:45 +02:00
Oliver Gugger
ca679e0f0e
lncli: move wallet unlocker commands into own file
...
This is a pure code move, we extract all wallet unlocker operations
(create, unlock, changepassword) into its own file.
2020-09-25 15:16:56 +02:00
Johan T. Halseth
74e62e5c5b
Merge pull request #4589 from yyforyongyu/itest-proper-cleanup
...
Itest: proper connect/disconnect miner
2020-09-25 10:31:56 +02:00
Conner Fromknecht
3362c9437b
Merge pull request #4647 from halseth/go-15-sprintf
...
[tests] reverse macaroon time caveat check, fix go 1.15 vet check.
2020-09-24 13:03:41 -07:00
yyforyongyu
86779fb6a5
itest: fix code lint
2020-09-24 20:51:58 +08:00
yyforyongyu
48f6c47b17
itest: test all ChannelBalance fields
2020-09-24 20:33:23 +08:00
yyforyongyu
1b200c9930
itest: explicit checking ChannelBalance response
2020-09-24 20:30:51 +08:00
yyforyongyu
f8c1bee637
lnrpc+rpcserver: verbose result in ChannelBalance
2020-09-24 20:26:08 +08:00
Johan T. Halseth
65865030d6
macaroons test: fix formatting
2020-09-24 11:59:08 +02:00
Johan T. Halseth
14960b1fb4
macaroons test: reverse macaroon time caveat check
...
This commit fixes a go 1.15 vet check.
In doing so it uncovers that the time caveat check is actually reversed.
Since we should check that the caveat is added, we should only fail the
check when the caveat prefix is not equal.
2020-09-24 11:22:20 +02:00
Johan T. Halseth
8ca5342b37
brontide test: fix go 1.15 vet check
2020-09-24 11:20:48 +02:00
Eugene
cc29e1cce8
Merge pull request #4640 from Crypt-iQ/brontide_fuzz_fixups
...
fuzz/brontide: fix fuzz_utils.go NewBrontideMachine callsites
2020-09-24 00:53:43 -04:00
Conner Fromknecht
e135047304
Merge pull request #4353 from LN-Zap/feat/neutrino-user-agent
...
Ability to configure neutrino useragent
2020-09-23 16:45:19 -07:00
Conner Fromknecht
936b733f16
Merge pull request #4634 from krtk6160/patch-1
...
docs: fix sync-freelist documentation
2020-09-23 16:02:52 -07:00