mirror of
https://github.com/lightninglabs/pool.git
synced 2026-08-13 12:33:04 +02:00
In this commit, we add a new key within the order bucket that stores just the node tier for a given order. The current code only _expects_ a node tier to exist for Bid orders, however things have been designed such that, we can easily add tier options for Ask orders as well. Along the way we modify the `orderCallback` to include the node tier information as its read from a distinct bucket. In the future, we'll likely want to make this into a struct so the function signature doesn't ever expand. |
||
|---|---|---|
| .. | ||
| 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 | ||