mirror of
https://github.com/lightninglabs/pool.git
synced 2026-08-15 12:50:29 +02:00
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. |
||
|---|---|---|
| .. | ||
| batch.go | ||
| batch_signer.go | ||
| batch_storer.go | ||
| batch_storer_test.go | ||
| batch_test.go | ||
| batch_verifier.go | ||
| batch_verifier_test.go | ||
| interface.go | ||
| interface_test.go | ||
| log.go | ||
| manager.go | ||
| manager_test.go | ||
| mock_test.go | ||
| rpc_parse.go | ||
| supplyunit.go | ||
| supplyunit_test.go | ||
| tradingfees.go | ||
| tradingfees_test.go | ||