pool/clientdb
Olaoluwa Osuntokun 273fb46088 clientdb: add new key within order bucket for min node tier
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.
2020-10-09 15:53:43 -07:00
..
migrations clientdb: add migration for existing orders 2020-10-01 13:16:50 +02:00
account.go clientdb: return updated order, account on modification 2020-09-10 09:51:57 +02:00
account_test.go clientdb: define LocalBatchSnapshot 2020-09-10 10:41:07 +02:00
batch.go clientdb: create and use copyOrder for applying batch updates 2020-10-01 13:16:51 +02:00
batch_snapshot.go clientdb: add new key within order bucket for min node tier 2020-10-09 15:53:43 -07:00
batch_snapshot_test.go clientdb: add new key within order bucket for min node tier 2020-10-09 15:53:43 -07:00
batch_test.go multi: unify min/max durations into single field of LeaseDuration 2020-10-05 17:57:16 -07:00
codec.go clientdb: add new key within order bucket for min node tier 2020-10-09 15:53:43 -07:00
codec_test.go multi: rename project from llm to pool 2020-09-09 19:55:10 -07:00
db.go clientdb: add migration for existing orders 2020-10-01 13:16:50 +02:00
event.go clientdb: add event storage 2020-10-01 13:16:48 +02:00
event_test.go multi: unify min/max durations into single field of LeaseDuration 2020-10-05 17:57:16 -07:00
log.go multi: add persistent bolt storage 2019-12-11 18:59:58 -08:00
metadata.go clientdb: add migration for existing orders 2020-10-01 13:16:50 +02:00
order.go clientdb: add new key within order bucket for min node tier 2020-10-09 15:53:43 -07:00
order_event.go rpcserver+clientdb: store match events for rejects 2020-10-01 13:16:58 +02:00
order_test.go clientdb: add new key within order bucket for min node tier 2020-10-09 15:53:43 -07:00