Commit graph

23 commits

Author SHA1 Message Date
Olaoluwa Osuntokun
57fa63c237
multi: rename, fix modules 2020-06-21 19:37:00 -07:00
Wilmer Paulino
182bd1badf agora: add account deposit command 2020-06-17 18:34:56 -07:00
Wilmer Paulino
f521327cb5 clmrpc: add DepositAccount RPC 2020-06-17 18:34:54 -07:00
Oliver Gugger
adcb145e76 client+cmd: add recover command 2020-06-05 16:24:33 +02:00
Oliver Gugger
c46bfef959 client+clmrpc: unify data types for amounts, fees and blocks
We use the same proto message types everywhere for these kinds
of fields:
- absolute amounts (sats): uint64
- fee rates (sat/kWU): uint64
- fee rates (ppm): uint32
- blocks (absolute and relative): uint32

Additionally we unify the comments and remove the [ json_name = "" ]
declarations in the trader proto as they aren't needed with the
jsonpb marshaller that we use.
Then we align the naming of the account key to be called trader key
everywhere instead of user's sub key.
2020-05-27 14:33:34 +02:00
Olaoluwa Osuntokun
f4df5ea56f client: add pprof support to config 2020-05-19 17:36:56 -07:00
Wilmer Paulino
a67669e188 cmd/agora: add account withdrawal command 2020-05-12 15:10:11 -07:00
Oliver Gugger
6cbd12ffd8 make+auctioncli: add CLI to interact with auction 2020-04-14 16:27:06 +02:00
Oliver Gugger
2c88c6de18 client: refactor to start/stop model 2020-02-26 11:59:36 -03:00
Oliver Gugger
c1954cc51c client+clmrpc: rename ChannelAuctioneerClient to Trader 2020-02-20 10:15:52 +01:00
Wilmer Paulino
9bf50766f7 multi: allow account closure through expiration and multi-sig paths
Traders are now able to close their accounts, whether or not they have
already expired, to arbitrary outputs or to a wallet output by default.
If an account hasn't expired, then the auctioneer's signature of the
closing transaction is required to successfully close the account.
2020-02-05 12:09:47 -08:00
Oliver Gugger
976df85bb1 trader: prepare to be used as library 2020-01-20 14:44:22 +01:00
Oliver Gugger
17a71068ad cmd/agora: add commands for submitting orders 2020-01-17 17:41:26 +01:00
Oliver Gugger
d59b603e45 client+order: store order 2020-01-17 17:41:25 +01:00
Oliver Gugger
42717b1074 mod: update to latest versions of lnd, loop and kirin 2020-01-13 09:23:32 +01:00
Wilmer Paulino
14cd61231c multi: expand response returned from InitAccount 2020-01-10 16:59:47 -08:00
Wilmer Paulino
b2eac6697c multi: expose accounts through ListAccounts RPC
Now that we have the ability to create new accounts, it is also useful
to expose them over the RPC interface to provide digestible account
information to users.
2020-01-10 16:58:01 -08:00
Wilmer Paulino
b2782dd7f7 multi: integrate account.Manager into server
This commit serves as the final part required for the server to properly
handle an RPC request for a new account.
2020-01-10 16:58:00 -08:00
Wilmer Paulino
f96cfe7162 auctioneer: extend Client to implement account.Auctioneer interface
The auctioneer.Client to satisfy the account.Auctioneer dependency
required by the account.Manager. It provides wrappers around the
server-related RPCs with better type usage.
2020-01-10 16:57:57 -08:00
Oliver Gugger
4518ab86f5 mod+cmd/agora: use protobuf hex display to print JSON 2019-12-13 17:26:40 +01:00
Wilmer Paulino
6c211172fe multi: add persistent bolt storage
In this commit, we add a persistent store backed by bolt for the client
portion of CLM in which we'll store critical information required for
its proper operation.
2019-12-11 18:59:58 -08:00
Oliver Gugger
ef1175c512 cmd/agora: add trader command line utility 2019-11-28 13:46:56 +01:00
Oliver Gugger
ee98f90ef1 auctioneer+trader: add trader server daemon 2019-11-28 13:46:55 +01:00