Skip to content

Try to send the largest amount from a single channel. #2

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 135 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
135 commits
Select commit Hold shift + click to select a range
3a3b541
lncfg: allow no auth on private addresses
yyforyongyu May 7, 2020
86d5fac
docs: update no-macaroons option in macaroon
yyforyongyu Jul 21, 2020
49d8f04
multi: migrate instances of mockSigner to the mock package
Crypt-iQ Aug 26, 2020
3fa5d04
multi: move mockWalletController, mockSecretKeyRing to lntest/mock
Crypt-iQ Aug 26, 2020
c7cbacc
multi: move mockChainIO, mockNotifier to lntest/mock
Crypt-iQ Aug 27, 2020
4ff03af
lnd: move fundingBroadcastHeight to fundingmanager_test.go
Crypt-iQ Aug 18, 2020
9ce89c1
lnd: delete mock.go, move mockSpendNotifier to lntest/mock
Crypt-iQ Aug 18, 2020
907c744
build: bump version of master branch to v0.11.99-beta
guggero Sep 7, 2020
c34732a
lncli: add encrypted macaroon jar
guggero Sep 4, 2020
e2c14ed
lncli: add struct to hold profile configuration
guggero Sep 4, 2020
10f73b3
lncli: add new profile commands
guggero Sep 4, 2020
a2721a1
lncli: use CleanAndExpandPath from lncfg
guggero Sep 4, 2020
070cfb8
lncli: use profiles
guggero Sep 4, 2020
d792a8e
lncli: use readPassword function everywhere
guggero Sep 4, 2020
751b023
Merge pull request #4600 from guggero/master-version
Roasbeef Sep 7, 2020
25b0c40
chanfitness: fix line wrapping
carlaKC Sep 8, 2020
3aa008a
multi: add interface for subscribe client so it can be mocked
carlaKC Sep 8, 2020
7afd113
chanfitness: add test context for better testing
carlaKC Sep 8, 2020
94accfb
chanfitness: pass clock in to chaneventstore for testing
carlaKC Sep 8, 2020
c33d0aa
chanfitness/test: switchover to testify
carlaKC Sep 8, 2020
7930ef7
chanfitness: make online period calculation tolerant of duplicates
carlaKC Sep 8, 2020
10f9ba9
chanfitness: unify requests to store in single chan info struct
carlaKC Sep 8, 2020
e05b4a8
chanfitness: refactor to store channels by peer
carlaKC Sep 8, 2020
8b09b2d
chanfitness: record timestamped flap count for peers
carlaKC Sep 8, 2020
70bca1f
chanfitness: add flap count based rate limiting
carlaKC Sep 8, 2020
a550ca3
multi: store peer flap rate on disk on best effort basis
carlaKC Sep 8, 2020
17a6175
routing+routerrpc: rename PaymentAttemptPenalty to AttemptCost
joostjager Sep 8, 2020
6cf66ae
chanfitness: cool down flap count for rate limiting
carlaKC Sep 8, 2020
e2c0604
multi: add flap count and last flap time to listpeers
carlaKC Aug 27, 2020
60a22ff
routing/test: parametrize test amount
joostjager Sep 8, 2020
bbfeeec
routing: add proportional attempt cost
joostjager Sep 8, 2020
8668248
Merge pull request #4310 from guggero/lncli-profiles
guggero Sep 9, 2020
52c7a15
docs: fix "tor.active" item in sample-lnd.conf
janoside Sep 9, 2020
d4c4cf0
lnd+macaroons: specify location when creating macaroon service
guggero Jul 13, 2020
c322705
macaroons: allow external validators to be registered
guggero Jul 13, 2020
8988a01
lnd+rpcserver: allow external subservers to specify macaroon validator
guggero Jul 13, 2020
061040c
rpcserver: export MainRPCServerPermissions
guggero Sep 10, 2020
f80549d
Merge pull request #4464 from guggero/macaroon-interceptor
Roasbeef Sep 10, 2020
bc6e528
Merge pull request #4604 from janoside/fix-sample-conf
Roasbeef Sep 11, 2020
517fcd6
channeldb: correct anchor comment
halseth Aug 21, 2020
724f439
lnwire: update anchor bit to spec
halseth Aug 21, 2020
07a57ae
lnwallet: extract coop close balance calc into method
halseth Aug 24, 2020
09a126b
lnwallet: add anchor size back to balance on coop close
halseth Aug 21, 2020
a48c369
lnwallet: check coop close fee negative balance
halseth Aug 24, 2020
bf18929
peer/brontide: fix pubkey log
halseth Aug 24, 2020
3c606bd
Merge pull request #4542 from Crypt-iQ/mock_signer_cleanup_0817
cfromknecht Sep 11, 2020
c704c57
Merge pull request #4558 from halseth/anchors-spec
cfromknecht Sep 11, 2020
384ab9f
lncli: print all permission actions
guggero Sep 14, 2020
4ffe744
lncli: add outgoing_chanid to queryroutes
bhandras Sep 10, 2020
23cd2f4
lnwallet: remove unused WebAPIEstimator field
joostjager Sep 14, 2020
166be97
lnwallet: add no cache option to web api estimator
joostjager Sep 10, 2020
dae0e21
lnd: start fee estimator at a single point
joostjager Sep 14, 2020
6dd1555
lnd: Call loader.UnloadWallet on shutdown
hsjoberg Sep 3, 2020
db0802b
Merge pull request #4440 from carlaKC/4165-ratelimit
carlaKC Sep 14, 2020
d62b93e
Merge pull request #4607 from bhandras/routing_experiments
bhandras Sep 14, 2020
9ea836c
Merge pull request #4614 from guggero/printmacaroon-fix
guggero Sep 14, 2020
999ffff
lnd: join imports to form three groups
joostjager Sep 14, 2020
b778b25
config: prevent displaying usage twice if --help was requested
bhandras Sep 8, 2020
dea6d91
Merge pull request #4603 from bhandras/fix_help
bhandras Sep 14, 2020
ffe7c3e
Merge pull request #4473 from yyforyongyu/allow-no-auth-private-addr
Roasbeef Sep 15, 2020
f5fb64e
add new max channel size config option
calvinrzachman Sep 15, 2020
7f68649
mod: update btcwallet and psbt library version
guggero Sep 7, 2020
c4ada8a
lnrpc: add final raw TX to PSBT finalize
guggero Sep 7, 2020
154dc1a
lncli: allow final transaction as raw hex in PSBT funding flow
guggero Sep 7, 2020
d581cd0
chanfunding: extract FinalizeRawTX into own method
guggero Sep 7, 2020
1c832cb
chanfunding: verify inputs are signed in raw tx
guggero Sep 7, 2020
5375f88
lnwallet+rpcserver: allow final raw tx to be specified
guggero Sep 7, 2020
107e135
itest: test PSBT funding flow with raw final TX
guggero Sep 7, 2020
a42e4fc
config: disable disk space health check by default
carlaKC Sep 15, 2020
403d72b
lnrpc: lets encrypt
joostjager Jan 7, 2019
904055c
Merge pull request #4601 from guggero/psbt-final-tx-raw
guggero Sep 15, 2020
fc3fd26
config: allow web fee estimation on regtest
joostjager Sep 10, 2020
cf6eee8
Merge pull request #2428 from joostjager/letsencrypt
joostjager Sep 15, 2020
b8eb41f
Merge pull request #4591 from hsjoberg/walletloader-unload
halseth Sep 15, 2020
ed67ce7
watchtower/blob/type: remove use of iota for flag constants
cfromknecht Sep 15, 2020
0477c80
watchtower/blob/type: add new FlagAnchorChannel
cfromknecht Sep 15, 2020
b82695d
watchtower/blob/justice_kit_test: convert to require
cfromknecht Sep 15, 2020
ffe15e2
watchtower/blob/justice_kit: add BlobType to JusticeKit struct
cfromknecht Sep 15, 2020
ac2e1d7
watchtower/blob/justice_kit: conditional anchor to-remote script
cfromknecht Sep 15, 2020
cfbde5d
watchtower/lookout/justice_descriptor_test: use require
cfromknecht Sep 15, 2020
d440cc4
watchtower/lookout/justice_descriptor: anchor justice txn
cfromknecht Sep 15, 2020
a0e54a9
watchtower/lookout: use correct to-local-penalty size for anchors
cfromknecht Sep 15, 2020
fe1d131
Merge pull request #4615 from carlaKC/healthcheck-disabledisk
carlaKC Sep 15, 2020
fa342a1
Merge pull request #4567 from calvinrzachman/max-wumbo
Roasbeef Sep 15, 2020
9887b2d
healtcheck: add extra build tags+files for netbsd and openbsd
Roasbeef Sep 16, 2020
9dcb522
Merge pull request #4618 from Roasbeef/healthcheck-bsd
Roasbeef Sep 16, 2020
fb67b58
brontide+tor:add timeout value for network connections
yyforyongyu Aug 25, 2020
ef38b12
multi: use timeout field in dialer
yyforyongyu Aug 25, 2020
469aba9
lnd+rpcserver: allow customized timeout in ConnectPeer
yyforyongyu Aug 25, 2020
e8d9643
itest: test for connection timeout
yyforyongyu Aug 25, 2020
245db6a
rpcserver: fix make lint
yyforyongyu Sep 16, 2020
b6ebf3f
lntest: use web fee estimator in itests
joostjager Sep 10, 2020
cdbde5d
sweep: do not combine exclusive and non-exclusive inputs
joostjager Sep 7, 2020
6df4fa8
sweep: clean up state mutation
joostjager Sep 4, 2020
08bb8ec
cnct: clear exclusive group on anchor sweep after confirmation
joostjager Sep 4, 2020
3a12b58
txnotifier test: use Cancel() directly
halseth Sep 16, 2020
2665836
txnotifier: delete ntfn by confirm height always
halseth Sep 16, 2020
df6606d
txnotifier test: add test for confirmation after cancellation
halseth Sep 16, 2020
2ebfb64
Merge pull request #4606 from joostjager/cpfp-sweep-prep
joostjager Sep 16, 2020
3e3d848
sweep: wrap weight estimator
joostjager Sep 4, 2020
3531c3f
Merge pull request #4602 from joostjager/proportional-attempt-cost
joostjager Sep 16, 2020
a93aaff
travis: only upload log files on test failure
guggero Sep 16, 2020
ab695cc
Merge pull request #4623 from guggero/travis-log-upload-failure-only
cfromknecht Sep 16, 2020
a5c5304
Merge pull request #4452 from yyforyongyu/add-connection-timeout
wpaulino Sep 16, 2020
d4d7533
Merge pull request #4620 from halseth/txnotifier-panic
cfromknecht Sep 16, 2020
6efeee4
keychain: add missing KeyFamily type
yyforyongyu Jul 4, 2020
1c80f98
signrpc: SharedKeyRequest accept raw pubkey
yyforyongyu Jul 27, 2020
e62ae66
config: create all directories
guggero Sep 16, 2020
d2d7147
lntest: init SignerClient and test DeriveSharedKey
yyforyongyu Jul 28, 2020
ac46f9a
Remove duplicate tor.streamisolation option
mayankchhabra Sep 17, 2020
00cb6fc
lnd+config: allow Let's Encrypt listen IP to be set
guggero Sep 17, 2020
85c2103
Merge pull request #4436 from yyforyongyu/accept-base-pubkey
guggero Sep 17, 2020
681496b
sweep: make sweeper aware of unconfirmed parent transactions.
joostjager Sep 4, 2020
29602e8
cnct: cpfp-sweep anchors
joostjager Sep 4, 2020
d33ddff
sample-lnd.conf: change letsencryptport to letsencryptlisten
guggero Sep 17, 2020
01ff012
Merge pull request #4624 from mayankchhabra/patch-1
guggero Sep 17, 2020
b4b5a9d
etcd: increase message and transaction limits for embedded etcd
bhandras Jul 10, 2020
281c0b9
etcd: add commit queue to effectively reduce transaction retries
bhandras Aug 10, 2020
6f3a45b
etcd: make embedded etcd context cancelable
bhandras Aug 10, 2020
9c47392
etcd: integrate the commitQueue to the STM commit loop
bhandras Aug 10, 2020
357cd7d
make: allow optional extra tags when running unit tests
bhandras Sep 4, 2020
26effca
build: unit test on github with kvdb_etcd tag
bhandras Sep 4, 2020
ae7d698
Merge pull request #4625 from guggero/letsencrypt-listen
guggero Sep 17, 2020
111db80
Merge pull request #4457 from bhandras/etcd_tx_queue
bhandras Sep 17, 2020
6ae05c6
Merge pull request #4592 from joostjager/sweep-deadline
joostjager Sep 18, 2020
98da919
Merge pull request #4622 from guggero/config-mkdir
cfromknecht Sep 18, 2020
9563418
lntest/itest: move harness to new file
Roasbeef Jan 10, 2020
acd615a
lntest: default to btcd as default test harness backend
Roasbeef Jan 10, 2020
c769247
lntest: allow the main test files to be buildable w/o the rpctest bui…
Roasbeef Jan 10, 2020
719e328
lntest: fix most linter warnings, silence rest
Roasbeef Jan 10, 2020
9f7d8dd
lntest: make compilable without subserver build tags
guggero Sep 4, 2020
1558edb
travis+lint: fix memory usage
guggero Sep 4, 2020
cd41cd4
Merge pull request #4593 from guggero/itest-linter-fix
guggero Sep 21, 2020
50976e5
Merge pull request #4576 from cfromknecht/anchor-justice-txn
Roasbeef Sep 23, 2020
f64f98b
Try to send the largest amount from a single channel
yaslama Sep 23, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
chanfitness: add test context for better testing
As we add more elements to the chanfitness subsystem, we will require
more complex testing. The current tests are built around the inability
to mock subscriptions, which is remedied by addition of our own mock.
This context allows us to run the full store in a test, rather than
having to manually spin up the main goroutine. Mocking our subscriptions
is required so that we can block our subscribe updates on consumption,
using the real package provides us with no guarantee that the client
receives the update before shutdown, which produces test flakes.

This change also makes a move towards separating out the testing of our
event store from testing the underlying event logs to prepare for
further refactoring.
  • Loading branch information
carlaKC committed Sep 8, 2020
commit 7afd113b9f343f8e7ebac24d6f8a9ab3ae636e18
Loading