mirror of
https://github.com/lightninglabs/pool.git
synced 2026-08-15 12:50:29 +02:00
In this commit, we replace the existing min/max duration system with a single field that expresses the expected duration of a lease. Note that we've left some of the exiting logic in place that select a duration from a bid in an attempt to make this more of a "soft fork" which will allow any existing orders to be cleared out as normal before we switch over. Once we add multiple durations (this commit assumes a single duration), we'll need to modify the verification logic to be able to handle multiple clearing prices for a given batch. |
||
|---|---|---|
| .. | ||
| migrations | ||
| account.go | ||
| account_test.go | ||
| batch.go | ||
| batch_snapshot.go | ||
| batch_snapshot_test.go | ||
| batch_test.go | ||
| codec.go | ||
| codec_test.go | ||
| db.go | ||
| event.go | ||
| event_test.go | ||
| log.go | ||
| metadata.go | ||
| order.go | ||
| order_event.go | ||
| order_test.go | ||