Skip to content

Commit

Permalink
Merge pull request #223 from openbook-dex/feature/jup-permisioned
Browse files Browse the repository at this point in the history
dont quote permissioned markets
  • Loading branch information
skrrb authored Feb 7, 2024
2 parents 7f72218 + ec21d43 commit 8d48815
Show file tree
Hide file tree
Showing 2 changed files with 227 additions and 198 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
Loading

0 comments on commit 8d48815

Please sign in to comment.