pool/order
Wilmer Paulino f7dce585ba
order: introduce channel type field
Previously, the channel type was being recorded by the auctioneer only,
but there was no way for a trader to set its preference. Now that we
want to support that, we move the ChannelType definition to the Pool
source code, as done in this commit.

As part of introducing this new field, a new version bump was required
to compute the proper digest of each order.

To remain backwards compatible, we define the default channel type to be
"peer dependent". This implies that the channel type will vary based on
the node features shared between the asker and bidder. We also define a
new channel type to denote that channels resulting from matched orders
must have their lease expiration enforced in the scripts of their
commitment transactions.
2021-11-02 16:47:47 -07:00
..
batch.go order+account: account for new dust limit w/ smaller acct in test 2021-10-20 19:37:59 -07:00
batch_signer.go multi: fix import order 2020-09-09 19:55:16 -07:00
batch_storer.go multi: move auctioneer proto to auctioneerrpc package 2021-01-22 10:41:44 +01:00
batch_storer_test.go multi: move auctioneer proto to auctioneerrpc package 2021-01-22 10:41:44 +01:00
batch_test.go sidecar: update ticket w/ new offer field to indicate auto negotiation 2021-05-09 19:24:56 -07:00
batch_verifier.go order: validate self chan balance in deltas 2021-03-19 16:50:32 +01:00
batch_verifier_test.go order+account: account for new dust limit w/ smaller acct in test 2021-10-20 19:37:59 -07:00
interface.go order: introduce channel type field 2021-11-02 16:47:47 -07:00
interface_test.go order: account for last match consuming all units left in reserved value computation 2020-11-12 11:40:19 -08:00
log.go client+order: store order 2020-01-17 17:41:25 +01:00
manager.go funding: sign offered ticket w/ trader account key 2021-05-09 19:24:54 -07:00
manager_test.go funding: sign offered ticket w/ trader account key 2021-05-09 19:24:54 -07:00
mock_test.go clientdb: store LocalBatchSnapshot on StorePendingBatch 2020-09-10 10:41:31 +02:00
rpc_parse.go multi: add self chan balance to order submission RPCs 2021-03-19 16:50:31 +01:00
supplyunit.go order+pool: round default min chan amt to nearest unit 2020-11-11 14:28:23 -08:00
supplyunit_test.go order+pool: round default min chan amt to nearest unit 2020-11-11 14:28:23 -08:00
tradingfees.go build: update to pin against current lnd v0.14.0 2021-10-20 19:25:48 -07:00
tradingfees_test.go order: add NewQuote function 2021-05-05 15:55:45 +02:00