pool/order
Olaoluwa Osuntokun fcdc26afa0
order: add new TestValidateOrderAccountIsolation test case
In this commit, we add a new test that fails with the current logic in
`validateOrder`. The function as isn't doesn't isolate the orders for
each account, so the orders from account A can prevent a user from
making an order to account B.
2020-08-07 18:35:38 -07:00
..
batch.go order+batch: cancel pending funding shims if we reject a batch 2020-07-14 20:12:43 -07:00
batch_signer.go multi: rename, fix modules 2020-06-21 19:37:00 -07:00
batch_storer.go order: update height hint for accounts in batch 2020-07-01 17:01:23 -07:00
batch_storer_test.go order: update height hint for accounts in batch 2020-07-01 17:01:23 -07:00
batch_verifier.go multi: rename, fix modules 2020-06-21 19:37:00 -07:00
batch_verifier_test.go multi: rename FundingFeeRate to MaxBatchFeeRate 2020-08-07 16:34:07 +02:00
interface.go order: require an order's Min/MaxDuration to be at least 144 2020-08-07 16:34:07 +02:00
interface_test.go order: require an order's Min/MaxDuration to be at least 144 2020-08-07 16:34:07 +02:00
log.go client+order: store order 2020-01-17 17:41:25 +01:00
manager.go order: require an order's Min/MaxDuration to be at least 144 2020-08-07 16:34:07 +02:00
manager_test.go order: add new TestValidateOrderAccountIsolation test case 2020-08-07 18:35:38 -07:00
mock_test.go multi: rename, fix modules 2020-06-21 19:37:00 -07:00
rpc_parse.go multi: rename FundingFeeRate to MaxBatchFeeRate 2020-08-07 16:34:07 +02:00
supplyunit.go client/order: declare BaseSupplyUnit as the SupplyUnit type 2020-03-04 16:34:54 -08:00
tradingfees.go order: extract maker and taker delta calculation 2020-08-06 10:52:51 +02:00