Commit graph

362 commits

Author SHA1 Message Date
Oliver Gugger
e79bb2a3bd
README: mention TLS 2020-09-12 09:08:14 +02:00
Oliver Gugger
9bdfe415a6
cmd/pool: add TLS params to CLI 2020-09-12 09:08:14 +02:00
Oliver Gugger
32e1006ef6
config+server: add TLS to pool's server connection 2020-09-12 09:08:13 +02:00
Oliver Gugger
ce235cbc1d
multi: extract config validation
As a preparation to add more configuration paths for TLS, we first
extract the config validation and path cleanup into its own function.
2020-09-12 09:08:13 +02:00
Olaoluwa Osuntokun
2afc37c410
config: update w/ domain of mainnet server 2020-09-11 16:51:39 -07:00
Olaoluwa Osuntokun
0c21b3172b
build: bump version to v0.2.1-alpha 2020-09-11 16:49:43 -07:00
Olaoluwa Osuntokun
1aaf24a4ad
Merge pull request #69 from guggero/abandon-retried-channels
Abandon replaced channels
2020-09-11 16:49:10 -07:00
Olaoluwa Osuntokun
d3fe974c03
Merge pull request #67 from Roasbeef/allow-tor-client
multi: allow traders to submit orders w/ tor addrs, adjust connection logic accordingly
2020-09-11 16:42:50 -07:00
Olaoluwa Osuntokun
ec455fea00
Merge pull request #55 from halseth/store-batch-snapshots
Store local batch snapshots
2020-09-11 16:42:14 -07:00
Olaoluwa Osuntokun
691398f512
order: properly parse tor addrs in ParseRPCServerOrder 2020-09-11 16:33:43 -07:00
Olaoluwa Osuntokun
b6152281bb
batch: connect out to the taker as maker if behind tor
In this commit, we modify our connection logic to accommodate tor nodes
that wish to sell channels. If we detect a node has even a single Tor
addr, then we'll also try to connect out to the taker that we're selling
a channel to.
2020-09-10 20:22:45 -07:00
Olaoluwa Osuntokun
ad061cd491
order: allow tor addrs to be attached to orders
In this commit, we allow Tor addrs to be attached to orders. This will
allow clients to buy/sell channels using a Tor node, or a Tor-only node.
A follow up commit to this will adjust the client-side logic to have the
asker connect out to the bidder as well if the asker is behind a Tor
node.
2020-09-10 20:22:41 -07:00
Olaoluwa Osuntokun
76d8a94321
build: bump version to v0.2.0-alpha 2020-09-10 17:09:58 -07:00
Johan T. Halseth
b1a73f9320
Merge pull request #72 from guggero/gitlab
Add merge requests from GitLab
2020-09-10 18:00:27 +02:00
HenryBl
fc62a26929
docs: text changes 2020-09-10 14:24:35 +02:00
Nicolas Burtey
f456fe77c9
docs: fix typos 2020-09-10 14:23:50 +02:00
Gabriel Comte
ae86db048e
docs: fix typos in README 2020-09-10 14:23:10 +02:00
Oliver Gugger
5c6de594e9
README: add build/run prerequisites 2020-09-10 13:47:18 +02:00
Oliver Gugger
de2b86bd28
rpcserver: call AbandonCanceledChannels for replaced batch 2020-09-10 13:47:17 +02:00
Oliver Gugger
5a8825b8b4
order: add AbandonCanceledChannels 2020-09-10 13:47:17 +02:00
Oliver Gugger
123522e3b6
lnd+server+run: bump lnd to v0.11.1-beta
We update to the latest lnd version that contains the new flag in
AbandonChannel that we need. Because master is now tagged with
v0.x.99-beta, we can already increase the required version in the
server.
Because we touch this file anyway, let's as well avoid a bug in
lndclient that requires a subserver macaroon to be present even if we
don't need that subserver's functionality.
2020-09-10 13:47:17 +02:00
Oliver Gugger
f41043b901
order: extract channelOutput from batch verifier
As a preparation to abandon canceled channels, we first extract the
utility method to locate a channel output created in a batch from the
batch verifier into the batch itself.
2020-09-10 13:47:16 +02:00
Johan T. Halseth
0e665f592a
clientdb: store LocalBatchSnapshot on StorePendingBatch 2020-09-10 10:41:31 +02:00
Johan T. Halseth
60d7a0a48b
clientdb: add batch ID index bucket for snapshots 2020-09-10 10:41:31 +02:00
Johan T. Halseth
7c3a4d8492
clientdb: define LocalBatchSnapshot 2020-09-10 10:41:07 +02:00
Johan T. Halseth
169daf8131
clientdb: return updated order, account on modification 2020-09-10 09:51:57 +02:00
Johan T. Halseth
daf1e1a0bc
clientdb test: complete tx, don't require t for dummyOrder 2020-09-10 09:51:56 +02:00
Johan T. Halseth
4262ec71b4
clientdb/codec: add (de)serialization of LinearFeeSchedule 2020-09-10 09:51:55 +02:00
Johan T. Halseth
678a52f86e
order/tradingfees: correct fixed rate parts per _billion_ comment 2020-09-10 09:51:11 +02:00
Olaoluwa Osuntokun
e289c72380
Merge pull request #71 from Roasbeef/pool-rename
multi: rename project to Pool
2020-09-09 21:27:52 -07:00
Olaoluwa Osuntokun
1e0035d3d4
multi: fix import order 2020-09-09 19:55:16 -07:00
Olaoluwa Osuntokun
ffc9c60b13
multi: rename project from llm to pool 2020-09-09 19:55:10 -07:00
Olaoluwa Osuntokun
33678c0ee6
cmd: rename llmd and llm to poold and pool 2020-09-09 19:55:07 -07:00
Olaoluwa Osuntokun
603d90e7bf
pool: rename clmscript to poolrpc 2020-09-09 19:55:04 -07:00
Olaoluwa Osuntokun
ff59e3719f
pool: rename clmrpc to poolrpc 2020-09-09 19:55:01 -07:00
Olaoluwa Osuntokun
da9fa24767
build: rename module from llm to pool 2020-09-09 19:54:58 -07:00
Olaoluwa Osuntokun
9a5746ada5
Merge pull request #68 from Roasbeef/wumbo-client-filters
orders: deny wumbo orders if lnd node isn't wumbo enabled
2020-09-08 16:38:31 -07:00
Olaoluwa Osuntokun
fc2bec5cab
orders: deny wumbo orders if lnd node isn't wumbo enabled
Fixes #27.
2020-09-08 16:37:29 -07:00
Olaoluwa Osuntokun
37d4468831
Merge pull request #63 from wpaulino/account-recovery-latest-tx
auctioneer: use StateInitiated for pending/open recovered accounts
2020-09-08 16:22:32 -07:00
Olaoluwa Osuntokun
2b75de5e69
Merge pull request #65 from Roasbeef/order-addr-fix
rpc+orders: don't shutdown on batch parse failure, allow no addrs for asks
2020-09-04 16:02:43 -07:00
Olaoluwa Osuntokun
4f6dc814db
rpc: return reject message if batch parsing fails
Before this commit, if parsing failed, then the entire daemon would
actually shutdown.
2020-09-04 15:38:27 -07:00
Olaoluwa Osuntokun
3756d31a47
order: only require node addr for ask orders 2020-09-04 15:38:19 -07:00
Wilmer Paulino
bf21305205
auctioneer: use StateInitiated for pending/open recovered accounts
Using this state allows the trader to locate the transaction locally for
recovered accounts in a pending open or open state. There is no risk of
double sending funds in this case, as that's prevented through the
recovery branch within the account manager.
2020-09-04 11:36:27 -07:00
Wilmer Paulino
203627643b
clientdb: avoid serialization of latest tx in StateCanceledAfterRecovery
The latest transaction is also not known here, so we shouldn't serialize
it.
2020-09-04 11:36:25 -07:00
Wilmer Paulino
7c8225031e
Merge pull request #62 from halseth/cli-reserved-valuue
cli: print worst case chain fee and batch fee rate
2020-09-03 16:50:57 -07:00
Johan T. Halseth
7e55458ff6
clmrpc: add ReservedValue to listorders 2020-09-03 15:22:50 +02:00
Johan T. Halseth
5fd1e7b7b3
cli: print worst case chain fee and batch fee rate 2020-09-03 15:02:41 +02:00
Oliver Gugger
1c11ad9b3d
Merge pull request #61 from lightninglabs/grub-lnd-0.11
Prepare to be integrated into LiT
2020-09-03 10:16:17 +02:00
Oliver Gugger
beb58ae58a
mod: bump aperture, lnd and lndclient 2020-09-03 09:57:42 +02:00
Oliver Gugger
748a16afb9
log: change AGOD to LLMD 2020-09-03 09:57:41 +02:00