Skip to content

Commit

Permalink
update consts as discussed
Browse files Browse the repository at this point in the history
  • Loading branch information
skrrb committed Feb 7, 2024
1 parent e623759 commit ec21d43
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions lib/client/src/book.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,8 @@ use openbook_v2::state::{
Market, Orderbook, Side, DROP_EXPIRED_ORDER_LIMIT, FILL_EVENT_REMAINING_LIMIT,
};

// TODO Adjust this number after doing some calculations
pub const MAXIMUM_TAKEN_ORDERS: u8 = 8;
const MAXIMUM_REMAINING_ACCOUNTS: usize = 4;
pub const MAXIMUM_TAKEN_ORDERS: u8 = 45;
const MAXIMUM_REMAINING_ACCOUNTS: usize = 0;

pub struct Amounts {
pub total_base_taken_native: u64,
Expand Down

0 comments on commit ec21d43

Please sign in to comment.